diff --git a/.gitignore b/.gitignore
index 466ae88f24d2..bccadb649dfe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,6 +22,7 @@ _testmain.go
*.exe
*.test
*.prof
+*.zip
# Editor swap files
*.swp
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8df9a255089c..ea3063c6bb00 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,58 @@
# CHANGELOG
+## `v32.0.0`
+
+### New Packages
+
+| Package Name | API Version |
+| -----------: | :---------: |
+| aad | 2017-04-01 |
+| compute | 2019-07-01 |
+| datashare | 2018-11-01-preview |
+| devops | 2019-07-01-preview |
+| enterpriseknowledgegraphservice | 2018-12-03 |
+| managedservices | 2019-06-01 |
+| migrate | 2018-09-01-preview |
+| mysql | 2017-12-01-preview |
+| network | 2019-06-01 |
+| policy | 2019-01-01 |
+| portal | 2015-08-01-preview
2019-01-01-preview |
+| postgresql | 2017-12-01-preview |
+| windowsiot | 2019-06-01 |
+
+### Updated Packages
+
+| Package Name | API Version |
+| -----------: | :---------: |
+| alertsmanagement | 2019-05-05 |
+| authoring | luis |
+| cdn | 2019-04-15 |
+| datafactory | 2017-09-01-preview |
+| datamigration | 2018-07-15-preview |
+| devices | 2019-03-22-preview |
+| hanaonazure | 2017-11-03-preview |
+| signalr | 2018-10-01 |
+| subscriptions | 2018-06-01 |
+
+### BreakingChanges
+
+| Package Name | API Version |
+| -----------: | :---------: |
+| compute | 2019-03-01 |
+| contentmoderator | v1.0 |
+| datafactory | 2018-06-01 |
+| documentdb | 2015-04-08 |
+| dtl | 2018-09-15 |
+| healthcareapis | 2018-08-20-preview |
+| insights | 2018-03-01
2018-09-01
2018-11-01-preview
2019-03-01
2019-06-01 |
+| machinelearningservices | 2019-05-01 |
+| managedservices | 2018-06-01 |
+| network | 2019-04-01 |
+| reservations | 2019-04-01 |
+| security | v1.0
v2.0
v3.0 |
+| securityinsight | 2017-08-01-preview |
+| storage | 2019-04-01 |
+
## `v31.2.0`
### Updated Packages
diff --git a/Gopkg.lock b/Gopkg.lock
index f64134e5ff8f..ba530e8934e5 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -37,7 +37,7 @@
version = "v1.4.2"
[[projects]]
- digest = "1:fdb4ed936abeecb46a8c27dcac83f75c05c87a46d9ec7711411eb785c213fa02"
+ digest = "1:8f5acd4d4462b5136af644d25101f0968a7a94ee90fcb2059cec5b7cc42e0b20"
name = "github.com/census-instrumentation/opencensus-proto"
packages = [
"gen-go/agent/common/v1",
@@ -48,8 +48,8 @@
"gen-go/trace/v1",
]
pruneopts = "UT"
- revision = "a105b96453fe85139acc07b68de48f2cbdd71249"
- version = "v0.2.0"
+ revision = "d89fa54de508111353cb0b06403c00569be780d8"
+ version = "v0.2.1"
[[projects]]
digest = "1:76dc72490af7174349349838f2fe118996381b31ea83243812a97e5a0fd5ed55"
@@ -93,7 +93,7 @@
revision = "eeefdecb41b842af6dc652aaea4026e8403e62df"
[[projects]]
- digest = "1:489a99067cd08971bd9c1ee0055119ba8febc1429f9200ab0bec68d35e8c4833"
+ digest = "1:b532ee3f683c057e797694b5bfeb3827d89e6adf41c53dbc80e549bca76364ea"
name = "github.com/golang/protobuf"
packages = [
"jsonpb",
@@ -110,11 +110,11 @@
"ptypes/wrappers",
]
pruneopts = "UT"
- revision = "b5d812f8a3706043e23a9cd5babf2e5423744d30"
- version = "v1.3.1"
+ revision = "6c65a5562fc06764971b7c5d05c76c75e84bdbf7"
+ version = "v1.3.2"
[[projects]]
- digest = "1:c20c9a82345346a19916a0086e61ea97425172036a32b8a8975490da6a129fda"
+ digest = "1:3b341cd71012c63aacddabfc70b9110be8e30c553349552ad3f77242843f2d03"
name = "github.com/grpc-ecosystem/grpc-gateway"
packages = [
"internal",
@@ -122,16 +122,16 @@
"utilities",
]
pruneopts = "UT"
- revision = "cd0c8ef3533e9c04e6520cac37a81fe262fb0b34"
- version = "v1.9.2"
+ revision = "ad529a448ba494a88058f9e5be0988713174ac86"
+ version = "v1.9.5"
[[projects]]
- digest = "1:67474f760e9ac3799f740db2c489e6423a4cde45520673ec123ac831ad849cb8"
+ digest = "1:7fae9ec96d10b2afce0da23c378c8b3389319b7f92fa092f2621bba3078cfb4b"
name = "github.com/hashicorp/golang-lru"
packages = ["simplelru"]
pruneopts = "UT"
- revision = "7087cb70de9f7a8bc0a10c375cb0d2280a8edf9c"
- version = "v0.5.1"
+ revision = "7f827b33c0f158ec5dfbba01bb0b14a4541fd81d"
+ version = "v0.5.3"
[[projects]]
digest = "1:870d441fe217b8e689d7949fef6e43efbc787e50f200cb1e70dbca9204a1d6be"
@@ -241,11 +241,11 @@
"pkcs12/internal/rc2",
]
pruneopts = "UT"
- revision = "cc06ce4a13d484c0101a9e92913248488a75786d"
+ revision = "4def268fd1a49955bfb3dda92fe3db4f924f2285"
[[projects]]
branch = "master"
- digest = "1:b5936d38011189ba9b2e5890a38c7ffe0ac7f157eef2ddc0fe752117c50d394d"
+ digest = "1:d2aa096fe6b539afe74dd6ab8e9a160304707f1477b01c637b4bbe20d262a25c"
name = "golang.org/x/net"
packages = [
"context",
@@ -257,7 +257,7 @@
"trace",
]
pruneopts = "UT"
- revision = "3b0461eec859c4b73bb64fdc8285971fd33e3938"
+ revision = "ca1201d0de80cfde86cb01aea620983605dfe99b"
[[projects]]
branch = "master"
@@ -269,11 +269,11 @@
[[projects]]
branch = "master"
- digest = "1:674fec0badbe1ba304be312db36ace8bc9c330e0ed26ffca33369cff37ff9f25"
+ digest = "1:ec99dad7924bf972656818f5d62216fb987b7e077d401deb86b3c1e5e1b1d4d6"
name = "golang.org/x/sys"
packages = ["unix"]
pruneopts = "UT"
- revision = "e07cf5db2756114766d998ec31e7135ff8c427ed"
+ revision = "fc99dfbffb4e5ed5758a37e31dd861afe285406b"
[[projects]]
digest = "1:8d8faad6b12a3a4c819a3f9618cb6ee1fa1cfc33253abeeea8b55336721e3405"
@@ -302,7 +302,7 @@
[[projects]]
branch = "master"
- digest = "1:21d9323d5ae80d15770262eed40c48d6e335cb0b8bfb62894ea9dc343aa83720"
+ digest = "1:87f3ab7c6341b1be840c580bdf23dcce036916bf1859e8ab8667033a09ae6097"
name = "golang.org/x/tools"
packages = [
"go/ast/astutil",
@@ -319,7 +319,7 @@
"internal/semver",
]
pruneopts = "UT"
- revision = "e8e6be9f454cfa4adddf4e1fb87ed70f958d7321"
+ revision = "fc6e2057e7f6701ef9b5ef49a089bff4da7f4610"
[[projects]]
digest = "1:5f003878aabe31d7f6b842d4de32b41c46c214bb629bb485387dbcce1edf5643"
@@ -339,10 +339,10 @@
"protobuf/field_mask",
]
pruneopts = "UT"
- revision = "989357319d63150615221e52d4addd4b7933fd91"
+ revision = "c506a9f9061087022822e8da603a52fc387115a8"
[[projects]]
- digest = "1:e8800ddadd6bce3bc0c5ffd7bc55dbdddc6e750956c10cc10271cade542fccbe"
+ digest = "1:581c9b0fe9354faf730ff231cf3682089e0b703073cf10e3976219609d27a9ea"
name = "google.golang.org/grpc"
packages = [
".",
@@ -374,13 +374,14 @@
"resolver",
"resolver/dns",
"resolver/passthrough",
+ "serviceconfig",
"stats",
"status",
"tap",
]
pruneopts = "UT"
- revision = "501c41df7f472c740d0674ff27122f3f48c80ce7"
- version = "v1.21.1"
+ revision = "045159ad57f3781d409358e3ade910a018c16b30"
+ version = "v1.22.1"
[[projects]]
branch = "v1"
diff --git a/README.md b/README.md
index a07c02f357a3..083d60f1591f 100644
--- a/README.md
+++ b/README.md
@@ -491,6 +491,35 @@ func doAzureCalls() {
}
```
+## Request Retry Policy
+
+The SDK provides a baked in retry policy for failed requests with default values that can be configured.
+Each [client](https://godoc.org/github.com/Azure/go-autorest/autorest#Client) object contains the follow fields.
+- `RetryAttempts` - the number of times to retry a failed request
+- `RetryDuration` - the duration to wait between retries
+
+For async operations the follow values are also used.
+- `PollingDelay` - the duration to wait between polling requests
+- `PollingDuration` - the total time to poll an async request before timing out
+
+Please see the [documentation](https://godoc.org/github.com/Azure/go-autorest/autorest#pkg-constants) for the default values used.
+
+Changing one or more values will affect all subsequet API calls.
+
+The default policy is to call `autorest.DoRetryForStatusCodes()` from an API's `Sender` method. Example:
+```go
+func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
+ return autorest.SendWithSender(client, req,
+ autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+}
+```
+
+Details on how `autorest.DoRetryforStatusCodes()` works can be found in the [documentation](https://godoc.org/github.com/Azure/go-autorest/autorest#DoRetryForStatusCodes).
+
+It is not possible to change the invoked retry policy without writing a custom `Sender` and its calling code.
+
+The `PollingDelay` and `PollingDuration` values are used exclusively by [WaitForCompletionRef()](https://godoc.org/github.com/Azure/go-autorest/autorest/azure#Future.WaitForCompletionRef) when blocking on an async call until it completes.
+
# Resources
- SDK docs are at [godoc.org](https://godoc.org/github.com/Azure/azure-sdk-for-go/).
diff --git a/profiles/latest/aad/mgmt/aad/aadapi/models.go b/profiles/latest/aad/mgmt/aad/aadapi/models.go
new file mode 100644
index 000000000000..3bfa5c73d4cc
--- /dev/null
+++ b/profiles/latest/aad/mgmt/aad/aadapi/models.go
@@ -0,0 +1,26 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package aadapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/aad/mgmt/2017-04-01/aad/aadapi"
+
+type DiagnosticSettingsCategoryClientAPI = original.DiagnosticSettingsCategoryClientAPI
+type DiagnosticSettingsClientAPI = original.DiagnosticSettingsClientAPI
+type OperationsClientAPI = original.OperationsClientAPI
diff --git a/profiles/latest/aad/mgmt/aad/models.go b/profiles/latest/aad/mgmt/aad/models.go
new file mode 100644
index 000000000000..e16bc5cedaee
--- /dev/null
+++ b/profiles/latest/aad/mgmt/aad/models.go
@@ -0,0 +1,95 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package aad
+
+import original "github.com/Azure/azure-sdk-for-go/services/aad/mgmt/2017-04-01/aad"
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type Category = original.Category
+
+const (
+ AuditLogs Category = original.AuditLogs
+ SignInLogs Category = original.SignInLogs
+)
+
+type CategoryType = original.CategoryType
+
+const (
+ Logs CategoryType = original.Logs
+)
+
+type BaseClient = original.BaseClient
+type DiagnosticSettings = original.DiagnosticSettings
+type DiagnosticSettingsCategory = original.DiagnosticSettingsCategory
+type DiagnosticSettingsCategoryClient = original.DiagnosticSettingsCategoryClient
+type DiagnosticSettingsCategoryResource = original.DiagnosticSettingsCategoryResource
+type DiagnosticSettingsCategoryResourceCollection = original.DiagnosticSettingsCategoryResourceCollection
+type DiagnosticSettingsClient = original.DiagnosticSettingsClient
+type DiagnosticSettingsResource = original.DiagnosticSettingsResource
+type DiagnosticSettingsResourceCollection = original.DiagnosticSettingsResourceCollection
+type Display = original.Display
+type ErrorDefinition = original.ErrorDefinition
+type ErrorResponse = original.ErrorResponse
+type LogSettings = original.LogSettings
+type OperationsClient = original.OperationsClient
+type OperationsDiscovery = original.OperationsDiscovery
+type OperationsDiscoveryCollection = original.OperationsDiscoveryCollection
+type ProxyOnlyResource = original.ProxyOnlyResource
+type RetentionPolicy = original.RetentionPolicy
+
+func New() BaseClient {
+ return original.New()
+}
+func NewDiagnosticSettingsCategoryClient() DiagnosticSettingsCategoryClient {
+ return original.NewDiagnosticSettingsCategoryClient()
+}
+func NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI string) DiagnosticSettingsCategoryClient {
+ return original.NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI)
+}
+func NewDiagnosticSettingsClient() DiagnosticSettingsClient {
+ return original.NewDiagnosticSettingsClient()
+}
+func NewDiagnosticSettingsClientWithBaseURI(baseURI string) DiagnosticSettingsClient {
+ return original.NewDiagnosticSettingsClientWithBaseURI(baseURI)
+}
+func NewOperationsClient() OperationsClient {
+ return original.NewOperationsClient()
+}
+func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI)
+}
+func NewWithBaseURI(baseURI string) BaseClient {
+ return original.NewWithBaseURI(baseURI)
+}
+func PossibleCategoryTypeValues() []CategoryType {
+ return original.PossibleCategoryTypeValues()
+}
+func PossibleCategoryValues() []Category {
+ return original.PossibleCategoryValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/latest"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/latest/cdn/mgmt/cdn/models.go b/profiles/latest/cdn/mgmt/cdn/models.go
index 21de8a41510f..27689e718e1e 100644
--- a/profiles/latest/cdn/mgmt/cdn/models.go
+++ b/profiles/latest/cdn/mgmt/cdn/models.go
@@ -141,10 +141,12 @@ type NameBasicDeliveryRuleAction = original.NameBasicDeliveryRuleAction
const (
NameCacheExpiration NameBasicDeliveryRuleAction = original.NameCacheExpiration
+ NameCacheKeyQueryString NameBasicDeliveryRuleAction = original.NameCacheKeyQueryString
NameDeliveryRuleAction NameBasicDeliveryRuleAction = original.NameDeliveryRuleAction
NameModifyRequestHeader NameBasicDeliveryRuleAction = original.NameModifyRequestHeader
NameModifyResponseHeader NameBasicDeliveryRuleAction = original.NameModifyResponseHeader
NameURLRedirect NameBasicDeliveryRuleAction = original.NameURLRedirect
+ NameURLRewrite NameBasicDeliveryRuleAction = original.NameURLRewrite
)
type OptimizationType = original.OptimizationType
@@ -195,6 +197,15 @@ const (
ServerNameIndication ProtocolType = original.ServerNameIndication
)
+type QueryStringBehavior = original.QueryStringBehavior
+
+const (
+ Exclude QueryStringBehavior = original.Exclude
+ ExcludeAll QueryStringBehavior = original.ExcludeAll
+ Include QueryStringBehavior = original.Include
+ IncludeAll QueryStringBehavior = original.IncludeAll
+)
+
type QueryStringCachingBehavior = original.QueryStringCachingBehavior
const (
@@ -350,6 +361,7 @@ type BasicCustomDomainHTTPSParameters = original.BasicCustomDomainHTTPSParameter
type BasicDeliveryRuleAction = original.BasicDeliveryRuleAction
type BasicDeliveryRuleCondition = original.BasicDeliveryRuleCondition
type CacheExpirationActionParameters = original.CacheExpirationActionParameters
+type CacheKeyQueryStringActionParameters = original.CacheKeyQueryStringActionParameters
type CertificateSourceParameters = original.CertificateSourceParameters
type CheckNameAvailabilityInput = original.CheckNameAvailabilityInput
type CheckNameAvailabilityOutput = original.CheckNameAvailabilityOutput
@@ -370,6 +382,7 @@ type DeepCreatedOriginProperties = original.DeepCreatedOriginProperties
type DeliveryRule = original.DeliveryRule
type DeliveryRuleAction = original.DeliveryRuleAction
type DeliveryRuleCacheExpirationAction = original.DeliveryRuleCacheExpirationAction
+type DeliveryRuleCacheKeyQueryStringAction = original.DeliveryRuleCacheKeyQueryStringAction
type DeliveryRuleCondition = original.DeliveryRuleCondition
type DeliveryRuleIsDeviceCondition = original.DeliveryRuleIsDeviceCondition
type DeliveryRulePostArgsCondition = original.DeliveryRulePostArgsCondition
@@ -465,6 +478,8 @@ type URLFileNameMatchConditionParameters = original.URLFileNameMatchConditionPar
type URLPathMatchConditionParameters = original.URLPathMatchConditionParameters
type URLRedirectAction = original.URLRedirectAction
type URLRedirectActionParameters = original.URLRedirectActionParameters
+type URLRewriteAction = original.URLRewriteAction
+type URLRewriteActionParameters = original.URLRewriteActionParameters
type UserManagedHTTPSParameters = original.UserManagedHTTPSParameters
type ValidateCustomDomainInput = original.ValidateCustomDomainInput
type ValidateCustomDomainOutput = original.ValidateCustomDomainOutput
@@ -612,6 +627,9 @@ func PossibleProfileResourceStateValues() []ProfileResourceState {
func PossibleProtocolTypeValues() []ProtocolType {
return original.PossibleProtocolTypeValues()
}
+func PossibleQueryStringBehaviorValues() []QueryStringBehavior {
+ return original.PossibleQueryStringBehaviorValues()
+}
func PossibleQueryStringCachingBehaviorValues() []QueryStringCachingBehavior {
return original.PossibleQueryStringCachingBehaviorValues()
}
diff --git a/profiles/latest/cognitiveservices/contentmoderator/models.go b/profiles/latest/cognitiveservices/contentmoderator/models.go
index 996ac1675947..ba97c1cf8ff9 100644
--- a/profiles/latest/cognitiveservices/contentmoderator/models.go
+++ b/profiles/latest/cognitiveservices/contentmoderator/models.go
@@ -91,7 +91,6 @@ type Review = original.Review
type ReviewsClient = original.ReviewsClient
type SSN = original.SSN
type Screen = original.Screen
-type SetObject = original.SetObject
type Status = original.Status
type String = original.String
type Tag = original.Tag
diff --git a/profiles/latest/compute/mgmt/compute/computeapi/models.go b/profiles/latest/compute/mgmt/compute/computeapi/models.go
index 2a5892f868b9..26b46b42c4b6 100644
--- a/profiles/latest/compute/mgmt/compute/computeapi/models.go
+++ b/profiles/latest/compute/mgmt/compute/computeapi/models.go
@@ -19,10 +19,12 @@
package computeapi
-import original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-03-01/compute/computeapi"
+import original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/computeapi"
type AvailabilitySetsClientAPI = original.AvailabilitySetsClientAPI
type ContainerServicesClientAPI = original.ContainerServicesClientAPI
+type DedicatedHostGroupsClientAPI = original.DedicatedHostGroupsClientAPI
+type DedicatedHostsClientAPI = original.DedicatedHostsClientAPI
type DisksClientAPI = original.DisksClientAPI
type GalleriesClientAPI = original.GalleriesClientAPI
type GalleryImageVersionsClientAPI = original.GalleryImageVersionsClientAPI
diff --git a/profiles/latest/compute/mgmt/compute/models.go b/profiles/latest/compute/mgmt/compute/models.go
index 3f2ff246e949..f7c07e190175 100644
--- a/profiles/latest/compute/mgmt/compute/models.go
+++ b/profiles/latest/compute/mgmt/compute/models.go
@@ -22,7 +22,7 @@ package compute
import (
"context"
- original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-03-01/compute"
+ original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
)
const (
@@ -128,6 +128,14 @@ const (
StandardGS5 ContainerServiceVMSizeTypes = original.StandardGS5
)
+type DedicatedHostLicenseTypes = original.DedicatedHostLicenseTypes
+
+const (
+ DedicatedHostLicenseTypesNone DedicatedHostLicenseTypes = original.DedicatedHostLicenseTypesNone
+ DedicatedHostLicenseTypesWindowsServerHybrid DedicatedHostLicenseTypes = original.DedicatedHostLicenseTypesWindowsServerHybrid
+ DedicatedHostLicenseTypesWindowsServerPerpetual DedicatedHostLicenseTypes = original.DedicatedHostLicenseTypesWindowsServerPerpetual
+)
+
type DiffDiskOptions = original.DiffDiskOptions
const (
@@ -660,6 +668,26 @@ type ContainerServicesDeleteFuture = original.ContainerServicesDeleteFuture
type CreationData = original.CreationData
type DataDisk = original.DataDisk
type DataDiskImage = original.DataDiskImage
+type DedicatedHost = original.DedicatedHost
+type DedicatedHostAllocatableVM = original.DedicatedHostAllocatableVM
+type DedicatedHostAvailableCapacity = original.DedicatedHostAvailableCapacity
+type DedicatedHostGroup = original.DedicatedHostGroup
+type DedicatedHostGroupListResult = original.DedicatedHostGroupListResult
+type DedicatedHostGroupListResultIterator = original.DedicatedHostGroupListResultIterator
+type DedicatedHostGroupListResultPage = original.DedicatedHostGroupListResultPage
+type DedicatedHostGroupProperties = original.DedicatedHostGroupProperties
+type DedicatedHostGroupUpdate = original.DedicatedHostGroupUpdate
+type DedicatedHostGroupsClient = original.DedicatedHostGroupsClient
+type DedicatedHostInstanceView = original.DedicatedHostInstanceView
+type DedicatedHostListResult = original.DedicatedHostListResult
+type DedicatedHostListResultIterator = original.DedicatedHostListResultIterator
+type DedicatedHostListResultPage = original.DedicatedHostListResultPage
+type DedicatedHostProperties = original.DedicatedHostProperties
+type DedicatedHostUpdate = original.DedicatedHostUpdate
+type DedicatedHostsClient = original.DedicatedHostsClient
+type DedicatedHostsCreateOrUpdateFuture = original.DedicatedHostsCreateOrUpdateFuture
+type DedicatedHostsDeleteFuture = original.DedicatedHostsDeleteFuture
+type DedicatedHostsUpdateFuture = original.DedicatedHostsUpdateFuture
type DiagnosticsProfile = original.DiagnosticsProfile
type DiffDiskSettings = original.DiffDiskSettings
type Disallowed = original.Disallowed
@@ -686,7 +714,7 @@ type GalleriesCreateOrUpdateFuture = original.GalleriesCreateOrUpdateFuture
type GalleriesDeleteFuture = original.GalleriesDeleteFuture
type Gallery = original.Gallery
type GalleryArtifactPublishingProfileBase = original.GalleryArtifactPublishingProfileBase
-type GalleryArtifactSource = original.GalleryArtifactSource
+type GalleryArtifactVersionSource = original.GalleryArtifactVersionSource
type GalleryDataDiskImage = original.GalleryDataDiskImage
type GalleryDiskImage = original.GalleryDiskImage
type GalleryIdentifier = original.GalleryIdentifier
@@ -751,7 +779,6 @@ type LogAnalyticsInputBase = original.LogAnalyticsInputBase
type LogAnalyticsOperationResult = original.LogAnalyticsOperationResult
type LogAnalyticsOutput = original.LogAnalyticsOutput
type MaintenanceRedeployStatus = original.MaintenanceRedeployStatus
-type ManagedArtifact = original.ManagedArtifact
type ManagedDiskParameters = original.ManagedDiskParameters
type NetworkInterfaceReference = original.NetworkInterfaceReference
type NetworkInterfaceReferenceProperties = original.NetworkInterfaceReferenceProperties
@@ -1024,6 +1051,30 @@ func NewContainerServicesClient(subscriptionID string) ContainerServicesClient {
func NewContainerServicesClientWithBaseURI(baseURI string, subscriptionID string) ContainerServicesClient {
return original.NewContainerServicesClientWithBaseURI(baseURI, subscriptionID)
}
+func NewDedicatedHostGroupListResultIterator(page DedicatedHostGroupListResultPage) DedicatedHostGroupListResultIterator {
+ return original.NewDedicatedHostGroupListResultIterator(page)
+}
+func NewDedicatedHostGroupListResultPage(getNextPage func(context.Context, DedicatedHostGroupListResult) (DedicatedHostGroupListResult, error)) DedicatedHostGroupListResultPage {
+ return original.NewDedicatedHostGroupListResultPage(getNextPage)
+}
+func NewDedicatedHostGroupsClient(subscriptionID string) DedicatedHostGroupsClient {
+ return original.NewDedicatedHostGroupsClient(subscriptionID)
+}
+func NewDedicatedHostGroupsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostGroupsClient {
+ return original.NewDedicatedHostGroupsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewDedicatedHostListResultIterator(page DedicatedHostListResultPage) DedicatedHostListResultIterator {
+ return original.NewDedicatedHostListResultIterator(page)
+}
+func NewDedicatedHostListResultPage(getNextPage func(context.Context, DedicatedHostListResult) (DedicatedHostListResult, error)) DedicatedHostListResultPage {
+ return original.NewDedicatedHostListResultPage(getNextPage)
+}
+func NewDedicatedHostsClient(subscriptionID string) DedicatedHostsClient {
+ return original.NewDedicatedHostsClient(subscriptionID)
+}
+func NewDedicatedHostsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostsClient {
+ return original.NewDedicatedHostsClientWithBaseURI(baseURI, subscriptionID)
+}
func NewDiskListIterator(page DiskListPage) DiskListIterator {
return original.NewDiskListIterator(page)
}
@@ -1276,6 +1327,9 @@ func PossibleContainerServiceOrchestratorTypesValues() []ContainerServiceOrchest
func PossibleContainerServiceVMSizeTypesValues() []ContainerServiceVMSizeTypes {
return original.PossibleContainerServiceVMSizeTypesValues()
}
+func PossibleDedicatedHostLicenseTypesValues() []DedicatedHostLicenseTypes {
+ return original.PossibleDedicatedHostLicenseTypesValues()
+}
func PossibleDiffDiskOptionsValues() []DiffDiskOptions {
return original.PossibleDiffDiskOptionsValues()
}
diff --git a/profiles/latest/cosmos-db/mgmt/documentdb/models.go b/profiles/latest/cosmos-db/mgmt/documentdb/models.go
index 99c03d1769e6..c2dd112fa7dd 100644
--- a/profiles/latest/cosmos-db/mgmt/documentdb/models.go
+++ b/profiles/latest/cosmos-db/mgmt/documentdb/models.go
@@ -36,6 +36,12 @@ const (
LastWriterWins ConflictResolutionMode = original.LastWriterWins
)
+type ConnectorOffer = original.ConnectorOffer
+
+const (
+ Small ConnectorOffer = original.Small
+)
+
type DataType = original.DataType
const (
@@ -385,6 +391,9 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
func PossibleConflictResolutionModeValues() []ConflictResolutionMode {
return original.PossibleConflictResolutionModeValues()
}
+func PossibleConnectorOfferValues() []ConnectorOffer {
+ return original.PossibleConnectorOfferValues()
+}
func PossibleDataTypeValues() []DataType {
return original.PossibleDataTypeValues()
}
diff --git a/profiles/latest/datafactory/mgmt/datafactory/models.go b/profiles/latest/datafactory/mgmt/datafactory/models.go
index f5dc8c66fb6d..d33ae6666569 100644
--- a/profiles/latest/datafactory/mgmt/datafactory/models.go
+++ b/profiles/latest/datafactory/mgmt/datafactory/models.go
@@ -58,6 +58,13 @@ const (
TRACE AzureFunctionActivityMethod = original.TRACE
)
+type AzureSearchIndexWriteBehaviorType = original.AzureSearchIndexWriteBehaviorType
+
+const (
+ Merge AzureSearchIndexWriteBehaviorType = original.Merge
+ Upload AzureSearchIndexWriteBehaviorType = original.Upload
+)
+
type BlobEventTypes = original.BlobEventTypes
const (
@@ -65,6 +72,21 @@ const (
MicrosoftStorageBlobDeleted BlobEventTypes = original.MicrosoftStorageBlobDeleted
)
+type CassandraSourceReadConsistencyLevels = original.CassandraSourceReadConsistencyLevels
+
+const (
+ ALL CassandraSourceReadConsistencyLevels = original.ALL
+ EACHQUORUM CassandraSourceReadConsistencyLevels = original.EACHQUORUM
+ LOCALONE CassandraSourceReadConsistencyLevels = original.LOCALONE
+ LOCALQUORUM CassandraSourceReadConsistencyLevels = original.LOCALQUORUM
+ LOCALSERIAL CassandraSourceReadConsistencyLevels = original.LOCALSERIAL
+ ONE CassandraSourceReadConsistencyLevels = original.ONE
+ QUORUM CassandraSourceReadConsistencyLevels = original.QUORUM
+ SERIAL CassandraSourceReadConsistencyLevels = original.SERIAL
+ THREE CassandraSourceReadConsistencyLevels = original.THREE
+ TWO CassandraSourceReadConsistencyLevels = original.TWO
+)
+
type DayOfWeek = original.DayOfWeek
const (
@@ -104,6 +126,20 @@ const (
Succeeded DependencyCondition = original.Succeeded
)
+type DynamicsAuthenticationType = original.DynamicsAuthenticationType
+
+const (
+ Ifd DynamicsAuthenticationType = original.Ifd
+ Office365 DynamicsAuthenticationType = original.Office365
+)
+
+type DynamicsDeploymentType = original.DynamicsDeploymentType
+
+const (
+ Online DynamicsDeploymentType = original.Online
+ OnPremisesWithIfd DynamicsDeploymentType = original.OnPremisesWithIfd
+)
+
type FtpAuthenticationType = original.FtpAuthenticationType
const (
@@ -238,16 +274,16 @@ const (
type IntegrationRuntimeState = original.IntegrationRuntimeState
const (
- AccessDenied IntegrationRuntimeState = original.AccessDenied
- Initial IntegrationRuntimeState = original.Initial
- Limited IntegrationRuntimeState = original.Limited
- NeedRegistration IntegrationRuntimeState = original.NeedRegistration
- Offline IntegrationRuntimeState = original.Offline
- Online IntegrationRuntimeState = original.Online
- Started IntegrationRuntimeState = original.Started
- Starting IntegrationRuntimeState = original.Starting
- Stopped IntegrationRuntimeState = original.Stopped
- Stopping IntegrationRuntimeState = original.Stopping
+ IntegrationRuntimeStateAccessDenied IntegrationRuntimeState = original.IntegrationRuntimeStateAccessDenied
+ IntegrationRuntimeStateInitial IntegrationRuntimeState = original.IntegrationRuntimeStateInitial
+ IntegrationRuntimeStateLimited IntegrationRuntimeState = original.IntegrationRuntimeStateLimited
+ IntegrationRuntimeStateNeedRegistration IntegrationRuntimeState = original.IntegrationRuntimeStateNeedRegistration
+ IntegrationRuntimeStateOffline IntegrationRuntimeState = original.IntegrationRuntimeStateOffline
+ IntegrationRuntimeStateOnline IntegrationRuntimeState = original.IntegrationRuntimeStateOnline
+ IntegrationRuntimeStateStarted IntegrationRuntimeState = original.IntegrationRuntimeStateStarted
+ IntegrationRuntimeStateStarting IntegrationRuntimeState = original.IntegrationRuntimeStateStarting
+ IntegrationRuntimeStateStopped IntegrationRuntimeState = original.IntegrationRuntimeStateStopped
+ IntegrationRuntimeStateStopping IntegrationRuntimeState = original.IntegrationRuntimeStateStopping
)
type IntegrationRuntimeType = original.IntegrationRuntimeType
@@ -268,10 +304,10 @@ const (
type ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatus
const (
- ManagedIntegrationRuntimeNodeStatusAvailable ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusAvailable
- ManagedIntegrationRuntimeNodeStatusRecycling ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusRecycling
- ManagedIntegrationRuntimeNodeStatusStarting ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusStarting
- ManagedIntegrationRuntimeNodeStatusUnavailable ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusUnavailable
+ Available ManagedIntegrationRuntimeNodeStatus = original.Available
+ Recycling ManagedIntegrationRuntimeNodeStatus = original.Recycling
+ Starting ManagedIntegrationRuntimeNodeStatus = original.Starting
+ Unavailable ManagedIntegrationRuntimeNodeStatus = original.Unavailable
)
type MongoDbAuthenticationType = original.MongoDbAuthenticationType
@@ -281,6 +317,14 @@ const (
MongoDbAuthenticationTypeBasic MongoDbAuthenticationType = original.MongoDbAuthenticationTypeBasic
)
+type NetezzaPartitionOption = original.NetezzaPartitionOption
+
+const (
+ NetezzaPartitionOptionDataSlice NetezzaPartitionOption = original.NetezzaPartitionOptionDataSlice
+ NetezzaPartitionOptionDynamicRange NetezzaPartitionOption = original.NetezzaPartitionOptionDynamicRange
+ NetezzaPartitionOptionNone NetezzaPartitionOption = original.NetezzaPartitionOptionNone
+)
+
type ODataAadServicePrincipalCredentialType = original.ODataAadServicePrincipalCredentialType
const (
@@ -298,6 +342,14 @@ const (
ODataAuthenticationTypeWindows ODataAuthenticationType = original.ODataAuthenticationTypeWindows
)
+type OraclePartitionOption = original.OraclePartitionOption
+
+const (
+ OraclePartitionOptionDynamicRange OraclePartitionOption = original.OraclePartitionOptionDynamicRange
+ OraclePartitionOptionNone OraclePartitionOption = original.OraclePartitionOptionNone
+ OraclePartitionOptionPhysicalPartitionsOfTable OraclePartitionOption = original.OraclePartitionOptionPhysicalPartitionsOfTable
+)
+
type ParameterType = original.ParameterType
const (
@@ -400,6 +452,27 @@ const (
RunQueryOrderByFieldTriggerRunTimestamp RunQueryOrderByField = original.RunQueryOrderByFieldTriggerRunTimestamp
)
+type SalesforceSinkWriteBehavior = original.SalesforceSinkWriteBehavior
+
+const (
+ Insert SalesforceSinkWriteBehavior = original.Insert
+ Upsert SalesforceSinkWriteBehavior = original.Upsert
+)
+
+type SalesforceSourceReadBehavior = original.SalesforceSourceReadBehavior
+
+const (
+ Query SalesforceSourceReadBehavior = original.Query
+ QueryAll SalesforceSourceReadBehavior = original.QueryAll
+)
+
+type SapCloudForCustomerSinkWriteBehavior = original.SapCloudForCustomerSinkWriteBehavior
+
+const (
+ SapCloudForCustomerSinkWriteBehaviorInsert SapCloudForCustomerSinkWriteBehavior = original.SapCloudForCustomerSinkWriteBehaviorInsert
+ SapCloudForCustomerSinkWriteBehaviorUpdate SapCloudForCustomerSinkWriteBehavior = original.SapCloudForCustomerSinkWriteBehaviorUpdate
+)
+
type SapHanaAuthenticationType = original.SapHanaAuthenticationType
const (
@@ -407,6 +480,17 @@ const (
SapHanaAuthenticationTypeWindows SapHanaAuthenticationType = original.SapHanaAuthenticationTypeWindows
)
+type SapTablePartitionOption = original.SapTablePartitionOption
+
+const (
+ SapTablePartitionOptionNone SapTablePartitionOption = original.SapTablePartitionOptionNone
+ SapTablePartitionOptionPartitionOnCalendarDate SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarDate
+ SapTablePartitionOptionPartitionOnCalendarMonth SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarMonth
+ SapTablePartitionOptionPartitionOnCalendarYear SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarYear
+ SapTablePartitionOptionPartitionOnInt SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnInt
+ SapTablePartitionOptionPartitionOnTime SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnTime
+)
+
type SelfHostedIntegrationRuntimeNodeStatus = original.SelfHostedIntegrationRuntimeNodeStatus
const (
@@ -467,6 +551,13 @@ const (
Project SsisObjectMetadataType = original.Project
)
+type SsisPackageLocationType = original.SsisPackageLocationType
+
+const (
+ File SsisPackageLocationType = original.File
+ SSISDB SsisPackageLocationType = original.SSISDB
+)
+
type StoredProcedureParameterType = original.StoredProcedureParameterType
const (
@@ -493,6 +584,14 @@ const (
TeradataAuthenticationTypeWindows TeradataAuthenticationType = original.TeradataAuthenticationTypeWindows
)
+type TeradataPartitionOption = original.TeradataPartitionOption
+
+const (
+ TeradataPartitionOptionDynamicRange TeradataPartitionOption = original.TeradataPartitionOptionDynamicRange
+ TeradataPartitionOptionHash TeradataPartitionOption = original.TeradataPartitionOptionHash
+ TeradataPartitionOptionNone TeradataPartitionOption = original.TeradataPartitionOptionNone
+)
+
type TriggerRunStatus = original.TriggerRunStatus
const (
@@ -504,9 +603,9 @@ const (
type TriggerRuntimeState = original.TriggerRuntimeState
const (
- TriggerRuntimeStateDisabled TriggerRuntimeState = original.TriggerRuntimeStateDisabled
- TriggerRuntimeStateStarted TriggerRuntimeState = original.TriggerRuntimeStateStarted
- TriggerRuntimeStateStopped TriggerRuntimeState = original.TriggerRuntimeStateStopped
+ Disabled TriggerRuntimeState = original.Disabled
+ Started TriggerRuntimeState = original.Started
+ Stopped TriggerRuntimeState = original.Stopped
)
type TumblingWindowFrequency = original.TumblingWindowFrequency
@@ -529,6 +628,7 @@ type TypeBasicActivity = original.TypeBasicActivity
const (
TypeActivity TypeBasicActivity = original.TypeActivity
TypeAppendVariable TypeBasicActivity = original.TypeAppendVariable
+ TypeAzureDataExplorerCommand TypeBasicActivity = original.TypeAzureDataExplorerCommand
TypeAzureFunctionActivity TypeBasicActivity = original.TypeAzureFunctionActivity
TypeAzureMLBatchExecution TypeBasicActivity = original.TypeAzureMLBatchExecution
TypeAzureMLUpdateResource TypeBasicActivity = original.TypeAzureMLUpdateResource
@@ -565,28 +665,36 @@ const (
type TypeBasicCopySink = original.TypeBasicCopySink
const (
- TypeAzureBlobFSSink TypeBasicCopySink = original.TypeAzureBlobFSSink
- TypeAzureDataExplorerSink TypeBasicCopySink = original.TypeAzureDataExplorerSink
- TypeAzureDataLakeStoreSink TypeBasicCopySink = original.TypeAzureDataLakeStoreSink
- TypeAzureQueueSink TypeBasicCopySink = original.TypeAzureQueueSink
- TypeAzureSearchIndexSink TypeBasicCopySink = original.TypeAzureSearchIndexSink
- TypeAzureSQLSink TypeBasicCopySink = original.TypeAzureSQLSink
- TypeAzureTableSink TypeBasicCopySink = original.TypeAzureTableSink
- TypeBlobSink TypeBasicCopySink = original.TypeBlobSink
- TypeCopySink TypeBasicCopySink = original.TypeCopySink
- TypeCosmosDbMongoDbAPISink TypeBasicCopySink = original.TypeCosmosDbMongoDbAPISink
- TypeDelimitedTextSink TypeBasicCopySink = original.TypeDelimitedTextSink
- TypeDocumentDbCollectionSink TypeBasicCopySink = original.TypeDocumentDbCollectionSink
- TypeDynamicsSink TypeBasicCopySink = original.TypeDynamicsSink
- TypeFileSystemSink TypeBasicCopySink = original.TypeFileSystemSink
- TypeOdbcSink TypeBasicCopySink = original.TypeOdbcSink
- TypeOracleSink TypeBasicCopySink = original.TypeOracleSink
- TypeParquetSink TypeBasicCopySink = original.TypeParquetSink
- TypeSalesforceSink TypeBasicCopySink = original.TypeSalesforceSink
- TypeSapCloudForCustomerSink TypeBasicCopySink = original.TypeSapCloudForCustomerSink
- TypeSQLDWSink TypeBasicCopySink = original.TypeSQLDWSink
- TypeSQLServerSink TypeBasicCopySink = original.TypeSQLServerSink
- TypeSQLSink TypeBasicCopySink = original.TypeSQLSink
+ TypeAzureBlobFSSink TypeBasicCopySink = original.TypeAzureBlobFSSink
+ TypeAzureDataExplorerSink TypeBasicCopySink = original.TypeAzureDataExplorerSink
+ TypeAzureDataLakeStoreSink TypeBasicCopySink = original.TypeAzureDataLakeStoreSink
+ TypeAzurePostgreSQLSink TypeBasicCopySink = original.TypeAzurePostgreSQLSink
+ TypeAzureQueueSink TypeBasicCopySink = original.TypeAzureQueueSink
+ TypeAzureSearchIndexSink TypeBasicCopySink = original.TypeAzureSearchIndexSink
+ TypeAzureSQLSink TypeBasicCopySink = original.TypeAzureSQLSink
+ TypeAzureTableSink TypeBasicCopySink = original.TypeAzureTableSink
+ TypeBinarySink TypeBasicCopySink = original.TypeBinarySink
+ TypeBlobSink TypeBasicCopySink = original.TypeBlobSink
+ TypeCommonDataServiceForAppsSink TypeBasicCopySink = original.TypeCommonDataServiceForAppsSink
+ TypeCopySink TypeBasicCopySink = original.TypeCopySink
+ TypeCosmosDbMongoDbAPISink TypeBasicCopySink = original.TypeCosmosDbMongoDbAPISink
+ TypeDelimitedTextSink TypeBasicCopySink = original.TypeDelimitedTextSink
+ TypeDocumentDbCollectionSink TypeBasicCopySink = original.TypeDocumentDbCollectionSink
+ TypeDynamicsCrmSink TypeBasicCopySink = original.TypeDynamicsCrmSink
+ TypeDynamicsSink TypeBasicCopySink = original.TypeDynamicsSink
+ TypeFileSystemSink TypeBasicCopySink = original.TypeFileSystemSink
+ TypeInformixSink TypeBasicCopySink = original.TypeInformixSink
+ TypeMicrosoftAccessSink TypeBasicCopySink = original.TypeMicrosoftAccessSink
+ TypeOdbcSink TypeBasicCopySink = original.TypeOdbcSink
+ TypeOracleSink TypeBasicCopySink = original.TypeOracleSink
+ TypeParquetSink TypeBasicCopySink = original.TypeParquetSink
+ TypeSalesforceServiceCloudSink TypeBasicCopySink = original.TypeSalesforceServiceCloudSink
+ TypeSalesforceSink TypeBasicCopySink = original.TypeSalesforceSink
+ TypeSapCloudForCustomerSink TypeBasicCopySink = original.TypeSapCloudForCustomerSink
+ TypeSQLDWSink TypeBasicCopySink = original.TypeSQLDWSink
+ TypeSQLMISink TypeBasicCopySink = original.TypeSQLMISink
+ TypeSQLServerSink TypeBasicCopySink = original.TypeSQLServerSink
+ TypeSQLSink TypeBasicCopySink = original.TypeSQLSink
)
type TypeBasicCopySource = original.TypeBasicCopySource
@@ -601,16 +709,20 @@ const (
TypeAzurePostgreSQLSource TypeBasicCopySource = original.TypeAzurePostgreSQLSource
TypeAzureSQLSource TypeBasicCopySource = original.TypeAzureSQLSource
TypeAzureTableSource TypeBasicCopySource = original.TypeAzureTableSource
+ TypeBinarySource TypeBasicCopySource = original.TypeBinarySource
TypeBlobSource TypeBasicCopySource = original.TypeBlobSource
TypeCassandraSource TypeBasicCopySource = original.TypeCassandraSource
+ TypeCommonDataServiceForAppsSource TypeBasicCopySource = original.TypeCommonDataServiceForAppsSource
TypeConcurSource TypeBasicCopySource = original.TypeConcurSource
TypeCopySource TypeBasicCopySource = original.TypeCopySource
TypeCosmosDbMongoDbAPISource TypeBasicCopySource = original.TypeCosmosDbMongoDbAPISource
TypeCouchbaseSource TypeBasicCopySource = original.TypeCouchbaseSource
+ TypeDb2Source TypeBasicCopySource = original.TypeDb2Source
TypeDelimitedTextSource TypeBasicCopySource = original.TypeDelimitedTextSource
TypeDocumentDbCollectionSource TypeBasicCopySource = original.TypeDocumentDbCollectionSource
TypeDrillSource TypeBasicCopySource = original.TypeDrillSource
TypeDynamicsAXSource TypeBasicCopySource = original.TypeDynamicsAXSource
+ TypeDynamicsCrmSource TypeBasicCopySource = original.TypeDynamicsCrmSource
TypeDynamicsSource TypeBasicCopySource = original.TypeDynamicsSource
TypeEloquaSource TypeBasicCopySource = original.TypeEloquaSource
TypeFileSystemSource TypeBasicCopySource = original.TypeFileSystemSource
@@ -623,25 +735,32 @@ const (
TypeHTTPSource TypeBasicCopySource = original.TypeHTTPSource
TypeHubspotSource TypeBasicCopySource = original.TypeHubspotSource
TypeImpalaSource TypeBasicCopySource = original.TypeImpalaSource
+ TypeInformixSource TypeBasicCopySource = original.TypeInformixSource
TypeJiraSource TypeBasicCopySource = original.TypeJiraSource
TypeMagentoSource TypeBasicCopySource = original.TypeMagentoSource
TypeMariaDBSource TypeBasicCopySource = original.TypeMariaDBSource
TypeMarketoSource TypeBasicCopySource = original.TypeMarketoSource
+ TypeMicrosoftAccessSource TypeBasicCopySource = original.TypeMicrosoftAccessSource
TypeMongoDbSource TypeBasicCopySource = original.TypeMongoDbSource
TypeMongoDbV2Source TypeBasicCopySource = original.TypeMongoDbV2Source
+ TypeMySQLSource TypeBasicCopySource = original.TypeMySQLSource
TypeNetezzaSource TypeBasicCopySource = original.TypeNetezzaSource
+ TypeODataSource TypeBasicCopySource = original.TypeODataSource
+ TypeOdbcSource TypeBasicCopySource = original.TypeOdbcSource
TypeOffice365Source TypeBasicCopySource = original.TypeOffice365Source
TypeOracleServiceCloudSource TypeBasicCopySource = original.TypeOracleServiceCloudSource
TypeOracleSource TypeBasicCopySource = original.TypeOracleSource
TypeParquetSource TypeBasicCopySource = original.TypeParquetSource
TypePaypalSource TypeBasicCopySource = original.TypePaypalSource
TypePhoenixSource TypeBasicCopySource = original.TypePhoenixSource
+ TypePostgreSQLSource TypeBasicCopySource = original.TypePostgreSQLSource
TypePrestoSource TypeBasicCopySource = original.TypePrestoSource
TypeQuickBooksSource TypeBasicCopySource = original.TypeQuickBooksSource
TypeRelationalSource TypeBasicCopySource = original.TypeRelationalSource
TypeResponsysSource TypeBasicCopySource = original.TypeResponsysSource
TypeRestSource TypeBasicCopySource = original.TypeRestSource
TypeSalesforceMarketingCloudSource TypeBasicCopySource = original.TypeSalesforceMarketingCloudSource
+ TypeSalesforceServiceCloudSource TypeBasicCopySource = original.TypeSalesforceServiceCloudSource
TypeSalesforceSource TypeBasicCopySource = original.TypeSalesforceSource
TypeSapCloudForCustomerSource TypeBasicCopySource = original.TypeSapCloudForCustomerSource
TypeSapEccSource TypeBasicCopySource = original.TypeSapEccSource
@@ -652,9 +771,11 @@ const (
TypeShopifySource TypeBasicCopySource = original.TypeShopifySource
TypeSparkSource TypeBasicCopySource = original.TypeSparkSource
TypeSQLDWSource TypeBasicCopySource = original.TypeSQLDWSource
+ TypeSQLMISource TypeBasicCopySource = original.TypeSQLMISource
TypeSQLServerSource TypeBasicCopySource = original.TypeSQLServerSource
TypeSQLSource TypeBasicCopySource = original.TypeSQLSource
TypeSquareSource TypeBasicCopySource = original.TypeSquareSource
+ TypeSybaseSource TypeBasicCopySource = original.TypeSybaseSource
TypeTeradataSource TypeBasicCopySource = original.TypeTeradataSource
TypeVerticaSource TypeBasicCopySource = original.TypeVerticaSource
TypeWebSource TypeBasicCopySource = original.TypeWebSource
@@ -675,9 +796,12 @@ const (
TypeAzurePostgreSQLTable TypeBasicDataset = original.TypeAzurePostgreSQLTable
TypeAzureSearchIndex TypeBasicDataset = original.TypeAzureSearchIndex
TypeAzureSQLDWTable TypeBasicDataset = original.TypeAzureSQLDWTable
+ TypeAzureSQLMITable TypeBasicDataset = original.TypeAzureSQLMITable
TypeAzureSQLTable TypeBasicDataset = original.TypeAzureSQLTable
TypeAzureTable TypeBasicDataset = original.TypeAzureTable
+ TypeBinary TypeBasicDataset = original.TypeBinary
TypeCassandraTable TypeBasicDataset = original.TypeCassandraTable
+ TypeCommonDataServiceForAppsEntity TypeBasicDataset = original.TypeCommonDataServiceForAppsEntity
TypeConcurObject TypeBasicDataset = original.TypeConcurObject
TypeCosmosDbMongoDbAPICollection TypeBasicDataset = original.TypeCosmosDbMongoDbAPICollection
TypeCouchbaseTable TypeBasicDataset = original.TypeCouchbaseTable
@@ -687,6 +811,7 @@ const (
TypeDocumentDbCollection TypeBasicDataset = original.TypeDocumentDbCollection
TypeDrillTable TypeBasicDataset = original.TypeDrillTable
TypeDynamicsAXResource TypeBasicDataset = original.TypeDynamicsAXResource
+ TypeDynamicsCrmEntity TypeBasicDataset = original.TypeDynamicsCrmEntity
TypeDynamicsEntity TypeBasicDataset = original.TypeDynamicsEntity
TypeEloquaObject TypeBasicDataset = original.TypeEloquaObject
TypeFileShare TypeBasicDataset = original.TypeFileShare
@@ -698,20 +823,25 @@ const (
TypeHTTPFile TypeBasicDataset = original.TypeHTTPFile
TypeHubspotObject TypeBasicDataset = original.TypeHubspotObject
TypeImpalaObject TypeBasicDataset = original.TypeImpalaObject
+ TypeInformixTable TypeBasicDataset = original.TypeInformixTable
TypeJiraObject TypeBasicDataset = original.TypeJiraObject
TypeMagentoObject TypeBasicDataset = original.TypeMagentoObject
TypeMariaDBTable TypeBasicDataset = original.TypeMariaDBTable
TypeMarketoObject TypeBasicDataset = original.TypeMarketoObject
+ TypeMicrosoftAccessTable TypeBasicDataset = original.TypeMicrosoftAccessTable
TypeMongoDbCollection TypeBasicDataset = original.TypeMongoDbCollection
TypeMongoDbV2Collection TypeBasicDataset = original.TypeMongoDbV2Collection
+ TypeMySQLTable TypeBasicDataset = original.TypeMySQLTable
TypeNetezzaTable TypeBasicDataset = original.TypeNetezzaTable
TypeODataResource TypeBasicDataset = original.TypeODataResource
+ TypeOdbcTable TypeBasicDataset = original.TypeOdbcTable
TypeOffice365Table TypeBasicDataset = original.TypeOffice365Table
TypeOracleServiceCloudObject TypeBasicDataset = original.TypeOracleServiceCloudObject
TypeOracleTable TypeBasicDataset = original.TypeOracleTable
TypeParquet TypeBasicDataset = original.TypeParquet
TypePaypalObject TypeBasicDataset = original.TypePaypalObject
TypePhoenixObject TypeBasicDataset = original.TypePhoenixObject
+ TypePostgreSQLTable TypeBasicDataset = original.TypePostgreSQLTable
TypePrestoObject TypeBasicDataset = original.TypePrestoObject
TypeQuickBooksObject TypeBasicDataset = original.TypeQuickBooksObject
TypeRelationalTable TypeBasicDataset = original.TypeRelationalTable
@@ -719,6 +849,7 @@ const (
TypeRestResource TypeBasicDataset = original.TypeRestResource
TypeSalesforceMarketingCloudObject TypeBasicDataset = original.TypeSalesforceMarketingCloudObject
TypeSalesforceObject TypeBasicDataset = original.TypeSalesforceObject
+ TypeSalesforceServiceCloudObject TypeBasicDataset = original.TypeSalesforceServiceCloudObject
TypeSapCloudForCustomerResource TypeBasicDataset = original.TypeSapCloudForCustomerResource
TypeSapEccResource TypeBasicDataset = original.TypeSapEccResource
TypeSapHanaTable TypeBasicDataset = original.TypeSapHanaTable
@@ -811,9 +942,11 @@ const (
TypeAzureSearch TypeBasicLinkedService = original.TypeAzureSearch
TypeAzureSQLDatabase TypeBasicLinkedService = original.TypeAzureSQLDatabase
TypeAzureSQLDW TypeBasicLinkedService = original.TypeAzureSQLDW
+ TypeAzureSQLMI TypeBasicLinkedService = original.TypeAzureSQLMI
TypeAzureStorage TypeBasicLinkedService = original.TypeAzureStorage
TypeAzureTableStorage TypeBasicLinkedService = original.TypeAzureTableStorage
TypeCassandra TypeBasicLinkedService = original.TypeCassandra
+ TypeCommonDataServiceForApps TypeBasicLinkedService = original.TypeCommonDataServiceForApps
TypeConcur TypeBasicLinkedService = original.TypeConcur
TypeCosmosDb TypeBasicLinkedService = original.TypeCosmosDb
TypeCosmosDbMongoDbAPI TypeBasicLinkedService = original.TypeCosmosDbMongoDbAPI
@@ -823,6 +956,7 @@ const (
TypeDrill TypeBasicLinkedService = original.TypeDrill
TypeDynamics TypeBasicLinkedService = original.TypeDynamics
TypeDynamicsAX TypeBasicLinkedService = original.TypeDynamicsAX
+ TypeDynamicsCrm TypeBasicLinkedService = original.TypeDynamicsCrm
TypeEloqua TypeBasicLinkedService = original.TypeEloqua
TypeFileServer TypeBasicLinkedService = original.TypeFileServer
TypeFtpServer TypeBasicLinkedService = original.TypeFtpServer
@@ -837,11 +971,13 @@ const (
TypeHTTPServer TypeBasicLinkedService = original.TypeHTTPServer
TypeHubspot TypeBasicLinkedService = original.TypeHubspot
TypeImpala TypeBasicLinkedService = original.TypeImpala
+ TypeInformix TypeBasicLinkedService = original.TypeInformix
TypeJira TypeBasicLinkedService = original.TypeJira
TypeLinkedService TypeBasicLinkedService = original.TypeLinkedService
TypeMagento TypeBasicLinkedService = original.TypeMagento
TypeMariaDB TypeBasicLinkedService = original.TypeMariaDB
TypeMarketo TypeBasicLinkedService = original.TypeMarketo
+ TypeMicrosoftAccess TypeBasicLinkedService = original.TypeMicrosoftAccess
TypeMongoDb TypeBasicLinkedService = original.TypeMongoDb
TypeMongoDbV2 TypeBasicLinkedService = original.TypeMongoDbV2
TypeMySQL TypeBasicLinkedService = original.TypeMySQL
@@ -860,6 +996,7 @@ const (
TypeRestService TypeBasicLinkedService = original.TypeRestService
TypeSalesforce TypeBasicLinkedService = original.TypeSalesforce
TypeSalesforceMarketingCloud TypeBasicLinkedService = original.TypeSalesforceMarketingCloud
+ TypeSalesforceServiceCloud TypeBasicLinkedService = original.TypeSalesforceServiceCloud
TypeSapBW TypeBasicLinkedService = original.TypeSapBW
TypeSapCloudForCustomer TypeBasicLinkedService = original.TypeSapCloudForCustomer
TypeSapEcc TypeBasicLinkedService = original.TypeSapEcc
@@ -944,7 +1081,7 @@ type AmazonS3DatasetTypeProperties = original.AmazonS3DatasetTypeProperties
type AmazonS3LinkedService = original.AmazonS3LinkedService
type AmazonS3LinkedServiceTypeProperties = original.AmazonS3LinkedServiceTypeProperties
type AmazonS3Location = original.AmazonS3Location
-type AmazonS3ReadSetting = original.AmazonS3ReadSetting
+type AmazonS3ReadSettings = original.AmazonS3ReadSettings
type AppendVariableActivity = original.AppendVariableActivity
type AppendVariableActivityTypeProperties = original.AppendVariableActivityTypeProperties
type AvroFormat = original.AvroFormat
@@ -957,15 +1094,17 @@ type AzureBlobFSDatasetTypeProperties = original.AzureBlobFSDatasetTypePropertie
type AzureBlobFSLinkedService = original.AzureBlobFSLinkedService
type AzureBlobFSLinkedServiceTypeProperties = original.AzureBlobFSLinkedServiceTypeProperties
type AzureBlobFSLocation = original.AzureBlobFSLocation
-type AzureBlobFSReadSetting = original.AzureBlobFSReadSetting
+type AzureBlobFSReadSettings = original.AzureBlobFSReadSettings
type AzureBlobFSSink = original.AzureBlobFSSink
type AzureBlobFSSource = original.AzureBlobFSSource
-type AzureBlobFSWriteSetting = original.AzureBlobFSWriteSetting
+type AzureBlobFSWriteSettings = original.AzureBlobFSWriteSettings
type AzureBlobStorageLinkedService = original.AzureBlobStorageLinkedService
type AzureBlobStorageLinkedServiceTypeProperties = original.AzureBlobStorageLinkedServiceTypeProperties
type AzureBlobStorageLocation = original.AzureBlobStorageLocation
-type AzureBlobStorageReadSetting = original.AzureBlobStorageReadSetting
-type AzureBlobStorageWriteSetting = original.AzureBlobStorageWriteSetting
+type AzureBlobStorageReadSettings = original.AzureBlobStorageReadSettings
+type AzureBlobStorageWriteSettings = original.AzureBlobStorageWriteSettings
+type AzureDataExplorerCommandActivity = original.AzureDataExplorerCommandActivity
+type AzureDataExplorerCommandActivityTypeProperties = original.AzureDataExplorerCommandActivityTypeProperties
type AzureDataExplorerDatasetTypeProperties = original.AzureDataExplorerDatasetTypeProperties
type AzureDataExplorerLinkedService = original.AzureDataExplorerLinkedService
type AzureDataExplorerLinkedServiceTypeProperties = original.AzureDataExplorerLinkedServiceTypeProperties
@@ -979,10 +1118,10 @@ type AzureDataLakeStoreDatasetTypeProperties = original.AzureDataLakeStoreDatase
type AzureDataLakeStoreLinkedService = original.AzureDataLakeStoreLinkedService
type AzureDataLakeStoreLinkedServiceTypeProperties = original.AzureDataLakeStoreLinkedServiceTypeProperties
type AzureDataLakeStoreLocation = original.AzureDataLakeStoreLocation
-type AzureDataLakeStoreReadSetting = original.AzureDataLakeStoreReadSetting
+type AzureDataLakeStoreReadSettings = original.AzureDataLakeStoreReadSettings
type AzureDataLakeStoreSink = original.AzureDataLakeStoreSink
type AzureDataLakeStoreSource = original.AzureDataLakeStoreSource
-type AzureDataLakeStoreWriteSetting = original.AzureDataLakeStoreWriteSetting
+type AzureDataLakeStoreWriteSettings = original.AzureDataLakeStoreWriteSettings
type AzureDatabricksLinkedService = original.AzureDatabricksLinkedService
type AzureDatabricksLinkedServiceTypeProperties = original.AzureDatabricksLinkedServiceTypeProperties
type AzureFunctionActivity = original.AzureFunctionActivity
@@ -1006,8 +1145,10 @@ type AzureMySQLTableDataset = original.AzureMySQLTableDataset
type AzureMySQLTableDatasetTypeProperties = original.AzureMySQLTableDatasetTypeProperties
type AzurePostgreSQLLinkedService = original.AzurePostgreSQLLinkedService
type AzurePostgreSQLLinkedServiceTypeProperties = original.AzurePostgreSQLLinkedServiceTypeProperties
+type AzurePostgreSQLSink = original.AzurePostgreSQLSink
type AzurePostgreSQLSource = original.AzurePostgreSQLSource
type AzurePostgreSQLTableDataset = original.AzurePostgreSQLTableDataset
+type AzurePostgreSQLTableDatasetTypeProperties = original.AzurePostgreSQLTableDatasetTypeProperties
type AzureQueueSink = original.AzureQueueSink
type AzureSQLDWLinkedService = original.AzureSQLDWLinkedService
type AzureSQLDWLinkedServiceTypeProperties = original.AzureSQLDWLinkedServiceTypeProperties
@@ -1015,6 +1156,10 @@ type AzureSQLDWTableDataset = original.AzureSQLDWTableDataset
type AzureSQLDWTableDatasetTypeProperties = original.AzureSQLDWTableDatasetTypeProperties
type AzureSQLDatabaseLinkedService = original.AzureSQLDatabaseLinkedService
type AzureSQLDatabaseLinkedServiceTypeProperties = original.AzureSQLDatabaseLinkedServiceTypeProperties
+type AzureSQLMILinkedService = original.AzureSQLMILinkedService
+type AzureSQLMILinkedServiceTypeProperties = original.AzureSQLMILinkedServiceTypeProperties
+type AzureSQLMITableDataset = original.AzureSQLMITableDataset
+type AzureSQLMITableDatasetTypeProperties = original.AzureSQLMITableDatasetTypeProperties
type AzureSQLSink = original.AzureSQLSink
type AzureSQLSource = original.AzureSQLSource
type AzureSQLTableDataset = original.AzureSQLTableDataset
@@ -1052,6 +1197,10 @@ type BasicSsisObjectMetadata = original.BasicSsisObjectMetadata
type BasicTrigger = original.BasicTrigger
type BasicTriggerDependencyReference = original.BasicTriggerDependencyReference
type BasicWebLinkedServiceTypeProperties = original.BasicWebLinkedServiceTypeProperties
+type BinaryDataset = original.BinaryDataset
+type BinaryDatasetTypeProperties = original.BinaryDatasetTypeProperties
+type BinarySink = original.BinarySink
+type BinarySource = original.BinarySource
type BlobEventsTrigger = original.BlobEventsTrigger
type BlobEventsTriggerTypeProperties = original.BlobEventsTriggerTypeProperties
type BlobSink = original.BlobSink
@@ -1065,12 +1214,16 @@ type CassandraTableDataset = original.CassandraTableDataset
type CassandraTableDatasetTypeProperties = original.CassandraTableDatasetTypeProperties
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
+type CommonDataServiceForAppsEntityDataset = original.CommonDataServiceForAppsEntityDataset
+type CommonDataServiceForAppsEntityDatasetTypeProperties = original.CommonDataServiceForAppsEntityDatasetTypeProperties
+type CommonDataServiceForAppsLinkedService = original.CommonDataServiceForAppsLinkedService
+type CommonDataServiceForAppsLinkedServiceTypeProperties = original.CommonDataServiceForAppsLinkedServiceTypeProperties
+type CommonDataServiceForAppsSink = original.CommonDataServiceForAppsSink
+type CommonDataServiceForAppsSource = original.CommonDataServiceForAppsSource
type ConcurLinkedService = original.ConcurLinkedService
type ConcurLinkedServiceTypeProperties = original.ConcurLinkedServiceTypeProperties
type ConcurObjectDataset = original.ConcurObjectDataset
type ConcurSource = original.ConcurSource
-type ConnectorReadSetting = original.ConnectorReadSetting
-type ConnectorWriteSetting = original.ConnectorWriteSetting
type ControlActivity = original.ControlActivity
type CopyActivity = original.CopyActivity
type CopyActivityTypeProperties = original.CopyActivityTypeProperties
@@ -1120,14 +1273,15 @@ type DatasetZipDeflateCompression = original.DatasetZipDeflateCompression
type DatasetsClient = original.DatasetsClient
type Db2LinkedService = original.Db2LinkedService
type Db2LinkedServiceTypeProperties = original.Db2LinkedServiceTypeProperties
+type Db2Source = original.Db2Source
type DeleteActivity = original.DeleteActivity
type DeleteActivityTypeProperties = original.DeleteActivityTypeProperties
type DelimitedTextDataset = original.DelimitedTextDataset
type DelimitedTextDatasetTypeProperties = original.DelimitedTextDatasetTypeProperties
-type DelimitedTextReadSetting = original.DelimitedTextReadSetting
+type DelimitedTextReadSettings = original.DelimitedTextReadSettings
type DelimitedTextSink = original.DelimitedTextSink
type DelimitedTextSource = original.DelimitedTextSource
-type DelimitedTextWriteSetting = original.DelimitedTextWriteSetting
+type DelimitedTextWriteSettings = original.DelimitedTextWriteSettings
type DependencyReference = original.DependencyReference
type DistcpSettings = original.DistcpSettings
type DocumentDbCollectionDataset = original.DocumentDbCollectionDataset
@@ -1143,6 +1297,12 @@ type DynamicsAXLinkedServiceTypeProperties = original.DynamicsAXLinkedServiceTyp
type DynamicsAXResourceDataset = original.DynamicsAXResourceDataset
type DynamicsAXResourceDatasetTypeProperties = original.DynamicsAXResourceDatasetTypeProperties
type DynamicsAXSource = original.DynamicsAXSource
+type DynamicsCrmEntityDataset = original.DynamicsCrmEntityDataset
+type DynamicsCrmEntityDatasetTypeProperties = original.DynamicsCrmEntityDatasetTypeProperties
+type DynamicsCrmLinkedService = original.DynamicsCrmLinkedService
+type DynamicsCrmLinkedServiceTypeProperties = original.DynamicsCrmLinkedServiceTypeProperties
+type DynamicsCrmSink = original.DynamicsCrmSink
+type DynamicsCrmSource = original.DynamicsCrmSource
type DynamicsEntityDataset = original.DynamicsEntityDataset
type DynamicsEntityDatasetTypeProperties = original.DynamicsEntityDatasetTypeProperties
type DynamicsLinkedService = original.DynamicsLinkedService
@@ -1178,8 +1338,8 @@ type FactoryVSTSConfiguration = original.FactoryVSTSConfiguration
type FileServerLinkedService = original.FileServerLinkedService
type FileServerLinkedServiceTypeProperties = original.FileServerLinkedServiceTypeProperties
type FileServerLocation = original.FileServerLocation
-type FileServerReadSetting = original.FileServerReadSetting
-type FileServerWriteSetting = original.FileServerWriteSetting
+type FileServerReadSettings = original.FileServerReadSettings
+type FileServerWriteSettings = original.FileServerWriteSettings
type FileShareDataset = original.FileShareDataset
type FileShareDatasetTypeProperties = original.FileShareDatasetTypeProperties
type FileSystemSink = original.FileSystemSink
@@ -1188,9 +1348,9 @@ type FilterActivity = original.FilterActivity
type FilterActivityTypeProperties = original.FilterActivityTypeProperties
type ForEachActivity = original.ForEachActivity
type ForEachActivityTypeProperties = original.ForEachActivityTypeProperties
-type FormatReadSetting = original.FormatReadSetting
-type FormatWriteSetting = original.FormatWriteSetting
-type FtpReadSetting = original.FtpReadSetting
+type FormatReadSettings = original.FormatReadSettings
+type FormatWriteSettings = original.FormatWriteSettings
+type FtpReadSettings = original.FtpReadSettings
type FtpServerLinkedService = original.FtpServerLinkedService
type FtpServerLinkedServiceTypeProperties = original.FtpServerLinkedServiceTypeProperties
type FtpServerLocation = original.FtpServerLocation
@@ -1234,13 +1394,13 @@ type HTTPDataset = original.HTTPDataset
type HTTPDatasetTypeProperties = original.HTTPDatasetTypeProperties
type HTTPLinkedService = original.HTTPLinkedService
type HTTPLinkedServiceTypeProperties = original.HTTPLinkedServiceTypeProperties
-type HTTPReadSetting = original.HTTPReadSetting
+type HTTPReadSettings = original.HTTPReadSettings
type HTTPServerLocation = original.HTTPServerLocation
type HTTPSource = original.HTTPSource
type HdfsLinkedService = original.HdfsLinkedService
type HdfsLinkedServiceTypeProperties = original.HdfsLinkedServiceTypeProperties
type HdfsLocation = original.HdfsLocation
-type HdfsReadSetting = original.HdfsReadSetting
+type HdfsReadSettings = original.HdfsReadSettings
type HdfsSource = original.HdfsSource
type HiveLinkedService = original.HiveLinkedService
type HiveLinkedServiceTypeProperties = original.HiveLinkedServiceTypeProperties
@@ -1256,6 +1416,12 @@ type ImpalaLinkedService = original.ImpalaLinkedService
type ImpalaLinkedServiceTypeProperties = original.ImpalaLinkedServiceTypeProperties
type ImpalaObjectDataset = original.ImpalaObjectDataset
type ImpalaSource = original.ImpalaSource
+type InformixLinkedService = original.InformixLinkedService
+type InformixLinkedServiceTypeProperties = original.InformixLinkedServiceTypeProperties
+type InformixSink = original.InformixSink
+type InformixSource = original.InformixSource
+type InformixTableDataset = original.InformixTableDataset
+type InformixTableDatasetTypeProperties = original.InformixTableDatasetTypeProperties
type IntegrationRuntime = original.IntegrationRuntime
type IntegrationRuntimeAuthKeys = original.IntegrationRuntimeAuthKeys
type IntegrationRuntimeComputeProperties = original.IntegrationRuntimeComputeProperties
@@ -1322,6 +1488,12 @@ type MarketoLinkedService = original.MarketoLinkedService
type MarketoLinkedServiceTypeProperties = original.MarketoLinkedServiceTypeProperties
type MarketoObjectDataset = original.MarketoObjectDataset
type MarketoSource = original.MarketoSource
+type MicrosoftAccessLinkedService = original.MicrosoftAccessLinkedService
+type MicrosoftAccessLinkedServiceTypeProperties = original.MicrosoftAccessLinkedServiceTypeProperties
+type MicrosoftAccessSink = original.MicrosoftAccessSink
+type MicrosoftAccessSource = original.MicrosoftAccessSource
+type MicrosoftAccessTableDataset = original.MicrosoftAccessTableDataset
+type MicrosoftAccessTableDatasetTypeProperties = original.MicrosoftAccessTableDatasetTypeProperties
type MongoDbCollectionDataset = original.MongoDbCollectionDataset
type MongoDbCollectionDatasetTypeProperties = original.MongoDbCollectionDatasetTypeProperties
type MongoDbCursorMethodsProperties = original.MongoDbCursorMethodsProperties
@@ -1336,17 +1508,25 @@ type MongoDbV2Source = original.MongoDbV2Source
type MultiplePipelineTrigger = original.MultiplePipelineTrigger
type MySQLLinkedService = original.MySQLLinkedService
type MySQLLinkedServiceTypeProperties = original.MySQLLinkedServiceTypeProperties
+type MySQLSource = original.MySQLSource
+type MySQLTableDataset = original.MySQLTableDataset
+type MySQLTableDatasetTypeProperties = original.MySQLTableDatasetTypeProperties
type NetezzaLinkedService = original.NetezzaLinkedService
type NetezzaLinkedServiceTypeProperties = original.NetezzaLinkedServiceTypeProperties
+type NetezzaPartitionSettings = original.NetezzaPartitionSettings
type NetezzaSource = original.NetezzaSource
type NetezzaTableDataset = original.NetezzaTableDataset
type ODataLinkedService = original.ODataLinkedService
type ODataLinkedServiceTypeProperties = original.ODataLinkedServiceTypeProperties
type ODataResourceDataset = original.ODataResourceDataset
type ODataResourceDatasetTypeProperties = original.ODataResourceDatasetTypeProperties
+type ODataSource = original.ODataSource
type OdbcLinkedService = original.OdbcLinkedService
type OdbcLinkedServiceTypeProperties = original.OdbcLinkedServiceTypeProperties
type OdbcSink = original.OdbcSink
+type OdbcSource = original.OdbcSource
+type OdbcTableDataset = original.OdbcTableDataset
+type OdbcTableDatasetTypeProperties = original.OdbcTableDatasetTypeProperties
type Office365Dataset = original.Office365Dataset
type Office365DatasetTypeProperties = original.Office365DatasetTypeProperties
type Office365LinkedService = original.Office365LinkedService
@@ -1405,6 +1585,9 @@ type PipelinesClient = original.PipelinesClient
type PolybaseSettings = original.PolybaseSettings
type PostgreSQLLinkedService = original.PostgreSQLLinkedService
type PostgreSQLLinkedServiceTypeProperties = original.PostgreSQLLinkedServiceTypeProperties
+type PostgreSQLSource = original.PostgreSQLSource
+type PostgreSQLTableDataset = original.PostgreSQLTableDataset
+type PostgreSQLTableDatasetTypeProperties = original.PostgreSQLTableDatasetTypeProperties
type PrestoLinkedService = original.PrestoLinkedService
type PrestoLinkedServiceTypeProperties = original.PrestoLinkedServiceTypeProperties
type PrestoObjectDataset = original.PrestoObjectDataset
@@ -1447,6 +1630,8 @@ type RunQueryFilter = original.RunQueryFilter
type RunQueryOrderBy = original.RunQueryOrderBy
type SQLDWSink = original.SQLDWSink
type SQLDWSource = original.SQLDWSource
+type SQLMISink = original.SQLMISink
+type SQLMISource = original.SQLMISource
type SQLServerLinkedService = original.SQLServerLinkedService
type SQLServerLinkedServiceTypeProperties = original.SQLServerLinkedServiceTypeProperties
type SQLServerSink = original.SQLServerSink
@@ -1457,9 +1642,13 @@ type SQLServerTableDataset = original.SQLServerTableDataset
type SQLServerTableDatasetTypeProperties = original.SQLServerTableDatasetTypeProperties
type SQLSink = original.SQLSink
type SQLSource = original.SQLSource
+type SSISAccessCredential = original.SSISAccessCredential
type SSISExecutionCredential = original.SSISExecutionCredential
type SSISExecutionParameter = original.SSISExecutionParameter
+type SSISLogLocation = original.SSISLogLocation
+type SSISLogLocationTypeProperties = original.SSISLogLocationTypeProperties
type SSISPackageLocation = original.SSISPackageLocation
+type SSISPackageLocationTypeProperties = original.SSISPackageLocationTypeProperties
type SSISPropertyOverride = original.SSISPropertyOverride
type SalesforceLinkedService = original.SalesforceLinkedService
type SalesforceLinkedServiceTypeProperties = original.SalesforceLinkedServiceTypeProperties
@@ -1469,6 +1658,12 @@ type SalesforceMarketingCloudObjectDataset = original.SalesforceMarketingCloudOb
type SalesforceMarketingCloudSource = original.SalesforceMarketingCloudSource
type SalesforceObjectDataset = original.SalesforceObjectDataset
type SalesforceObjectDatasetTypeProperties = original.SalesforceObjectDatasetTypeProperties
+type SalesforceServiceCloudLinkedService = original.SalesforceServiceCloudLinkedService
+type SalesforceServiceCloudLinkedServiceTypeProperties = original.SalesforceServiceCloudLinkedServiceTypeProperties
+type SalesforceServiceCloudObjectDataset = original.SalesforceServiceCloudObjectDataset
+type SalesforceServiceCloudObjectDatasetTypeProperties = original.SalesforceServiceCloudObjectDatasetTypeProperties
+type SalesforceServiceCloudSink = original.SalesforceServiceCloudSink
+type SalesforceServiceCloudSource = original.SalesforceServiceCloudSource
type SalesforceSink = original.SalesforceSink
type SalesforceSource = original.SalesforceSource
type SapBWLinkedService = original.SapBWLinkedService
@@ -1519,7 +1714,7 @@ type ServiceNowSource = original.ServiceNowSource
type SetVariableActivity = original.SetVariableActivity
type SetVariableActivityTypeProperties = original.SetVariableActivityTypeProperties
type SftpLocation = original.SftpLocation
-type SftpReadSetting = original.SftpReadSetting
+type SftpReadSettings = original.SftpReadSettings
type SftpServerLinkedService = original.SftpServerLinkedService
type SftpServerLinkedServiceTypeProperties = original.SftpServerLinkedServiceTypeProperties
type ShopifyLinkedService = original.ShopifyLinkedService
@@ -1545,10 +1740,13 @@ type SsisParameter = original.SsisParameter
type SsisProject = original.SsisProject
type SsisVariable = original.SsisVariable
type StagingSettings = original.StagingSettings
+type StoreReadSettings = original.StoreReadSettings
+type StoreWriteSettings = original.StoreWriteSettings
type StoredProcedureParameter = original.StoredProcedureParameter
type SubResource = original.SubResource
type SybaseLinkedService = original.SybaseLinkedService
type SybaseLinkedServiceTypeProperties = original.SybaseLinkedServiceTypeProperties
+type SybaseSource = original.SybaseSource
type TeradataLinkedService = original.TeradataLinkedService
type TeradataLinkedServiceTypeProperties = original.TeradataLinkedServiceTypeProperties
type TeradataPartitionSettings = original.TeradataPartitionSettings
@@ -1757,9 +1955,15 @@ func PossibleAuthorizationTypeValues() []AuthorizationType {
func PossibleAzureFunctionActivityMethodValues() []AzureFunctionActivityMethod {
return original.PossibleAzureFunctionActivityMethodValues()
}
+func PossibleAzureSearchIndexWriteBehaviorTypeValues() []AzureSearchIndexWriteBehaviorType {
+ return original.PossibleAzureSearchIndexWriteBehaviorTypeValues()
+}
func PossibleBlobEventTypesValues() []BlobEventTypes {
return original.PossibleBlobEventTypesValues()
}
+func PossibleCassandraSourceReadConsistencyLevelsValues() []CassandraSourceReadConsistencyLevels {
+ return original.PossibleCassandraSourceReadConsistencyLevelsValues()
+}
func PossibleDayOfWeekValues() []DayOfWeek {
return original.PossibleDayOfWeekValues()
}
@@ -1772,6 +1976,12 @@ func PossibleDb2AuthenticationTypeValues() []Db2AuthenticationType {
func PossibleDependencyConditionValues() []DependencyCondition {
return original.PossibleDependencyConditionValues()
}
+func PossibleDynamicsAuthenticationTypeValues() []DynamicsAuthenticationType {
+ return original.PossibleDynamicsAuthenticationTypeValues()
+}
+func PossibleDynamicsDeploymentTypeValues() []DynamicsDeploymentType {
+ return original.PossibleDynamicsDeploymentTypeValues()
+}
func PossibleFtpAuthenticationTypeValues() []FtpAuthenticationType {
return original.PossibleFtpAuthenticationTypeValues()
}
@@ -1838,12 +2048,18 @@ func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRun
func PossibleMongoDbAuthenticationTypeValues() []MongoDbAuthenticationType {
return original.PossibleMongoDbAuthenticationTypeValues()
}
+func PossibleNetezzaPartitionOptionValues() []NetezzaPartitionOption {
+ return original.PossibleNetezzaPartitionOptionValues()
+}
func PossibleODataAadServicePrincipalCredentialTypeValues() []ODataAadServicePrincipalCredentialType {
return original.PossibleODataAadServicePrincipalCredentialTypeValues()
}
func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType {
return original.PossibleODataAuthenticationTypeValues()
}
+func PossibleOraclePartitionOptionValues() []OraclePartitionOption {
+ return original.PossibleOraclePartitionOptionValues()
+}
func PossibleParameterTypeValues() []ParameterType {
return original.PossibleParameterTypeValues()
}
@@ -1874,9 +2090,21 @@ func PossibleRunQueryOrderByFieldValues() []RunQueryOrderByField {
func PossibleRunQueryOrderValues() []RunQueryOrder {
return original.PossibleRunQueryOrderValues()
}
+func PossibleSalesforceSinkWriteBehaviorValues() []SalesforceSinkWriteBehavior {
+ return original.PossibleSalesforceSinkWriteBehaviorValues()
+}
+func PossibleSalesforceSourceReadBehaviorValues() []SalesforceSourceReadBehavior {
+ return original.PossibleSalesforceSourceReadBehaviorValues()
+}
+func PossibleSapCloudForCustomerSinkWriteBehaviorValues() []SapCloudForCustomerSinkWriteBehavior {
+ return original.PossibleSapCloudForCustomerSinkWriteBehaviorValues()
+}
func PossibleSapHanaAuthenticationTypeValues() []SapHanaAuthenticationType {
return original.PossibleSapHanaAuthenticationTypeValues()
}
+func PossibleSapTablePartitionOptionValues() []SapTablePartitionOption {
+ return original.PossibleSapTablePartitionOptionValues()
+}
func PossibleSelfHostedIntegrationRuntimeNodeStatusValues() []SelfHostedIntegrationRuntimeNodeStatus {
return original.PossibleSelfHostedIntegrationRuntimeNodeStatusValues()
}
@@ -1898,6 +2126,9 @@ func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol
func PossibleSsisObjectMetadataTypeValues() []SsisObjectMetadataType {
return original.PossibleSsisObjectMetadataTypeValues()
}
+func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType {
+ return original.PossibleSsisPackageLocationTypeValues()
+}
func PossibleStoredProcedureParameterTypeValues() []StoredProcedureParameterType {
return original.PossibleStoredProcedureParameterTypeValues()
}
@@ -1907,6 +2138,9 @@ func PossibleSybaseAuthenticationTypeValues() []SybaseAuthenticationType {
func PossibleTeradataAuthenticationTypeValues() []TeradataAuthenticationType {
return original.PossibleTeradataAuthenticationTypeValues()
}
+func PossibleTeradataPartitionOptionValues() []TeradataPartitionOption {
+ return original.PossibleTeradataPartitionOptionValues()
+}
func PossibleTriggerRunStatusValues() []TriggerRunStatus {
return original.PossibleTriggerRunStatusValues()
}
diff --git a/profiles/latest/devtestlabs/mgmt/dtl/models.go b/profiles/latest/devtestlabs/mgmt/dtl/models.go
index 43ed11186d72..f35bb8a8b6ee 100644
--- a/profiles/latest/devtestlabs/mgmt/dtl/models.go
+++ b/profiles/latest/devtestlabs/mgmt/dtl/models.go
@@ -196,8 +196,9 @@ const (
type StorageType = original.StorageType
const (
- Premium StorageType = original.Premium
- Standard StorageType = original.Standard
+ Premium StorageType = original.Premium
+ Standard StorageType = original.Standard
+ StandardSSD StorageType = original.StandardSSD
)
type TargetCostStatus = original.TargetCostStatus
@@ -225,8 +226,9 @@ const (
type VirtualMachineCreationSource = original.VirtualMachineCreationSource
const (
- FromCustomImage VirtualMachineCreationSource = original.FromCustomImage
- FromGalleryImage VirtualMachineCreationSource = original.FromGalleryImage
+ FromCustomImage VirtualMachineCreationSource = original.FromCustomImage
+ FromGalleryImage VirtualMachineCreationSource = original.FromGalleryImage
+ FromSharedGalleryImage VirtualMachineCreationSource = original.FromSharedGalleryImage
)
type WindowsOsState = original.WindowsOsState
@@ -493,9 +495,6 @@ type ServiceFabricsDeleteFuture = original.ServiceFabricsDeleteFuture
type ServiceFabricsStartFuture = original.ServiceFabricsStartFuture
type ServiceFabricsStopFuture = original.ServiceFabricsStopFuture
type ServiceRunner = original.ServiceRunner
-type ServiceRunnerList = original.ServiceRunnerList
-type ServiceRunnerListIterator = original.ServiceRunnerListIterator
-type ServiceRunnerListPage = original.ServiceRunnerListPage
type ServiceRunnersClient = original.ServiceRunnersClient
type SharedPublicIPAddressConfiguration = original.SharedPublicIPAddressConfiguration
type SharedPublicIPAddressConfigurationFragment = original.SharedPublicIPAddressConfigurationFragment
@@ -778,12 +777,6 @@ func NewServiceFabricsClient(subscriptionID string) ServiceFabricsClient {
func NewServiceFabricsClientWithBaseURI(baseURI string, subscriptionID string) ServiceFabricsClient {
return original.NewServiceFabricsClientWithBaseURI(baseURI, subscriptionID)
}
-func NewServiceRunnerListIterator(page ServiceRunnerListPage) ServiceRunnerListIterator {
- return original.NewServiceRunnerListIterator(page)
-}
-func NewServiceRunnerListPage(getNextPage func(context.Context, ServiceRunnerList) (ServiceRunnerList, error)) ServiceRunnerListPage {
- return original.NewServiceRunnerListPage(getNextPage)
-}
func NewServiceRunnersClient(subscriptionID string) ServiceRunnersClient {
return original.NewServiceRunnersClient(subscriptionID)
}
diff --git a/profiles/latest/managedservices/mgmt/managedservices/managedservicesapi/models.go b/profiles/latest/managedservices/mgmt/managedservices/managedservicesapi/models.go
new file mode 100644
index 000000000000..b29c9789448b
--- /dev/null
+++ b/profiles/latest/managedservices/mgmt/managedservices/managedservicesapi/models.go
@@ -0,0 +1,26 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package managedservicesapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/managedservices/mgmt/2019-06-01/managedservices/managedservicesapi"
+
+type OperationsClientAPI = original.OperationsClientAPI
+type RegistrationAssignmentsClientAPI = original.RegistrationAssignmentsClientAPI
+type RegistrationDefinitionsClientAPI = original.RegistrationDefinitionsClientAPI
diff --git a/profiles/latest/managedservices/mgmt/managedservices/models.go b/profiles/latest/managedservices/mgmt/managedservices/models.go
new file mode 100644
index 000000000000..7c40f1e60364
--- /dev/null
+++ b/profiles/latest/managedservices/mgmt/managedservices/models.go
@@ -0,0 +1,120 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package managedservices
+
+import (
+ "context"
+
+ original "github.com/Azure/azure-sdk-for-go/services/managedservices/mgmt/2019-06-01/managedservices"
+)
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type ProvisioningState = original.ProvisioningState
+
+const (
+ Accepted ProvisioningState = original.Accepted
+ Canceled ProvisioningState = original.Canceled
+ Created ProvisioningState = original.Created
+ Creating ProvisioningState = original.Creating
+ Deleted ProvisioningState = original.Deleted
+ Deleting ProvisioningState = original.Deleting
+ Failed ProvisioningState = original.Failed
+ NotSpecified ProvisioningState = original.NotSpecified
+ Ready ProvisioningState = original.Ready
+ Running ProvisioningState = original.Running
+ Succeeded ProvisioningState = original.Succeeded
+ Updating ProvisioningState = original.Updating
+)
+
+type Authorization = original.Authorization
+type BaseClient = original.BaseClient
+type ErrorResponse = original.ErrorResponse
+type ErrorResponseError = original.ErrorResponseError
+type Operation = original.Operation
+type OperationDisplay = original.OperationDisplay
+type OperationList = original.OperationList
+type OperationsClient = original.OperationsClient
+type Plan = original.Plan
+type RegistrationAssignment = original.RegistrationAssignment
+type RegistrationAssignmentList = original.RegistrationAssignmentList
+type RegistrationAssignmentListIterator = original.RegistrationAssignmentListIterator
+type RegistrationAssignmentListPage = original.RegistrationAssignmentListPage
+type RegistrationAssignmentProperties = original.RegistrationAssignmentProperties
+type RegistrationAssignmentPropertiesRegistrationDefinition = original.RegistrationAssignmentPropertiesRegistrationDefinition
+type RegistrationAssignmentPropertiesRegistrationDefinitionProperties = original.RegistrationAssignmentPropertiesRegistrationDefinitionProperties
+type RegistrationAssignmentsClient = original.RegistrationAssignmentsClient
+type RegistrationAssignmentsCreateOrUpdateFuture = original.RegistrationAssignmentsCreateOrUpdateFuture
+type RegistrationAssignmentsDeleteFuture = original.RegistrationAssignmentsDeleteFuture
+type RegistrationDefinition = original.RegistrationDefinition
+type RegistrationDefinitionList = original.RegistrationDefinitionList
+type RegistrationDefinitionListIterator = original.RegistrationDefinitionListIterator
+type RegistrationDefinitionListPage = original.RegistrationDefinitionListPage
+type RegistrationDefinitionProperties = original.RegistrationDefinitionProperties
+type RegistrationDefinitionsClient = original.RegistrationDefinitionsClient
+type RegistrationDefinitionsCreateOrUpdateFuture = original.RegistrationDefinitionsCreateOrUpdateFuture
+
+func New() BaseClient {
+ return original.New()
+}
+func NewOperationsClient() OperationsClient {
+ return original.NewOperationsClient()
+}
+func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI)
+}
+func NewRegistrationAssignmentListIterator(page RegistrationAssignmentListPage) RegistrationAssignmentListIterator {
+ return original.NewRegistrationAssignmentListIterator(page)
+}
+func NewRegistrationAssignmentListPage(getNextPage func(context.Context, RegistrationAssignmentList) (RegistrationAssignmentList, error)) RegistrationAssignmentListPage {
+ return original.NewRegistrationAssignmentListPage(getNextPage)
+}
+func NewRegistrationAssignmentsClient() RegistrationAssignmentsClient {
+ return original.NewRegistrationAssignmentsClient()
+}
+func NewRegistrationAssignmentsClientWithBaseURI(baseURI string) RegistrationAssignmentsClient {
+ return original.NewRegistrationAssignmentsClientWithBaseURI(baseURI)
+}
+func NewRegistrationDefinitionListIterator(page RegistrationDefinitionListPage) RegistrationDefinitionListIterator {
+ return original.NewRegistrationDefinitionListIterator(page)
+}
+func NewRegistrationDefinitionListPage(getNextPage func(context.Context, RegistrationDefinitionList) (RegistrationDefinitionList, error)) RegistrationDefinitionListPage {
+ return original.NewRegistrationDefinitionListPage(getNextPage)
+}
+func NewRegistrationDefinitionsClient() RegistrationDefinitionsClient {
+ return original.NewRegistrationDefinitionsClient()
+}
+func NewRegistrationDefinitionsClientWithBaseURI(baseURI string) RegistrationDefinitionsClient {
+ return original.NewRegistrationDefinitionsClientWithBaseURI(baseURI)
+}
+func NewWithBaseURI(baseURI string) BaseClient {
+ return original.NewWithBaseURI(baseURI)
+}
+func PossibleProvisioningStateValues() []ProvisioningState {
+ return original.PossibleProvisioningStateValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/latest"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/latest/network/mgmt/network/models.go b/profiles/latest/network/mgmt/network/models.go
index b5d88e368285..d82d840bee50 100644
--- a/profiles/latest/network/mgmt/network/models.go
+++ b/profiles/latest/network/mgmt/network/models.go
@@ -22,7 +22,7 @@ package network
import (
"context"
- original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-04-01/network"
+ original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network"
)
const (
@@ -1045,6 +1045,10 @@ type AuthorizationListResult = original.AuthorizationListResult
type AuthorizationListResultIterator = original.AuthorizationListResultIterator
type AuthorizationListResultPage = original.AuthorizationListResultPage
type AuthorizationPropertiesFormat = original.AuthorizationPropertiesFormat
+type AutoApprovedPrivateLinkService = original.AutoApprovedPrivateLinkService
+type AutoApprovedPrivateLinkServicesResult = original.AutoApprovedPrivateLinkServicesResult
+type AutoApprovedPrivateLinkServicesResultIterator = original.AutoApprovedPrivateLinkServicesResultIterator
+type AutoApprovedPrivateLinkServicesResultPage = original.AutoApprovedPrivateLinkServicesResultPage
type Availability = original.Availability
type AvailableDelegation = original.AvailableDelegation
type AvailableDelegationsClient = original.AvailableDelegationsClient
@@ -1063,7 +1067,6 @@ type AvailableProvidersListCountry = original.AvailableProvidersListCountry
type AvailableProvidersListParameters = original.AvailableProvidersListParameters
type AvailableProvidersListState = original.AvailableProvidersListState
type AvailableResourceGroupDelegationsClient = original.AvailableResourceGroupDelegationsClient
-type AvailableResourceGroupPrivateEndpointTypesClient = original.AvailableResourceGroupPrivateEndpointTypesClient
type AzureAsyncOperationResult = original.AzureAsyncOperationResult
type AzureFirewall = original.AzureFirewall
type AzureFirewallApplicationRule = original.AzureFirewallApplicationRule
@@ -1121,6 +1124,7 @@ type BgpServiceCommunityListResultIterator = original.BgpServiceCommunityListRes
type BgpServiceCommunityListResultPage = original.BgpServiceCommunityListResultPage
type BgpServiceCommunityPropertiesFormat = original.BgpServiceCommunityPropertiesFormat
type BgpSettings = original.BgpSettings
+type CheckPrivateLinkServiceVisibilityRequest = original.CheckPrivateLinkServiceVisibilityRequest
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type ConfigurationDiagnosticParameters = original.ConfigurationDiagnosticParameters
@@ -1389,6 +1393,12 @@ type ListVpnConnectionsResultPage = original.ListVpnConnectionsResultPage
type ListVpnGatewaysResult = original.ListVpnGatewaysResult
type ListVpnGatewaysResultIterator = original.ListVpnGatewaysResultIterator
type ListVpnGatewaysResultPage = original.ListVpnGatewaysResultPage
+type ListVpnSiteLinkConnectionsResult = original.ListVpnSiteLinkConnectionsResult
+type ListVpnSiteLinkConnectionsResultIterator = original.ListVpnSiteLinkConnectionsResultIterator
+type ListVpnSiteLinkConnectionsResultPage = original.ListVpnSiteLinkConnectionsResultPage
+type ListVpnSiteLinksResult = original.ListVpnSiteLinksResult
+type ListVpnSiteLinksResultIterator = original.ListVpnSiteLinksResultIterator
+type ListVpnSiteLinksResultPage = original.ListVpnSiteLinksResultPage
type ListVpnSitesResult = original.ListVpnSitesResult
type ListVpnSitesResultIterator = original.ListVpnSitesResultIterator
type ListVpnSitesResultPage = original.ListVpnSitesResultPage
@@ -1529,6 +1539,7 @@ type PrivateLinkServiceListResultPage = original.PrivateLinkServiceListResultPag
type PrivateLinkServiceProperties = original.PrivateLinkServiceProperties
type PrivateLinkServicePropertiesAutoApproval = original.PrivateLinkServicePropertiesAutoApproval
type PrivateLinkServicePropertiesVisibility = original.PrivateLinkServicePropertiesVisibility
+type PrivateLinkServiceVisibility = original.PrivateLinkServiceVisibility
type PrivateLinkServicesClient = original.PrivateLinkServicesClient
type PrivateLinkServicesCreateOrUpdateFuture = original.PrivateLinkServicesCreateOrUpdateFuture
type PrivateLinkServicesDeleteFuture = original.PrivateLinkServicesDeleteFuture
@@ -1803,9 +1814,18 @@ type VpnGatewaysCreateOrUpdateFuture = original.VpnGatewaysCreateOrUpdateFuture
type VpnGatewaysDeleteFuture = original.VpnGatewaysDeleteFuture
type VpnGatewaysResetFuture = original.VpnGatewaysResetFuture
type VpnGatewaysUpdateTagsFuture = original.VpnGatewaysUpdateTagsFuture
+type VpnLinkBgpSettings = original.VpnLinkBgpSettings
+type VpnLinkConnectionsClient = original.VpnLinkConnectionsClient
+type VpnLinkProviderProperties = original.VpnLinkProviderProperties
type VpnProfileResponse = original.VpnProfileResponse
type VpnSite = original.VpnSite
type VpnSiteID = original.VpnSiteID
+type VpnSiteLink = original.VpnSiteLink
+type VpnSiteLinkConnection = original.VpnSiteLinkConnection
+type VpnSiteLinkConnectionProperties = original.VpnSiteLinkConnectionProperties
+type VpnSiteLinkConnectionsClient = original.VpnSiteLinkConnectionsClient
+type VpnSiteLinkProperties = original.VpnSiteLinkProperties
+type VpnSiteLinksClient = original.VpnSiteLinksClient
type VpnSiteProperties = original.VpnSiteProperties
type VpnSitesClient = original.VpnSitesClient
type VpnSitesConfigurationClient = original.VpnSitesConfigurationClient
@@ -1877,6 +1897,12 @@ func NewAuthorizationListResultIterator(page AuthorizationListResultPage) Author
func NewAuthorizationListResultPage(getNextPage func(context.Context, AuthorizationListResult) (AuthorizationListResult, error)) AuthorizationListResultPage {
return original.NewAuthorizationListResultPage(getNextPage)
}
+func NewAutoApprovedPrivateLinkServicesResultIterator(page AutoApprovedPrivateLinkServicesResultPage) AutoApprovedPrivateLinkServicesResultIterator {
+ return original.NewAutoApprovedPrivateLinkServicesResultIterator(page)
+}
+func NewAutoApprovedPrivateLinkServicesResultPage(getNextPage func(context.Context, AutoApprovedPrivateLinkServicesResult) (AutoApprovedPrivateLinkServicesResult, error)) AutoApprovedPrivateLinkServicesResultPage {
+ return original.NewAutoApprovedPrivateLinkServicesResultPage(getNextPage)
+}
func NewAvailableDelegationsClient(subscriptionID string) AvailableDelegationsClient {
return original.NewAvailableDelegationsClient(subscriptionID)
}
@@ -1913,12 +1939,6 @@ func NewAvailableResourceGroupDelegationsClient(subscriptionID string) Available
func NewAvailableResourceGroupDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableResourceGroupDelegationsClient {
return original.NewAvailableResourceGroupDelegationsClientWithBaseURI(baseURI, subscriptionID)
}
-func NewAvailableResourceGroupPrivateEndpointTypesClient(subscriptionID string) AvailableResourceGroupPrivateEndpointTypesClient {
- return original.NewAvailableResourceGroupPrivateEndpointTypesClient(subscriptionID)
-}
-func NewAvailableResourceGroupPrivateEndpointTypesClientWithBaseURI(baseURI string, subscriptionID string) AvailableResourceGroupPrivateEndpointTypesClient {
- return original.NewAvailableResourceGroupPrivateEndpointTypesClientWithBaseURI(baseURI, subscriptionID)
-}
func NewAzureFirewallFqdnTagListResultIterator(page AzureFirewallFqdnTagListResultPage) AzureFirewallFqdnTagListResultIterator {
return original.NewAzureFirewallFqdnTagListResultIterator(page)
}
@@ -2237,6 +2257,18 @@ func NewListVpnGatewaysResultIterator(page ListVpnGatewaysResultPage) ListVpnGat
func NewListVpnGatewaysResultPage(getNextPage func(context.Context, ListVpnGatewaysResult) (ListVpnGatewaysResult, error)) ListVpnGatewaysResultPage {
return original.NewListVpnGatewaysResultPage(getNextPage)
}
+func NewListVpnSiteLinkConnectionsResultIterator(page ListVpnSiteLinkConnectionsResultPage) ListVpnSiteLinkConnectionsResultIterator {
+ return original.NewListVpnSiteLinkConnectionsResultIterator(page)
+}
+func NewListVpnSiteLinkConnectionsResultPage(getNextPage func(context.Context, ListVpnSiteLinkConnectionsResult) (ListVpnSiteLinkConnectionsResult, error)) ListVpnSiteLinkConnectionsResultPage {
+ return original.NewListVpnSiteLinkConnectionsResultPage(getNextPage)
+}
+func NewListVpnSiteLinksResultIterator(page ListVpnSiteLinksResultPage) ListVpnSiteLinksResultIterator {
+ return original.NewListVpnSiteLinksResultIterator(page)
+}
+func NewListVpnSiteLinksResultPage(getNextPage func(context.Context, ListVpnSiteLinksResult) (ListVpnSiteLinksResult, error)) ListVpnSiteLinksResultPage {
+ return original.NewListVpnSiteLinksResultPage(getNextPage)
+}
func NewListVpnSitesResultIterator(page ListVpnSitesResultPage) ListVpnSitesResultIterator {
return original.NewListVpnSitesResultIterator(page)
}
@@ -2681,6 +2713,24 @@ func NewVpnGatewaysClient(subscriptionID string) VpnGatewaysClient {
func NewVpnGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VpnGatewaysClient {
return original.NewVpnGatewaysClientWithBaseURI(baseURI, subscriptionID)
}
+func NewVpnLinkConnectionsClient(subscriptionID string) VpnLinkConnectionsClient {
+ return original.NewVpnLinkConnectionsClient(subscriptionID)
+}
+func NewVpnLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnLinkConnectionsClient {
+ return original.NewVpnLinkConnectionsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewVpnSiteLinkConnectionsClient(subscriptionID string) VpnSiteLinkConnectionsClient {
+ return original.NewVpnSiteLinkConnectionsClient(subscriptionID)
+}
+func NewVpnSiteLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinkConnectionsClient {
+ return original.NewVpnSiteLinkConnectionsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewVpnSiteLinksClient(subscriptionID string) VpnSiteLinksClient {
+ return original.NewVpnSiteLinksClient(subscriptionID)
+}
+func NewVpnSiteLinksClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinksClient {
+ return original.NewVpnSiteLinksClientWithBaseURI(baseURI, subscriptionID)
+}
func NewVpnSitesClient(subscriptionID string) VpnSitesClient {
return original.NewVpnSitesClient(subscriptionID)
}
diff --git a/profiles/latest/network/mgmt/network/networkapi/models.go b/profiles/latest/network/mgmt/network/networkapi/models.go
index 33d80b54d56f..b6dc4a0e532b 100644
--- a/profiles/latest/network/mgmt/network/networkapi/models.go
+++ b/profiles/latest/network/mgmt/network/networkapi/models.go
@@ -19,7 +19,7 @@
package networkapi
-import original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-04-01/network/networkapi"
+import original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/networkapi"
type ApplicationGatewaysClientAPI = original.ApplicationGatewaysClientAPI
type ApplicationSecurityGroupsClientAPI = original.ApplicationSecurityGroupsClientAPI
@@ -27,7 +27,6 @@ type AvailableDelegationsClientAPI = original.AvailableDelegationsClientAPI
type AvailableEndpointServicesClientAPI = original.AvailableEndpointServicesClientAPI
type AvailablePrivateEndpointTypesClientAPI = original.AvailablePrivateEndpointTypesClientAPI
type AvailableResourceGroupDelegationsClientAPI = original.AvailableResourceGroupDelegationsClientAPI
-type AvailableResourceGroupPrivateEndpointTypesClientAPI = original.AvailableResourceGroupPrivateEndpointTypesClientAPI
type AzureFirewallFqdnTagsClientAPI = original.AzureFirewallFqdnTagsClientAPI
type AzureFirewallsClientAPI = original.AzureFirewallsClientAPI
type BaseClientAPI = original.BaseClientAPI
@@ -96,6 +95,9 @@ type VirtualNetworksClientAPI = original.VirtualNetworksClientAPI
type VirtualWansClientAPI = original.VirtualWansClientAPI
type VpnConnectionsClientAPI = original.VpnConnectionsClientAPI
type VpnGatewaysClientAPI = original.VpnGatewaysClientAPI
+type VpnLinkConnectionsClientAPI = original.VpnLinkConnectionsClientAPI
+type VpnSiteLinkConnectionsClientAPI = original.VpnSiteLinkConnectionsClientAPI
+type VpnSiteLinksClientAPI = original.VpnSiteLinksClientAPI
type VpnSitesClientAPI = original.VpnSitesClientAPI
type VpnSitesConfigurationClientAPI = original.VpnSitesConfigurationClientAPI
type WatchersClientAPI = original.WatchersClientAPI
diff --git a/profiles/latest/resources/mgmt/policy/models.go b/profiles/latest/resources/mgmt/policy/models.go
index 503daeb1d803..7b2a06150421 100644
--- a/profiles/latest/resources/mgmt/policy/models.go
+++ b/profiles/latest/resources/mgmt/policy/models.go
@@ -22,21 +22,13 @@ package policy
import (
"context"
- original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy"
+ original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-01-01/policy"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
-type Mode = original.Mode
-
-const (
- All Mode = original.All
- Indexed Mode = original.Indexed
- NotSpecified Mode = original.NotSpecified
-)
-
type ResourceIdentityType = original.ResourceIdentityType
const (
@@ -47,9 +39,9 @@ const (
type Type = original.Type
const (
- TypeBuiltIn Type = original.TypeBuiltIn
- TypeCustom Type = original.TypeCustom
- TypeNotSpecified Type = original.TypeNotSpecified
+ BuiltIn Type = original.BuiltIn
+ Custom Type = original.Custom
+ NotSpecified Type = original.NotSpecified
)
type Assignment = original.Assignment
@@ -118,9 +110,6 @@ func NewSetDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) S
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
-func PossibleModeValues() []Mode {
- return original.PossibleModeValues()
-}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
diff --git a/profiles/latest/resources/mgmt/policy/policyapi/models.go b/profiles/latest/resources/mgmt/policy/policyapi/models.go
index ce8ae2e9d56c..a4c9803aa76a 100644
--- a/profiles/latest/resources/mgmt/policy/policyapi/models.go
+++ b/profiles/latest/resources/mgmt/policy/policyapi/models.go
@@ -19,7 +19,7 @@
package policyapi
-import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/policyapi"
+import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-01-01/policy/policyapi"
type AssignmentsClientAPI = original.AssignmentsClientAPI
type DefinitionsClientAPI = original.DefinitionsClientAPI
diff --git a/profiles/latest/signalr/mgmt/signalr/models.go b/profiles/latest/signalr/mgmt/signalr/models.go
index 644c4916c908..d7a4c612b6ab 100644
--- a/profiles/latest/signalr/mgmt/signalr/models.go
+++ b/profiles/latest/signalr/mgmt/signalr/models.go
@@ -61,6 +61,7 @@ const (
type BaseClient = original.BaseClient
type Client = original.Client
+type CorsSettings = original.CorsSettings
type CreateOrUpdateFuture = original.CreateOrUpdateFuture
type CreateOrUpdateProperties = original.CreateOrUpdateProperties
type CreateParameters = original.CreateParameters
diff --git a/profiles/latest/windowsiot/mgmt/windowsiot/models.go b/profiles/latest/windowsiot/mgmt/windowsiot/models.go
new file mode 100644
index 000000000000..d3847c9e83b8
--- /dev/null
+++ b/profiles/latest/windowsiot/mgmt/windowsiot/models.go
@@ -0,0 +1,97 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package windowsiot
+
+import (
+ "context"
+
+ original "github.com/Azure/azure-sdk-for-go/services/windowsiot/mgmt/2019-06-01/windowsiot"
+)
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type ServiceNameUnavailabilityReason = original.ServiceNameUnavailabilityReason
+
+const (
+ AlreadyExists ServiceNameUnavailabilityReason = original.AlreadyExists
+ Invalid ServiceNameUnavailabilityReason = original.Invalid
+)
+
+type BaseClient = original.BaseClient
+type DeviceService = original.DeviceService
+type DeviceServiceCheckNameAvailabilityParameters = original.DeviceServiceCheckNameAvailabilityParameters
+type DeviceServiceDescriptionListResult = original.DeviceServiceDescriptionListResult
+type DeviceServiceDescriptionListResultIterator = original.DeviceServiceDescriptionListResultIterator
+type DeviceServiceDescriptionListResultPage = original.DeviceServiceDescriptionListResultPage
+type DeviceServiceNameAvailabilityInfo = original.DeviceServiceNameAvailabilityInfo
+type DeviceServiceProperties = original.DeviceServiceProperties
+type ErrorDetails = original.ErrorDetails
+type OperationDisplayInfo = original.OperationDisplayInfo
+type OperationEntity = original.OperationEntity
+type OperationListResult = original.OperationListResult
+type OperationListResultIterator = original.OperationListResultIterator
+type OperationListResultPage = original.OperationListResultPage
+type OperationsClient = original.OperationsClient
+type ProxyResource = original.ProxyResource
+type Resource = original.Resource
+type ServicesClient = original.ServicesClient
+type TrackedResource = original.TrackedResource
+
+func New(subscriptionID string) BaseClient {
+ return original.New(subscriptionID)
+}
+func NewDeviceServiceDescriptionListResultIterator(page DeviceServiceDescriptionListResultPage) DeviceServiceDescriptionListResultIterator {
+ return original.NewDeviceServiceDescriptionListResultIterator(page)
+}
+func NewDeviceServiceDescriptionListResultPage(getNextPage func(context.Context, DeviceServiceDescriptionListResult) (DeviceServiceDescriptionListResult, error)) DeviceServiceDescriptionListResultPage {
+ return original.NewDeviceServiceDescriptionListResultPage(getNextPage)
+}
+func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
+ return original.NewOperationListResultIterator(page)
+}
+func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
+ return original.NewOperationListResultPage(getNextPage)
+}
+func NewOperationsClient(subscriptionID string) OperationsClient {
+ return original.NewOperationsClient(subscriptionID)
+}
+func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewServicesClient(subscriptionID string) ServicesClient {
+ return original.NewServicesClient(subscriptionID)
+}
+func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient {
+ return original.NewServicesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
+ return original.NewWithBaseURI(baseURI, subscriptionID)
+}
+func PossibleServiceNameUnavailabilityReasonValues() []ServiceNameUnavailabilityReason {
+ return original.PossibleServiceNameUnavailabilityReasonValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/latest"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/latest/windowsiot/mgmt/windowsiot/windowsiotapi/models.go b/profiles/latest/windowsiot/mgmt/windowsiot/windowsiotapi/models.go
new file mode 100644
index 000000000000..b23facad9bcd
--- /dev/null
+++ b/profiles/latest/windowsiot/mgmt/windowsiot/windowsiotapi/models.go
@@ -0,0 +1,25 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package windowsiotapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/windowsiot/mgmt/2019-06-01/windowsiot/windowsiotapi"
+
+type OperationsClientAPI = original.OperationsClientAPI
+type ServicesClientAPI = original.ServicesClientAPI
diff --git a/profiles/preview/aad/mgmt/aad/aadapi/models.go b/profiles/preview/aad/mgmt/aad/aadapi/models.go
new file mode 100644
index 000000000000..3bfa5c73d4cc
--- /dev/null
+++ b/profiles/preview/aad/mgmt/aad/aadapi/models.go
@@ -0,0 +1,26 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package aadapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/aad/mgmt/2017-04-01/aad/aadapi"
+
+type DiagnosticSettingsCategoryClientAPI = original.DiagnosticSettingsCategoryClientAPI
+type DiagnosticSettingsClientAPI = original.DiagnosticSettingsClientAPI
+type OperationsClientAPI = original.OperationsClientAPI
diff --git a/profiles/preview/aad/mgmt/aad/models.go b/profiles/preview/aad/mgmt/aad/models.go
new file mode 100644
index 000000000000..3f86107822d7
--- /dev/null
+++ b/profiles/preview/aad/mgmt/aad/models.go
@@ -0,0 +1,95 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package aad
+
+import original "github.com/Azure/azure-sdk-for-go/services/aad/mgmt/2017-04-01/aad"
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type Category = original.Category
+
+const (
+ AuditLogs Category = original.AuditLogs
+ SignInLogs Category = original.SignInLogs
+)
+
+type CategoryType = original.CategoryType
+
+const (
+ Logs CategoryType = original.Logs
+)
+
+type BaseClient = original.BaseClient
+type DiagnosticSettings = original.DiagnosticSettings
+type DiagnosticSettingsCategory = original.DiagnosticSettingsCategory
+type DiagnosticSettingsCategoryClient = original.DiagnosticSettingsCategoryClient
+type DiagnosticSettingsCategoryResource = original.DiagnosticSettingsCategoryResource
+type DiagnosticSettingsCategoryResourceCollection = original.DiagnosticSettingsCategoryResourceCollection
+type DiagnosticSettingsClient = original.DiagnosticSettingsClient
+type DiagnosticSettingsResource = original.DiagnosticSettingsResource
+type DiagnosticSettingsResourceCollection = original.DiagnosticSettingsResourceCollection
+type Display = original.Display
+type ErrorDefinition = original.ErrorDefinition
+type ErrorResponse = original.ErrorResponse
+type LogSettings = original.LogSettings
+type OperationsClient = original.OperationsClient
+type OperationsDiscovery = original.OperationsDiscovery
+type OperationsDiscoveryCollection = original.OperationsDiscoveryCollection
+type ProxyOnlyResource = original.ProxyOnlyResource
+type RetentionPolicy = original.RetentionPolicy
+
+func New() BaseClient {
+ return original.New()
+}
+func NewDiagnosticSettingsCategoryClient() DiagnosticSettingsCategoryClient {
+ return original.NewDiagnosticSettingsCategoryClient()
+}
+func NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI string) DiagnosticSettingsCategoryClient {
+ return original.NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI)
+}
+func NewDiagnosticSettingsClient() DiagnosticSettingsClient {
+ return original.NewDiagnosticSettingsClient()
+}
+func NewDiagnosticSettingsClientWithBaseURI(baseURI string) DiagnosticSettingsClient {
+ return original.NewDiagnosticSettingsClientWithBaseURI(baseURI)
+}
+func NewOperationsClient() OperationsClient {
+ return original.NewOperationsClient()
+}
+func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI)
+}
+func NewWithBaseURI(baseURI string) BaseClient {
+ return original.NewWithBaseURI(baseURI)
+}
+func PossibleCategoryTypeValues() []CategoryType {
+ return original.PossibleCategoryTypeValues()
+}
+func PossibleCategoryValues() []Category {
+ return original.PossibleCategoryValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/preview"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/preview/cdn/mgmt/cdn/models.go b/profiles/preview/cdn/mgmt/cdn/models.go
index 259c4ff5042f..e191eb867583 100644
--- a/profiles/preview/cdn/mgmt/cdn/models.go
+++ b/profiles/preview/cdn/mgmt/cdn/models.go
@@ -141,10 +141,12 @@ type NameBasicDeliveryRuleAction = original.NameBasicDeliveryRuleAction
const (
NameCacheExpiration NameBasicDeliveryRuleAction = original.NameCacheExpiration
+ NameCacheKeyQueryString NameBasicDeliveryRuleAction = original.NameCacheKeyQueryString
NameDeliveryRuleAction NameBasicDeliveryRuleAction = original.NameDeliveryRuleAction
NameModifyRequestHeader NameBasicDeliveryRuleAction = original.NameModifyRequestHeader
NameModifyResponseHeader NameBasicDeliveryRuleAction = original.NameModifyResponseHeader
NameURLRedirect NameBasicDeliveryRuleAction = original.NameURLRedirect
+ NameURLRewrite NameBasicDeliveryRuleAction = original.NameURLRewrite
)
type OptimizationType = original.OptimizationType
@@ -195,6 +197,15 @@ const (
ServerNameIndication ProtocolType = original.ServerNameIndication
)
+type QueryStringBehavior = original.QueryStringBehavior
+
+const (
+ Exclude QueryStringBehavior = original.Exclude
+ ExcludeAll QueryStringBehavior = original.ExcludeAll
+ Include QueryStringBehavior = original.Include
+ IncludeAll QueryStringBehavior = original.IncludeAll
+)
+
type QueryStringCachingBehavior = original.QueryStringCachingBehavior
const (
@@ -350,6 +361,7 @@ type BasicCustomDomainHTTPSParameters = original.BasicCustomDomainHTTPSParameter
type BasicDeliveryRuleAction = original.BasicDeliveryRuleAction
type BasicDeliveryRuleCondition = original.BasicDeliveryRuleCondition
type CacheExpirationActionParameters = original.CacheExpirationActionParameters
+type CacheKeyQueryStringActionParameters = original.CacheKeyQueryStringActionParameters
type CertificateSourceParameters = original.CertificateSourceParameters
type CheckNameAvailabilityInput = original.CheckNameAvailabilityInput
type CheckNameAvailabilityOutput = original.CheckNameAvailabilityOutput
@@ -370,6 +382,7 @@ type DeepCreatedOriginProperties = original.DeepCreatedOriginProperties
type DeliveryRule = original.DeliveryRule
type DeliveryRuleAction = original.DeliveryRuleAction
type DeliveryRuleCacheExpirationAction = original.DeliveryRuleCacheExpirationAction
+type DeliveryRuleCacheKeyQueryStringAction = original.DeliveryRuleCacheKeyQueryStringAction
type DeliveryRuleCondition = original.DeliveryRuleCondition
type DeliveryRuleIsDeviceCondition = original.DeliveryRuleIsDeviceCondition
type DeliveryRulePostArgsCondition = original.DeliveryRulePostArgsCondition
@@ -465,6 +478,8 @@ type URLFileNameMatchConditionParameters = original.URLFileNameMatchConditionPar
type URLPathMatchConditionParameters = original.URLPathMatchConditionParameters
type URLRedirectAction = original.URLRedirectAction
type URLRedirectActionParameters = original.URLRedirectActionParameters
+type URLRewriteAction = original.URLRewriteAction
+type URLRewriteActionParameters = original.URLRewriteActionParameters
type UserManagedHTTPSParameters = original.UserManagedHTTPSParameters
type ValidateCustomDomainInput = original.ValidateCustomDomainInput
type ValidateCustomDomainOutput = original.ValidateCustomDomainOutput
@@ -612,6 +627,9 @@ func PossibleProfileResourceStateValues() []ProfileResourceState {
func PossibleProtocolTypeValues() []ProtocolType {
return original.PossibleProtocolTypeValues()
}
+func PossibleQueryStringBehaviorValues() []QueryStringBehavior {
+ return original.PossibleQueryStringBehaviorValues()
+}
func PossibleQueryStringCachingBehaviorValues() []QueryStringCachingBehavior {
return original.PossibleQueryStringCachingBehaviorValues()
}
diff --git a/profiles/preview/cognitiveservices/contentmoderator/models.go b/profiles/preview/cognitiveservices/contentmoderator/models.go
index af7e2010d842..a61770e73699 100644
--- a/profiles/preview/cognitiveservices/contentmoderator/models.go
+++ b/profiles/preview/cognitiveservices/contentmoderator/models.go
@@ -91,7 +91,6 @@ type Review = original.Review
type ReviewsClient = original.ReviewsClient
type SSN = original.SSN
type Screen = original.Screen
-type SetObject = original.SetObject
type Status = original.Status
type String = original.String
type Tag = original.Tag
diff --git a/profiles/preview/compute/mgmt/compute/computeapi/models.go b/profiles/preview/compute/mgmt/compute/computeapi/models.go
index 2a5892f868b9..26b46b42c4b6 100644
--- a/profiles/preview/compute/mgmt/compute/computeapi/models.go
+++ b/profiles/preview/compute/mgmt/compute/computeapi/models.go
@@ -19,10 +19,12 @@
package computeapi
-import original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-03-01/compute/computeapi"
+import original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/computeapi"
type AvailabilitySetsClientAPI = original.AvailabilitySetsClientAPI
type ContainerServicesClientAPI = original.ContainerServicesClientAPI
+type DedicatedHostGroupsClientAPI = original.DedicatedHostGroupsClientAPI
+type DedicatedHostsClientAPI = original.DedicatedHostsClientAPI
type DisksClientAPI = original.DisksClientAPI
type GalleriesClientAPI = original.GalleriesClientAPI
type GalleryImageVersionsClientAPI = original.GalleryImageVersionsClientAPI
diff --git a/profiles/preview/compute/mgmt/compute/models.go b/profiles/preview/compute/mgmt/compute/models.go
index 881ed4f9eacc..2def857fdc27 100644
--- a/profiles/preview/compute/mgmt/compute/models.go
+++ b/profiles/preview/compute/mgmt/compute/models.go
@@ -22,7 +22,7 @@ package compute
import (
"context"
- original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-03-01/compute"
+ original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
)
const (
@@ -128,6 +128,14 @@ const (
StandardGS5 ContainerServiceVMSizeTypes = original.StandardGS5
)
+type DedicatedHostLicenseTypes = original.DedicatedHostLicenseTypes
+
+const (
+ DedicatedHostLicenseTypesNone DedicatedHostLicenseTypes = original.DedicatedHostLicenseTypesNone
+ DedicatedHostLicenseTypesWindowsServerHybrid DedicatedHostLicenseTypes = original.DedicatedHostLicenseTypesWindowsServerHybrid
+ DedicatedHostLicenseTypesWindowsServerPerpetual DedicatedHostLicenseTypes = original.DedicatedHostLicenseTypesWindowsServerPerpetual
+)
+
type DiffDiskOptions = original.DiffDiskOptions
const (
@@ -660,6 +668,26 @@ type ContainerServicesDeleteFuture = original.ContainerServicesDeleteFuture
type CreationData = original.CreationData
type DataDisk = original.DataDisk
type DataDiskImage = original.DataDiskImage
+type DedicatedHost = original.DedicatedHost
+type DedicatedHostAllocatableVM = original.DedicatedHostAllocatableVM
+type DedicatedHostAvailableCapacity = original.DedicatedHostAvailableCapacity
+type DedicatedHostGroup = original.DedicatedHostGroup
+type DedicatedHostGroupListResult = original.DedicatedHostGroupListResult
+type DedicatedHostGroupListResultIterator = original.DedicatedHostGroupListResultIterator
+type DedicatedHostGroupListResultPage = original.DedicatedHostGroupListResultPage
+type DedicatedHostGroupProperties = original.DedicatedHostGroupProperties
+type DedicatedHostGroupUpdate = original.DedicatedHostGroupUpdate
+type DedicatedHostGroupsClient = original.DedicatedHostGroupsClient
+type DedicatedHostInstanceView = original.DedicatedHostInstanceView
+type DedicatedHostListResult = original.DedicatedHostListResult
+type DedicatedHostListResultIterator = original.DedicatedHostListResultIterator
+type DedicatedHostListResultPage = original.DedicatedHostListResultPage
+type DedicatedHostProperties = original.DedicatedHostProperties
+type DedicatedHostUpdate = original.DedicatedHostUpdate
+type DedicatedHostsClient = original.DedicatedHostsClient
+type DedicatedHostsCreateOrUpdateFuture = original.DedicatedHostsCreateOrUpdateFuture
+type DedicatedHostsDeleteFuture = original.DedicatedHostsDeleteFuture
+type DedicatedHostsUpdateFuture = original.DedicatedHostsUpdateFuture
type DiagnosticsProfile = original.DiagnosticsProfile
type DiffDiskSettings = original.DiffDiskSettings
type Disallowed = original.Disallowed
@@ -686,7 +714,7 @@ type GalleriesCreateOrUpdateFuture = original.GalleriesCreateOrUpdateFuture
type GalleriesDeleteFuture = original.GalleriesDeleteFuture
type Gallery = original.Gallery
type GalleryArtifactPublishingProfileBase = original.GalleryArtifactPublishingProfileBase
-type GalleryArtifactSource = original.GalleryArtifactSource
+type GalleryArtifactVersionSource = original.GalleryArtifactVersionSource
type GalleryDataDiskImage = original.GalleryDataDiskImage
type GalleryDiskImage = original.GalleryDiskImage
type GalleryIdentifier = original.GalleryIdentifier
@@ -751,7 +779,6 @@ type LogAnalyticsInputBase = original.LogAnalyticsInputBase
type LogAnalyticsOperationResult = original.LogAnalyticsOperationResult
type LogAnalyticsOutput = original.LogAnalyticsOutput
type MaintenanceRedeployStatus = original.MaintenanceRedeployStatus
-type ManagedArtifact = original.ManagedArtifact
type ManagedDiskParameters = original.ManagedDiskParameters
type NetworkInterfaceReference = original.NetworkInterfaceReference
type NetworkInterfaceReferenceProperties = original.NetworkInterfaceReferenceProperties
@@ -1024,6 +1051,30 @@ func NewContainerServicesClient(subscriptionID string) ContainerServicesClient {
func NewContainerServicesClientWithBaseURI(baseURI string, subscriptionID string) ContainerServicesClient {
return original.NewContainerServicesClientWithBaseURI(baseURI, subscriptionID)
}
+func NewDedicatedHostGroupListResultIterator(page DedicatedHostGroupListResultPage) DedicatedHostGroupListResultIterator {
+ return original.NewDedicatedHostGroupListResultIterator(page)
+}
+func NewDedicatedHostGroupListResultPage(getNextPage func(context.Context, DedicatedHostGroupListResult) (DedicatedHostGroupListResult, error)) DedicatedHostGroupListResultPage {
+ return original.NewDedicatedHostGroupListResultPage(getNextPage)
+}
+func NewDedicatedHostGroupsClient(subscriptionID string) DedicatedHostGroupsClient {
+ return original.NewDedicatedHostGroupsClient(subscriptionID)
+}
+func NewDedicatedHostGroupsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostGroupsClient {
+ return original.NewDedicatedHostGroupsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewDedicatedHostListResultIterator(page DedicatedHostListResultPage) DedicatedHostListResultIterator {
+ return original.NewDedicatedHostListResultIterator(page)
+}
+func NewDedicatedHostListResultPage(getNextPage func(context.Context, DedicatedHostListResult) (DedicatedHostListResult, error)) DedicatedHostListResultPage {
+ return original.NewDedicatedHostListResultPage(getNextPage)
+}
+func NewDedicatedHostsClient(subscriptionID string) DedicatedHostsClient {
+ return original.NewDedicatedHostsClient(subscriptionID)
+}
+func NewDedicatedHostsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostsClient {
+ return original.NewDedicatedHostsClientWithBaseURI(baseURI, subscriptionID)
+}
func NewDiskListIterator(page DiskListPage) DiskListIterator {
return original.NewDiskListIterator(page)
}
@@ -1276,6 +1327,9 @@ func PossibleContainerServiceOrchestratorTypesValues() []ContainerServiceOrchest
func PossibleContainerServiceVMSizeTypesValues() []ContainerServiceVMSizeTypes {
return original.PossibleContainerServiceVMSizeTypesValues()
}
+func PossibleDedicatedHostLicenseTypesValues() []DedicatedHostLicenseTypes {
+ return original.PossibleDedicatedHostLicenseTypesValues()
+}
func PossibleDiffDiskOptionsValues() []DiffDiskOptions {
return original.PossibleDiffDiskOptionsValues()
}
diff --git a/profiles/preview/cosmos-db/mgmt/documentdb/models.go b/profiles/preview/cosmos-db/mgmt/documentdb/models.go
index 32ab1c7171ca..079c75b4b084 100644
--- a/profiles/preview/cosmos-db/mgmt/documentdb/models.go
+++ b/profiles/preview/cosmos-db/mgmt/documentdb/models.go
@@ -36,6 +36,12 @@ const (
LastWriterWins ConflictResolutionMode = original.LastWriterWins
)
+type ConnectorOffer = original.ConnectorOffer
+
+const (
+ Small ConnectorOffer = original.Small
+)
+
type DataType = original.DataType
const (
@@ -385,6 +391,9 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
func PossibleConflictResolutionModeValues() []ConflictResolutionMode {
return original.PossibleConflictResolutionModeValues()
}
+func PossibleConnectorOfferValues() []ConnectorOffer {
+ return original.PossibleConnectorOfferValues()
+}
func PossibleDataTypeValues() []DataType {
return original.PossibleDataTypeValues()
}
diff --git a/profiles/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/datafactory/mgmt/datafactory/models.go
index 6e7638bf56f2..753d632f3246 100644
--- a/profiles/preview/datafactory/mgmt/datafactory/models.go
+++ b/profiles/preview/datafactory/mgmt/datafactory/models.go
@@ -58,6 +58,13 @@ const (
TRACE AzureFunctionActivityMethod = original.TRACE
)
+type AzureSearchIndexWriteBehaviorType = original.AzureSearchIndexWriteBehaviorType
+
+const (
+ Merge AzureSearchIndexWriteBehaviorType = original.Merge
+ Upload AzureSearchIndexWriteBehaviorType = original.Upload
+)
+
type BlobEventTypes = original.BlobEventTypes
const (
@@ -65,6 +72,21 @@ const (
MicrosoftStorageBlobDeleted BlobEventTypes = original.MicrosoftStorageBlobDeleted
)
+type CassandraSourceReadConsistencyLevels = original.CassandraSourceReadConsistencyLevels
+
+const (
+ ALL CassandraSourceReadConsistencyLevels = original.ALL
+ EACHQUORUM CassandraSourceReadConsistencyLevels = original.EACHQUORUM
+ LOCALONE CassandraSourceReadConsistencyLevels = original.LOCALONE
+ LOCALQUORUM CassandraSourceReadConsistencyLevels = original.LOCALQUORUM
+ LOCALSERIAL CassandraSourceReadConsistencyLevels = original.LOCALSERIAL
+ ONE CassandraSourceReadConsistencyLevels = original.ONE
+ QUORUM CassandraSourceReadConsistencyLevels = original.QUORUM
+ SERIAL CassandraSourceReadConsistencyLevels = original.SERIAL
+ THREE CassandraSourceReadConsistencyLevels = original.THREE
+ TWO CassandraSourceReadConsistencyLevels = original.TWO
+)
+
type DayOfWeek = original.DayOfWeek
const (
@@ -104,6 +126,20 @@ const (
Succeeded DependencyCondition = original.Succeeded
)
+type DynamicsAuthenticationType = original.DynamicsAuthenticationType
+
+const (
+ Ifd DynamicsAuthenticationType = original.Ifd
+ Office365 DynamicsAuthenticationType = original.Office365
+)
+
+type DynamicsDeploymentType = original.DynamicsDeploymentType
+
+const (
+ Online DynamicsDeploymentType = original.Online
+ OnPremisesWithIfd DynamicsDeploymentType = original.OnPremisesWithIfd
+)
+
type FtpAuthenticationType = original.FtpAuthenticationType
const (
@@ -238,16 +274,16 @@ const (
type IntegrationRuntimeState = original.IntegrationRuntimeState
const (
- AccessDenied IntegrationRuntimeState = original.AccessDenied
- Initial IntegrationRuntimeState = original.Initial
- Limited IntegrationRuntimeState = original.Limited
- NeedRegistration IntegrationRuntimeState = original.NeedRegistration
- Offline IntegrationRuntimeState = original.Offline
- Online IntegrationRuntimeState = original.Online
- Started IntegrationRuntimeState = original.Started
- Starting IntegrationRuntimeState = original.Starting
- Stopped IntegrationRuntimeState = original.Stopped
- Stopping IntegrationRuntimeState = original.Stopping
+ IntegrationRuntimeStateAccessDenied IntegrationRuntimeState = original.IntegrationRuntimeStateAccessDenied
+ IntegrationRuntimeStateInitial IntegrationRuntimeState = original.IntegrationRuntimeStateInitial
+ IntegrationRuntimeStateLimited IntegrationRuntimeState = original.IntegrationRuntimeStateLimited
+ IntegrationRuntimeStateNeedRegistration IntegrationRuntimeState = original.IntegrationRuntimeStateNeedRegistration
+ IntegrationRuntimeStateOffline IntegrationRuntimeState = original.IntegrationRuntimeStateOffline
+ IntegrationRuntimeStateOnline IntegrationRuntimeState = original.IntegrationRuntimeStateOnline
+ IntegrationRuntimeStateStarted IntegrationRuntimeState = original.IntegrationRuntimeStateStarted
+ IntegrationRuntimeStateStarting IntegrationRuntimeState = original.IntegrationRuntimeStateStarting
+ IntegrationRuntimeStateStopped IntegrationRuntimeState = original.IntegrationRuntimeStateStopped
+ IntegrationRuntimeStateStopping IntegrationRuntimeState = original.IntegrationRuntimeStateStopping
)
type IntegrationRuntimeType = original.IntegrationRuntimeType
@@ -268,10 +304,10 @@ const (
type ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatus
const (
- ManagedIntegrationRuntimeNodeStatusAvailable ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusAvailable
- ManagedIntegrationRuntimeNodeStatusRecycling ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusRecycling
- ManagedIntegrationRuntimeNodeStatusStarting ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusStarting
- ManagedIntegrationRuntimeNodeStatusUnavailable ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatusUnavailable
+ Available ManagedIntegrationRuntimeNodeStatus = original.Available
+ Recycling ManagedIntegrationRuntimeNodeStatus = original.Recycling
+ Starting ManagedIntegrationRuntimeNodeStatus = original.Starting
+ Unavailable ManagedIntegrationRuntimeNodeStatus = original.Unavailable
)
type MongoDbAuthenticationType = original.MongoDbAuthenticationType
@@ -281,6 +317,14 @@ const (
MongoDbAuthenticationTypeBasic MongoDbAuthenticationType = original.MongoDbAuthenticationTypeBasic
)
+type NetezzaPartitionOption = original.NetezzaPartitionOption
+
+const (
+ NetezzaPartitionOptionDataSlice NetezzaPartitionOption = original.NetezzaPartitionOptionDataSlice
+ NetezzaPartitionOptionDynamicRange NetezzaPartitionOption = original.NetezzaPartitionOptionDynamicRange
+ NetezzaPartitionOptionNone NetezzaPartitionOption = original.NetezzaPartitionOptionNone
+)
+
type ODataAadServicePrincipalCredentialType = original.ODataAadServicePrincipalCredentialType
const (
@@ -298,6 +342,14 @@ const (
ODataAuthenticationTypeWindows ODataAuthenticationType = original.ODataAuthenticationTypeWindows
)
+type OraclePartitionOption = original.OraclePartitionOption
+
+const (
+ OraclePartitionOptionDynamicRange OraclePartitionOption = original.OraclePartitionOptionDynamicRange
+ OraclePartitionOptionNone OraclePartitionOption = original.OraclePartitionOptionNone
+ OraclePartitionOptionPhysicalPartitionsOfTable OraclePartitionOption = original.OraclePartitionOptionPhysicalPartitionsOfTable
+)
+
type ParameterType = original.ParameterType
const (
@@ -400,6 +452,27 @@ const (
RunQueryOrderByFieldTriggerRunTimestamp RunQueryOrderByField = original.RunQueryOrderByFieldTriggerRunTimestamp
)
+type SalesforceSinkWriteBehavior = original.SalesforceSinkWriteBehavior
+
+const (
+ Insert SalesforceSinkWriteBehavior = original.Insert
+ Upsert SalesforceSinkWriteBehavior = original.Upsert
+)
+
+type SalesforceSourceReadBehavior = original.SalesforceSourceReadBehavior
+
+const (
+ Query SalesforceSourceReadBehavior = original.Query
+ QueryAll SalesforceSourceReadBehavior = original.QueryAll
+)
+
+type SapCloudForCustomerSinkWriteBehavior = original.SapCloudForCustomerSinkWriteBehavior
+
+const (
+ SapCloudForCustomerSinkWriteBehaviorInsert SapCloudForCustomerSinkWriteBehavior = original.SapCloudForCustomerSinkWriteBehaviorInsert
+ SapCloudForCustomerSinkWriteBehaviorUpdate SapCloudForCustomerSinkWriteBehavior = original.SapCloudForCustomerSinkWriteBehaviorUpdate
+)
+
type SapHanaAuthenticationType = original.SapHanaAuthenticationType
const (
@@ -407,6 +480,17 @@ const (
SapHanaAuthenticationTypeWindows SapHanaAuthenticationType = original.SapHanaAuthenticationTypeWindows
)
+type SapTablePartitionOption = original.SapTablePartitionOption
+
+const (
+ SapTablePartitionOptionNone SapTablePartitionOption = original.SapTablePartitionOptionNone
+ SapTablePartitionOptionPartitionOnCalendarDate SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarDate
+ SapTablePartitionOptionPartitionOnCalendarMonth SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarMonth
+ SapTablePartitionOptionPartitionOnCalendarYear SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnCalendarYear
+ SapTablePartitionOptionPartitionOnInt SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnInt
+ SapTablePartitionOptionPartitionOnTime SapTablePartitionOption = original.SapTablePartitionOptionPartitionOnTime
+)
+
type SelfHostedIntegrationRuntimeNodeStatus = original.SelfHostedIntegrationRuntimeNodeStatus
const (
@@ -467,6 +551,13 @@ const (
Project SsisObjectMetadataType = original.Project
)
+type SsisPackageLocationType = original.SsisPackageLocationType
+
+const (
+ File SsisPackageLocationType = original.File
+ SSISDB SsisPackageLocationType = original.SSISDB
+)
+
type StoredProcedureParameterType = original.StoredProcedureParameterType
const (
@@ -493,6 +584,14 @@ const (
TeradataAuthenticationTypeWindows TeradataAuthenticationType = original.TeradataAuthenticationTypeWindows
)
+type TeradataPartitionOption = original.TeradataPartitionOption
+
+const (
+ TeradataPartitionOptionDynamicRange TeradataPartitionOption = original.TeradataPartitionOptionDynamicRange
+ TeradataPartitionOptionHash TeradataPartitionOption = original.TeradataPartitionOptionHash
+ TeradataPartitionOptionNone TeradataPartitionOption = original.TeradataPartitionOptionNone
+)
+
type TriggerRunStatus = original.TriggerRunStatus
const (
@@ -504,9 +603,9 @@ const (
type TriggerRuntimeState = original.TriggerRuntimeState
const (
- TriggerRuntimeStateDisabled TriggerRuntimeState = original.TriggerRuntimeStateDisabled
- TriggerRuntimeStateStarted TriggerRuntimeState = original.TriggerRuntimeStateStarted
- TriggerRuntimeStateStopped TriggerRuntimeState = original.TriggerRuntimeStateStopped
+ Disabled TriggerRuntimeState = original.Disabled
+ Started TriggerRuntimeState = original.Started
+ Stopped TriggerRuntimeState = original.Stopped
)
type TumblingWindowFrequency = original.TumblingWindowFrequency
@@ -529,6 +628,7 @@ type TypeBasicActivity = original.TypeBasicActivity
const (
TypeActivity TypeBasicActivity = original.TypeActivity
TypeAppendVariable TypeBasicActivity = original.TypeAppendVariable
+ TypeAzureDataExplorerCommand TypeBasicActivity = original.TypeAzureDataExplorerCommand
TypeAzureFunctionActivity TypeBasicActivity = original.TypeAzureFunctionActivity
TypeAzureMLBatchExecution TypeBasicActivity = original.TypeAzureMLBatchExecution
TypeAzureMLUpdateResource TypeBasicActivity = original.TypeAzureMLUpdateResource
@@ -565,28 +665,36 @@ const (
type TypeBasicCopySink = original.TypeBasicCopySink
const (
- TypeAzureBlobFSSink TypeBasicCopySink = original.TypeAzureBlobFSSink
- TypeAzureDataExplorerSink TypeBasicCopySink = original.TypeAzureDataExplorerSink
- TypeAzureDataLakeStoreSink TypeBasicCopySink = original.TypeAzureDataLakeStoreSink
- TypeAzureQueueSink TypeBasicCopySink = original.TypeAzureQueueSink
- TypeAzureSearchIndexSink TypeBasicCopySink = original.TypeAzureSearchIndexSink
- TypeAzureSQLSink TypeBasicCopySink = original.TypeAzureSQLSink
- TypeAzureTableSink TypeBasicCopySink = original.TypeAzureTableSink
- TypeBlobSink TypeBasicCopySink = original.TypeBlobSink
- TypeCopySink TypeBasicCopySink = original.TypeCopySink
- TypeCosmosDbMongoDbAPISink TypeBasicCopySink = original.TypeCosmosDbMongoDbAPISink
- TypeDelimitedTextSink TypeBasicCopySink = original.TypeDelimitedTextSink
- TypeDocumentDbCollectionSink TypeBasicCopySink = original.TypeDocumentDbCollectionSink
- TypeDynamicsSink TypeBasicCopySink = original.TypeDynamicsSink
- TypeFileSystemSink TypeBasicCopySink = original.TypeFileSystemSink
- TypeOdbcSink TypeBasicCopySink = original.TypeOdbcSink
- TypeOracleSink TypeBasicCopySink = original.TypeOracleSink
- TypeParquetSink TypeBasicCopySink = original.TypeParquetSink
- TypeSalesforceSink TypeBasicCopySink = original.TypeSalesforceSink
- TypeSapCloudForCustomerSink TypeBasicCopySink = original.TypeSapCloudForCustomerSink
- TypeSQLDWSink TypeBasicCopySink = original.TypeSQLDWSink
- TypeSQLServerSink TypeBasicCopySink = original.TypeSQLServerSink
- TypeSQLSink TypeBasicCopySink = original.TypeSQLSink
+ TypeAzureBlobFSSink TypeBasicCopySink = original.TypeAzureBlobFSSink
+ TypeAzureDataExplorerSink TypeBasicCopySink = original.TypeAzureDataExplorerSink
+ TypeAzureDataLakeStoreSink TypeBasicCopySink = original.TypeAzureDataLakeStoreSink
+ TypeAzurePostgreSQLSink TypeBasicCopySink = original.TypeAzurePostgreSQLSink
+ TypeAzureQueueSink TypeBasicCopySink = original.TypeAzureQueueSink
+ TypeAzureSearchIndexSink TypeBasicCopySink = original.TypeAzureSearchIndexSink
+ TypeAzureSQLSink TypeBasicCopySink = original.TypeAzureSQLSink
+ TypeAzureTableSink TypeBasicCopySink = original.TypeAzureTableSink
+ TypeBinarySink TypeBasicCopySink = original.TypeBinarySink
+ TypeBlobSink TypeBasicCopySink = original.TypeBlobSink
+ TypeCommonDataServiceForAppsSink TypeBasicCopySink = original.TypeCommonDataServiceForAppsSink
+ TypeCopySink TypeBasicCopySink = original.TypeCopySink
+ TypeCosmosDbMongoDbAPISink TypeBasicCopySink = original.TypeCosmosDbMongoDbAPISink
+ TypeDelimitedTextSink TypeBasicCopySink = original.TypeDelimitedTextSink
+ TypeDocumentDbCollectionSink TypeBasicCopySink = original.TypeDocumentDbCollectionSink
+ TypeDynamicsCrmSink TypeBasicCopySink = original.TypeDynamicsCrmSink
+ TypeDynamicsSink TypeBasicCopySink = original.TypeDynamicsSink
+ TypeFileSystemSink TypeBasicCopySink = original.TypeFileSystemSink
+ TypeInformixSink TypeBasicCopySink = original.TypeInformixSink
+ TypeMicrosoftAccessSink TypeBasicCopySink = original.TypeMicrosoftAccessSink
+ TypeOdbcSink TypeBasicCopySink = original.TypeOdbcSink
+ TypeOracleSink TypeBasicCopySink = original.TypeOracleSink
+ TypeParquetSink TypeBasicCopySink = original.TypeParquetSink
+ TypeSalesforceServiceCloudSink TypeBasicCopySink = original.TypeSalesforceServiceCloudSink
+ TypeSalesforceSink TypeBasicCopySink = original.TypeSalesforceSink
+ TypeSapCloudForCustomerSink TypeBasicCopySink = original.TypeSapCloudForCustomerSink
+ TypeSQLDWSink TypeBasicCopySink = original.TypeSQLDWSink
+ TypeSQLMISink TypeBasicCopySink = original.TypeSQLMISink
+ TypeSQLServerSink TypeBasicCopySink = original.TypeSQLServerSink
+ TypeSQLSink TypeBasicCopySink = original.TypeSQLSink
)
type TypeBasicCopySource = original.TypeBasicCopySource
@@ -601,16 +709,20 @@ const (
TypeAzurePostgreSQLSource TypeBasicCopySource = original.TypeAzurePostgreSQLSource
TypeAzureSQLSource TypeBasicCopySource = original.TypeAzureSQLSource
TypeAzureTableSource TypeBasicCopySource = original.TypeAzureTableSource
+ TypeBinarySource TypeBasicCopySource = original.TypeBinarySource
TypeBlobSource TypeBasicCopySource = original.TypeBlobSource
TypeCassandraSource TypeBasicCopySource = original.TypeCassandraSource
+ TypeCommonDataServiceForAppsSource TypeBasicCopySource = original.TypeCommonDataServiceForAppsSource
TypeConcurSource TypeBasicCopySource = original.TypeConcurSource
TypeCopySource TypeBasicCopySource = original.TypeCopySource
TypeCosmosDbMongoDbAPISource TypeBasicCopySource = original.TypeCosmosDbMongoDbAPISource
TypeCouchbaseSource TypeBasicCopySource = original.TypeCouchbaseSource
+ TypeDb2Source TypeBasicCopySource = original.TypeDb2Source
TypeDelimitedTextSource TypeBasicCopySource = original.TypeDelimitedTextSource
TypeDocumentDbCollectionSource TypeBasicCopySource = original.TypeDocumentDbCollectionSource
TypeDrillSource TypeBasicCopySource = original.TypeDrillSource
TypeDynamicsAXSource TypeBasicCopySource = original.TypeDynamicsAXSource
+ TypeDynamicsCrmSource TypeBasicCopySource = original.TypeDynamicsCrmSource
TypeDynamicsSource TypeBasicCopySource = original.TypeDynamicsSource
TypeEloquaSource TypeBasicCopySource = original.TypeEloquaSource
TypeFileSystemSource TypeBasicCopySource = original.TypeFileSystemSource
@@ -623,25 +735,32 @@ const (
TypeHTTPSource TypeBasicCopySource = original.TypeHTTPSource
TypeHubspotSource TypeBasicCopySource = original.TypeHubspotSource
TypeImpalaSource TypeBasicCopySource = original.TypeImpalaSource
+ TypeInformixSource TypeBasicCopySource = original.TypeInformixSource
TypeJiraSource TypeBasicCopySource = original.TypeJiraSource
TypeMagentoSource TypeBasicCopySource = original.TypeMagentoSource
TypeMariaDBSource TypeBasicCopySource = original.TypeMariaDBSource
TypeMarketoSource TypeBasicCopySource = original.TypeMarketoSource
+ TypeMicrosoftAccessSource TypeBasicCopySource = original.TypeMicrosoftAccessSource
TypeMongoDbSource TypeBasicCopySource = original.TypeMongoDbSource
TypeMongoDbV2Source TypeBasicCopySource = original.TypeMongoDbV2Source
+ TypeMySQLSource TypeBasicCopySource = original.TypeMySQLSource
TypeNetezzaSource TypeBasicCopySource = original.TypeNetezzaSource
+ TypeODataSource TypeBasicCopySource = original.TypeODataSource
+ TypeOdbcSource TypeBasicCopySource = original.TypeOdbcSource
TypeOffice365Source TypeBasicCopySource = original.TypeOffice365Source
TypeOracleServiceCloudSource TypeBasicCopySource = original.TypeOracleServiceCloudSource
TypeOracleSource TypeBasicCopySource = original.TypeOracleSource
TypeParquetSource TypeBasicCopySource = original.TypeParquetSource
TypePaypalSource TypeBasicCopySource = original.TypePaypalSource
TypePhoenixSource TypeBasicCopySource = original.TypePhoenixSource
+ TypePostgreSQLSource TypeBasicCopySource = original.TypePostgreSQLSource
TypePrestoSource TypeBasicCopySource = original.TypePrestoSource
TypeQuickBooksSource TypeBasicCopySource = original.TypeQuickBooksSource
TypeRelationalSource TypeBasicCopySource = original.TypeRelationalSource
TypeResponsysSource TypeBasicCopySource = original.TypeResponsysSource
TypeRestSource TypeBasicCopySource = original.TypeRestSource
TypeSalesforceMarketingCloudSource TypeBasicCopySource = original.TypeSalesforceMarketingCloudSource
+ TypeSalesforceServiceCloudSource TypeBasicCopySource = original.TypeSalesforceServiceCloudSource
TypeSalesforceSource TypeBasicCopySource = original.TypeSalesforceSource
TypeSapCloudForCustomerSource TypeBasicCopySource = original.TypeSapCloudForCustomerSource
TypeSapEccSource TypeBasicCopySource = original.TypeSapEccSource
@@ -652,9 +771,11 @@ const (
TypeShopifySource TypeBasicCopySource = original.TypeShopifySource
TypeSparkSource TypeBasicCopySource = original.TypeSparkSource
TypeSQLDWSource TypeBasicCopySource = original.TypeSQLDWSource
+ TypeSQLMISource TypeBasicCopySource = original.TypeSQLMISource
TypeSQLServerSource TypeBasicCopySource = original.TypeSQLServerSource
TypeSQLSource TypeBasicCopySource = original.TypeSQLSource
TypeSquareSource TypeBasicCopySource = original.TypeSquareSource
+ TypeSybaseSource TypeBasicCopySource = original.TypeSybaseSource
TypeTeradataSource TypeBasicCopySource = original.TypeTeradataSource
TypeVerticaSource TypeBasicCopySource = original.TypeVerticaSource
TypeWebSource TypeBasicCopySource = original.TypeWebSource
@@ -675,9 +796,12 @@ const (
TypeAzurePostgreSQLTable TypeBasicDataset = original.TypeAzurePostgreSQLTable
TypeAzureSearchIndex TypeBasicDataset = original.TypeAzureSearchIndex
TypeAzureSQLDWTable TypeBasicDataset = original.TypeAzureSQLDWTable
+ TypeAzureSQLMITable TypeBasicDataset = original.TypeAzureSQLMITable
TypeAzureSQLTable TypeBasicDataset = original.TypeAzureSQLTable
TypeAzureTable TypeBasicDataset = original.TypeAzureTable
+ TypeBinary TypeBasicDataset = original.TypeBinary
TypeCassandraTable TypeBasicDataset = original.TypeCassandraTable
+ TypeCommonDataServiceForAppsEntity TypeBasicDataset = original.TypeCommonDataServiceForAppsEntity
TypeConcurObject TypeBasicDataset = original.TypeConcurObject
TypeCosmosDbMongoDbAPICollection TypeBasicDataset = original.TypeCosmosDbMongoDbAPICollection
TypeCouchbaseTable TypeBasicDataset = original.TypeCouchbaseTable
@@ -687,6 +811,7 @@ const (
TypeDocumentDbCollection TypeBasicDataset = original.TypeDocumentDbCollection
TypeDrillTable TypeBasicDataset = original.TypeDrillTable
TypeDynamicsAXResource TypeBasicDataset = original.TypeDynamicsAXResource
+ TypeDynamicsCrmEntity TypeBasicDataset = original.TypeDynamicsCrmEntity
TypeDynamicsEntity TypeBasicDataset = original.TypeDynamicsEntity
TypeEloquaObject TypeBasicDataset = original.TypeEloquaObject
TypeFileShare TypeBasicDataset = original.TypeFileShare
@@ -698,20 +823,25 @@ const (
TypeHTTPFile TypeBasicDataset = original.TypeHTTPFile
TypeHubspotObject TypeBasicDataset = original.TypeHubspotObject
TypeImpalaObject TypeBasicDataset = original.TypeImpalaObject
+ TypeInformixTable TypeBasicDataset = original.TypeInformixTable
TypeJiraObject TypeBasicDataset = original.TypeJiraObject
TypeMagentoObject TypeBasicDataset = original.TypeMagentoObject
TypeMariaDBTable TypeBasicDataset = original.TypeMariaDBTable
TypeMarketoObject TypeBasicDataset = original.TypeMarketoObject
+ TypeMicrosoftAccessTable TypeBasicDataset = original.TypeMicrosoftAccessTable
TypeMongoDbCollection TypeBasicDataset = original.TypeMongoDbCollection
TypeMongoDbV2Collection TypeBasicDataset = original.TypeMongoDbV2Collection
+ TypeMySQLTable TypeBasicDataset = original.TypeMySQLTable
TypeNetezzaTable TypeBasicDataset = original.TypeNetezzaTable
TypeODataResource TypeBasicDataset = original.TypeODataResource
+ TypeOdbcTable TypeBasicDataset = original.TypeOdbcTable
TypeOffice365Table TypeBasicDataset = original.TypeOffice365Table
TypeOracleServiceCloudObject TypeBasicDataset = original.TypeOracleServiceCloudObject
TypeOracleTable TypeBasicDataset = original.TypeOracleTable
TypeParquet TypeBasicDataset = original.TypeParquet
TypePaypalObject TypeBasicDataset = original.TypePaypalObject
TypePhoenixObject TypeBasicDataset = original.TypePhoenixObject
+ TypePostgreSQLTable TypeBasicDataset = original.TypePostgreSQLTable
TypePrestoObject TypeBasicDataset = original.TypePrestoObject
TypeQuickBooksObject TypeBasicDataset = original.TypeQuickBooksObject
TypeRelationalTable TypeBasicDataset = original.TypeRelationalTable
@@ -719,6 +849,7 @@ const (
TypeRestResource TypeBasicDataset = original.TypeRestResource
TypeSalesforceMarketingCloudObject TypeBasicDataset = original.TypeSalesforceMarketingCloudObject
TypeSalesforceObject TypeBasicDataset = original.TypeSalesforceObject
+ TypeSalesforceServiceCloudObject TypeBasicDataset = original.TypeSalesforceServiceCloudObject
TypeSapCloudForCustomerResource TypeBasicDataset = original.TypeSapCloudForCustomerResource
TypeSapEccResource TypeBasicDataset = original.TypeSapEccResource
TypeSapHanaTable TypeBasicDataset = original.TypeSapHanaTable
@@ -811,9 +942,11 @@ const (
TypeAzureSearch TypeBasicLinkedService = original.TypeAzureSearch
TypeAzureSQLDatabase TypeBasicLinkedService = original.TypeAzureSQLDatabase
TypeAzureSQLDW TypeBasicLinkedService = original.TypeAzureSQLDW
+ TypeAzureSQLMI TypeBasicLinkedService = original.TypeAzureSQLMI
TypeAzureStorage TypeBasicLinkedService = original.TypeAzureStorage
TypeAzureTableStorage TypeBasicLinkedService = original.TypeAzureTableStorage
TypeCassandra TypeBasicLinkedService = original.TypeCassandra
+ TypeCommonDataServiceForApps TypeBasicLinkedService = original.TypeCommonDataServiceForApps
TypeConcur TypeBasicLinkedService = original.TypeConcur
TypeCosmosDb TypeBasicLinkedService = original.TypeCosmosDb
TypeCosmosDbMongoDbAPI TypeBasicLinkedService = original.TypeCosmosDbMongoDbAPI
@@ -823,6 +956,7 @@ const (
TypeDrill TypeBasicLinkedService = original.TypeDrill
TypeDynamics TypeBasicLinkedService = original.TypeDynamics
TypeDynamicsAX TypeBasicLinkedService = original.TypeDynamicsAX
+ TypeDynamicsCrm TypeBasicLinkedService = original.TypeDynamicsCrm
TypeEloqua TypeBasicLinkedService = original.TypeEloqua
TypeFileServer TypeBasicLinkedService = original.TypeFileServer
TypeFtpServer TypeBasicLinkedService = original.TypeFtpServer
@@ -837,11 +971,13 @@ const (
TypeHTTPServer TypeBasicLinkedService = original.TypeHTTPServer
TypeHubspot TypeBasicLinkedService = original.TypeHubspot
TypeImpala TypeBasicLinkedService = original.TypeImpala
+ TypeInformix TypeBasicLinkedService = original.TypeInformix
TypeJira TypeBasicLinkedService = original.TypeJira
TypeLinkedService TypeBasicLinkedService = original.TypeLinkedService
TypeMagento TypeBasicLinkedService = original.TypeMagento
TypeMariaDB TypeBasicLinkedService = original.TypeMariaDB
TypeMarketo TypeBasicLinkedService = original.TypeMarketo
+ TypeMicrosoftAccess TypeBasicLinkedService = original.TypeMicrosoftAccess
TypeMongoDb TypeBasicLinkedService = original.TypeMongoDb
TypeMongoDbV2 TypeBasicLinkedService = original.TypeMongoDbV2
TypeMySQL TypeBasicLinkedService = original.TypeMySQL
@@ -860,6 +996,7 @@ const (
TypeRestService TypeBasicLinkedService = original.TypeRestService
TypeSalesforce TypeBasicLinkedService = original.TypeSalesforce
TypeSalesforceMarketingCloud TypeBasicLinkedService = original.TypeSalesforceMarketingCloud
+ TypeSalesforceServiceCloud TypeBasicLinkedService = original.TypeSalesforceServiceCloud
TypeSapBW TypeBasicLinkedService = original.TypeSapBW
TypeSapCloudForCustomer TypeBasicLinkedService = original.TypeSapCloudForCustomer
TypeSapEcc TypeBasicLinkedService = original.TypeSapEcc
@@ -944,7 +1081,7 @@ type AmazonS3DatasetTypeProperties = original.AmazonS3DatasetTypeProperties
type AmazonS3LinkedService = original.AmazonS3LinkedService
type AmazonS3LinkedServiceTypeProperties = original.AmazonS3LinkedServiceTypeProperties
type AmazonS3Location = original.AmazonS3Location
-type AmazonS3ReadSetting = original.AmazonS3ReadSetting
+type AmazonS3ReadSettings = original.AmazonS3ReadSettings
type AppendVariableActivity = original.AppendVariableActivity
type AppendVariableActivityTypeProperties = original.AppendVariableActivityTypeProperties
type AvroFormat = original.AvroFormat
@@ -957,15 +1094,17 @@ type AzureBlobFSDatasetTypeProperties = original.AzureBlobFSDatasetTypePropertie
type AzureBlobFSLinkedService = original.AzureBlobFSLinkedService
type AzureBlobFSLinkedServiceTypeProperties = original.AzureBlobFSLinkedServiceTypeProperties
type AzureBlobFSLocation = original.AzureBlobFSLocation
-type AzureBlobFSReadSetting = original.AzureBlobFSReadSetting
+type AzureBlobFSReadSettings = original.AzureBlobFSReadSettings
type AzureBlobFSSink = original.AzureBlobFSSink
type AzureBlobFSSource = original.AzureBlobFSSource
-type AzureBlobFSWriteSetting = original.AzureBlobFSWriteSetting
+type AzureBlobFSWriteSettings = original.AzureBlobFSWriteSettings
type AzureBlobStorageLinkedService = original.AzureBlobStorageLinkedService
type AzureBlobStorageLinkedServiceTypeProperties = original.AzureBlobStorageLinkedServiceTypeProperties
type AzureBlobStorageLocation = original.AzureBlobStorageLocation
-type AzureBlobStorageReadSetting = original.AzureBlobStorageReadSetting
-type AzureBlobStorageWriteSetting = original.AzureBlobStorageWriteSetting
+type AzureBlobStorageReadSettings = original.AzureBlobStorageReadSettings
+type AzureBlobStorageWriteSettings = original.AzureBlobStorageWriteSettings
+type AzureDataExplorerCommandActivity = original.AzureDataExplorerCommandActivity
+type AzureDataExplorerCommandActivityTypeProperties = original.AzureDataExplorerCommandActivityTypeProperties
type AzureDataExplorerDatasetTypeProperties = original.AzureDataExplorerDatasetTypeProperties
type AzureDataExplorerLinkedService = original.AzureDataExplorerLinkedService
type AzureDataExplorerLinkedServiceTypeProperties = original.AzureDataExplorerLinkedServiceTypeProperties
@@ -979,10 +1118,10 @@ type AzureDataLakeStoreDatasetTypeProperties = original.AzureDataLakeStoreDatase
type AzureDataLakeStoreLinkedService = original.AzureDataLakeStoreLinkedService
type AzureDataLakeStoreLinkedServiceTypeProperties = original.AzureDataLakeStoreLinkedServiceTypeProperties
type AzureDataLakeStoreLocation = original.AzureDataLakeStoreLocation
-type AzureDataLakeStoreReadSetting = original.AzureDataLakeStoreReadSetting
+type AzureDataLakeStoreReadSettings = original.AzureDataLakeStoreReadSettings
type AzureDataLakeStoreSink = original.AzureDataLakeStoreSink
type AzureDataLakeStoreSource = original.AzureDataLakeStoreSource
-type AzureDataLakeStoreWriteSetting = original.AzureDataLakeStoreWriteSetting
+type AzureDataLakeStoreWriteSettings = original.AzureDataLakeStoreWriteSettings
type AzureDatabricksLinkedService = original.AzureDatabricksLinkedService
type AzureDatabricksLinkedServiceTypeProperties = original.AzureDatabricksLinkedServiceTypeProperties
type AzureFunctionActivity = original.AzureFunctionActivity
@@ -1006,8 +1145,10 @@ type AzureMySQLTableDataset = original.AzureMySQLTableDataset
type AzureMySQLTableDatasetTypeProperties = original.AzureMySQLTableDatasetTypeProperties
type AzurePostgreSQLLinkedService = original.AzurePostgreSQLLinkedService
type AzurePostgreSQLLinkedServiceTypeProperties = original.AzurePostgreSQLLinkedServiceTypeProperties
+type AzurePostgreSQLSink = original.AzurePostgreSQLSink
type AzurePostgreSQLSource = original.AzurePostgreSQLSource
type AzurePostgreSQLTableDataset = original.AzurePostgreSQLTableDataset
+type AzurePostgreSQLTableDatasetTypeProperties = original.AzurePostgreSQLTableDatasetTypeProperties
type AzureQueueSink = original.AzureQueueSink
type AzureSQLDWLinkedService = original.AzureSQLDWLinkedService
type AzureSQLDWLinkedServiceTypeProperties = original.AzureSQLDWLinkedServiceTypeProperties
@@ -1015,6 +1156,10 @@ type AzureSQLDWTableDataset = original.AzureSQLDWTableDataset
type AzureSQLDWTableDatasetTypeProperties = original.AzureSQLDWTableDatasetTypeProperties
type AzureSQLDatabaseLinkedService = original.AzureSQLDatabaseLinkedService
type AzureSQLDatabaseLinkedServiceTypeProperties = original.AzureSQLDatabaseLinkedServiceTypeProperties
+type AzureSQLMILinkedService = original.AzureSQLMILinkedService
+type AzureSQLMILinkedServiceTypeProperties = original.AzureSQLMILinkedServiceTypeProperties
+type AzureSQLMITableDataset = original.AzureSQLMITableDataset
+type AzureSQLMITableDatasetTypeProperties = original.AzureSQLMITableDatasetTypeProperties
type AzureSQLSink = original.AzureSQLSink
type AzureSQLSource = original.AzureSQLSource
type AzureSQLTableDataset = original.AzureSQLTableDataset
@@ -1052,6 +1197,10 @@ type BasicSsisObjectMetadata = original.BasicSsisObjectMetadata
type BasicTrigger = original.BasicTrigger
type BasicTriggerDependencyReference = original.BasicTriggerDependencyReference
type BasicWebLinkedServiceTypeProperties = original.BasicWebLinkedServiceTypeProperties
+type BinaryDataset = original.BinaryDataset
+type BinaryDatasetTypeProperties = original.BinaryDatasetTypeProperties
+type BinarySink = original.BinarySink
+type BinarySource = original.BinarySource
type BlobEventsTrigger = original.BlobEventsTrigger
type BlobEventsTriggerTypeProperties = original.BlobEventsTriggerTypeProperties
type BlobSink = original.BlobSink
@@ -1065,12 +1214,16 @@ type CassandraTableDataset = original.CassandraTableDataset
type CassandraTableDatasetTypeProperties = original.CassandraTableDatasetTypeProperties
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
+type CommonDataServiceForAppsEntityDataset = original.CommonDataServiceForAppsEntityDataset
+type CommonDataServiceForAppsEntityDatasetTypeProperties = original.CommonDataServiceForAppsEntityDatasetTypeProperties
+type CommonDataServiceForAppsLinkedService = original.CommonDataServiceForAppsLinkedService
+type CommonDataServiceForAppsLinkedServiceTypeProperties = original.CommonDataServiceForAppsLinkedServiceTypeProperties
+type CommonDataServiceForAppsSink = original.CommonDataServiceForAppsSink
+type CommonDataServiceForAppsSource = original.CommonDataServiceForAppsSource
type ConcurLinkedService = original.ConcurLinkedService
type ConcurLinkedServiceTypeProperties = original.ConcurLinkedServiceTypeProperties
type ConcurObjectDataset = original.ConcurObjectDataset
type ConcurSource = original.ConcurSource
-type ConnectorReadSetting = original.ConnectorReadSetting
-type ConnectorWriteSetting = original.ConnectorWriteSetting
type ControlActivity = original.ControlActivity
type CopyActivity = original.CopyActivity
type CopyActivityTypeProperties = original.CopyActivityTypeProperties
@@ -1120,14 +1273,15 @@ type DatasetZipDeflateCompression = original.DatasetZipDeflateCompression
type DatasetsClient = original.DatasetsClient
type Db2LinkedService = original.Db2LinkedService
type Db2LinkedServiceTypeProperties = original.Db2LinkedServiceTypeProperties
+type Db2Source = original.Db2Source
type DeleteActivity = original.DeleteActivity
type DeleteActivityTypeProperties = original.DeleteActivityTypeProperties
type DelimitedTextDataset = original.DelimitedTextDataset
type DelimitedTextDatasetTypeProperties = original.DelimitedTextDatasetTypeProperties
-type DelimitedTextReadSetting = original.DelimitedTextReadSetting
+type DelimitedTextReadSettings = original.DelimitedTextReadSettings
type DelimitedTextSink = original.DelimitedTextSink
type DelimitedTextSource = original.DelimitedTextSource
-type DelimitedTextWriteSetting = original.DelimitedTextWriteSetting
+type DelimitedTextWriteSettings = original.DelimitedTextWriteSettings
type DependencyReference = original.DependencyReference
type DistcpSettings = original.DistcpSettings
type DocumentDbCollectionDataset = original.DocumentDbCollectionDataset
@@ -1143,6 +1297,12 @@ type DynamicsAXLinkedServiceTypeProperties = original.DynamicsAXLinkedServiceTyp
type DynamicsAXResourceDataset = original.DynamicsAXResourceDataset
type DynamicsAXResourceDatasetTypeProperties = original.DynamicsAXResourceDatasetTypeProperties
type DynamicsAXSource = original.DynamicsAXSource
+type DynamicsCrmEntityDataset = original.DynamicsCrmEntityDataset
+type DynamicsCrmEntityDatasetTypeProperties = original.DynamicsCrmEntityDatasetTypeProperties
+type DynamicsCrmLinkedService = original.DynamicsCrmLinkedService
+type DynamicsCrmLinkedServiceTypeProperties = original.DynamicsCrmLinkedServiceTypeProperties
+type DynamicsCrmSink = original.DynamicsCrmSink
+type DynamicsCrmSource = original.DynamicsCrmSource
type DynamicsEntityDataset = original.DynamicsEntityDataset
type DynamicsEntityDatasetTypeProperties = original.DynamicsEntityDatasetTypeProperties
type DynamicsLinkedService = original.DynamicsLinkedService
@@ -1178,8 +1338,8 @@ type FactoryVSTSConfiguration = original.FactoryVSTSConfiguration
type FileServerLinkedService = original.FileServerLinkedService
type FileServerLinkedServiceTypeProperties = original.FileServerLinkedServiceTypeProperties
type FileServerLocation = original.FileServerLocation
-type FileServerReadSetting = original.FileServerReadSetting
-type FileServerWriteSetting = original.FileServerWriteSetting
+type FileServerReadSettings = original.FileServerReadSettings
+type FileServerWriteSettings = original.FileServerWriteSettings
type FileShareDataset = original.FileShareDataset
type FileShareDatasetTypeProperties = original.FileShareDatasetTypeProperties
type FileSystemSink = original.FileSystemSink
@@ -1188,9 +1348,9 @@ type FilterActivity = original.FilterActivity
type FilterActivityTypeProperties = original.FilterActivityTypeProperties
type ForEachActivity = original.ForEachActivity
type ForEachActivityTypeProperties = original.ForEachActivityTypeProperties
-type FormatReadSetting = original.FormatReadSetting
-type FormatWriteSetting = original.FormatWriteSetting
-type FtpReadSetting = original.FtpReadSetting
+type FormatReadSettings = original.FormatReadSettings
+type FormatWriteSettings = original.FormatWriteSettings
+type FtpReadSettings = original.FtpReadSettings
type FtpServerLinkedService = original.FtpServerLinkedService
type FtpServerLinkedServiceTypeProperties = original.FtpServerLinkedServiceTypeProperties
type FtpServerLocation = original.FtpServerLocation
@@ -1234,13 +1394,13 @@ type HTTPDataset = original.HTTPDataset
type HTTPDatasetTypeProperties = original.HTTPDatasetTypeProperties
type HTTPLinkedService = original.HTTPLinkedService
type HTTPLinkedServiceTypeProperties = original.HTTPLinkedServiceTypeProperties
-type HTTPReadSetting = original.HTTPReadSetting
+type HTTPReadSettings = original.HTTPReadSettings
type HTTPServerLocation = original.HTTPServerLocation
type HTTPSource = original.HTTPSource
type HdfsLinkedService = original.HdfsLinkedService
type HdfsLinkedServiceTypeProperties = original.HdfsLinkedServiceTypeProperties
type HdfsLocation = original.HdfsLocation
-type HdfsReadSetting = original.HdfsReadSetting
+type HdfsReadSettings = original.HdfsReadSettings
type HdfsSource = original.HdfsSource
type HiveLinkedService = original.HiveLinkedService
type HiveLinkedServiceTypeProperties = original.HiveLinkedServiceTypeProperties
@@ -1256,6 +1416,12 @@ type ImpalaLinkedService = original.ImpalaLinkedService
type ImpalaLinkedServiceTypeProperties = original.ImpalaLinkedServiceTypeProperties
type ImpalaObjectDataset = original.ImpalaObjectDataset
type ImpalaSource = original.ImpalaSource
+type InformixLinkedService = original.InformixLinkedService
+type InformixLinkedServiceTypeProperties = original.InformixLinkedServiceTypeProperties
+type InformixSink = original.InformixSink
+type InformixSource = original.InformixSource
+type InformixTableDataset = original.InformixTableDataset
+type InformixTableDatasetTypeProperties = original.InformixTableDatasetTypeProperties
type IntegrationRuntime = original.IntegrationRuntime
type IntegrationRuntimeAuthKeys = original.IntegrationRuntimeAuthKeys
type IntegrationRuntimeComputeProperties = original.IntegrationRuntimeComputeProperties
@@ -1322,6 +1488,12 @@ type MarketoLinkedService = original.MarketoLinkedService
type MarketoLinkedServiceTypeProperties = original.MarketoLinkedServiceTypeProperties
type MarketoObjectDataset = original.MarketoObjectDataset
type MarketoSource = original.MarketoSource
+type MicrosoftAccessLinkedService = original.MicrosoftAccessLinkedService
+type MicrosoftAccessLinkedServiceTypeProperties = original.MicrosoftAccessLinkedServiceTypeProperties
+type MicrosoftAccessSink = original.MicrosoftAccessSink
+type MicrosoftAccessSource = original.MicrosoftAccessSource
+type MicrosoftAccessTableDataset = original.MicrosoftAccessTableDataset
+type MicrosoftAccessTableDatasetTypeProperties = original.MicrosoftAccessTableDatasetTypeProperties
type MongoDbCollectionDataset = original.MongoDbCollectionDataset
type MongoDbCollectionDatasetTypeProperties = original.MongoDbCollectionDatasetTypeProperties
type MongoDbCursorMethodsProperties = original.MongoDbCursorMethodsProperties
@@ -1336,17 +1508,25 @@ type MongoDbV2Source = original.MongoDbV2Source
type MultiplePipelineTrigger = original.MultiplePipelineTrigger
type MySQLLinkedService = original.MySQLLinkedService
type MySQLLinkedServiceTypeProperties = original.MySQLLinkedServiceTypeProperties
+type MySQLSource = original.MySQLSource
+type MySQLTableDataset = original.MySQLTableDataset
+type MySQLTableDatasetTypeProperties = original.MySQLTableDatasetTypeProperties
type NetezzaLinkedService = original.NetezzaLinkedService
type NetezzaLinkedServiceTypeProperties = original.NetezzaLinkedServiceTypeProperties
+type NetezzaPartitionSettings = original.NetezzaPartitionSettings
type NetezzaSource = original.NetezzaSource
type NetezzaTableDataset = original.NetezzaTableDataset
type ODataLinkedService = original.ODataLinkedService
type ODataLinkedServiceTypeProperties = original.ODataLinkedServiceTypeProperties
type ODataResourceDataset = original.ODataResourceDataset
type ODataResourceDatasetTypeProperties = original.ODataResourceDatasetTypeProperties
+type ODataSource = original.ODataSource
type OdbcLinkedService = original.OdbcLinkedService
type OdbcLinkedServiceTypeProperties = original.OdbcLinkedServiceTypeProperties
type OdbcSink = original.OdbcSink
+type OdbcSource = original.OdbcSource
+type OdbcTableDataset = original.OdbcTableDataset
+type OdbcTableDatasetTypeProperties = original.OdbcTableDatasetTypeProperties
type Office365Dataset = original.Office365Dataset
type Office365DatasetTypeProperties = original.Office365DatasetTypeProperties
type Office365LinkedService = original.Office365LinkedService
@@ -1405,6 +1585,9 @@ type PipelinesClient = original.PipelinesClient
type PolybaseSettings = original.PolybaseSettings
type PostgreSQLLinkedService = original.PostgreSQLLinkedService
type PostgreSQLLinkedServiceTypeProperties = original.PostgreSQLLinkedServiceTypeProperties
+type PostgreSQLSource = original.PostgreSQLSource
+type PostgreSQLTableDataset = original.PostgreSQLTableDataset
+type PostgreSQLTableDatasetTypeProperties = original.PostgreSQLTableDatasetTypeProperties
type PrestoLinkedService = original.PrestoLinkedService
type PrestoLinkedServiceTypeProperties = original.PrestoLinkedServiceTypeProperties
type PrestoObjectDataset = original.PrestoObjectDataset
@@ -1447,6 +1630,8 @@ type RunQueryFilter = original.RunQueryFilter
type RunQueryOrderBy = original.RunQueryOrderBy
type SQLDWSink = original.SQLDWSink
type SQLDWSource = original.SQLDWSource
+type SQLMISink = original.SQLMISink
+type SQLMISource = original.SQLMISource
type SQLServerLinkedService = original.SQLServerLinkedService
type SQLServerLinkedServiceTypeProperties = original.SQLServerLinkedServiceTypeProperties
type SQLServerSink = original.SQLServerSink
@@ -1457,9 +1642,13 @@ type SQLServerTableDataset = original.SQLServerTableDataset
type SQLServerTableDatasetTypeProperties = original.SQLServerTableDatasetTypeProperties
type SQLSink = original.SQLSink
type SQLSource = original.SQLSource
+type SSISAccessCredential = original.SSISAccessCredential
type SSISExecutionCredential = original.SSISExecutionCredential
type SSISExecutionParameter = original.SSISExecutionParameter
+type SSISLogLocation = original.SSISLogLocation
+type SSISLogLocationTypeProperties = original.SSISLogLocationTypeProperties
type SSISPackageLocation = original.SSISPackageLocation
+type SSISPackageLocationTypeProperties = original.SSISPackageLocationTypeProperties
type SSISPropertyOverride = original.SSISPropertyOverride
type SalesforceLinkedService = original.SalesforceLinkedService
type SalesforceLinkedServiceTypeProperties = original.SalesforceLinkedServiceTypeProperties
@@ -1469,6 +1658,12 @@ type SalesforceMarketingCloudObjectDataset = original.SalesforceMarketingCloudOb
type SalesforceMarketingCloudSource = original.SalesforceMarketingCloudSource
type SalesforceObjectDataset = original.SalesforceObjectDataset
type SalesforceObjectDatasetTypeProperties = original.SalesforceObjectDatasetTypeProperties
+type SalesforceServiceCloudLinkedService = original.SalesforceServiceCloudLinkedService
+type SalesforceServiceCloudLinkedServiceTypeProperties = original.SalesforceServiceCloudLinkedServiceTypeProperties
+type SalesforceServiceCloudObjectDataset = original.SalesforceServiceCloudObjectDataset
+type SalesforceServiceCloudObjectDatasetTypeProperties = original.SalesforceServiceCloudObjectDatasetTypeProperties
+type SalesforceServiceCloudSink = original.SalesforceServiceCloudSink
+type SalesforceServiceCloudSource = original.SalesforceServiceCloudSource
type SalesforceSink = original.SalesforceSink
type SalesforceSource = original.SalesforceSource
type SapBWLinkedService = original.SapBWLinkedService
@@ -1519,7 +1714,7 @@ type ServiceNowSource = original.ServiceNowSource
type SetVariableActivity = original.SetVariableActivity
type SetVariableActivityTypeProperties = original.SetVariableActivityTypeProperties
type SftpLocation = original.SftpLocation
-type SftpReadSetting = original.SftpReadSetting
+type SftpReadSettings = original.SftpReadSettings
type SftpServerLinkedService = original.SftpServerLinkedService
type SftpServerLinkedServiceTypeProperties = original.SftpServerLinkedServiceTypeProperties
type ShopifyLinkedService = original.ShopifyLinkedService
@@ -1545,10 +1740,13 @@ type SsisParameter = original.SsisParameter
type SsisProject = original.SsisProject
type SsisVariable = original.SsisVariable
type StagingSettings = original.StagingSettings
+type StoreReadSettings = original.StoreReadSettings
+type StoreWriteSettings = original.StoreWriteSettings
type StoredProcedureParameter = original.StoredProcedureParameter
type SubResource = original.SubResource
type SybaseLinkedService = original.SybaseLinkedService
type SybaseLinkedServiceTypeProperties = original.SybaseLinkedServiceTypeProperties
+type SybaseSource = original.SybaseSource
type TeradataLinkedService = original.TeradataLinkedService
type TeradataLinkedServiceTypeProperties = original.TeradataLinkedServiceTypeProperties
type TeradataPartitionSettings = original.TeradataPartitionSettings
@@ -1757,9 +1955,15 @@ func PossibleAuthorizationTypeValues() []AuthorizationType {
func PossibleAzureFunctionActivityMethodValues() []AzureFunctionActivityMethod {
return original.PossibleAzureFunctionActivityMethodValues()
}
+func PossibleAzureSearchIndexWriteBehaviorTypeValues() []AzureSearchIndexWriteBehaviorType {
+ return original.PossibleAzureSearchIndexWriteBehaviorTypeValues()
+}
func PossibleBlobEventTypesValues() []BlobEventTypes {
return original.PossibleBlobEventTypesValues()
}
+func PossibleCassandraSourceReadConsistencyLevelsValues() []CassandraSourceReadConsistencyLevels {
+ return original.PossibleCassandraSourceReadConsistencyLevelsValues()
+}
func PossibleDayOfWeekValues() []DayOfWeek {
return original.PossibleDayOfWeekValues()
}
@@ -1772,6 +1976,12 @@ func PossibleDb2AuthenticationTypeValues() []Db2AuthenticationType {
func PossibleDependencyConditionValues() []DependencyCondition {
return original.PossibleDependencyConditionValues()
}
+func PossibleDynamicsAuthenticationTypeValues() []DynamicsAuthenticationType {
+ return original.PossibleDynamicsAuthenticationTypeValues()
+}
+func PossibleDynamicsDeploymentTypeValues() []DynamicsDeploymentType {
+ return original.PossibleDynamicsDeploymentTypeValues()
+}
func PossibleFtpAuthenticationTypeValues() []FtpAuthenticationType {
return original.PossibleFtpAuthenticationTypeValues()
}
@@ -1838,12 +2048,18 @@ func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRun
func PossibleMongoDbAuthenticationTypeValues() []MongoDbAuthenticationType {
return original.PossibleMongoDbAuthenticationTypeValues()
}
+func PossibleNetezzaPartitionOptionValues() []NetezzaPartitionOption {
+ return original.PossibleNetezzaPartitionOptionValues()
+}
func PossibleODataAadServicePrincipalCredentialTypeValues() []ODataAadServicePrincipalCredentialType {
return original.PossibleODataAadServicePrincipalCredentialTypeValues()
}
func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType {
return original.PossibleODataAuthenticationTypeValues()
}
+func PossibleOraclePartitionOptionValues() []OraclePartitionOption {
+ return original.PossibleOraclePartitionOptionValues()
+}
func PossibleParameterTypeValues() []ParameterType {
return original.PossibleParameterTypeValues()
}
@@ -1874,9 +2090,21 @@ func PossibleRunQueryOrderByFieldValues() []RunQueryOrderByField {
func PossibleRunQueryOrderValues() []RunQueryOrder {
return original.PossibleRunQueryOrderValues()
}
+func PossibleSalesforceSinkWriteBehaviorValues() []SalesforceSinkWriteBehavior {
+ return original.PossibleSalesforceSinkWriteBehaviorValues()
+}
+func PossibleSalesforceSourceReadBehaviorValues() []SalesforceSourceReadBehavior {
+ return original.PossibleSalesforceSourceReadBehaviorValues()
+}
+func PossibleSapCloudForCustomerSinkWriteBehaviorValues() []SapCloudForCustomerSinkWriteBehavior {
+ return original.PossibleSapCloudForCustomerSinkWriteBehaviorValues()
+}
func PossibleSapHanaAuthenticationTypeValues() []SapHanaAuthenticationType {
return original.PossibleSapHanaAuthenticationTypeValues()
}
+func PossibleSapTablePartitionOptionValues() []SapTablePartitionOption {
+ return original.PossibleSapTablePartitionOptionValues()
+}
func PossibleSelfHostedIntegrationRuntimeNodeStatusValues() []SelfHostedIntegrationRuntimeNodeStatus {
return original.PossibleSelfHostedIntegrationRuntimeNodeStatusValues()
}
@@ -1898,6 +2126,9 @@ func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol
func PossibleSsisObjectMetadataTypeValues() []SsisObjectMetadataType {
return original.PossibleSsisObjectMetadataTypeValues()
}
+func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType {
+ return original.PossibleSsisPackageLocationTypeValues()
+}
func PossibleStoredProcedureParameterTypeValues() []StoredProcedureParameterType {
return original.PossibleStoredProcedureParameterTypeValues()
}
@@ -1907,6 +2138,9 @@ func PossibleSybaseAuthenticationTypeValues() []SybaseAuthenticationType {
func PossibleTeradataAuthenticationTypeValues() []TeradataAuthenticationType {
return original.PossibleTeradataAuthenticationTypeValues()
}
+func PossibleTeradataPartitionOptionValues() []TeradataPartitionOption {
+ return original.PossibleTeradataPartitionOptionValues()
+}
func PossibleTriggerRunStatusValues() []TriggerRunStatus {
return original.PossibleTriggerRunStatusValues()
}
diff --git a/profiles/preview/devtestlabs/mgmt/dtl/models.go b/profiles/preview/devtestlabs/mgmt/dtl/models.go
index 254097a49f2c..0f9b01653c20 100644
--- a/profiles/preview/devtestlabs/mgmt/dtl/models.go
+++ b/profiles/preview/devtestlabs/mgmt/dtl/models.go
@@ -196,8 +196,9 @@ const (
type StorageType = original.StorageType
const (
- Premium StorageType = original.Premium
- Standard StorageType = original.Standard
+ Premium StorageType = original.Premium
+ Standard StorageType = original.Standard
+ StandardSSD StorageType = original.StandardSSD
)
type TargetCostStatus = original.TargetCostStatus
@@ -225,8 +226,9 @@ const (
type VirtualMachineCreationSource = original.VirtualMachineCreationSource
const (
- FromCustomImage VirtualMachineCreationSource = original.FromCustomImage
- FromGalleryImage VirtualMachineCreationSource = original.FromGalleryImage
+ FromCustomImage VirtualMachineCreationSource = original.FromCustomImage
+ FromGalleryImage VirtualMachineCreationSource = original.FromGalleryImage
+ FromSharedGalleryImage VirtualMachineCreationSource = original.FromSharedGalleryImage
)
type WindowsOsState = original.WindowsOsState
@@ -493,9 +495,6 @@ type ServiceFabricsDeleteFuture = original.ServiceFabricsDeleteFuture
type ServiceFabricsStartFuture = original.ServiceFabricsStartFuture
type ServiceFabricsStopFuture = original.ServiceFabricsStopFuture
type ServiceRunner = original.ServiceRunner
-type ServiceRunnerList = original.ServiceRunnerList
-type ServiceRunnerListIterator = original.ServiceRunnerListIterator
-type ServiceRunnerListPage = original.ServiceRunnerListPage
type ServiceRunnersClient = original.ServiceRunnersClient
type SharedPublicIPAddressConfiguration = original.SharedPublicIPAddressConfiguration
type SharedPublicIPAddressConfigurationFragment = original.SharedPublicIPAddressConfigurationFragment
@@ -778,12 +777,6 @@ func NewServiceFabricsClient(subscriptionID string) ServiceFabricsClient {
func NewServiceFabricsClientWithBaseURI(baseURI string, subscriptionID string) ServiceFabricsClient {
return original.NewServiceFabricsClientWithBaseURI(baseURI, subscriptionID)
}
-func NewServiceRunnerListIterator(page ServiceRunnerListPage) ServiceRunnerListIterator {
- return original.NewServiceRunnerListIterator(page)
-}
-func NewServiceRunnerListPage(getNextPage func(context.Context, ServiceRunnerList) (ServiceRunnerList, error)) ServiceRunnerListPage {
- return original.NewServiceRunnerListPage(getNextPage)
-}
func NewServiceRunnersClient(subscriptionID string) ServiceRunnersClient {
return original.NewServiceRunnersClient(subscriptionID)
}
diff --git a/profiles/preview/managedservices/mgmt/managedservices/managedservicesapi/models.go b/profiles/preview/managedservices/mgmt/managedservices/managedservicesapi/models.go
new file mode 100644
index 000000000000..b29c9789448b
--- /dev/null
+++ b/profiles/preview/managedservices/mgmt/managedservices/managedservicesapi/models.go
@@ -0,0 +1,26 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package managedservicesapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/managedservices/mgmt/2019-06-01/managedservices/managedservicesapi"
+
+type OperationsClientAPI = original.OperationsClientAPI
+type RegistrationAssignmentsClientAPI = original.RegistrationAssignmentsClientAPI
+type RegistrationDefinitionsClientAPI = original.RegistrationDefinitionsClientAPI
diff --git a/profiles/preview/managedservices/mgmt/managedservices/models.go b/profiles/preview/managedservices/mgmt/managedservices/models.go
new file mode 100644
index 000000000000..c20131485ddd
--- /dev/null
+++ b/profiles/preview/managedservices/mgmt/managedservices/models.go
@@ -0,0 +1,120 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package managedservices
+
+import (
+ "context"
+
+ original "github.com/Azure/azure-sdk-for-go/services/managedservices/mgmt/2019-06-01/managedservices"
+)
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type ProvisioningState = original.ProvisioningState
+
+const (
+ Accepted ProvisioningState = original.Accepted
+ Canceled ProvisioningState = original.Canceled
+ Created ProvisioningState = original.Created
+ Creating ProvisioningState = original.Creating
+ Deleted ProvisioningState = original.Deleted
+ Deleting ProvisioningState = original.Deleting
+ Failed ProvisioningState = original.Failed
+ NotSpecified ProvisioningState = original.NotSpecified
+ Ready ProvisioningState = original.Ready
+ Running ProvisioningState = original.Running
+ Succeeded ProvisioningState = original.Succeeded
+ Updating ProvisioningState = original.Updating
+)
+
+type Authorization = original.Authorization
+type BaseClient = original.BaseClient
+type ErrorResponse = original.ErrorResponse
+type ErrorResponseError = original.ErrorResponseError
+type Operation = original.Operation
+type OperationDisplay = original.OperationDisplay
+type OperationList = original.OperationList
+type OperationsClient = original.OperationsClient
+type Plan = original.Plan
+type RegistrationAssignment = original.RegistrationAssignment
+type RegistrationAssignmentList = original.RegistrationAssignmentList
+type RegistrationAssignmentListIterator = original.RegistrationAssignmentListIterator
+type RegistrationAssignmentListPage = original.RegistrationAssignmentListPage
+type RegistrationAssignmentProperties = original.RegistrationAssignmentProperties
+type RegistrationAssignmentPropertiesRegistrationDefinition = original.RegistrationAssignmentPropertiesRegistrationDefinition
+type RegistrationAssignmentPropertiesRegistrationDefinitionProperties = original.RegistrationAssignmentPropertiesRegistrationDefinitionProperties
+type RegistrationAssignmentsClient = original.RegistrationAssignmentsClient
+type RegistrationAssignmentsCreateOrUpdateFuture = original.RegistrationAssignmentsCreateOrUpdateFuture
+type RegistrationAssignmentsDeleteFuture = original.RegistrationAssignmentsDeleteFuture
+type RegistrationDefinition = original.RegistrationDefinition
+type RegistrationDefinitionList = original.RegistrationDefinitionList
+type RegistrationDefinitionListIterator = original.RegistrationDefinitionListIterator
+type RegistrationDefinitionListPage = original.RegistrationDefinitionListPage
+type RegistrationDefinitionProperties = original.RegistrationDefinitionProperties
+type RegistrationDefinitionsClient = original.RegistrationDefinitionsClient
+type RegistrationDefinitionsCreateOrUpdateFuture = original.RegistrationDefinitionsCreateOrUpdateFuture
+
+func New() BaseClient {
+ return original.New()
+}
+func NewOperationsClient() OperationsClient {
+ return original.NewOperationsClient()
+}
+func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI)
+}
+func NewRegistrationAssignmentListIterator(page RegistrationAssignmentListPage) RegistrationAssignmentListIterator {
+ return original.NewRegistrationAssignmentListIterator(page)
+}
+func NewRegistrationAssignmentListPage(getNextPage func(context.Context, RegistrationAssignmentList) (RegistrationAssignmentList, error)) RegistrationAssignmentListPage {
+ return original.NewRegistrationAssignmentListPage(getNextPage)
+}
+func NewRegistrationAssignmentsClient() RegistrationAssignmentsClient {
+ return original.NewRegistrationAssignmentsClient()
+}
+func NewRegistrationAssignmentsClientWithBaseURI(baseURI string) RegistrationAssignmentsClient {
+ return original.NewRegistrationAssignmentsClientWithBaseURI(baseURI)
+}
+func NewRegistrationDefinitionListIterator(page RegistrationDefinitionListPage) RegistrationDefinitionListIterator {
+ return original.NewRegistrationDefinitionListIterator(page)
+}
+func NewRegistrationDefinitionListPage(getNextPage func(context.Context, RegistrationDefinitionList) (RegistrationDefinitionList, error)) RegistrationDefinitionListPage {
+ return original.NewRegistrationDefinitionListPage(getNextPage)
+}
+func NewRegistrationDefinitionsClient() RegistrationDefinitionsClient {
+ return original.NewRegistrationDefinitionsClient()
+}
+func NewRegistrationDefinitionsClientWithBaseURI(baseURI string) RegistrationDefinitionsClient {
+ return original.NewRegistrationDefinitionsClientWithBaseURI(baseURI)
+}
+func NewWithBaseURI(baseURI string) BaseClient {
+ return original.NewWithBaseURI(baseURI)
+}
+func PossibleProvisioningStateValues() []ProvisioningState {
+ return original.PossibleProvisioningStateValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/preview"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/preview/network/mgmt/network/models.go b/profiles/preview/network/mgmt/network/models.go
index 576724f9ac38..b31bdeafe082 100644
--- a/profiles/preview/network/mgmt/network/models.go
+++ b/profiles/preview/network/mgmt/network/models.go
@@ -22,7 +22,7 @@ package network
import (
"context"
- original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-04-01/network"
+ original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network"
)
const (
@@ -1045,6 +1045,10 @@ type AuthorizationListResult = original.AuthorizationListResult
type AuthorizationListResultIterator = original.AuthorizationListResultIterator
type AuthorizationListResultPage = original.AuthorizationListResultPage
type AuthorizationPropertiesFormat = original.AuthorizationPropertiesFormat
+type AutoApprovedPrivateLinkService = original.AutoApprovedPrivateLinkService
+type AutoApprovedPrivateLinkServicesResult = original.AutoApprovedPrivateLinkServicesResult
+type AutoApprovedPrivateLinkServicesResultIterator = original.AutoApprovedPrivateLinkServicesResultIterator
+type AutoApprovedPrivateLinkServicesResultPage = original.AutoApprovedPrivateLinkServicesResultPage
type Availability = original.Availability
type AvailableDelegation = original.AvailableDelegation
type AvailableDelegationsClient = original.AvailableDelegationsClient
@@ -1063,7 +1067,6 @@ type AvailableProvidersListCountry = original.AvailableProvidersListCountry
type AvailableProvidersListParameters = original.AvailableProvidersListParameters
type AvailableProvidersListState = original.AvailableProvidersListState
type AvailableResourceGroupDelegationsClient = original.AvailableResourceGroupDelegationsClient
-type AvailableResourceGroupPrivateEndpointTypesClient = original.AvailableResourceGroupPrivateEndpointTypesClient
type AzureAsyncOperationResult = original.AzureAsyncOperationResult
type AzureFirewall = original.AzureFirewall
type AzureFirewallApplicationRule = original.AzureFirewallApplicationRule
@@ -1121,6 +1124,7 @@ type BgpServiceCommunityListResultIterator = original.BgpServiceCommunityListRes
type BgpServiceCommunityListResultPage = original.BgpServiceCommunityListResultPage
type BgpServiceCommunityPropertiesFormat = original.BgpServiceCommunityPropertiesFormat
type BgpSettings = original.BgpSettings
+type CheckPrivateLinkServiceVisibilityRequest = original.CheckPrivateLinkServiceVisibilityRequest
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type ConfigurationDiagnosticParameters = original.ConfigurationDiagnosticParameters
@@ -1389,6 +1393,12 @@ type ListVpnConnectionsResultPage = original.ListVpnConnectionsResultPage
type ListVpnGatewaysResult = original.ListVpnGatewaysResult
type ListVpnGatewaysResultIterator = original.ListVpnGatewaysResultIterator
type ListVpnGatewaysResultPage = original.ListVpnGatewaysResultPage
+type ListVpnSiteLinkConnectionsResult = original.ListVpnSiteLinkConnectionsResult
+type ListVpnSiteLinkConnectionsResultIterator = original.ListVpnSiteLinkConnectionsResultIterator
+type ListVpnSiteLinkConnectionsResultPage = original.ListVpnSiteLinkConnectionsResultPage
+type ListVpnSiteLinksResult = original.ListVpnSiteLinksResult
+type ListVpnSiteLinksResultIterator = original.ListVpnSiteLinksResultIterator
+type ListVpnSiteLinksResultPage = original.ListVpnSiteLinksResultPage
type ListVpnSitesResult = original.ListVpnSitesResult
type ListVpnSitesResultIterator = original.ListVpnSitesResultIterator
type ListVpnSitesResultPage = original.ListVpnSitesResultPage
@@ -1529,6 +1539,7 @@ type PrivateLinkServiceListResultPage = original.PrivateLinkServiceListResultPag
type PrivateLinkServiceProperties = original.PrivateLinkServiceProperties
type PrivateLinkServicePropertiesAutoApproval = original.PrivateLinkServicePropertiesAutoApproval
type PrivateLinkServicePropertiesVisibility = original.PrivateLinkServicePropertiesVisibility
+type PrivateLinkServiceVisibility = original.PrivateLinkServiceVisibility
type PrivateLinkServicesClient = original.PrivateLinkServicesClient
type PrivateLinkServicesCreateOrUpdateFuture = original.PrivateLinkServicesCreateOrUpdateFuture
type PrivateLinkServicesDeleteFuture = original.PrivateLinkServicesDeleteFuture
@@ -1803,9 +1814,18 @@ type VpnGatewaysCreateOrUpdateFuture = original.VpnGatewaysCreateOrUpdateFuture
type VpnGatewaysDeleteFuture = original.VpnGatewaysDeleteFuture
type VpnGatewaysResetFuture = original.VpnGatewaysResetFuture
type VpnGatewaysUpdateTagsFuture = original.VpnGatewaysUpdateTagsFuture
+type VpnLinkBgpSettings = original.VpnLinkBgpSettings
+type VpnLinkConnectionsClient = original.VpnLinkConnectionsClient
+type VpnLinkProviderProperties = original.VpnLinkProviderProperties
type VpnProfileResponse = original.VpnProfileResponse
type VpnSite = original.VpnSite
type VpnSiteID = original.VpnSiteID
+type VpnSiteLink = original.VpnSiteLink
+type VpnSiteLinkConnection = original.VpnSiteLinkConnection
+type VpnSiteLinkConnectionProperties = original.VpnSiteLinkConnectionProperties
+type VpnSiteLinkConnectionsClient = original.VpnSiteLinkConnectionsClient
+type VpnSiteLinkProperties = original.VpnSiteLinkProperties
+type VpnSiteLinksClient = original.VpnSiteLinksClient
type VpnSiteProperties = original.VpnSiteProperties
type VpnSitesClient = original.VpnSitesClient
type VpnSitesConfigurationClient = original.VpnSitesConfigurationClient
@@ -1877,6 +1897,12 @@ func NewAuthorizationListResultIterator(page AuthorizationListResultPage) Author
func NewAuthorizationListResultPage(getNextPage func(context.Context, AuthorizationListResult) (AuthorizationListResult, error)) AuthorizationListResultPage {
return original.NewAuthorizationListResultPage(getNextPage)
}
+func NewAutoApprovedPrivateLinkServicesResultIterator(page AutoApprovedPrivateLinkServicesResultPage) AutoApprovedPrivateLinkServicesResultIterator {
+ return original.NewAutoApprovedPrivateLinkServicesResultIterator(page)
+}
+func NewAutoApprovedPrivateLinkServicesResultPage(getNextPage func(context.Context, AutoApprovedPrivateLinkServicesResult) (AutoApprovedPrivateLinkServicesResult, error)) AutoApprovedPrivateLinkServicesResultPage {
+ return original.NewAutoApprovedPrivateLinkServicesResultPage(getNextPage)
+}
func NewAvailableDelegationsClient(subscriptionID string) AvailableDelegationsClient {
return original.NewAvailableDelegationsClient(subscriptionID)
}
@@ -1913,12 +1939,6 @@ func NewAvailableResourceGroupDelegationsClient(subscriptionID string) Available
func NewAvailableResourceGroupDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableResourceGroupDelegationsClient {
return original.NewAvailableResourceGroupDelegationsClientWithBaseURI(baseURI, subscriptionID)
}
-func NewAvailableResourceGroupPrivateEndpointTypesClient(subscriptionID string) AvailableResourceGroupPrivateEndpointTypesClient {
- return original.NewAvailableResourceGroupPrivateEndpointTypesClient(subscriptionID)
-}
-func NewAvailableResourceGroupPrivateEndpointTypesClientWithBaseURI(baseURI string, subscriptionID string) AvailableResourceGroupPrivateEndpointTypesClient {
- return original.NewAvailableResourceGroupPrivateEndpointTypesClientWithBaseURI(baseURI, subscriptionID)
-}
func NewAzureFirewallFqdnTagListResultIterator(page AzureFirewallFqdnTagListResultPage) AzureFirewallFqdnTagListResultIterator {
return original.NewAzureFirewallFqdnTagListResultIterator(page)
}
@@ -2237,6 +2257,18 @@ func NewListVpnGatewaysResultIterator(page ListVpnGatewaysResultPage) ListVpnGat
func NewListVpnGatewaysResultPage(getNextPage func(context.Context, ListVpnGatewaysResult) (ListVpnGatewaysResult, error)) ListVpnGatewaysResultPage {
return original.NewListVpnGatewaysResultPage(getNextPage)
}
+func NewListVpnSiteLinkConnectionsResultIterator(page ListVpnSiteLinkConnectionsResultPage) ListVpnSiteLinkConnectionsResultIterator {
+ return original.NewListVpnSiteLinkConnectionsResultIterator(page)
+}
+func NewListVpnSiteLinkConnectionsResultPage(getNextPage func(context.Context, ListVpnSiteLinkConnectionsResult) (ListVpnSiteLinkConnectionsResult, error)) ListVpnSiteLinkConnectionsResultPage {
+ return original.NewListVpnSiteLinkConnectionsResultPage(getNextPage)
+}
+func NewListVpnSiteLinksResultIterator(page ListVpnSiteLinksResultPage) ListVpnSiteLinksResultIterator {
+ return original.NewListVpnSiteLinksResultIterator(page)
+}
+func NewListVpnSiteLinksResultPage(getNextPage func(context.Context, ListVpnSiteLinksResult) (ListVpnSiteLinksResult, error)) ListVpnSiteLinksResultPage {
+ return original.NewListVpnSiteLinksResultPage(getNextPage)
+}
func NewListVpnSitesResultIterator(page ListVpnSitesResultPage) ListVpnSitesResultIterator {
return original.NewListVpnSitesResultIterator(page)
}
@@ -2681,6 +2713,24 @@ func NewVpnGatewaysClient(subscriptionID string) VpnGatewaysClient {
func NewVpnGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VpnGatewaysClient {
return original.NewVpnGatewaysClientWithBaseURI(baseURI, subscriptionID)
}
+func NewVpnLinkConnectionsClient(subscriptionID string) VpnLinkConnectionsClient {
+ return original.NewVpnLinkConnectionsClient(subscriptionID)
+}
+func NewVpnLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnLinkConnectionsClient {
+ return original.NewVpnLinkConnectionsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewVpnSiteLinkConnectionsClient(subscriptionID string) VpnSiteLinkConnectionsClient {
+ return original.NewVpnSiteLinkConnectionsClient(subscriptionID)
+}
+func NewVpnSiteLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinkConnectionsClient {
+ return original.NewVpnSiteLinkConnectionsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewVpnSiteLinksClient(subscriptionID string) VpnSiteLinksClient {
+ return original.NewVpnSiteLinksClient(subscriptionID)
+}
+func NewVpnSiteLinksClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinksClient {
+ return original.NewVpnSiteLinksClientWithBaseURI(baseURI, subscriptionID)
+}
func NewVpnSitesClient(subscriptionID string) VpnSitesClient {
return original.NewVpnSitesClient(subscriptionID)
}
diff --git a/profiles/preview/network/mgmt/network/networkapi/models.go b/profiles/preview/network/mgmt/network/networkapi/models.go
index 33d80b54d56f..b6dc4a0e532b 100644
--- a/profiles/preview/network/mgmt/network/networkapi/models.go
+++ b/profiles/preview/network/mgmt/network/networkapi/models.go
@@ -19,7 +19,7 @@
package networkapi
-import original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-04-01/network/networkapi"
+import original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/networkapi"
type ApplicationGatewaysClientAPI = original.ApplicationGatewaysClientAPI
type ApplicationSecurityGroupsClientAPI = original.ApplicationSecurityGroupsClientAPI
@@ -27,7 +27,6 @@ type AvailableDelegationsClientAPI = original.AvailableDelegationsClientAPI
type AvailableEndpointServicesClientAPI = original.AvailableEndpointServicesClientAPI
type AvailablePrivateEndpointTypesClientAPI = original.AvailablePrivateEndpointTypesClientAPI
type AvailableResourceGroupDelegationsClientAPI = original.AvailableResourceGroupDelegationsClientAPI
-type AvailableResourceGroupPrivateEndpointTypesClientAPI = original.AvailableResourceGroupPrivateEndpointTypesClientAPI
type AzureFirewallFqdnTagsClientAPI = original.AzureFirewallFqdnTagsClientAPI
type AzureFirewallsClientAPI = original.AzureFirewallsClientAPI
type BaseClientAPI = original.BaseClientAPI
@@ -96,6 +95,9 @@ type VirtualNetworksClientAPI = original.VirtualNetworksClientAPI
type VirtualWansClientAPI = original.VirtualWansClientAPI
type VpnConnectionsClientAPI = original.VpnConnectionsClientAPI
type VpnGatewaysClientAPI = original.VpnGatewaysClientAPI
+type VpnLinkConnectionsClientAPI = original.VpnLinkConnectionsClientAPI
+type VpnSiteLinkConnectionsClientAPI = original.VpnSiteLinkConnectionsClientAPI
+type VpnSiteLinksClientAPI = original.VpnSiteLinksClientAPI
type VpnSitesClientAPI = original.VpnSitesClientAPI
type VpnSitesConfigurationClientAPI = original.VpnSitesConfigurationClientAPI
type WatchersClientAPI = original.WatchersClientAPI
diff --git a/profiles/preview/preview/alertsmanagement/mgmt/alertsmanagement/models.go b/profiles/preview/preview/alertsmanagement/mgmt/alertsmanagement/models.go
index ac0313d8bbbd..32894db34ab8 100644
--- a/profiles/preview/preview/alertsmanagement/mgmt/alertsmanagement/models.go
+++ b/profiles/preview/preview/alertsmanagement/mgmt/alertsmanagement/models.go
@@ -78,6 +78,13 @@ const (
AlertsSummaryGroupByFieldsSignalType AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsSignalType
)
+type MetadataIdentifier = original.MetadataIdentifier
+
+const (
+ MetadataIdentifierAlertsMetaDataProperties MetadataIdentifier = original.MetadataIdentifierAlertsMetaDataProperties
+ MetadataIdentifierMonitorServiceList MetadataIdentifier = original.MetadataIdentifierMonitorServiceList
+)
+
type MonitorCondition = original.MonitorCondition
const (
@@ -209,11 +216,14 @@ type AlertsClient = original.AlertsClient
type AlertsList = original.AlertsList
type AlertsListIterator = original.AlertsListIterator
type AlertsListPage = original.AlertsListPage
+type AlertsMetaData = original.AlertsMetaData
+type AlertsMetaDataProperties = original.AlertsMetaDataProperties
type AlertsSummary = original.AlertsSummary
type AlertsSummaryGroup = original.AlertsSummaryGroup
type AlertsSummaryGroupItem = original.AlertsSummaryGroupItem
type BaseClient = original.BaseClient
type BasicActionRuleProperties = original.BasicActionRuleProperties
+type BasicAlertsMetaDataProperties = original.BasicAlertsMetaDataProperties
type Bool = original.Bool
type Condition = original.Condition
type Conditions = original.Conditions
@@ -222,6 +232,8 @@ type ErrorResponse = original.ErrorResponse
type ErrorResponseBody = original.ErrorResponseBody
type Essentials = original.Essentials
type ManagedResource = original.ManagedResource
+type MonitorServiceDetails = original.MonitorServiceDetails
+type MonitorServiceList = original.MonitorServiceList
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationsClient = original.OperationsClient
@@ -315,6 +327,9 @@ func PossibleAlertsSortByFieldsValues() []AlertsSortByFields {
func PossibleAlertsSummaryGroupByFieldsValues() []AlertsSummaryGroupByFields {
return original.PossibleAlertsSummaryGroupByFieldsValues()
}
+func PossibleMetadataIdentifierValues() []MetadataIdentifier {
+ return original.PossibleMetadataIdentifierValues()
+}
func PossibleMonitorConditionValues() []MonitorCondition {
return original.PossibleMonitorConditionValues()
}
diff --git a/profiles/preview/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/preview/datafactory/mgmt/datafactory/models.go
index 31198d7fd4ab..bb4c99891be0 100644
--- a/profiles/preview/preview/datafactory/mgmt/datafactory/models.go
+++ b/profiles/preview/preview/datafactory/mgmt/datafactory/models.go
@@ -394,6 +394,13 @@ const (
SparkThriftTransportProtocolSASL SparkThriftTransportProtocol = original.SparkThriftTransportProtocolSASL
)
+type SsisPackageLocationType = original.SsisPackageLocationType
+
+const (
+ File SsisPackageLocationType = original.File
+ SSISDB SsisPackageLocationType = original.SSISDB
+)
+
type SybaseAuthenticationType = original.SybaseAuthenticationType
const (
@@ -1134,9 +1141,13 @@ type SQLServerTableDataset = original.SQLServerTableDataset
type SQLServerTableDatasetTypeProperties = original.SQLServerTableDatasetTypeProperties
type SQLSink = original.SQLSink
type SQLSource = original.SQLSource
+type SSISAccessCredential = original.SSISAccessCredential
type SSISExecutionCredential = original.SSISExecutionCredential
type SSISExecutionParameter = original.SSISExecutionParameter
+type SSISLogLocation = original.SSISLogLocation
+type SSISLogLocationTypeProperties = original.SSISLogLocationTypeProperties
type SSISPackageLocation = original.SSISPackageLocation
+type SSISPackageLocationTypeProperties = original.SSISPackageLocationTypeProperties
type SSISPropertyOverride = original.SSISPropertyOverride
type SalesforceLinkedService = original.SalesforceLinkedService
type SalesforceLinkedServiceTypeProperties = original.SalesforceLinkedServiceTypeProperties
@@ -1489,6 +1500,9 @@ func PossibleSparkServerTypeValues() []SparkServerType {
func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol {
return original.PossibleSparkThriftTransportProtocolValues()
}
+func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType {
+ return original.PossibleSsisPackageLocationTypeValues()
+}
func PossibleSybaseAuthenticationTypeValues() []SybaseAuthenticationType {
return original.PossibleSybaseAuthenticationTypeValues()
}
diff --git a/profiles/preview/preview/datamigration/mgmt/datamigration/models.go b/profiles/preview/preview/datamigration/mgmt/datamigration/models.go
index 408c8b20c8de..549a17b74283 100644
--- a/profiles/preview/preview/datamigration/mgmt/datamigration/models.go
+++ b/profiles/preview/preview/datamigration/mgmt/datamigration/models.go
@@ -448,6 +448,14 @@ const (
ResultTypeBasicMigrateSchemaSQLServerSQLDbTaskOutputResultTypeSchemaErrorOutput ResultTypeBasicMigrateSchemaSQLServerSQLDbTaskOutput = original.ResultTypeBasicMigrateSchemaSQLServerSQLDbTaskOutputResultTypeSchemaErrorOutput
)
+type ResultTypeBasicMigrateSsisTaskOutput = original.ResultTypeBasicMigrateSsisTaskOutput
+
+const (
+ ResultTypeMigrateSsisTaskOutput ResultTypeBasicMigrateSsisTaskOutput = original.ResultTypeMigrateSsisTaskOutput
+ ResultTypeMigrationLevelOutput ResultTypeBasicMigrateSsisTaskOutput = original.ResultTypeMigrationLevelOutput
+ ResultTypeSsisProjectLevelOutput ResultTypeBasicMigrateSsisTaskOutput = original.ResultTypeSsisProjectLevelOutput
+)
+
type SQLSourcePlatform = original.SQLSourcePlatform
const (
@@ -517,6 +525,28 @@ const (
SeverityWarning Severity = original.SeverityWarning
)
+type SsisMigrationOverwriteOption = original.SsisMigrationOverwriteOption
+
+const (
+ Ignore SsisMigrationOverwriteOption = original.Ignore
+ Overwrite SsisMigrationOverwriteOption = original.Overwrite
+)
+
+type SsisMigrationStage = original.SsisMigrationStage
+
+const (
+ SsisMigrationStageCompleted SsisMigrationStage = original.SsisMigrationStageCompleted
+ SsisMigrationStageInitialize SsisMigrationStage = original.SsisMigrationStageInitialize
+ SsisMigrationStageInProgress SsisMigrationStage = original.SsisMigrationStageInProgress
+ SsisMigrationStageNone SsisMigrationStage = original.SsisMigrationStageNone
+)
+
+type SsisStoreType = original.SsisStoreType
+
+const (
+ SsisCatalog SsisStoreType = original.SsisCatalog
+)
+
type SyncDatabaseMigrationReportingState = original.SyncDatabaseMigrationReportingState
const (
@@ -575,6 +605,8 @@ const (
TaskTypeConnectToTargetSQLDbSync TaskType = original.TaskTypeConnectToTargetSQLDbSync
TaskTypeGetTDECertificatesSQL TaskType = original.TaskTypeGetTDECertificatesSQL
TaskTypeGetUserTablesAzureSQLDbSync TaskType = original.TaskTypeGetUserTablesAzureSQLDbSync
+ TaskTypeGetUserTablesOracle TaskType = original.TaskTypeGetUserTablesOracle
+ TaskTypeGetUserTablesPostgreSQL TaskType = original.TaskTypeGetUserTablesPostgreSQL
TaskTypeGetUserTablesSQL TaskType = original.TaskTypeGetUserTablesSQL
TaskTypeMigrateMongoDb TaskType = original.TaskTypeMigrateMongoDb
TaskTypeMigrateMySQLAzureDbForMySQLSync TaskType = original.TaskTypeMigrateMySQLAzureDbForMySQLSync
@@ -585,6 +617,7 @@ const (
TaskTypeMigrateSQLServerAzureSQLDbMISyncLRS TaskType = original.TaskTypeMigrateSQLServerAzureSQLDbMISyncLRS
TaskTypeMigrateSQLServerAzureSQLDbSync TaskType = original.TaskTypeMigrateSQLServerAzureSQLDbSync
TaskTypeMigrateSQLServerSQLDb TaskType = original.TaskTypeMigrateSQLServerSQLDb
+ TaskTypeMigrateSsis TaskType = original.TaskTypeMigrateSsis
TaskTypeServiceCheckOCI TaskType = original.TaskTypeServiceCheckOCI
TaskTypeServiceInstallOCI TaskType = original.TaskTypeServiceInstallOCI
TaskTypeServiceUploadOCI TaskType = original.TaskTypeServiceUploadOCI
@@ -648,6 +681,7 @@ type BasicMigrateSQLServerSQLDbTaskOutput = original.BasicMigrateSQLServerSQLDbT
type BasicMigrateSQLServerSQLMISyncTaskOutput = original.BasicMigrateSQLServerSQLMISyncTaskOutput
type BasicMigrateSQLServerSQLMITaskOutput = original.BasicMigrateSQLServerSQLMITaskOutput
type BasicMigrateSchemaSQLServerSQLDbTaskOutput = original.BasicMigrateSchemaSQLServerSQLDbTaskOutput
+type BasicMigrateSsisTaskOutput = original.BasicMigrateSsisTaskOutput
type BasicProjectTaskProperties = original.BasicProjectTaskProperties
type BlobShare = original.BlobShare
type CheckOCIDriverTaskInput = original.CheckOCIDriverTaskInput
@@ -681,6 +715,7 @@ type ConnectToTargetAzureDbForPostgreSQLSyncTaskOutput = original.ConnectToTarge
type ConnectToTargetAzureDbForPostgreSQLSyncTaskProperties = original.ConnectToTargetAzureDbForPostgreSQLSyncTaskProperties
type ConnectToTargetOracleAzureDbForPostgreSQLSyncTaskInput = original.ConnectToTargetOracleAzureDbForPostgreSQLSyncTaskInput
type ConnectToTargetOracleAzureDbForPostgreSQLSyncTaskOutput = original.ConnectToTargetOracleAzureDbForPostgreSQLSyncTaskOutput
+type ConnectToTargetOracleAzureDbForPostgreSQLSyncTaskOutputDatabaseSchemaMapItem = original.ConnectToTargetOracleAzureDbForPostgreSQLSyncTaskOutputDatabaseSchemaMapItem
type ConnectToTargetOracleAzureDbForPostgreSQLSyncTaskProperties = original.ConnectToTargetOracleAzureDbForPostgreSQLSyncTaskProperties
type ConnectToTargetSQLDbTaskInput = original.ConnectToTargetSQLDbTaskInput
type ConnectToTargetSQLDbTaskOutput = original.ConnectToTargetSQLDbTaskOutput
@@ -716,6 +751,12 @@ type GetProjectDetailsNonSQLTaskInput = original.GetProjectDetailsNonSQLTaskInpu
type GetTdeCertificatesSQLTaskInput = original.GetTdeCertificatesSQLTaskInput
type GetTdeCertificatesSQLTaskOutput = original.GetTdeCertificatesSQLTaskOutput
type GetTdeCertificatesSQLTaskProperties = original.GetTdeCertificatesSQLTaskProperties
+type GetUserTablesOracleTaskInput = original.GetUserTablesOracleTaskInput
+type GetUserTablesOracleTaskOutput = original.GetUserTablesOracleTaskOutput
+type GetUserTablesOracleTaskProperties = original.GetUserTablesOracleTaskProperties
+type GetUserTablesPostgreSQLTaskInput = original.GetUserTablesPostgreSQLTaskInput
+type GetUserTablesPostgreSQLTaskOutput = original.GetUserTablesPostgreSQLTaskOutput
+type GetUserTablesPostgreSQLTaskProperties = original.GetUserTablesPostgreSQLTaskProperties
type GetUserTablesSQLSyncTaskInput = original.GetUserTablesSQLSyncTaskInput
type GetUserTablesSQLSyncTaskOutput = original.GetUserTablesSQLSyncTaskOutput
type GetUserTablesSQLSyncTaskProperties = original.GetUserTablesSQLSyncTaskProperties
@@ -798,6 +839,11 @@ type MigrateSchemaSQLServerSQLDbTaskOutputError = original.MigrateSchemaSQLServe
type MigrateSchemaSQLServerSQLDbTaskOutputMigrationLevel = original.MigrateSchemaSQLServerSQLDbTaskOutputMigrationLevel
type MigrateSchemaSQLServerSQLDbTaskProperties = original.MigrateSchemaSQLServerSQLDbTaskProperties
type MigrateSchemaSQLTaskOutputError = original.MigrateSchemaSQLTaskOutputError
+type MigrateSsisTaskInput = original.MigrateSsisTaskInput
+type MigrateSsisTaskOutput = original.MigrateSsisTaskOutput
+type MigrateSsisTaskOutputMigrationLevel = original.MigrateSsisTaskOutputMigrationLevel
+type MigrateSsisTaskOutputProjectLevel = original.MigrateSsisTaskOutputProjectLevel
+type MigrateSsisTaskProperties = original.MigrateSsisTaskProperties
type MigrateSyncCompleteCommandInput = original.MigrateSyncCompleteCommandInput
type MigrateSyncCompleteCommandOutput = original.MigrateSyncCompleteCommandOutput
type MigrateSyncCompleteCommandProperties = original.MigrateSyncCompleteCommandProperties
@@ -902,6 +948,7 @@ type ServicesDeleteFuture = original.ServicesDeleteFuture
type ServicesStartFuture = original.ServicesStartFuture
type ServicesStopFuture = original.ServicesStopFuture
type ServicesUpdateFuture = original.ServicesUpdateFuture
+type SsisMigrationInfo = original.SsisMigrationInfo
type StartMigrationScenarioServerRoleResult = original.StartMigrationScenarioServerRoleResult
type SyncMigrationDatabaseErrorEvent = original.SyncMigrationDatabaseErrorEvent
type TaskList = original.TaskList
@@ -1150,6 +1197,9 @@ func PossibleResultTypeBasicMigrateSQLServerSQLMITaskOutputValues() []ResultType
func PossibleResultTypeBasicMigrateSchemaSQLServerSQLDbTaskOutputValues() []ResultTypeBasicMigrateSchemaSQLServerSQLDbTaskOutput {
return original.PossibleResultTypeBasicMigrateSchemaSQLServerSQLDbTaskOutputValues()
}
+func PossibleResultTypeBasicMigrateSsisTaskOutputValues() []ResultTypeBasicMigrateSsisTaskOutput {
+ return original.PossibleResultTypeBasicMigrateSsisTaskOutputValues()
+}
func PossibleResultTypeValues() []ResultType {
return original.PossibleResultTypeValues()
}
@@ -1174,6 +1224,15 @@ func PossibleServiceScalabilityValues() []ServiceScalability {
func PossibleSeverityValues() []Severity {
return original.PossibleSeverityValues()
}
+func PossibleSsisMigrationOverwriteOptionValues() []SsisMigrationOverwriteOption {
+ return original.PossibleSsisMigrationOverwriteOptionValues()
+}
+func PossibleSsisMigrationStageValues() []SsisMigrationStage {
+ return original.PossibleSsisMigrationStageValues()
+}
+func PossibleSsisStoreTypeValues() []SsisStoreType {
+ return original.PossibleSsisStoreTypeValues()
+}
func PossibleSyncDatabaseMigrationReportingStateValues() []SyncDatabaseMigrationReportingState {
return original.PossibleSyncDatabaseMigrationReportingStateValues()
}
diff --git a/profiles/preview/preview/datashare/mgmt/datashare/datashareapi/models.go b/profiles/preview/preview/datashare/mgmt/datashare/datashareapi/models.go
new file mode 100644
index 000000000000..481e104647d2
--- /dev/null
+++ b/profiles/preview/preview/datashare/mgmt/datashare/datashareapi/models.go
@@ -0,0 +1,35 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package datashareapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/preview/datashare/mgmt/2018-11-01-preview/datashare/datashareapi"
+
+type AccountsClientAPI = original.AccountsClientAPI
+type ConsumerInvitationsClientAPI = original.ConsumerInvitationsClientAPI
+type ConsumerSourceDataSetsClientAPI = original.ConsumerSourceDataSetsClientAPI
+type DataSetMappingsClientAPI = original.DataSetMappingsClientAPI
+type DataSetsClientAPI = original.DataSetsClientAPI
+type InvitationsClientAPI = original.InvitationsClientAPI
+type OperationsClientAPI = original.OperationsClientAPI
+type ProviderShareSubscriptionsClientAPI = original.ProviderShareSubscriptionsClientAPI
+type ShareSubscriptionsClientAPI = original.ShareSubscriptionsClientAPI
+type SharesClientAPI = original.SharesClientAPI
+type SynchronizationSettingsClientAPI = original.SynchronizationSettingsClientAPI
+type TriggersClientAPI = original.TriggersClientAPI
diff --git a/profiles/preview/preview/datashare/mgmt/datashare/models.go b/profiles/preview/preview/datashare/mgmt/datashare/models.go
new file mode 100644
index 000000000000..1de16e97db28
--- /dev/null
+++ b/profiles/preview/preview/datashare/mgmt/datashare/models.go
@@ -0,0 +1,551 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package datashare
+
+import (
+ "context"
+
+ original "github.com/Azure/azure-sdk-for-go/services/preview/datashare/mgmt/2018-11-01-preview/datashare"
+)
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type DataSetMappingStatus = original.DataSetMappingStatus
+
+const (
+ Broken DataSetMappingStatus = original.Broken
+ Ok DataSetMappingStatus = original.Ok
+)
+
+type DataSetType = original.DataSetType
+
+const (
+ AdlsGen1File DataSetType = original.AdlsGen1File
+ AdlsGen1Folder DataSetType = original.AdlsGen1Folder
+ AdlsGen2File DataSetType = original.AdlsGen2File
+ AdlsGen2FileSystem DataSetType = original.AdlsGen2FileSystem
+ AdlsGen2Folder DataSetType = original.AdlsGen2Folder
+ Blob DataSetType = original.Blob
+ BlobFolder DataSetType = original.BlobFolder
+ Container DataSetType = original.Container
+)
+
+type InvitationStatus = original.InvitationStatus
+
+const (
+ Accepted InvitationStatus = original.Accepted
+ Pending InvitationStatus = original.Pending
+ Rejected InvitationStatus = original.Rejected
+ Withdrawn InvitationStatus = original.Withdrawn
+)
+
+type Kind = original.Kind
+
+const (
+ KindAdlsGen1File Kind = original.KindAdlsGen1File
+ KindAdlsGen1Folder Kind = original.KindAdlsGen1Folder
+ KindAdlsGen2File Kind = original.KindAdlsGen2File
+ KindAdlsGen2FileSystem Kind = original.KindAdlsGen2FileSystem
+ KindAdlsGen2Folder Kind = original.KindAdlsGen2Folder
+ KindBlob Kind = original.KindBlob
+ KindBlobFolder Kind = original.KindBlobFolder
+ KindContainer Kind = original.KindContainer
+ KindDataSet Kind = original.KindDataSet
+)
+
+type KindBasicDataSetMapping = original.KindBasicDataSetMapping
+
+const (
+ KindBasicDataSetMappingKindAdlsGen2File KindBasicDataSetMapping = original.KindBasicDataSetMappingKindAdlsGen2File
+ KindBasicDataSetMappingKindAdlsGen2FileSystem KindBasicDataSetMapping = original.KindBasicDataSetMappingKindAdlsGen2FileSystem
+ KindBasicDataSetMappingKindAdlsGen2Folder KindBasicDataSetMapping = original.KindBasicDataSetMappingKindAdlsGen2Folder
+ KindBasicDataSetMappingKindBlob KindBasicDataSetMapping = original.KindBasicDataSetMappingKindBlob
+ KindBasicDataSetMappingKindBlobFolder KindBasicDataSetMapping = original.KindBasicDataSetMappingKindBlobFolder
+ KindBasicDataSetMappingKindContainer KindBasicDataSetMapping = original.KindBasicDataSetMappingKindContainer
+ KindBasicDataSetMappingKindDataSetMapping KindBasicDataSetMapping = original.KindBasicDataSetMappingKindDataSetMapping
+)
+
+type KindBasicSourceShareSynchronizationSetting = original.KindBasicSourceShareSynchronizationSetting
+
+const (
+ KindScheduleBased KindBasicSourceShareSynchronizationSetting = original.KindScheduleBased
+ KindSourceShareSynchronizationSetting KindBasicSourceShareSynchronizationSetting = original.KindSourceShareSynchronizationSetting
+)
+
+type KindBasicSynchronizationSetting = original.KindBasicSynchronizationSetting
+
+const (
+ KindBasicSynchronizationSettingKindScheduleBased KindBasicSynchronizationSetting = original.KindBasicSynchronizationSettingKindScheduleBased
+ KindBasicSynchronizationSettingKindSynchronizationSetting KindBasicSynchronizationSetting = original.KindBasicSynchronizationSettingKindSynchronizationSetting
+)
+
+type KindBasicTrigger = original.KindBasicTrigger
+
+const (
+ KindBasicTriggerKindScheduleBased KindBasicTrigger = original.KindBasicTriggerKindScheduleBased
+ KindBasicTriggerKindTrigger KindBasicTrigger = original.KindBasicTriggerKindTrigger
+)
+
+type ProvisioningState = original.ProvisioningState
+
+const (
+ Creating ProvisioningState = original.Creating
+ Deleting ProvisioningState = original.Deleting
+ Failed ProvisioningState = original.Failed
+ Moving ProvisioningState = original.Moving
+ Succeeded ProvisioningState = original.Succeeded
+)
+
+type RecurrenceInterval = original.RecurrenceInterval
+
+const (
+ Day RecurrenceInterval = original.Day
+ Hour RecurrenceInterval = original.Hour
+)
+
+type ShareKind = original.ShareKind
+
+const (
+ CopyBased ShareKind = original.CopyBased
+)
+
+type ShareSubscriptionStatus = original.ShareSubscriptionStatus
+
+const (
+ Active ShareSubscriptionStatus = original.Active
+ Revoked ShareSubscriptionStatus = original.Revoked
+ Revoking ShareSubscriptionStatus = original.Revoking
+ SourceDeleted ShareSubscriptionStatus = original.SourceDeleted
+)
+
+type Status = original.Status
+
+const (
+ StatusAccepted Status = original.StatusAccepted
+ StatusCanceled Status = original.StatusCanceled
+ StatusFailed Status = original.StatusFailed
+ StatusInProgress Status = original.StatusInProgress
+ StatusSucceeded Status = original.StatusSucceeded
+ StatusTransientFailure Status = original.StatusTransientFailure
+)
+
+type SynchronizationMode = original.SynchronizationMode
+
+const (
+ FullSync SynchronizationMode = original.FullSync
+ Incremental SynchronizationMode = original.Incremental
+)
+
+type TriggerStatus = original.TriggerStatus
+
+const (
+ TriggerStatusActive TriggerStatus = original.TriggerStatusActive
+ TriggerStatusInactive TriggerStatus = original.TriggerStatusInactive
+ TriggerStatusSourceSynchronizationSettingDeleted TriggerStatus = original.TriggerStatusSourceSynchronizationSettingDeleted
+)
+
+type Type = original.Type
+
+const (
+ SystemAssigned Type = original.SystemAssigned
+)
+
+type ADLSGen1FileDataSet = original.ADLSGen1FileDataSet
+type ADLSGen1FileProperties = original.ADLSGen1FileProperties
+type ADLSGen1FolderDataSet = original.ADLSGen1FolderDataSet
+type ADLSGen1FolderProperties = original.ADLSGen1FolderProperties
+type ADLSGen2FileDataSet = original.ADLSGen2FileDataSet
+type ADLSGen2FileDataSetMapping = original.ADLSGen2FileDataSetMapping
+type ADLSGen2FileDataSetMappingProperties = original.ADLSGen2FileDataSetMappingProperties
+type ADLSGen2FileProperties = original.ADLSGen2FileProperties
+type ADLSGen2FileSystemDataSet = original.ADLSGen2FileSystemDataSet
+type ADLSGen2FileSystemDataSetMapping = original.ADLSGen2FileSystemDataSetMapping
+type ADLSGen2FileSystemDataSetMappingProperties = original.ADLSGen2FileSystemDataSetMappingProperties
+type ADLSGen2FileSystemProperties = original.ADLSGen2FileSystemProperties
+type ADLSGen2FolderDataSet = original.ADLSGen2FolderDataSet
+type ADLSGen2FolderDataSetMapping = original.ADLSGen2FolderDataSetMapping
+type ADLSGen2FolderDataSetMappingProperties = original.ADLSGen2FolderDataSetMappingProperties
+type ADLSGen2FolderProperties = original.ADLSGen2FolderProperties
+type Account = original.Account
+type AccountList = original.AccountList
+type AccountListIterator = original.AccountListIterator
+type AccountListPage = original.AccountListPage
+type AccountProperties = original.AccountProperties
+type AccountUpdateParameters = original.AccountUpdateParameters
+type AccountsClient = original.AccountsClient
+type AccountsCreateFuture = original.AccountsCreateFuture
+type AccountsDeleteFuture = original.AccountsDeleteFuture
+type BaseClient = original.BaseClient
+type BasicDataSet = original.BasicDataSet
+type BasicDataSetMapping = original.BasicDataSetMapping
+type BasicSourceShareSynchronizationSetting = original.BasicSourceShareSynchronizationSetting
+type BasicSynchronizationSetting = original.BasicSynchronizationSetting
+type BasicTrigger = original.BasicTrigger
+type BlobContainerDataSet = original.BlobContainerDataSet
+type BlobContainerDataSetMapping = original.BlobContainerDataSetMapping
+type BlobContainerMappingProperties = original.BlobContainerMappingProperties
+type BlobContainerProperties = original.BlobContainerProperties
+type BlobDataSet = original.BlobDataSet
+type BlobDataSetMapping = original.BlobDataSetMapping
+type BlobFolderDataSet = original.BlobFolderDataSet
+type BlobFolderDataSetMapping = original.BlobFolderDataSetMapping
+type BlobFolderMappingProperties = original.BlobFolderMappingProperties
+type BlobFolderProperties = original.BlobFolderProperties
+type BlobMappingProperties = original.BlobMappingProperties
+type BlobProperties = original.BlobProperties
+type ConsumerInvitation = original.ConsumerInvitation
+type ConsumerInvitationList = original.ConsumerInvitationList
+type ConsumerInvitationListIterator = original.ConsumerInvitationListIterator
+type ConsumerInvitationListPage = original.ConsumerInvitationListPage
+type ConsumerInvitationProperties = original.ConsumerInvitationProperties
+type ConsumerInvitationsClient = original.ConsumerInvitationsClient
+type ConsumerSourceDataSet = original.ConsumerSourceDataSet
+type ConsumerSourceDataSetList = original.ConsumerSourceDataSetList
+type ConsumerSourceDataSetListIterator = original.ConsumerSourceDataSetListIterator
+type ConsumerSourceDataSetListPage = original.ConsumerSourceDataSetListPage
+type ConsumerSourceDataSetProperties = original.ConsumerSourceDataSetProperties
+type ConsumerSourceDataSetsClient = original.ConsumerSourceDataSetsClient
+type DataSet = original.DataSet
+type DataSetList = original.DataSetList
+type DataSetListIterator = original.DataSetListIterator
+type DataSetListPage = original.DataSetListPage
+type DataSetMapping = original.DataSetMapping
+type DataSetMappingList = original.DataSetMappingList
+type DataSetMappingListIterator = original.DataSetMappingListIterator
+type DataSetMappingListPage = original.DataSetMappingListPage
+type DataSetMappingModel = original.DataSetMappingModel
+type DataSetMappingsClient = original.DataSetMappingsClient
+type DataSetModel = original.DataSetModel
+type DataSetsClient = original.DataSetsClient
+type DefaultDto = original.DefaultDto
+type DimensionProperties = original.DimensionProperties
+type Error = original.Error
+type ErrorInfo = original.ErrorInfo
+type Identity = original.Identity
+type Invitation = original.Invitation
+type InvitationList = original.InvitationList
+type InvitationListIterator = original.InvitationListIterator
+type InvitationListPage = original.InvitationListPage
+type InvitationProperties = original.InvitationProperties
+type InvitationsClient = original.InvitationsClient
+type OperationList = original.OperationList
+type OperationListIterator = original.OperationListIterator
+type OperationListPage = original.OperationListPage
+type OperationMetaLogSpecification = original.OperationMetaLogSpecification
+type OperationMetaMetricSpecification = original.OperationMetaMetricSpecification
+type OperationMetaPropertyInfo = original.OperationMetaPropertyInfo
+type OperationMetaServiceSpecification = original.OperationMetaServiceSpecification
+type OperationModel = original.OperationModel
+type OperationModelProperties = original.OperationModelProperties
+type OperationResponse = original.OperationResponse
+type OperationsClient = original.OperationsClient
+type ProviderShareSubscription = original.ProviderShareSubscription
+type ProviderShareSubscriptionList = original.ProviderShareSubscriptionList
+type ProviderShareSubscriptionListIterator = original.ProviderShareSubscriptionListIterator
+type ProviderShareSubscriptionListPage = original.ProviderShareSubscriptionListPage
+type ProviderShareSubscriptionProperties = original.ProviderShareSubscriptionProperties
+type ProviderShareSubscriptionsClient = original.ProviderShareSubscriptionsClient
+type ProviderShareSubscriptionsRevokeFuture = original.ProviderShareSubscriptionsRevokeFuture
+type ProxyDto = original.ProxyDto
+type ScheduledSourceShareSynchronizationSettingProperties = original.ScheduledSourceShareSynchronizationSettingProperties
+type ScheduledSourceSynchronizationSetting = original.ScheduledSourceSynchronizationSetting
+type ScheduledSynchronizationSetting = original.ScheduledSynchronizationSetting
+type ScheduledSynchronizationSettingProperties = original.ScheduledSynchronizationSettingProperties
+type ScheduledTrigger = original.ScheduledTrigger
+type ScheduledTriggerProperties = original.ScheduledTriggerProperties
+type Share = original.Share
+type ShareList = original.ShareList
+type ShareListIterator = original.ShareListIterator
+type ShareListPage = original.ShareListPage
+type ShareProperties = original.ShareProperties
+type ShareSubscription = original.ShareSubscription
+type ShareSubscriptionList = original.ShareSubscriptionList
+type ShareSubscriptionListIterator = original.ShareSubscriptionListIterator
+type ShareSubscriptionListPage = original.ShareSubscriptionListPage
+type ShareSubscriptionProperties = original.ShareSubscriptionProperties
+type ShareSubscriptionSynchronization = original.ShareSubscriptionSynchronization
+type ShareSubscriptionSynchronizationList = original.ShareSubscriptionSynchronizationList
+type ShareSubscriptionSynchronizationListIterator = original.ShareSubscriptionSynchronizationListIterator
+type ShareSubscriptionSynchronizationListPage = original.ShareSubscriptionSynchronizationListPage
+type ShareSubscriptionsCancelSynchronizationFuture = original.ShareSubscriptionsCancelSynchronizationFuture
+type ShareSubscriptionsClient = original.ShareSubscriptionsClient
+type ShareSubscriptionsDeleteFuture = original.ShareSubscriptionsDeleteFuture
+type ShareSubscriptionsSynchronizeMethodFuture = original.ShareSubscriptionsSynchronizeMethodFuture
+type ShareSynchronization = original.ShareSynchronization
+type ShareSynchronizationList = original.ShareSynchronizationList
+type ShareSynchronizationListIterator = original.ShareSynchronizationListIterator
+type ShareSynchronizationListPage = original.ShareSynchronizationListPage
+type SharesClient = original.SharesClient
+type SharesDeleteFuture = original.SharesDeleteFuture
+type SourceShareSynchronizationSetting = original.SourceShareSynchronizationSetting
+type SourceShareSynchronizationSettingList = original.SourceShareSynchronizationSettingList
+type SourceShareSynchronizationSettingListIterator = original.SourceShareSynchronizationSettingListIterator
+type SourceShareSynchronizationSettingListPage = original.SourceShareSynchronizationSettingListPage
+type SynchronizationDetails = original.SynchronizationDetails
+type SynchronizationDetailsList = original.SynchronizationDetailsList
+type SynchronizationDetailsListIterator = original.SynchronizationDetailsListIterator
+type SynchronizationDetailsListPage = original.SynchronizationDetailsListPage
+type SynchronizationSetting = original.SynchronizationSetting
+type SynchronizationSettingList = original.SynchronizationSettingList
+type SynchronizationSettingListIterator = original.SynchronizationSettingListIterator
+type SynchronizationSettingListPage = original.SynchronizationSettingListPage
+type SynchronizationSettingModel = original.SynchronizationSettingModel
+type SynchronizationSettingsClient = original.SynchronizationSettingsClient
+type SynchronizationSettingsDeleteFuture = original.SynchronizationSettingsDeleteFuture
+type Synchronize = original.Synchronize
+type Trigger = original.Trigger
+type TriggerList = original.TriggerList
+type TriggerListIterator = original.TriggerListIterator
+type TriggerListPage = original.TriggerListPage
+type TriggerModel = original.TriggerModel
+type TriggersClient = original.TriggersClient
+type TriggersCreateFuture = original.TriggersCreateFuture
+type TriggersDeleteFuture = original.TriggersDeleteFuture
+
+func New(subscriptionID string) BaseClient {
+ return original.New(subscriptionID)
+}
+func NewAccountListIterator(page AccountListPage) AccountListIterator {
+ return original.NewAccountListIterator(page)
+}
+func NewAccountListPage(getNextPage func(context.Context, AccountList) (AccountList, error)) AccountListPage {
+ return original.NewAccountListPage(getNextPage)
+}
+func NewAccountsClient(subscriptionID string) AccountsClient {
+ return original.NewAccountsClient(subscriptionID)
+}
+func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
+ return original.NewAccountsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewConsumerInvitationListIterator(page ConsumerInvitationListPage) ConsumerInvitationListIterator {
+ return original.NewConsumerInvitationListIterator(page)
+}
+func NewConsumerInvitationListPage(getNextPage func(context.Context, ConsumerInvitationList) (ConsumerInvitationList, error)) ConsumerInvitationListPage {
+ return original.NewConsumerInvitationListPage(getNextPage)
+}
+func NewConsumerInvitationsClient(subscriptionID string) ConsumerInvitationsClient {
+ return original.NewConsumerInvitationsClient(subscriptionID)
+}
+func NewConsumerInvitationsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerInvitationsClient {
+ return original.NewConsumerInvitationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewConsumerSourceDataSetListIterator(page ConsumerSourceDataSetListPage) ConsumerSourceDataSetListIterator {
+ return original.NewConsumerSourceDataSetListIterator(page)
+}
+func NewConsumerSourceDataSetListPage(getNextPage func(context.Context, ConsumerSourceDataSetList) (ConsumerSourceDataSetList, error)) ConsumerSourceDataSetListPage {
+ return original.NewConsumerSourceDataSetListPage(getNextPage)
+}
+func NewConsumerSourceDataSetsClient(subscriptionID string) ConsumerSourceDataSetsClient {
+ return original.NewConsumerSourceDataSetsClient(subscriptionID)
+}
+func NewConsumerSourceDataSetsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerSourceDataSetsClient {
+ return original.NewConsumerSourceDataSetsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewDataSetListIterator(page DataSetListPage) DataSetListIterator {
+ return original.NewDataSetListIterator(page)
+}
+func NewDataSetListPage(getNextPage func(context.Context, DataSetList) (DataSetList, error)) DataSetListPage {
+ return original.NewDataSetListPage(getNextPage)
+}
+func NewDataSetMappingListIterator(page DataSetMappingListPage) DataSetMappingListIterator {
+ return original.NewDataSetMappingListIterator(page)
+}
+func NewDataSetMappingListPage(getNextPage func(context.Context, DataSetMappingList) (DataSetMappingList, error)) DataSetMappingListPage {
+ return original.NewDataSetMappingListPage(getNextPage)
+}
+func NewDataSetMappingsClient(subscriptionID string) DataSetMappingsClient {
+ return original.NewDataSetMappingsClient(subscriptionID)
+}
+func NewDataSetMappingsClientWithBaseURI(baseURI string, subscriptionID string) DataSetMappingsClient {
+ return original.NewDataSetMappingsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewDataSetsClient(subscriptionID string) DataSetsClient {
+ return original.NewDataSetsClient(subscriptionID)
+}
+func NewDataSetsClientWithBaseURI(baseURI string, subscriptionID string) DataSetsClient {
+ return original.NewDataSetsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewInvitationListIterator(page InvitationListPage) InvitationListIterator {
+ return original.NewInvitationListIterator(page)
+}
+func NewInvitationListPage(getNextPage func(context.Context, InvitationList) (InvitationList, error)) InvitationListPage {
+ return original.NewInvitationListPage(getNextPage)
+}
+func NewInvitationsClient(subscriptionID string) InvitationsClient {
+ return original.NewInvitationsClient(subscriptionID)
+}
+func NewInvitationsClientWithBaseURI(baseURI string, subscriptionID string) InvitationsClient {
+ return original.NewInvitationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewOperationListIterator(page OperationListPage) OperationListIterator {
+ return original.NewOperationListIterator(page)
+}
+func NewOperationListPage(getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage {
+ return original.NewOperationListPage(getNextPage)
+}
+func NewOperationsClient(subscriptionID string) OperationsClient {
+ return original.NewOperationsClient(subscriptionID)
+}
+func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewProviderShareSubscriptionListIterator(page ProviderShareSubscriptionListPage) ProviderShareSubscriptionListIterator {
+ return original.NewProviderShareSubscriptionListIterator(page)
+}
+func NewProviderShareSubscriptionListPage(getNextPage func(context.Context, ProviderShareSubscriptionList) (ProviderShareSubscriptionList, error)) ProviderShareSubscriptionListPage {
+ return original.NewProviderShareSubscriptionListPage(getNextPage)
+}
+func NewProviderShareSubscriptionsClient(subscriptionID string) ProviderShareSubscriptionsClient {
+ return original.NewProviderShareSubscriptionsClient(subscriptionID)
+}
+func NewProviderShareSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) ProviderShareSubscriptionsClient {
+ return original.NewProviderShareSubscriptionsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewShareListIterator(page ShareListPage) ShareListIterator {
+ return original.NewShareListIterator(page)
+}
+func NewShareListPage(getNextPage func(context.Context, ShareList) (ShareList, error)) ShareListPage {
+ return original.NewShareListPage(getNextPage)
+}
+func NewShareSubscriptionListIterator(page ShareSubscriptionListPage) ShareSubscriptionListIterator {
+ return original.NewShareSubscriptionListIterator(page)
+}
+func NewShareSubscriptionListPage(getNextPage func(context.Context, ShareSubscriptionList) (ShareSubscriptionList, error)) ShareSubscriptionListPage {
+ return original.NewShareSubscriptionListPage(getNextPage)
+}
+func NewShareSubscriptionSynchronizationListIterator(page ShareSubscriptionSynchronizationListPage) ShareSubscriptionSynchronizationListIterator {
+ return original.NewShareSubscriptionSynchronizationListIterator(page)
+}
+func NewShareSubscriptionSynchronizationListPage(getNextPage func(context.Context, ShareSubscriptionSynchronizationList) (ShareSubscriptionSynchronizationList, error)) ShareSubscriptionSynchronizationListPage {
+ return original.NewShareSubscriptionSynchronizationListPage(getNextPage)
+}
+func NewShareSubscriptionsClient(subscriptionID string) ShareSubscriptionsClient {
+ return original.NewShareSubscriptionsClient(subscriptionID)
+}
+func NewShareSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) ShareSubscriptionsClient {
+ return original.NewShareSubscriptionsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewShareSynchronizationListIterator(page ShareSynchronizationListPage) ShareSynchronizationListIterator {
+ return original.NewShareSynchronizationListIterator(page)
+}
+func NewShareSynchronizationListPage(getNextPage func(context.Context, ShareSynchronizationList) (ShareSynchronizationList, error)) ShareSynchronizationListPage {
+ return original.NewShareSynchronizationListPage(getNextPage)
+}
+func NewSharesClient(subscriptionID string) SharesClient {
+ return original.NewSharesClient(subscriptionID)
+}
+func NewSharesClientWithBaseURI(baseURI string, subscriptionID string) SharesClient {
+ return original.NewSharesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewSourceShareSynchronizationSettingListIterator(page SourceShareSynchronizationSettingListPage) SourceShareSynchronizationSettingListIterator {
+ return original.NewSourceShareSynchronizationSettingListIterator(page)
+}
+func NewSourceShareSynchronizationSettingListPage(getNextPage func(context.Context, SourceShareSynchronizationSettingList) (SourceShareSynchronizationSettingList, error)) SourceShareSynchronizationSettingListPage {
+ return original.NewSourceShareSynchronizationSettingListPage(getNextPage)
+}
+func NewSynchronizationDetailsListIterator(page SynchronizationDetailsListPage) SynchronizationDetailsListIterator {
+ return original.NewSynchronizationDetailsListIterator(page)
+}
+func NewSynchronizationDetailsListPage(getNextPage func(context.Context, SynchronizationDetailsList) (SynchronizationDetailsList, error)) SynchronizationDetailsListPage {
+ return original.NewSynchronizationDetailsListPage(getNextPage)
+}
+func NewSynchronizationSettingListIterator(page SynchronizationSettingListPage) SynchronizationSettingListIterator {
+ return original.NewSynchronizationSettingListIterator(page)
+}
+func NewSynchronizationSettingListPage(getNextPage func(context.Context, SynchronizationSettingList) (SynchronizationSettingList, error)) SynchronizationSettingListPage {
+ return original.NewSynchronizationSettingListPage(getNextPage)
+}
+func NewSynchronizationSettingsClient(subscriptionID string) SynchronizationSettingsClient {
+ return original.NewSynchronizationSettingsClient(subscriptionID)
+}
+func NewSynchronizationSettingsClientWithBaseURI(baseURI string, subscriptionID string) SynchronizationSettingsClient {
+ return original.NewSynchronizationSettingsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewTriggerListIterator(page TriggerListPage) TriggerListIterator {
+ return original.NewTriggerListIterator(page)
+}
+func NewTriggerListPage(getNextPage func(context.Context, TriggerList) (TriggerList, error)) TriggerListPage {
+ return original.NewTriggerListPage(getNextPage)
+}
+func NewTriggersClient(subscriptionID string) TriggersClient {
+ return original.NewTriggersClient(subscriptionID)
+}
+func NewTriggersClientWithBaseURI(baseURI string, subscriptionID string) TriggersClient {
+ return original.NewTriggersClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
+ return original.NewWithBaseURI(baseURI, subscriptionID)
+}
+func PossibleDataSetMappingStatusValues() []DataSetMappingStatus {
+ return original.PossibleDataSetMappingStatusValues()
+}
+func PossibleDataSetTypeValues() []DataSetType {
+ return original.PossibleDataSetTypeValues()
+}
+func PossibleInvitationStatusValues() []InvitationStatus {
+ return original.PossibleInvitationStatusValues()
+}
+func PossibleKindBasicDataSetMappingValues() []KindBasicDataSetMapping {
+ return original.PossibleKindBasicDataSetMappingValues()
+}
+func PossibleKindBasicSourceShareSynchronizationSettingValues() []KindBasicSourceShareSynchronizationSetting {
+ return original.PossibleKindBasicSourceShareSynchronizationSettingValues()
+}
+func PossibleKindBasicSynchronizationSettingValues() []KindBasicSynchronizationSetting {
+ return original.PossibleKindBasicSynchronizationSettingValues()
+}
+func PossibleKindBasicTriggerValues() []KindBasicTrigger {
+ return original.PossibleKindBasicTriggerValues()
+}
+func PossibleKindValues() []Kind {
+ return original.PossibleKindValues()
+}
+func PossibleProvisioningStateValues() []ProvisioningState {
+ return original.PossibleProvisioningStateValues()
+}
+func PossibleRecurrenceIntervalValues() []RecurrenceInterval {
+ return original.PossibleRecurrenceIntervalValues()
+}
+func PossibleShareKindValues() []ShareKind {
+ return original.PossibleShareKindValues()
+}
+func PossibleShareSubscriptionStatusValues() []ShareSubscriptionStatus {
+ return original.PossibleShareSubscriptionStatusValues()
+}
+func PossibleStatusValues() []Status {
+ return original.PossibleStatusValues()
+}
+func PossibleSynchronizationModeValues() []SynchronizationMode {
+ return original.PossibleSynchronizationModeValues()
+}
+func PossibleTriggerStatusValues() []TriggerStatus {
+ return original.PossibleTriggerStatusValues()
+}
+func PossibleTypeValues() []Type {
+ return original.PossibleTypeValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/preview"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/preview/preview/devops/mgmt/devops/devopsapi/models.go b/profiles/preview/preview/devops/mgmt/devops/devopsapi/models.go
new file mode 100644
index 000000000000..48c25bc90d06
--- /dev/null
+++ b/profiles/preview/preview/devops/mgmt/devops/devopsapi/models.go
@@ -0,0 +1,26 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package devopsapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/preview/devops/mgmt/2019-07-01-preview/devops/devopsapi"
+
+type OperationsClientAPI = original.OperationsClientAPI
+type PipelineTemplateDefinitionsClientAPI = original.PipelineTemplateDefinitionsClientAPI
+type PipelinesClientAPI = original.PipelinesClientAPI
diff --git a/profiles/preview/preview/devops/mgmt/devops/models.go b/profiles/preview/preview/devops/mgmt/devops/models.go
new file mode 100644
index 000000000000..5d677ca28cd9
--- /dev/null
+++ b/profiles/preview/preview/devops/mgmt/devops/models.go
@@ -0,0 +1,134 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package devops
+
+import (
+ "context"
+
+ original "github.com/Azure/azure-sdk-for-go/services/preview/devops/mgmt/2019-07-01-preview/devops"
+)
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type CodeRepositoryType = original.CodeRepositoryType
+
+const (
+ GitHub CodeRepositoryType = original.GitHub
+ VstsGit CodeRepositoryType = original.VstsGit
+)
+
+type InputDataType = original.InputDataType
+
+const (
+ InputDataTypeAuthorization InputDataType = original.InputDataTypeAuthorization
+ InputDataTypeBool InputDataType = original.InputDataTypeBool
+ InputDataTypeInt InputDataType = original.InputDataTypeInt
+ InputDataTypeSecureString InputDataType = original.InputDataTypeSecureString
+ InputDataTypeString InputDataType = original.InputDataTypeString
+)
+
+type Authorization = original.Authorization
+type BaseClient = original.BaseClient
+type BootstrapConfiguration = original.BootstrapConfiguration
+type CloudError = original.CloudError
+type CloudErrorBody = original.CloudErrorBody
+type CodeRepository = original.CodeRepository
+type InputDescriptor = original.InputDescriptor
+type InputValue = original.InputValue
+type Operation = original.Operation
+type OperationDisplayValue = original.OperationDisplayValue
+type OperationListResult = original.OperationListResult
+type OperationListResultIterator = original.OperationListResultIterator
+type OperationListResultPage = original.OperationListResultPage
+type OperationsClient = original.OperationsClient
+type OrganizationReference = original.OrganizationReference
+type Pipeline = original.Pipeline
+type PipelineListResult = original.PipelineListResult
+type PipelineListResultIterator = original.PipelineListResultIterator
+type PipelineListResultPage = original.PipelineListResultPage
+type PipelineProperties = original.PipelineProperties
+type PipelineTemplate = original.PipelineTemplate
+type PipelineTemplateDefinition = original.PipelineTemplateDefinition
+type PipelineTemplateDefinitionListResult = original.PipelineTemplateDefinitionListResult
+type PipelineTemplateDefinitionListResultIterator = original.PipelineTemplateDefinitionListResultIterator
+type PipelineTemplateDefinitionListResultPage = original.PipelineTemplateDefinitionListResultPage
+type PipelineTemplateDefinitionsClient = original.PipelineTemplateDefinitionsClient
+type PipelineUpdateParameters = original.PipelineUpdateParameters
+type PipelinesClient = original.PipelinesClient
+type PipelinesCreateOrUpdateFuture = original.PipelinesCreateOrUpdateFuture
+type ProjectReference = original.ProjectReference
+type Resource = original.Resource
+
+func New(subscriptionID string) BaseClient {
+ return original.New(subscriptionID)
+}
+func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
+ return original.NewOperationListResultIterator(page)
+}
+func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
+ return original.NewOperationListResultPage(getNextPage)
+}
+func NewOperationsClient(subscriptionID string) OperationsClient {
+ return original.NewOperationsClient(subscriptionID)
+}
+func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewPipelineListResultIterator(page PipelineListResultPage) PipelineListResultIterator {
+ return original.NewPipelineListResultIterator(page)
+}
+func NewPipelineListResultPage(getNextPage func(context.Context, PipelineListResult) (PipelineListResult, error)) PipelineListResultPage {
+ return original.NewPipelineListResultPage(getNextPage)
+}
+func NewPipelineTemplateDefinitionListResultIterator(page PipelineTemplateDefinitionListResultPage) PipelineTemplateDefinitionListResultIterator {
+ return original.NewPipelineTemplateDefinitionListResultIterator(page)
+}
+func NewPipelineTemplateDefinitionListResultPage(getNextPage func(context.Context, PipelineTemplateDefinitionListResult) (PipelineTemplateDefinitionListResult, error)) PipelineTemplateDefinitionListResultPage {
+ return original.NewPipelineTemplateDefinitionListResultPage(getNextPage)
+}
+func NewPipelineTemplateDefinitionsClient(subscriptionID string) PipelineTemplateDefinitionsClient {
+ return original.NewPipelineTemplateDefinitionsClient(subscriptionID)
+}
+func NewPipelineTemplateDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) PipelineTemplateDefinitionsClient {
+ return original.NewPipelineTemplateDefinitionsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewPipelinesClient(subscriptionID string) PipelinesClient {
+ return original.NewPipelinesClient(subscriptionID)
+}
+func NewPipelinesClientWithBaseURI(baseURI string, subscriptionID string) PipelinesClient {
+ return original.NewPipelinesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
+ return original.NewWithBaseURI(baseURI, subscriptionID)
+}
+func PossibleCodeRepositoryTypeValues() []CodeRepositoryType {
+ return original.PossibleCodeRepositoryTypeValues()
+}
+func PossibleInputDataTypeValues() []InputDataType {
+ return original.PossibleInputDataTypeValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/preview"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/preview/preview/enterpriseknowledgegraphservice/enterpriseknowledgegraphservice/enterpriseknowledgegraphserviceapi/models.go b/profiles/preview/preview/enterpriseknowledgegraphservice/enterpriseknowledgegraphservice/enterpriseknowledgegraphserviceapi/models.go
new file mode 100644
index 000000000000..d460633cd87b
--- /dev/null
+++ b/profiles/preview/preview/enterpriseknowledgegraphservice/enterpriseknowledgegraphservice/enterpriseknowledgegraphserviceapi/models.go
@@ -0,0 +1,25 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package enterpriseknowledgegraphserviceapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/preview/enterpriseknowledgegraphservice/2018-12-03/enterpriseknowledgegraphservice/enterpriseknowledgegraphserviceapi"
+
+type EnterpriseKnowledgeGraphClientAPI = original.EnterpriseKnowledgeGraphClientAPI
+type OperationsClientAPI = original.OperationsClientAPI
diff --git a/profiles/preview/preview/enterpriseknowledgegraphservice/enterpriseknowledgegraphservice/models.go b/profiles/preview/preview/enterpriseknowledgegraphservice/enterpriseknowledgegraphservice/models.go
new file mode 100644
index 000000000000..11bebf1ab1e0
--- /dev/null
+++ b/profiles/preview/preview/enterpriseknowledgegraphservice/enterpriseknowledgegraphservice/models.go
@@ -0,0 +1,107 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package enterpriseknowledgegraphservice
+
+import (
+ "context"
+
+ original "github.com/Azure/azure-sdk-for-go/services/preview/enterpriseknowledgegraphservice/2018-12-03/enterpriseknowledgegraphservice"
+)
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type ProvisioningState = original.ProvisioningState
+
+const (
+ Creating ProvisioningState = original.Creating
+ Deleting ProvisioningState = original.Deleting
+ Failed ProvisioningState = original.Failed
+ Succeeded ProvisioningState = original.Succeeded
+)
+
+type SkuName = original.SkuName
+
+const (
+ F0 SkuName = original.F0
+ S1 SkuName = original.S1
+)
+
+type BaseClient = original.BaseClient
+type EnterpriseKnowledgeGraph = original.EnterpriseKnowledgeGraph
+type EnterpriseKnowledgeGraphClient = original.EnterpriseKnowledgeGraphClient
+type EnterpriseKnowledgeGraphProperties = original.EnterpriseKnowledgeGraphProperties
+type EnterpriseKnowledgeGraphResponseList = original.EnterpriseKnowledgeGraphResponseList
+type EnterpriseKnowledgeGraphResponseListIterator = original.EnterpriseKnowledgeGraphResponseListIterator
+type EnterpriseKnowledgeGraphResponseListPage = original.EnterpriseKnowledgeGraphResponseListPage
+type Error = original.Error
+type ErrorBody = original.ErrorBody
+type OperationDisplayInfo = original.OperationDisplayInfo
+type OperationEntity = original.OperationEntity
+type OperationEntityListResult = original.OperationEntityListResult
+type OperationEntityListResultIterator = original.OperationEntityListResultIterator
+type OperationEntityListResultPage = original.OperationEntityListResultPage
+type OperationsClient = original.OperationsClient
+type Resource = original.Resource
+type Sku = original.Sku
+
+func New(subscriptionID string) BaseClient {
+ return original.New(subscriptionID)
+}
+func NewEnterpriseKnowledgeGraphClient(subscriptionID string) EnterpriseKnowledgeGraphClient {
+ return original.NewEnterpriseKnowledgeGraphClient(subscriptionID)
+}
+func NewEnterpriseKnowledgeGraphClientWithBaseURI(baseURI string, subscriptionID string) EnterpriseKnowledgeGraphClient {
+ return original.NewEnterpriseKnowledgeGraphClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewEnterpriseKnowledgeGraphResponseListIterator(page EnterpriseKnowledgeGraphResponseListPage) EnterpriseKnowledgeGraphResponseListIterator {
+ return original.NewEnterpriseKnowledgeGraphResponseListIterator(page)
+}
+func NewEnterpriseKnowledgeGraphResponseListPage(getNextPage func(context.Context, EnterpriseKnowledgeGraphResponseList) (EnterpriseKnowledgeGraphResponseList, error)) EnterpriseKnowledgeGraphResponseListPage {
+ return original.NewEnterpriseKnowledgeGraphResponseListPage(getNextPage)
+}
+func NewOperationEntityListResultIterator(page OperationEntityListResultPage) OperationEntityListResultIterator {
+ return original.NewOperationEntityListResultIterator(page)
+}
+func NewOperationEntityListResultPage(getNextPage func(context.Context, OperationEntityListResult) (OperationEntityListResult, error)) OperationEntityListResultPage {
+ return original.NewOperationEntityListResultPage(getNextPage)
+}
+func NewOperationsClient(subscriptionID string) OperationsClient {
+ return original.NewOperationsClient(subscriptionID)
+}
+func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
+ return original.NewWithBaseURI(baseURI, subscriptionID)
+}
+func PossibleProvisioningStateValues() []ProvisioningState {
+ return original.PossibleProvisioningStateValues()
+}
+func PossibleSkuNameValues() []SkuName {
+ return original.PossibleSkuNameValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/preview"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/preview/preview/healthcareapis/mgmt/healthcareapis/healthcareapisapi/models.go b/profiles/preview/preview/healthcareapis/mgmt/healthcareapis/healthcareapisapi/models.go
index 9a896de44e9f..b9470eb0791c 100644
--- a/profiles/preview/preview/healthcareapis/mgmt/healthcareapis/healthcareapisapi/models.go
+++ b/profiles/preview/preview/healthcareapis/mgmt/healthcareapis/healthcareapisapi/models.go
@@ -21,7 +21,6 @@ package healthcareapisapi
import original "github.com/Azure/azure-sdk-for-go/services/preview/healthcareapis/mgmt/2018-08-20-preview/healthcareapis/healthcareapisapi"
-type MoveResourcesStatusClientAPI = original.MoveResourcesStatusClientAPI
type OperationResultsClientAPI = original.OperationResultsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type ServicesClientAPI = original.ServicesClientAPI
diff --git a/profiles/preview/preview/healthcareapis/mgmt/healthcareapis/models.go b/profiles/preview/preview/healthcareapis/mgmt/healthcareapis/models.go
index d0a871895a8e..40e3bc255a2f 100644
--- a/profiles/preview/preview/healthcareapis/mgmt/healthcareapis/models.go
+++ b/profiles/preview/preview/healthcareapis/mgmt/healthcareapis/models.go
@@ -23,7 +23,6 @@ import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/preview/healthcareapis/mgmt/2018-08-20-preview/healthcareapis"
- uuid "github.com/satori/go.uuid"
)
const (
@@ -65,8 +64,6 @@ type BaseClient = original.BaseClient
type CheckNameAvailabilityParameters = original.CheckNameAvailabilityParameters
type ErrorDetails = original.ErrorDetails
type ErrorDetailsInternal = original.ErrorDetailsInternal
-type MoveResourcesParameters = original.MoveResourcesParameters
-type MoveResourcesStatusClient = original.MoveResourcesStatusClient
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
@@ -77,6 +74,8 @@ type OperationResultsDescription = original.OperationResultsDescription
type OperationsClient = original.OperationsClient
type Resource = original.Resource
type ServiceAccessPolicyEntry = original.ServiceAccessPolicyEntry
+type ServiceAuthenticationConfigurationInfo = original.ServiceAuthenticationConfigurationInfo
+type ServiceCorsConfigurationInfo = original.ServiceCorsConfigurationInfo
type ServiceCosmosDbConfigurationInfo = original.ServiceCosmosDbConfigurationInfo
type ServicesClient = original.ServicesClient
type ServicesCreateOrUpdateFuture = original.ServicesCreateOrUpdateFuture
@@ -91,37 +90,31 @@ type ServicesProperties = original.ServicesProperties
type ServicesUpdateFuture = original.ServicesUpdateFuture
type SetObject = original.SetObject
-func New(subscriptionID uuid.UUID) BaseClient {
+func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
-func NewMoveResourcesStatusClient(subscriptionID uuid.UUID) MoveResourcesStatusClient {
- return original.NewMoveResourcesStatusClient(subscriptionID)
-}
-func NewMoveResourcesStatusClientWithBaseURI(baseURI string, subscriptionID uuid.UUID) MoveResourcesStatusClient {
- return original.NewMoveResourcesStatusClientWithBaseURI(baseURI, subscriptionID)
-}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
-func NewOperationResultsClient(subscriptionID uuid.UUID) OperationResultsClient {
+func NewOperationResultsClient(subscriptionID string) OperationResultsClient {
return original.NewOperationResultsClient(subscriptionID)
}
-func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID uuid.UUID) OperationResultsClient {
+func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient {
return original.NewOperationResultsClientWithBaseURI(baseURI, subscriptionID)
}
-func NewOperationsClient(subscriptionID uuid.UUID) OperationsClient {
+func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
-func NewOperationsClientWithBaseURI(baseURI string, subscriptionID uuid.UUID) OperationsClient {
+func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
-func NewServicesClient(subscriptionID uuid.UUID) ServicesClient {
+func NewServicesClient(subscriptionID string) ServicesClient {
return original.NewServicesClient(subscriptionID)
}
-func NewServicesClientWithBaseURI(baseURI string, subscriptionID uuid.UUID) ServicesClient {
+func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient {
return original.NewServicesClientWithBaseURI(baseURI, subscriptionID)
}
func NewServicesDescriptionListResultIterator(page ServicesDescriptionListResultPage) ServicesDescriptionListResultIterator {
@@ -130,7 +123,7 @@ func NewServicesDescriptionListResultIterator(page ServicesDescriptionListResult
func NewServicesDescriptionListResultPage(getNextPage func(context.Context, ServicesDescriptionListResult) (ServicesDescriptionListResult, error)) ServicesDescriptionListResultPage {
return original.NewServicesDescriptionListResultPage(getNextPage)
}
-func NewWithBaseURI(baseURI string, subscriptionID uuid.UUID) BaseClient {
+func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleOperationResultStatusValues() []OperationResultStatus {
diff --git a/profiles/preview/preview/iothub/mgmt/devices/models.go b/profiles/preview/preview/iothub/mgmt/devices/models.go
index cf71d4c5fa7b..926eba8f9e48 100644
--- a/profiles/preview/preview/iothub/mgmt/devices/models.go
+++ b/profiles/preview/preview/iothub/mgmt/devices/models.go
@@ -87,6 +87,13 @@ const (
Invalid IotHubNameUnavailabilityReason = original.Invalid
)
+type IotHubReplicaRoleType = original.IotHubReplicaRoleType
+
+const (
+ Primary IotHubReplicaRoleType = original.Primary
+ Secondary IotHubReplicaRoleType = original.Secondary
+)
+
type IotHubScaleType = original.IotHubScaleType
const (
@@ -199,6 +206,7 @@ type IotHubDescription = original.IotHubDescription
type IotHubDescriptionListResult = original.IotHubDescriptionListResult
type IotHubDescriptionListResultIterator = original.IotHubDescriptionListResultIterator
type IotHubDescriptionListResultPage = original.IotHubDescriptionListResultPage
+type IotHubLocationDescription = original.IotHubLocationDescription
type IotHubManualFailoverFuture = original.IotHubManualFailoverFuture
type IotHubNameAvailabilityInfo = original.IotHubNameAvailabilityInfo
type IotHubProperties = original.IotHubProperties
@@ -363,6 +371,9 @@ func PossibleIPFilterActionTypeValues() []IPFilterActionType {
func PossibleIotHubNameUnavailabilityReasonValues() []IotHubNameUnavailabilityReason {
return original.PossibleIotHubNameUnavailabilityReasonValues()
}
+func PossibleIotHubReplicaRoleTypeValues() []IotHubReplicaRoleType {
+ return original.PossibleIotHubReplicaRoleTypeValues()
+}
func PossibleIotHubScaleTypeValues() []IotHubScaleType {
return original.PossibleIotHubScaleTypeValues()
}
diff --git a/profiles/preview/preview/migrate/mgmt/migrate/migrateapi/models.go b/profiles/preview/preview/migrate/mgmt/migrate/migrateapi/models.go
new file mode 100644
index 000000000000..8e5f8f2c0cb1
--- /dev/null
+++ b/profiles/preview/preview/migrate/mgmt/migrate/migrateapi/models.go
@@ -0,0 +1,30 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package migrateapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/preview/migrate/mgmt/2018-09-01-preview/migrate/migrateapi"
+
+type DatabaseInstancesClientAPI = original.DatabaseInstancesClientAPI
+type DatabasesClientAPI = original.DatabasesClientAPI
+type EventsClientAPI = original.EventsClientAPI
+type MachinesClientAPI = original.MachinesClientAPI
+type OperationsClientAPI = original.OperationsClientAPI
+type ProjectsClientAPI = original.ProjectsClientAPI
+type SolutionsClientAPI = original.SolutionsClientAPI
diff --git a/profiles/preview/preview/migrate/mgmt/migrate/models.go b/profiles/preview/preview/migrate/mgmt/migrate/models.go
new file mode 100644
index 000000000000..9c9b059b0f54
--- /dev/null
+++ b/profiles/preview/preview/migrate/mgmt/migrate/models.go
@@ -0,0 +1,586 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package migrate
+
+import original "github.com/Azure/azure-sdk-for-go/services/preview/migrate/mgmt/2018-09-01-preview/migrate"
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type CleanupState = original.CleanupState
+
+const (
+ Completed CleanupState = original.Completed
+ Failed CleanupState = original.Failed
+ InProgress CleanupState = original.InProgress
+ None CleanupState = original.None
+ Started CleanupState = original.Started
+)
+
+type ContainerElementKind = original.ContainerElementKind
+
+const (
+ ContainerElementKindActionImport ContainerElementKind = original.ContainerElementKindActionImport
+ ContainerElementKindEntitySet ContainerElementKind = original.ContainerElementKindEntitySet
+ ContainerElementKindFunctionImport ContainerElementKind = original.ContainerElementKindFunctionImport
+ ContainerElementKindNone ContainerElementKind = original.ContainerElementKindNone
+ ContainerElementKindSingleton ContainerElementKind = original.ContainerElementKindSingleton
+)
+
+type ExpressionKind = original.ExpressionKind
+
+const (
+ ExpressionKindAnnotationPath ExpressionKind = original.ExpressionKindAnnotationPath
+ ExpressionKindBinaryConstant ExpressionKind = original.ExpressionKindBinaryConstant
+ ExpressionKindBooleanConstant ExpressionKind = original.ExpressionKindBooleanConstant
+ ExpressionKindCast ExpressionKind = original.ExpressionKindCast
+ ExpressionKindCollection ExpressionKind = original.ExpressionKindCollection
+ ExpressionKindDateConstant ExpressionKind = original.ExpressionKindDateConstant
+ ExpressionKindDateTimeOffsetConstant ExpressionKind = original.ExpressionKindDateTimeOffsetConstant
+ ExpressionKindDecimalConstant ExpressionKind = original.ExpressionKindDecimalConstant
+ ExpressionKindDurationConstant ExpressionKind = original.ExpressionKindDurationConstant
+ ExpressionKindEnumMember ExpressionKind = original.ExpressionKindEnumMember
+ ExpressionKindFloatingConstant ExpressionKind = original.ExpressionKindFloatingConstant
+ ExpressionKindFunctionApplication ExpressionKind = original.ExpressionKindFunctionApplication
+ ExpressionKindGUIDConstant ExpressionKind = original.ExpressionKindGUIDConstant
+ ExpressionKindIf ExpressionKind = original.ExpressionKindIf
+ ExpressionKindIntegerConstant ExpressionKind = original.ExpressionKindIntegerConstant
+ ExpressionKindIsType ExpressionKind = original.ExpressionKindIsType
+ ExpressionKindLabeled ExpressionKind = original.ExpressionKindLabeled
+ ExpressionKindLabeledExpressionReference ExpressionKind = original.ExpressionKindLabeledExpressionReference
+ ExpressionKindNavigationPropertyPath ExpressionKind = original.ExpressionKindNavigationPropertyPath
+ ExpressionKindNone ExpressionKind = original.ExpressionKindNone
+ ExpressionKindNull ExpressionKind = original.ExpressionKindNull
+ ExpressionKindPath ExpressionKind = original.ExpressionKindPath
+ ExpressionKindPropertyPath ExpressionKind = original.ExpressionKindPropertyPath
+ ExpressionKindRecord ExpressionKind = original.ExpressionKindRecord
+ ExpressionKindStringConstant ExpressionKind = original.ExpressionKindStringConstant
+ ExpressionKindTimeOfDayConstant ExpressionKind = original.ExpressionKindTimeOfDayConstant
+)
+
+type ExpressionKind1 = original.ExpressionKind1
+
+const (
+ ExpressionKind1AnnotationPath ExpressionKind1 = original.ExpressionKind1AnnotationPath
+ ExpressionKind1BinaryConstant ExpressionKind1 = original.ExpressionKind1BinaryConstant
+ ExpressionKind1BooleanConstant ExpressionKind1 = original.ExpressionKind1BooleanConstant
+ ExpressionKind1Cast ExpressionKind1 = original.ExpressionKind1Cast
+ ExpressionKind1Collection ExpressionKind1 = original.ExpressionKind1Collection
+ ExpressionKind1DateConstant ExpressionKind1 = original.ExpressionKind1DateConstant
+ ExpressionKind1DateTimeOffsetConstant ExpressionKind1 = original.ExpressionKind1DateTimeOffsetConstant
+ ExpressionKind1DecimalConstant ExpressionKind1 = original.ExpressionKind1DecimalConstant
+ ExpressionKind1DurationConstant ExpressionKind1 = original.ExpressionKind1DurationConstant
+ ExpressionKind1EnumMember ExpressionKind1 = original.ExpressionKind1EnumMember
+ ExpressionKind1FloatingConstant ExpressionKind1 = original.ExpressionKind1FloatingConstant
+ ExpressionKind1FunctionApplication ExpressionKind1 = original.ExpressionKind1FunctionApplication
+ ExpressionKind1GUIDConstant ExpressionKind1 = original.ExpressionKind1GUIDConstant
+ ExpressionKind1If ExpressionKind1 = original.ExpressionKind1If
+ ExpressionKind1IntegerConstant ExpressionKind1 = original.ExpressionKind1IntegerConstant
+ ExpressionKind1IsType ExpressionKind1 = original.ExpressionKind1IsType
+ ExpressionKind1Labeled ExpressionKind1 = original.ExpressionKind1Labeled
+ ExpressionKind1LabeledExpressionReference ExpressionKind1 = original.ExpressionKind1LabeledExpressionReference
+ ExpressionKind1NavigationPropertyPath ExpressionKind1 = original.ExpressionKind1NavigationPropertyPath
+ ExpressionKind1None ExpressionKind1 = original.ExpressionKind1None
+ ExpressionKind1Null ExpressionKind1 = original.ExpressionKind1Null
+ ExpressionKind1Path ExpressionKind1 = original.ExpressionKind1Path
+ ExpressionKind1PropertyPath ExpressionKind1 = original.ExpressionKind1PropertyPath
+ ExpressionKind1Record ExpressionKind1 = original.ExpressionKind1Record
+ ExpressionKind1StringConstant ExpressionKind1 = original.ExpressionKind1StringConstant
+ ExpressionKind1TimeOfDayConstant ExpressionKind1 = original.ExpressionKind1TimeOfDayConstant
+)
+
+type Goal = original.Goal
+
+const (
+ Databases Goal = original.Databases
+ Servers Goal = original.Servers
+)
+
+type Goal1 = original.Goal1
+
+const (
+ Goal1Databases Goal1 = original.Goal1Databases
+ Goal1Servers Goal1 = original.Goal1Servers
+)
+
+type InstanceType = original.InstanceType
+
+const (
+ InstanceTypeDatabases InstanceType = original.InstanceTypeDatabases
+ InstanceTypeMigrateEventProperties InstanceType = original.InstanceTypeMigrateEventProperties
+ InstanceTypeServers InstanceType = original.InstanceTypeServers
+)
+
+type InstanceTypeBasicProjectSummary = original.InstanceTypeBasicProjectSummary
+
+const (
+ InstanceTypeBasicProjectSummaryInstanceTypeDatabases InstanceTypeBasicProjectSummary = original.InstanceTypeBasicProjectSummaryInstanceTypeDatabases
+ InstanceTypeBasicProjectSummaryInstanceTypeProjectSummary InstanceTypeBasicProjectSummary = original.InstanceTypeBasicProjectSummaryInstanceTypeProjectSummary
+ InstanceTypeBasicProjectSummaryInstanceTypeServers InstanceTypeBasicProjectSummary = original.InstanceTypeBasicProjectSummaryInstanceTypeServers
+)
+
+type InstanceTypeBasicSolutionSummary = original.InstanceTypeBasicSolutionSummary
+
+const (
+ InstanceTypeBasicSolutionSummaryInstanceTypeDatabases InstanceTypeBasicSolutionSummary = original.InstanceTypeBasicSolutionSummaryInstanceTypeDatabases
+ InstanceTypeBasicSolutionSummaryInstanceTypeServers InstanceTypeBasicSolutionSummary = original.InstanceTypeBasicSolutionSummaryInstanceTypeServers
+ InstanceTypeBasicSolutionSummaryInstanceTypeSolutionSummary InstanceTypeBasicSolutionSummary = original.InstanceTypeBasicSolutionSummaryInstanceTypeSolutionSummary
+)
+
+type Kind = original.Kind
+
+const (
+ KindAggregatedCollectionPropertyNode Kind = original.KindAggregatedCollectionPropertyNode
+ KindAll Kind = original.KindAll
+ KindAny Kind = original.KindAny
+ KindBinaryOperator Kind = original.KindBinaryOperator
+ KindCollectionComplexNode Kind = original.KindCollectionComplexNode
+ KindCollectionConstant Kind = original.KindCollectionConstant
+ KindCollectionFunctionCall Kind = original.KindCollectionFunctionCall
+ KindCollectionNavigationNode Kind = original.KindCollectionNavigationNode
+ KindCollectionOpenPropertyAccess Kind = original.KindCollectionOpenPropertyAccess
+ KindCollectionPropertyAccess Kind = original.KindCollectionPropertyAccess
+ KindCollectionPropertyNode Kind = original.KindCollectionPropertyNode
+ KindCollectionResourceCast Kind = original.KindCollectionResourceCast
+ KindCollectionResourceFunctionCall Kind = original.KindCollectionResourceFunctionCall
+ KindConstant Kind = original.KindConstant
+ KindConvert Kind = original.KindConvert
+ KindCount Kind = original.KindCount
+ KindEntitySet Kind = original.KindEntitySet
+ KindIn Kind = original.KindIn
+ KindKeyLookup Kind = original.KindKeyLookup
+ KindNamedFunctionParameter Kind = original.KindNamedFunctionParameter
+ KindNone Kind = original.KindNone
+ KindNonResourceRangeVariableReference Kind = original.KindNonResourceRangeVariableReference
+ KindParameterAlias Kind = original.KindParameterAlias
+ KindResourceRangeVariableReference Kind = original.KindResourceRangeVariableReference
+ KindSearchTerm Kind = original.KindSearchTerm
+ KindSingleComplexNode Kind = original.KindSingleComplexNode
+ KindSingleNavigationNode Kind = original.KindSingleNavigationNode
+ KindSingleResourceCast Kind = original.KindSingleResourceCast
+ KindSingleResourceFunctionCall Kind = original.KindSingleResourceFunctionCall
+ KindSingleValueCast Kind = original.KindSingleValueCast
+ KindSingleValueFunctionCall Kind = original.KindSingleValueFunctionCall
+ KindSingleValueOpenPropertyAccess Kind = original.KindSingleValueOpenPropertyAccess
+ KindSingleValuePropertyAccess Kind = original.KindSingleValuePropertyAccess
+ KindUnaryOperator Kind = original.KindUnaryOperator
+)
+
+type Kind1 = original.Kind1
+
+const (
+ Aggregate Kind1 = original.Aggregate
+ Compute Kind1 = original.Compute
+ Filter Kind1 = original.Filter
+ GroupBy Kind1 = original.GroupBy
+)
+
+type OnDelete = original.OnDelete
+
+const (
+ OnDeleteCascade OnDelete = original.OnDeleteCascade
+ OnDeleteNone OnDelete = original.OnDeleteNone
+)
+
+type PropertyKind = original.PropertyKind
+
+const (
+ PropertyKindNavigation PropertyKind = original.PropertyKindNavigation
+ PropertyKindNone PropertyKind = original.PropertyKindNone
+ PropertyKindStructural PropertyKind = original.PropertyKindStructural
+)
+
+type PropertyKind1 = original.PropertyKind1
+
+const (
+ PropertyKind1Navigation PropertyKind1 = original.PropertyKind1Navigation
+ PropertyKind1None PropertyKind1 = original.PropertyKind1None
+ PropertyKind1Structural PropertyKind1 = original.PropertyKind1Structural
+)
+
+type PropertyKind2 = original.PropertyKind2
+
+const (
+ PropertyKind2Navigation PropertyKind2 = original.PropertyKind2Navigation
+ PropertyKind2None PropertyKind2 = original.PropertyKind2None
+ PropertyKind2Structural PropertyKind2 = original.PropertyKind2Structural
+)
+
+type ProvisioningState = original.ProvisioningState
+
+const (
+ ProvisioningStateAccepted ProvisioningState = original.ProvisioningStateAccepted
+ ProvisioningStateCreating ProvisioningState = original.ProvisioningStateCreating
+ ProvisioningStateDeleting ProvisioningState = original.ProvisioningStateDeleting
+ ProvisioningStateFailed ProvisioningState = original.ProvisioningStateFailed
+ ProvisioningStateMoving ProvisioningState = original.ProvisioningStateMoving
+ ProvisioningStateSucceeded ProvisioningState = original.ProvisioningStateSucceeded
+)
+
+type Purpose = original.Purpose
+
+const (
+ Assessment Purpose = original.Assessment
+ Discovery Purpose = original.Discovery
+ Migration Purpose = original.Migration
+)
+
+type RefreshSummaryState = original.RefreshSummaryState
+
+const (
+ RefreshSummaryStateCompleted RefreshSummaryState = original.RefreshSummaryStateCompleted
+ RefreshSummaryStateFailed RefreshSummaryState = original.RefreshSummaryStateFailed
+ RefreshSummaryStateInProgress RefreshSummaryState = original.RefreshSummaryStateInProgress
+ RefreshSummaryStateStarted RefreshSummaryState = original.RefreshSummaryStateStarted
+)
+
+type RefreshSummaryState1 = original.RefreshSummaryState1
+
+const (
+ RefreshSummaryState1Completed RefreshSummaryState1 = original.RefreshSummaryState1Completed
+ RefreshSummaryState1Failed RefreshSummaryState1 = original.RefreshSummaryState1Failed
+ RefreshSummaryState1InProgress RefreshSummaryState1 = original.RefreshSummaryState1InProgress
+ RefreshSummaryState1Started RefreshSummaryState1 = original.RefreshSummaryState1Started
+)
+
+type SchemaElementKind = original.SchemaElementKind
+
+const (
+ SchemaElementKindAction SchemaElementKind = original.SchemaElementKindAction
+ SchemaElementKindEntityContainer SchemaElementKind = original.SchemaElementKindEntityContainer
+ SchemaElementKindFunction SchemaElementKind = original.SchemaElementKindFunction
+ SchemaElementKindNone SchemaElementKind = original.SchemaElementKindNone
+ SchemaElementKindTerm SchemaElementKind = original.SchemaElementKindTerm
+ SchemaElementKindTypeDefinition SchemaElementKind = original.SchemaElementKindTypeDefinition
+)
+
+type SchemaElementKind1 = original.SchemaElementKind1
+
+const (
+ SchemaElementKind1Action SchemaElementKind1 = original.SchemaElementKind1Action
+ SchemaElementKind1EntityContainer SchemaElementKind1 = original.SchemaElementKind1EntityContainer
+ SchemaElementKind1Function SchemaElementKind1 = original.SchemaElementKind1Function
+ SchemaElementKind1None SchemaElementKind1 = original.SchemaElementKind1None
+ SchemaElementKind1Term SchemaElementKind1 = original.SchemaElementKind1Term
+ SchemaElementKind1TypeDefinition SchemaElementKind1 = original.SchemaElementKind1TypeDefinition
+)
+
+type SchemaElementKind2 = original.SchemaElementKind2
+
+const (
+ SchemaElementKind2Action SchemaElementKind2 = original.SchemaElementKind2Action
+ SchemaElementKind2EntityContainer SchemaElementKind2 = original.SchemaElementKind2EntityContainer
+ SchemaElementKind2Function SchemaElementKind2 = original.SchemaElementKind2Function
+ SchemaElementKind2None SchemaElementKind2 = original.SchemaElementKind2None
+ SchemaElementKind2Term SchemaElementKind2 = original.SchemaElementKind2Term
+ SchemaElementKind2TypeDefinition SchemaElementKind2 = original.SchemaElementKind2TypeDefinition
+)
+
+type Status = original.Status
+
+const (
+ Active Status = original.Active
+ Inactive Status = original.Inactive
+)
+
+type Tool = original.Tool
+
+const (
+ Carbonite Tool = original.Carbonite
+ Cloudamize Tool = original.Cloudamize
+ CorentTech Tool = original.CorentTech
+ DatabaseMigrationService Tool = original.DatabaseMigrationService
+ DataMigrationAssistant Tool = original.DataMigrationAssistant
+ ServerAssessment Tool = original.ServerAssessment
+ ServerAssessmentV1 Tool = original.ServerAssessmentV1
+ ServerDiscovery Tool = original.ServerDiscovery
+ ServerMigration Tool = original.ServerMigration
+ ServerMigrationReplication Tool = original.ServerMigrationReplication
+ Turbonomic Tool = original.Turbonomic
+ Zerto Tool = original.Zerto
+)
+
+type Tool1 = original.Tool1
+
+const (
+ Tool1Carbonite Tool1 = original.Tool1Carbonite
+ Tool1Cloudamize Tool1 = original.Tool1Cloudamize
+ Tool1CorentTech Tool1 = original.Tool1CorentTech
+ Tool1DatabaseMigrationService Tool1 = original.Tool1DatabaseMigrationService
+ Tool1DataMigrationAssistant Tool1 = original.Tool1DataMigrationAssistant
+ Tool1ServerAssessment Tool1 = original.Tool1ServerAssessment
+ Tool1ServerAssessmentV1 Tool1 = original.Tool1ServerAssessmentV1
+ Tool1ServerDiscovery Tool1 = original.Tool1ServerDiscovery
+ Tool1ServerMigration Tool1 = original.Tool1ServerMigration
+ Tool1ServerMigrationReplication Tool1 = original.Tool1ServerMigrationReplication
+ Tool1Turbonomic Tool1 = original.Tool1Turbonomic
+ Tool1Zerto Tool1 = original.Tool1Zerto
+)
+
+type TypeKind = original.TypeKind
+
+const (
+ TypeKindCollection TypeKind = original.TypeKindCollection
+ TypeKindComplex TypeKind = original.TypeKindComplex
+ TypeKindEntity TypeKind = original.TypeKindEntity
+ TypeKindEntityReference TypeKind = original.TypeKindEntityReference
+ TypeKindEnum TypeKind = original.TypeKindEnum
+ TypeKindNone TypeKind = original.TypeKindNone
+ TypeKindPath TypeKind = original.TypeKindPath
+ TypeKindPrimitive TypeKind = original.TypeKindPrimitive
+ TypeKindTypeDefinition TypeKind = original.TypeKindTypeDefinition
+ TypeKindUntyped TypeKind = original.TypeKindUntyped
+)
+
+type TypeKind1 = original.TypeKind1
+
+const (
+ TypeKind1Collection TypeKind1 = original.TypeKind1Collection
+ TypeKind1Complex TypeKind1 = original.TypeKind1Complex
+ TypeKind1Entity TypeKind1 = original.TypeKind1Entity
+ TypeKind1EntityReference TypeKind1 = original.TypeKind1EntityReference
+ TypeKind1Enum TypeKind1 = original.TypeKind1Enum
+ TypeKind1None TypeKind1 = original.TypeKind1None
+ TypeKind1Path TypeKind1 = original.TypeKind1Path
+ TypeKind1Primitive TypeKind1 = original.TypeKind1Primitive
+ TypeKind1TypeDefinition TypeKind1 = original.TypeKind1TypeDefinition
+ TypeKind1Untyped TypeKind1 = original.TypeKind1Untyped
+)
+
+type ApplyClause = original.ApplyClause
+type AssessmentDetails = original.AssessmentDetails
+type BaseClient = original.BaseClient
+type BasicEventProperties = original.BasicEventProperties
+type BasicProjectSummary = original.BasicProjectSummary
+type BasicSolutionSummary = original.BasicSolutionSummary
+type Database = original.Database
+type DatabaseAssessmentDetails = original.DatabaseAssessmentDetails
+type DatabaseCollection = original.DatabaseCollection
+type DatabaseInstance = original.DatabaseInstance
+type DatabaseInstanceCollection = original.DatabaseInstanceCollection
+type DatabaseInstanceDiscoveryDetails = original.DatabaseInstanceDiscoveryDetails
+type DatabaseInstanceProperties = original.DatabaseInstanceProperties
+type DatabaseInstanceSummary = original.DatabaseInstanceSummary
+type DatabaseInstancesClient = original.DatabaseInstancesClient
+type DatabaseMigrateEventProperties = original.DatabaseMigrateEventProperties
+type DatabaseProjectSummary = original.DatabaseProjectSummary
+type DatabaseProperties = original.DatabaseProperties
+type DatabasesClient = original.DatabasesClient
+type DatabasesSolutionSummary = original.DatabasesSolutionSummary
+type DefaultQuerySettings = original.DefaultQuerySettings
+type DiscoveryDetails = original.DiscoveryDetails
+type EdmReferentialConstraintPropertyPair = original.EdmReferentialConstraintPropertyPair
+type Event = original.Event
+type EventCollection = original.EventCollection
+type EventProperties = original.EventProperties
+type EventsClient = original.EventsClient
+type FilterClause = original.FilterClause
+type FilterQueryOption = original.FilterQueryOption
+type IEdmEntityContainer = original.IEdmEntityContainer
+type IEdmEntityContainerElement = original.IEdmEntityContainerElement
+type IEdmExpression = original.IEdmExpression
+type IEdmModel = original.IEdmModel
+type IEdmNavigationProperty = original.IEdmNavigationProperty
+type IEdmNavigationPropertyBinding = original.IEdmNavigationPropertyBinding
+type IEdmNavigationSource = original.IEdmNavigationSource
+type IEdmPathExpression = original.IEdmPathExpression
+type IEdmProperty = original.IEdmProperty
+type IEdmReferentialConstraint = original.IEdmReferentialConstraint
+type IEdmSchemaElement = original.IEdmSchemaElement
+type IEdmStructuralProperty = original.IEdmStructuralProperty
+type IEdmStructuredType = original.IEdmStructuredType
+type IEdmTerm = original.IEdmTerm
+type IEdmType = original.IEdmType
+type IEdmTypeReference = original.IEdmTypeReference
+type IEdmVocabularyAnnotation = original.IEdmVocabularyAnnotation
+type Machine = original.Machine
+type MachineCollection = original.MachineCollection
+type MachineMigrateEventProperties = original.MachineMigrateEventProperties
+type MachineProperties = original.MachineProperties
+type MachinesClient = original.MachinesClient
+type MigrationDetails = original.MigrationDetails
+type ODataPath = original.ODataPath
+type ODataPathSegment = original.ODataPathSegment
+type ODataQueryContext = original.ODataQueryContext
+type ODataQueryOptions1 = original.ODataQueryOptions1
+type ODataRawQueryOptions = original.ODataRawQueryOptions
+type Operation = original.Operation
+type OperationDisplay = original.OperationDisplay
+type OperationResultList = original.OperationResultList
+type OperationsClient = original.OperationsClient
+type Project = original.Project
+type ProjectProperties = original.ProjectProperties
+type ProjectSummary = original.ProjectSummary
+type ProjectTags = original.ProjectTags
+type ProjectsClient = original.ProjectsClient
+type RangeVariable = original.RangeVariable
+type RefreshSummaryInput = original.RefreshSummaryInput
+type RefreshSummaryResult = original.RefreshSummaryResult
+type RegisterToolInput = original.RegisterToolInput
+type RegistrationResult = original.RegistrationResult
+type SelectExpandClause = original.SelectExpandClause
+type ServersProjectSummary = original.ServersProjectSummary
+type ServersSolutionSummary = original.ServersSolutionSummary
+type SingleValueNode = original.SingleValueNode
+type Solution = original.Solution
+type SolutionConfig = original.SolutionConfig
+type SolutionDetails = original.SolutionDetails
+type SolutionProperties = original.SolutionProperties
+type SolutionSummary = original.SolutionSummary
+type SolutionsClient = original.SolutionsClient
+type SolutionsCollection = original.SolutionsCollection
+type TransformationNode = original.TransformationNode
+
+func New(subscriptionID string, acceptLanguage string) BaseClient {
+ return original.New(subscriptionID, acceptLanguage)
+}
+func NewDatabaseInstancesClient(subscriptionID string, acceptLanguage string) DatabaseInstancesClient {
+ return original.NewDatabaseInstancesClient(subscriptionID, acceptLanguage)
+}
+func NewDatabaseInstancesClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) DatabaseInstancesClient {
+ return original.NewDatabaseInstancesClientWithBaseURI(baseURI, subscriptionID, acceptLanguage)
+}
+func NewDatabasesClient(subscriptionID string, acceptLanguage string) DatabasesClient {
+ return original.NewDatabasesClient(subscriptionID, acceptLanguage)
+}
+func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) DatabasesClient {
+ return original.NewDatabasesClientWithBaseURI(baseURI, subscriptionID, acceptLanguage)
+}
+func NewEventsClient(subscriptionID string, acceptLanguage string) EventsClient {
+ return original.NewEventsClient(subscriptionID, acceptLanguage)
+}
+func NewEventsClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) EventsClient {
+ return original.NewEventsClientWithBaseURI(baseURI, subscriptionID, acceptLanguage)
+}
+func NewMachinesClient(subscriptionID string, acceptLanguage string) MachinesClient {
+ return original.NewMachinesClient(subscriptionID, acceptLanguage)
+}
+func NewMachinesClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) MachinesClient {
+ return original.NewMachinesClientWithBaseURI(baseURI, subscriptionID, acceptLanguage)
+}
+func NewOperationsClient(subscriptionID string, acceptLanguage string) OperationsClient {
+ return original.NewOperationsClient(subscriptionID, acceptLanguage)
+}
+func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID, acceptLanguage)
+}
+func NewProjectsClient(subscriptionID string, acceptLanguage string) ProjectsClient {
+ return original.NewProjectsClient(subscriptionID, acceptLanguage)
+}
+func NewProjectsClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) ProjectsClient {
+ return original.NewProjectsClientWithBaseURI(baseURI, subscriptionID, acceptLanguage)
+}
+func NewSolutionsClient(subscriptionID string, acceptLanguage string) SolutionsClient {
+ return original.NewSolutionsClient(subscriptionID, acceptLanguage)
+}
+func NewSolutionsClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) SolutionsClient {
+ return original.NewSolutionsClientWithBaseURI(baseURI, subscriptionID, acceptLanguage)
+}
+func NewWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) BaseClient {
+ return original.NewWithBaseURI(baseURI, subscriptionID, acceptLanguage)
+}
+func PossibleCleanupStateValues() []CleanupState {
+ return original.PossibleCleanupStateValues()
+}
+func PossibleContainerElementKindValues() []ContainerElementKind {
+ return original.PossibleContainerElementKindValues()
+}
+func PossibleExpressionKind1Values() []ExpressionKind1 {
+ return original.PossibleExpressionKind1Values()
+}
+func PossibleExpressionKindValues() []ExpressionKind {
+ return original.PossibleExpressionKindValues()
+}
+func PossibleGoal1Values() []Goal1 {
+ return original.PossibleGoal1Values()
+}
+func PossibleGoalValues() []Goal {
+ return original.PossibleGoalValues()
+}
+func PossibleInstanceTypeBasicProjectSummaryValues() []InstanceTypeBasicProjectSummary {
+ return original.PossibleInstanceTypeBasicProjectSummaryValues()
+}
+func PossibleInstanceTypeBasicSolutionSummaryValues() []InstanceTypeBasicSolutionSummary {
+ return original.PossibleInstanceTypeBasicSolutionSummaryValues()
+}
+func PossibleInstanceTypeValues() []InstanceType {
+ return original.PossibleInstanceTypeValues()
+}
+func PossibleKind1Values() []Kind1 {
+ return original.PossibleKind1Values()
+}
+func PossibleKindValues() []Kind {
+ return original.PossibleKindValues()
+}
+func PossibleOnDeleteValues() []OnDelete {
+ return original.PossibleOnDeleteValues()
+}
+func PossiblePropertyKind1Values() []PropertyKind1 {
+ return original.PossiblePropertyKind1Values()
+}
+func PossiblePropertyKind2Values() []PropertyKind2 {
+ return original.PossiblePropertyKind2Values()
+}
+func PossiblePropertyKindValues() []PropertyKind {
+ return original.PossiblePropertyKindValues()
+}
+func PossibleProvisioningStateValues() []ProvisioningState {
+ return original.PossibleProvisioningStateValues()
+}
+func PossiblePurposeValues() []Purpose {
+ return original.PossiblePurposeValues()
+}
+func PossibleRefreshSummaryState1Values() []RefreshSummaryState1 {
+ return original.PossibleRefreshSummaryState1Values()
+}
+func PossibleRefreshSummaryStateValues() []RefreshSummaryState {
+ return original.PossibleRefreshSummaryStateValues()
+}
+func PossibleSchemaElementKind1Values() []SchemaElementKind1 {
+ return original.PossibleSchemaElementKind1Values()
+}
+func PossibleSchemaElementKind2Values() []SchemaElementKind2 {
+ return original.PossibleSchemaElementKind2Values()
+}
+func PossibleSchemaElementKindValues() []SchemaElementKind {
+ return original.PossibleSchemaElementKindValues()
+}
+func PossibleStatusValues() []Status {
+ return original.PossibleStatusValues()
+}
+func PossibleTool1Values() []Tool1 {
+ return original.PossibleTool1Values()
+}
+func PossibleToolValues() []Tool {
+ return original.PossibleToolValues()
+}
+func PossibleTypeKind1Values() []TypeKind1 {
+ return original.PossibleTypeKind1Values()
+}
+func PossibleTypeKindValues() []TypeKind {
+ return original.PossibleTypeKindValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/preview"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/preview/preview/mysql/mgmt/mysql/models.go b/profiles/preview/preview/mysql/mgmt/mysql/models.go
new file mode 100644
index 000000000000..1b22f81ab506
--- /dev/null
+++ b/profiles/preview/preview/mysql/mgmt/mysql/models.go
@@ -0,0 +1,294 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package mysql
+
+import (
+ "context"
+
+ original "github.com/Azure/azure-sdk-for-go/services/preview/mysql/mgmt/2017-12-01-preview/mysql"
+)
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type CreateMode = original.CreateMode
+
+const (
+ CreateModeDefault CreateMode = original.CreateModeDefault
+ CreateModeGeoRestore CreateMode = original.CreateModeGeoRestore
+ CreateModePointInTimeRestore CreateMode = original.CreateModePointInTimeRestore
+ CreateModeReplica CreateMode = original.CreateModeReplica
+ CreateModeServerPropertiesForCreate CreateMode = original.CreateModeServerPropertiesForCreate
+)
+
+type GeoRedundantBackup = original.GeoRedundantBackup
+
+const (
+ Disabled GeoRedundantBackup = original.Disabled
+ Enabled GeoRedundantBackup = original.Enabled
+)
+
+type OperationOrigin = original.OperationOrigin
+
+const (
+ NotSpecified OperationOrigin = original.NotSpecified
+ System OperationOrigin = original.System
+ User OperationOrigin = original.User
+)
+
+type ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyState
+
+const (
+ ServerSecurityAlertPolicyStateDisabled ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyStateDisabled
+ ServerSecurityAlertPolicyStateEnabled ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyStateEnabled
+)
+
+type ServerState = original.ServerState
+
+const (
+ ServerStateDisabled ServerState = original.ServerStateDisabled
+ ServerStateDropping ServerState = original.ServerStateDropping
+ ServerStateReady ServerState = original.ServerStateReady
+)
+
+type ServerVersion = original.ServerVersion
+
+const (
+ FiveFullStopSeven ServerVersion = original.FiveFullStopSeven
+ FiveFullStopSix ServerVersion = original.FiveFullStopSix
+)
+
+type SkuTier = original.SkuTier
+
+const (
+ Basic SkuTier = original.Basic
+ GeneralPurpose SkuTier = original.GeneralPurpose
+ MemoryOptimized SkuTier = original.MemoryOptimized
+)
+
+type SslEnforcementEnum = original.SslEnforcementEnum
+
+const (
+ SslEnforcementEnumDisabled SslEnforcementEnum = original.SslEnforcementEnumDisabled
+ SslEnforcementEnumEnabled SslEnforcementEnum = original.SslEnforcementEnumEnabled
+)
+
+type StorageAutogrow = original.StorageAutogrow
+
+const (
+ StorageAutogrowDisabled StorageAutogrow = original.StorageAutogrowDisabled
+ StorageAutogrowEnabled StorageAutogrow = original.StorageAutogrowEnabled
+)
+
+type VirtualNetworkRuleState = original.VirtualNetworkRuleState
+
+const (
+ Deleting VirtualNetworkRuleState = original.Deleting
+ Initializing VirtualNetworkRuleState = original.Initializing
+ InProgress VirtualNetworkRuleState = original.InProgress
+ Ready VirtualNetworkRuleState = original.Ready
+ Unknown VirtualNetworkRuleState = original.Unknown
+)
+
+type BaseClient = original.BaseClient
+type BasicServerPropertiesForCreate = original.BasicServerPropertiesForCreate
+type CheckNameAvailabilityClient = original.CheckNameAvailabilityClient
+type CloudError = original.CloudError
+type CloudErrorBody = original.CloudErrorBody
+type Configuration = original.Configuration
+type ConfigurationListResult = original.ConfigurationListResult
+type ConfigurationProperties = original.ConfigurationProperties
+type ConfigurationsClient = original.ConfigurationsClient
+type ConfigurationsCreateOrUpdateFuture = original.ConfigurationsCreateOrUpdateFuture
+type Database = original.Database
+type DatabaseListResult = original.DatabaseListResult
+type DatabaseProperties = original.DatabaseProperties
+type DatabasesClient = original.DatabasesClient
+type DatabasesCreateOrUpdateFuture = original.DatabasesCreateOrUpdateFuture
+type DatabasesDeleteFuture = original.DatabasesDeleteFuture
+type FirewallRule = original.FirewallRule
+type FirewallRuleListResult = original.FirewallRuleListResult
+type FirewallRuleProperties = original.FirewallRuleProperties
+type FirewallRulesClient = original.FirewallRulesClient
+type FirewallRulesCreateOrUpdateFuture = original.FirewallRulesCreateOrUpdateFuture
+type FirewallRulesDeleteFuture = original.FirewallRulesDeleteFuture
+type LocationBasedPerformanceTierClient = original.LocationBasedPerformanceTierClient
+type LogFile = original.LogFile
+type LogFileListResult = original.LogFileListResult
+type LogFileProperties = original.LogFileProperties
+type LogFilesClient = original.LogFilesClient
+type NameAvailability = original.NameAvailability
+type NameAvailabilityRequest = original.NameAvailabilityRequest
+type Operation = original.Operation
+type OperationDisplay = original.OperationDisplay
+type OperationListResult = original.OperationListResult
+type OperationsClient = original.OperationsClient
+type PerformanceTierListResult = original.PerformanceTierListResult
+type PerformanceTierProperties = original.PerformanceTierProperties
+type PerformanceTierServiceLevelObjectives = original.PerformanceTierServiceLevelObjectives
+type ProxyResource = original.ProxyResource
+type ReplicasClient = original.ReplicasClient
+type SecurityAlertPolicyProperties = original.SecurityAlertPolicyProperties
+type Server = original.Server
+type ServerForCreate = original.ServerForCreate
+type ServerListResult = original.ServerListResult
+type ServerProperties = original.ServerProperties
+type ServerPropertiesForCreate = original.ServerPropertiesForCreate
+type ServerPropertiesForDefaultCreate = original.ServerPropertiesForDefaultCreate
+type ServerPropertiesForGeoRestore = original.ServerPropertiesForGeoRestore
+type ServerPropertiesForReplica = original.ServerPropertiesForReplica
+type ServerPropertiesForRestore = original.ServerPropertiesForRestore
+type ServerSecurityAlertPoliciesClient = original.ServerSecurityAlertPoliciesClient
+type ServerSecurityAlertPoliciesCreateOrUpdateFuture = original.ServerSecurityAlertPoliciesCreateOrUpdateFuture
+type ServerSecurityAlertPolicy = original.ServerSecurityAlertPolicy
+type ServerUpdateParameters = original.ServerUpdateParameters
+type ServerUpdateParametersProperties = original.ServerUpdateParametersProperties
+type ServersClient = original.ServersClient
+type ServersCreateFuture = original.ServersCreateFuture
+type ServersDeleteFuture = original.ServersDeleteFuture
+type ServersRestartFuture = original.ServersRestartFuture
+type ServersUpdateFuture = original.ServersUpdateFuture
+type Sku = original.Sku
+type StorageProfile = original.StorageProfile
+type TrackedResource = original.TrackedResource
+type VirtualNetworkRule = original.VirtualNetworkRule
+type VirtualNetworkRuleListResult = original.VirtualNetworkRuleListResult
+type VirtualNetworkRuleListResultIterator = original.VirtualNetworkRuleListResultIterator
+type VirtualNetworkRuleListResultPage = original.VirtualNetworkRuleListResultPage
+type VirtualNetworkRuleProperties = original.VirtualNetworkRuleProperties
+type VirtualNetworkRulesClient = original.VirtualNetworkRulesClient
+type VirtualNetworkRulesCreateOrUpdateFuture = original.VirtualNetworkRulesCreateOrUpdateFuture
+type VirtualNetworkRulesDeleteFuture = original.VirtualNetworkRulesDeleteFuture
+
+func New(subscriptionID string) BaseClient {
+ return original.New(subscriptionID)
+}
+func NewCheckNameAvailabilityClient(subscriptionID string) CheckNameAvailabilityClient {
+ return original.NewCheckNameAvailabilityClient(subscriptionID)
+}
+func NewCheckNameAvailabilityClientWithBaseURI(baseURI string, subscriptionID string) CheckNameAvailabilityClient {
+ return original.NewCheckNameAvailabilityClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewConfigurationsClient(subscriptionID string) ConfigurationsClient {
+ return original.NewConfigurationsClient(subscriptionID)
+}
+func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient {
+ return original.NewConfigurationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewDatabasesClient(subscriptionID string) DatabasesClient {
+ return original.NewDatabasesClient(subscriptionID)
+}
+func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient {
+ return original.NewDatabasesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
+ return original.NewFirewallRulesClient(subscriptionID)
+}
+func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
+ return original.NewFirewallRulesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewLocationBasedPerformanceTierClient(subscriptionID string) LocationBasedPerformanceTierClient {
+ return original.NewLocationBasedPerformanceTierClient(subscriptionID)
+}
+func NewLocationBasedPerformanceTierClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedPerformanceTierClient {
+ return original.NewLocationBasedPerformanceTierClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewLogFilesClient(subscriptionID string) LogFilesClient {
+ return original.NewLogFilesClient(subscriptionID)
+}
+func NewLogFilesClientWithBaseURI(baseURI string, subscriptionID string) LogFilesClient {
+ return original.NewLogFilesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewOperationsClient(subscriptionID string) OperationsClient {
+ return original.NewOperationsClient(subscriptionID)
+}
+func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewReplicasClient(subscriptionID string) ReplicasClient {
+ return original.NewReplicasClient(subscriptionID)
+}
+func NewReplicasClientWithBaseURI(baseURI string, subscriptionID string) ReplicasClient {
+ return original.NewReplicasClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityAlertPoliciesClient {
+ return original.NewServerSecurityAlertPoliciesClient(subscriptionID)
+}
+func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient {
+ return original.NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewServersClient(subscriptionID string) ServersClient {
+ return original.NewServersClient(subscriptionID)
+}
+func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
+ return original.NewServersClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewVirtualNetworkRuleListResultIterator(page VirtualNetworkRuleListResultPage) VirtualNetworkRuleListResultIterator {
+ return original.NewVirtualNetworkRuleListResultIterator(page)
+}
+func NewVirtualNetworkRuleListResultPage(getNextPage func(context.Context, VirtualNetworkRuleListResult) (VirtualNetworkRuleListResult, error)) VirtualNetworkRuleListResultPage {
+ return original.NewVirtualNetworkRuleListResultPage(getNextPage)
+}
+func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClient {
+ return original.NewVirtualNetworkRulesClient(subscriptionID)
+}
+func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient {
+ return original.NewVirtualNetworkRulesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
+ return original.NewWithBaseURI(baseURI, subscriptionID)
+}
+func PossibleCreateModeValues() []CreateMode {
+ return original.PossibleCreateModeValues()
+}
+func PossibleGeoRedundantBackupValues() []GeoRedundantBackup {
+ return original.PossibleGeoRedundantBackupValues()
+}
+func PossibleOperationOriginValues() []OperationOrigin {
+ return original.PossibleOperationOriginValues()
+}
+func PossibleServerSecurityAlertPolicyStateValues() []ServerSecurityAlertPolicyState {
+ return original.PossibleServerSecurityAlertPolicyStateValues()
+}
+func PossibleServerStateValues() []ServerState {
+ return original.PossibleServerStateValues()
+}
+func PossibleServerVersionValues() []ServerVersion {
+ return original.PossibleServerVersionValues()
+}
+func PossibleSkuTierValues() []SkuTier {
+ return original.PossibleSkuTierValues()
+}
+func PossibleSslEnforcementEnumValues() []SslEnforcementEnum {
+ return original.PossibleSslEnforcementEnumValues()
+}
+func PossibleStorageAutogrowValues() []StorageAutogrow {
+ return original.PossibleStorageAutogrowValues()
+}
+func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState {
+ return original.PossibleVirtualNetworkRuleStateValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/preview"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/preview/preview/mysql/mgmt/mysql/mysqlapi/models.go b/profiles/preview/preview/mysql/mgmt/mysql/mysqlapi/models.go
new file mode 100644
index 000000000000..175d2fd4fd60
--- /dev/null
+++ b/profiles/preview/preview/mysql/mgmt/mysql/mysqlapi/models.go
@@ -0,0 +1,34 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package mysqlapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/preview/mysql/mgmt/2017-12-01-preview/mysql/mysqlapi"
+
+type CheckNameAvailabilityClientAPI = original.CheckNameAvailabilityClientAPI
+type ConfigurationsClientAPI = original.ConfigurationsClientAPI
+type DatabasesClientAPI = original.DatabasesClientAPI
+type FirewallRulesClientAPI = original.FirewallRulesClientAPI
+type LocationBasedPerformanceTierClientAPI = original.LocationBasedPerformanceTierClientAPI
+type LogFilesClientAPI = original.LogFilesClientAPI
+type OperationsClientAPI = original.OperationsClientAPI
+type ReplicasClientAPI = original.ReplicasClientAPI
+type ServerSecurityAlertPoliciesClientAPI = original.ServerSecurityAlertPoliciesClientAPI
+type ServersClientAPI = original.ServersClientAPI
+type VirtualNetworkRulesClientAPI = original.VirtualNetworkRulesClientAPI
diff --git a/profiles/preview/preview/portal/mgmt/portal/models.go b/profiles/preview/preview/portal/mgmt/portal/models.go
index 1de543bc7c19..828b439ea3a1 100644
--- a/profiles/preview/preview/portal/mgmt/portal/models.go
+++ b/profiles/preview/preview/portal/mgmt/portal/models.go
@@ -22,7 +22,7 @@ package portal
import (
"context"
- original "github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2015-11-01-preview/portal"
+ original "github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal"
)
const (
diff --git a/profiles/preview/preview/portal/mgmt/portal/portalapi/models.go b/profiles/preview/preview/portal/mgmt/portal/portalapi/models.go
index fa4f73d1ad27..42a766955a23 100644
--- a/profiles/preview/preview/portal/mgmt/portal/portalapi/models.go
+++ b/profiles/preview/preview/portal/mgmt/portal/portalapi/models.go
@@ -19,7 +19,7 @@
package portalapi
-import original "github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2015-11-01-preview/portal/portalapi"
+import original "github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/portalapi"
type DashboardsClientAPI = original.DashboardsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
diff --git a/profiles/preview/preview/postgresql/mgmt/postgresql/models.go b/profiles/preview/preview/postgresql/mgmt/postgresql/models.go
new file mode 100644
index 000000000000..4bb162d2499e
--- /dev/null
+++ b/profiles/preview/preview/postgresql/mgmt/postgresql/models.go
@@ -0,0 +1,298 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package postgresql
+
+import (
+ "context"
+
+ original "github.com/Azure/azure-sdk-for-go/services/preview/postgresql/mgmt/2017-12-01-preview/postgresql"
+)
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type CreateMode = original.CreateMode
+
+const (
+ CreateModeDefault CreateMode = original.CreateModeDefault
+ CreateModeGeoRestore CreateMode = original.CreateModeGeoRestore
+ CreateModePointInTimeRestore CreateMode = original.CreateModePointInTimeRestore
+ CreateModeReplica CreateMode = original.CreateModeReplica
+ CreateModeServerPropertiesForCreate CreateMode = original.CreateModeServerPropertiesForCreate
+)
+
+type GeoRedundantBackup = original.GeoRedundantBackup
+
+const (
+ Disabled GeoRedundantBackup = original.Disabled
+ Enabled GeoRedundantBackup = original.Enabled
+)
+
+type OperationOrigin = original.OperationOrigin
+
+const (
+ NotSpecified OperationOrigin = original.NotSpecified
+ System OperationOrigin = original.System
+ User OperationOrigin = original.User
+)
+
+type ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyState
+
+const (
+ ServerSecurityAlertPolicyStateDisabled ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyStateDisabled
+ ServerSecurityAlertPolicyStateEnabled ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyStateEnabled
+)
+
+type ServerState = original.ServerState
+
+const (
+ ServerStateDisabled ServerState = original.ServerStateDisabled
+ ServerStateDropping ServerState = original.ServerStateDropping
+ ServerStateReady ServerState = original.ServerStateReady
+)
+
+type ServerVersion = original.ServerVersion
+
+const (
+ NineFullStopFive ServerVersion = original.NineFullStopFive
+ NineFullStopSix ServerVersion = original.NineFullStopSix
+ OneOne ServerVersion = original.OneOne
+ OneZero ServerVersion = original.OneZero
+ OneZeroFullStopTwo ServerVersion = original.OneZeroFullStopTwo
+ OneZeroFullStopZero ServerVersion = original.OneZeroFullStopZero
+)
+
+type SkuTier = original.SkuTier
+
+const (
+ Basic SkuTier = original.Basic
+ GeneralPurpose SkuTier = original.GeneralPurpose
+ MemoryOptimized SkuTier = original.MemoryOptimized
+)
+
+type SslEnforcementEnum = original.SslEnforcementEnum
+
+const (
+ SslEnforcementEnumDisabled SslEnforcementEnum = original.SslEnforcementEnumDisabled
+ SslEnforcementEnumEnabled SslEnforcementEnum = original.SslEnforcementEnumEnabled
+)
+
+type StorageAutogrow = original.StorageAutogrow
+
+const (
+ StorageAutogrowDisabled StorageAutogrow = original.StorageAutogrowDisabled
+ StorageAutogrowEnabled StorageAutogrow = original.StorageAutogrowEnabled
+)
+
+type VirtualNetworkRuleState = original.VirtualNetworkRuleState
+
+const (
+ Deleting VirtualNetworkRuleState = original.Deleting
+ Initializing VirtualNetworkRuleState = original.Initializing
+ InProgress VirtualNetworkRuleState = original.InProgress
+ Ready VirtualNetworkRuleState = original.Ready
+ Unknown VirtualNetworkRuleState = original.Unknown
+)
+
+type BaseClient = original.BaseClient
+type BasicServerPropertiesForCreate = original.BasicServerPropertiesForCreate
+type CheckNameAvailabilityClient = original.CheckNameAvailabilityClient
+type CloudError = original.CloudError
+type CloudErrorBody = original.CloudErrorBody
+type Configuration = original.Configuration
+type ConfigurationListResult = original.ConfigurationListResult
+type ConfigurationProperties = original.ConfigurationProperties
+type ConfigurationsClient = original.ConfigurationsClient
+type ConfigurationsCreateOrUpdateFuture = original.ConfigurationsCreateOrUpdateFuture
+type Database = original.Database
+type DatabaseListResult = original.DatabaseListResult
+type DatabaseProperties = original.DatabaseProperties
+type DatabasesClient = original.DatabasesClient
+type DatabasesCreateOrUpdateFuture = original.DatabasesCreateOrUpdateFuture
+type DatabasesDeleteFuture = original.DatabasesDeleteFuture
+type FirewallRule = original.FirewallRule
+type FirewallRuleListResult = original.FirewallRuleListResult
+type FirewallRuleProperties = original.FirewallRuleProperties
+type FirewallRulesClient = original.FirewallRulesClient
+type FirewallRulesCreateOrUpdateFuture = original.FirewallRulesCreateOrUpdateFuture
+type FirewallRulesDeleteFuture = original.FirewallRulesDeleteFuture
+type LocationBasedPerformanceTierClient = original.LocationBasedPerformanceTierClient
+type LogFile = original.LogFile
+type LogFileListResult = original.LogFileListResult
+type LogFileProperties = original.LogFileProperties
+type LogFilesClient = original.LogFilesClient
+type NameAvailability = original.NameAvailability
+type NameAvailabilityRequest = original.NameAvailabilityRequest
+type Operation = original.Operation
+type OperationDisplay = original.OperationDisplay
+type OperationListResult = original.OperationListResult
+type OperationsClient = original.OperationsClient
+type PerformanceTierListResult = original.PerformanceTierListResult
+type PerformanceTierProperties = original.PerformanceTierProperties
+type PerformanceTierServiceLevelObjectives = original.PerformanceTierServiceLevelObjectives
+type ProxyResource = original.ProxyResource
+type ReplicasClient = original.ReplicasClient
+type SecurityAlertPolicyProperties = original.SecurityAlertPolicyProperties
+type Server = original.Server
+type ServerForCreate = original.ServerForCreate
+type ServerListResult = original.ServerListResult
+type ServerProperties = original.ServerProperties
+type ServerPropertiesForCreate = original.ServerPropertiesForCreate
+type ServerPropertiesForDefaultCreate = original.ServerPropertiesForDefaultCreate
+type ServerPropertiesForGeoRestore = original.ServerPropertiesForGeoRestore
+type ServerPropertiesForReplica = original.ServerPropertiesForReplica
+type ServerPropertiesForRestore = original.ServerPropertiesForRestore
+type ServerSecurityAlertPoliciesClient = original.ServerSecurityAlertPoliciesClient
+type ServerSecurityAlertPoliciesCreateOrUpdateFuture = original.ServerSecurityAlertPoliciesCreateOrUpdateFuture
+type ServerSecurityAlertPolicy = original.ServerSecurityAlertPolicy
+type ServerUpdateParameters = original.ServerUpdateParameters
+type ServerUpdateParametersProperties = original.ServerUpdateParametersProperties
+type ServersClient = original.ServersClient
+type ServersCreateFuture = original.ServersCreateFuture
+type ServersDeleteFuture = original.ServersDeleteFuture
+type ServersRestartFuture = original.ServersRestartFuture
+type ServersUpdateFuture = original.ServersUpdateFuture
+type Sku = original.Sku
+type StorageProfile = original.StorageProfile
+type TrackedResource = original.TrackedResource
+type VirtualNetworkRule = original.VirtualNetworkRule
+type VirtualNetworkRuleListResult = original.VirtualNetworkRuleListResult
+type VirtualNetworkRuleListResultIterator = original.VirtualNetworkRuleListResultIterator
+type VirtualNetworkRuleListResultPage = original.VirtualNetworkRuleListResultPage
+type VirtualNetworkRuleProperties = original.VirtualNetworkRuleProperties
+type VirtualNetworkRulesClient = original.VirtualNetworkRulesClient
+type VirtualNetworkRulesCreateOrUpdateFuture = original.VirtualNetworkRulesCreateOrUpdateFuture
+type VirtualNetworkRulesDeleteFuture = original.VirtualNetworkRulesDeleteFuture
+
+func New(subscriptionID string) BaseClient {
+ return original.New(subscriptionID)
+}
+func NewCheckNameAvailabilityClient(subscriptionID string) CheckNameAvailabilityClient {
+ return original.NewCheckNameAvailabilityClient(subscriptionID)
+}
+func NewCheckNameAvailabilityClientWithBaseURI(baseURI string, subscriptionID string) CheckNameAvailabilityClient {
+ return original.NewCheckNameAvailabilityClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewConfigurationsClient(subscriptionID string) ConfigurationsClient {
+ return original.NewConfigurationsClient(subscriptionID)
+}
+func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient {
+ return original.NewConfigurationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewDatabasesClient(subscriptionID string) DatabasesClient {
+ return original.NewDatabasesClient(subscriptionID)
+}
+func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient {
+ return original.NewDatabasesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
+ return original.NewFirewallRulesClient(subscriptionID)
+}
+func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
+ return original.NewFirewallRulesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewLocationBasedPerformanceTierClient(subscriptionID string) LocationBasedPerformanceTierClient {
+ return original.NewLocationBasedPerformanceTierClient(subscriptionID)
+}
+func NewLocationBasedPerformanceTierClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedPerformanceTierClient {
+ return original.NewLocationBasedPerformanceTierClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewLogFilesClient(subscriptionID string) LogFilesClient {
+ return original.NewLogFilesClient(subscriptionID)
+}
+func NewLogFilesClientWithBaseURI(baseURI string, subscriptionID string) LogFilesClient {
+ return original.NewLogFilesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewOperationsClient(subscriptionID string) OperationsClient {
+ return original.NewOperationsClient(subscriptionID)
+}
+func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewReplicasClient(subscriptionID string) ReplicasClient {
+ return original.NewReplicasClient(subscriptionID)
+}
+func NewReplicasClientWithBaseURI(baseURI string, subscriptionID string) ReplicasClient {
+ return original.NewReplicasClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityAlertPoliciesClient {
+ return original.NewServerSecurityAlertPoliciesClient(subscriptionID)
+}
+func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient {
+ return original.NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewServersClient(subscriptionID string) ServersClient {
+ return original.NewServersClient(subscriptionID)
+}
+func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
+ return original.NewServersClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewVirtualNetworkRuleListResultIterator(page VirtualNetworkRuleListResultPage) VirtualNetworkRuleListResultIterator {
+ return original.NewVirtualNetworkRuleListResultIterator(page)
+}
+func NewVirtualNetworkRuleListResultPage(getNextPage func(context.Context, VirtualNetworkRuleListResult) (VirtualNetworkRuleListResult, error)) VirtualNetworkRuleListResultPage {
+ return original.NewVirtualNetworkRuleListResultPage(getNextPage)
+}
+func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClient {
+ return original.NewVirtualNetworkRulesClient(subscriptionID)
+}
+func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient {
+ return original.NewVirtualNetworkRulesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
+ return original.NewWithBaseURI(baseURI, subscriptionID)
+}
+func PossibleCreateModeValues() []CreateMode {
+ return original.PossibleCreateModeValues()
+}
+func PossibleGeoRedundantBackupValues() []GeoRedundantBackup {
+ return original.PossibleGeoRedundantBackupValues()
+}
+func PossibleOperationOriginValues() []OperationOrigin {
+ return original.PossibleOperationOriginValues()
+}
+func PossibleServerSecurityAlertPolicyStateValues() []ServerSecurityAlertPolicyState {
+ return original.PossibleServerSecurityAlertPolicyStateValues()
+}
+func PossibleServerStateValues() []ServerState {
+ return original.PossibleServerStateValues()
+}
+func PossibleServerVersionValues() []ServerVersion {
+ return original.PossibleServerVersionValues()
+}
+func PossibleSkuTierValues() []SkuTier {
+ return original.PossibleSkuTierValues()
+}
+func PossibleSslEnforcementEnumValues() []SslEnforcementEnum {
+ return original.PossibleSslEnforcementEnumValues()
+}
+func PossibleStorageAutogrowValues() []StorageAutogrow {
+ return original.PossibleStorageAutogrowValues()
+}
+func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState {
+ return original.PossibleVirtualNetworkRuleStateValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/preview"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/preview/preview/postgresql/mgmt/postgresql/postgresqlapi/models.go b/profiles/preview/preview/postgresql/mgmt/postgresql/postgresqlapi/models.go
new file mode 100644
index 000000000000..bc9ef850e1c0
--- /dev/null
+++ b/profiles/preview/preview/postgresql/mgmt/postgresql/postgresqlapi/models.go
@@ -0,0 +1,34 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package postgresqlapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/preview/postgresql/mgmt/2017-12-01-preview/postgresql/postgresqlapi"
+
+type CheckNameAvailabilityClientAPI = original.CheckNameAvailabilityClientAPI
+type ConfigurationsClientAPI = original.ConfigurationsClientAPI
+type DatabasesClientAPI = original.DatabasesClientAPI
+type FirewallRulesClientAPI = original.FirewallRulesClientAPI
+type LocationBasedPerformanceTierClientAPI = original.LocationBasedPerformanceTierClientAPI
+type LogFilesClientAPI = original.LogFilesClientAPI
+type OperationsClientAPI = original.OperationsClientAPI
+type ReplicasClientAPI = original.ReplicasClientAPI
+type ServerSecurityAlertPoliciesClientAPI = original.ServerSecurityAlertPoliciesClientAPI
+type ServersClientAPI = original.ServersClientAPI
+type VirtualNetworkRulesClientAPI = original.VirtualNetworkRulesClientAPI
diff --git a/profiles/preview/preview/reservations/mgmt/reservations/models.go b/profiles/preview/preview/reservations/mgmt/reservations/models.go
index c5c939bc4dfb..d67c52105d97 100644
--- a/profiles/preview/preview/reservations/mgmt/reservations/models.go
+++ b/profiles/preview/preview/reservations/mgmt/reservations/models.go
@@ -113,10 +113,14 @@ const (
type ReservedResourceType = original.ReservedResourceType
const (
- CosmosDb ReservedResourceType = original.CosmosDb
- SQLDatabases ReservedResourceType = original.SQLDatabases
- SuseLinux ReservedResourceType = original.SuseLinux
- VirtualMachines ReservedResourceType = original.VirtualMachines
+ CosmosDb ReservedResourceType = original.CosmosDb
+ RedHat ReservedResourceType = original.RedHat
+ RedHatOsa ReservedResourceType = original.RedHatOsa
+ SQLDatabases ReservedResourceType = original.SQLDatabases
+ SQLDataWarehouse ReservedResourceType = original.SQLDataWarehouse
+ SuseLinux ReservedResourceType = original.SuseLinux
+ VirtualMachines ReservedResourceType = original.VirtualMachines
+ VMwareCloudSimple ReservedResourceType = original.VMwareCloudSimple
)
type StatusCode = original.StatusCode
@@ -175,7 +179,8 @@ type PurchaseRequest = original.PurchaseRequest
type PurchaseRequestProperties = original.PurchaseRequestProperties
type PurchaseRequestPropertiesReservedResourceProperties = original.PurchaseRequestPropertiesReservedResourceProperties
type RenewPropertiesResponse = original.RenewPropertiesResponse
-type RenewPropertiesResponseLockedPriceTotal = original.RenewPropertiesResponseLockedPriceTotal
+type RenewPropertiesResponseBillingCurrencyTotal = original.RenewPropertiesResponseBillingCurrencyTotal
+type RenewPropertiesResponsePricingCurrencyTotal = original.RenewPropertiesResponsePricingCurrencyTotal
type ReservationMergeFuture = original.ReservationMergeFuture
type ReservationUpdateFuture = original.ReservationUpdateFuture
type Response = original.Response
diff --git a/profiles/preview/preview/security/mgmt/security/models.go b/profiles/preview/preview/security/mgmt/security/models.go
index 5d58773cfc7f..9798ac9547d7 100644
--- a/profiles/preview/preview/security/mgmt/security/models.go
+++ b/profiles/preview/preview/security/mgmt/security/models.go
@@ -37,6 +37,14 @@ const (
NotLicensed AadConnectivityState = original.NotLicensed
)
+type Action = original.Action
+
+const (
+ Add Action = original.Add
+ Recommended Action = original.Recommended
+ Remove Action = original.Remove
+)
+
type AlertNotifications = original.AlertNotifications
const (
@@ -58,6 +66,36 @@ const (
AutoProvisionOn AutoProvision = original.AutoProvisionOn
)
+type ConfigurationStatus = original.ConfigurationStatus
+
+const (
+ Configured ConfigurationStatus = original.Configured
+ Failed ConfigurationStatus = original.Failed
+ InProgress ConfigurationStatus = original.InProgress
+ NoStatus ConfigurationStatus = original.NoStatus
+ NotConfigured ConfigurationStatus = original.NotConfigured
+)
+
+type ConfigurationStatus1 = original.ConfigurationStatus1
+
+const (
+ ConfigurationStatus1Configured ConfigurationStatus1 = original.ConfigurationStatus1Configured
+ ConfigurationStatus1Failed ConfigurationStatus1 = original.ConfigurationStatus1Failed
+ ConfigurationStatus1InProgress ConfigurationStatus1 = original.ConfigurationStatus1InProgress
+ ConfigurationStatus1NoStatus ConfigurationStatus1 = original.ConfigurationStatus1NoStatus
+ ConfigurationStatus1NotConfigured ConfigurationStatus1 = original.ConfigurationStatus1NotConfigured
+)
+
+type ConfigurationStatus2 = original.ConfigurationStatus2
+
+const (
+ ConfigurationStatus2Configured ConfigurationStatus2 = original.ConfigurationStatus2Configured
+ ConfigurationStatus2Failed ConfigurationStatus2 = original.ConfigurationStatus2Failed
+ ConfigurationStatus2InProgress ConfigurationStatus2 = original.ConfigurationStatus2InProgress
+ ConfigurationStatus2NoStatus ConfigurationStatus2 = original.ConfigurationStatus2NoStatus
+ ConfigurationStatus2NotConfigured ConfigurationStatus2 = original.ConfigurationStatus2NotConfigured
+)
+
type ConnectionType = original.ConnectionType
const (
@@ -65,6 +103,32 @@ const (
Internal ConnectionType = original.Internal
)
+type DataSource = original.DataSource
+
+const (
+ TwinData DataSource = original.TwinData
+)
+
+type EnforcementMode = original.EnforcementMode
+
+const (
+ Audit EnforcementMode = original.Audit
+ Enforce EnforcementMode = original.Enforce
+)
+
+type EnforcementMode1 = original.EnforcementMode1
+
+const (
+ EnforcementMode1Audit EnforcementMode1 = original.EnforcementMode1Audit
+ EnforcementMode1Enforce EnforcementMode1 = original.EnforcementMode1Enforce
+)
+
+type ExportData = original.ExportData
+
+const (
+ RawEvents ExportData = original.RawEvents
+)
+
type ExternalSecuritySolutionKind = original.ExternalSecuritySolutionKind
const (
@@ -82,6 +146,28 @@ const (
Waf Family = original.Waf
)
+type FileType = original.FileType
+
+const (
+ Dll FileType = original.Dll
+ Exe FileType = original.Exe
+ Executable FileType = original.Executable
+ Msi FileType = original.Msi
+ Script FileType = original.Script
+ Unknown FileType = original.Unknown
+)
+
+type Issue = original.Issue
+
+const (
+ ExecutableViolationsAudited Issue = original.ExecutableViolationsAudited
+ MsiAndScriptViolationsAudited Issue = original.MsiAndScriptViolationsAudited
+ MsiAndScriptViolationsBlocked Issue = original.MsiAndScriptViolationsBlocked
+ RulesViolatedManually Issue = original.RulesViolatedManually
+ ViolationsAudited Issue = original.ViolationsAudited
+ ViolationsBlocked Issue = original.ViolationsBlocked
+)
+
type KindEnum = original.KindEnum
const (
@@ -106,6 +192,69 @@ const (
UDP Protocol = original.UDP
)
+type ProvisioningState = original.ProvisioningState
+
+const (
+ ProvisioningStateCanceled ProvisioningState = original.ProvisioningStateCanceled
+ ProvisioningStateDeprovisioning ProvisioningState = original.ProvisioningStateDeprovisioning
+ ProvisioningStateFailed ProvisioningState = original.ProvisioningStateFailed
+ ProvisioningStateProvisioning ProvisioningState = original.ProvisioningStateProvisioning
+ ProvisioningStateSucceeded ProvisioningState = original.ProvisioningStateSucceeded
+)
+
+type RecommendationAction = original.RecommendationAction
+
+const (
+ RecommendationActionAdd RecommendationAction = original.RecommendationActionAdd
+ RecommendationActionRecommended RecommendationAction = original.RecommendationActionRecommended
+ RecommendationActionRemove RecommendationAction = original.RecommendationActionRemove
+)
+
+type RecommendationAction1 = original.RecommendationAction1
+
+const (
+ RecommendationAction1Add RecommendationAction1 = original.RecommendationAction1Add
+ RecommendationAction1Recommended RecommendationAction1 = original.RecommendationAction1Recommended
+ RecommendationAction1Remove RecommendationAction1 = original.RecommendationAction1Remove
+)
+
+type RecommendationConfigStatus = original.RecommendationConfigStatus
+
+const (
+ Disabled RecommendationConfigStatus = original.Disabled
+ Enabled RecommendationConfigStatus = original.Enabled
+)
+
+type RecommendationStatus = original.RecommendationStatus
+
+const (
+ RecommendationStatusNoStatus RecommendationStatus = original.RecommendationStatusNoStatus
+ RecommendationStatusNotAvailable RecommendationStatus = original.RecommendationStatusNotAvailable
+ RecommendationStatusNotRecommended RecommendationStatus = original.RecommendationStatusNotRecommended
+ RecommendationStatusRecommended RecommendationStatus = original.RecommendationStatusRecommended
+)
+
+type RecommendationType = original.RecommendationType
+
+const (
+ IoTACRAuthentication RecommendationType = original.IoTACRAuthentication
+ IoTAgentSendsUnutilizedMessages RecommendationType = original.IoTAgentSendsUnutilizedMessages
+ IoTBaseline RecommendationType = original.IoTBaseline
+ IoTEdgeHubMemOptimize RecommendationType = original.IoTEdgeHubMemOptimize
+ IoTEdgeLoggingOptions RecommendationType = original.IoTEdgeLoggingOptions
+ IoTInconsistentModuleSettings RecommendationType = original.IoTInconsistentModuleSettings
+ IoTInstallAgent RecommendationType = original.IoTInstallAgent
+ IoTIPFilterDenyAll RecommendationType = original.IoTIPFilterDenyAll
+ IoTIPFilterPermissiveRule RecommendationType = original.IoTIPFilterPermissiveRule
+ IoTOpenPorts RecommendationType = original.IoTOpenPorts
+ IoTPermissiveFirewallPolicy RecommendationType = original.IoTPermissiveFirewallPolicy
+ IoTPermissiveInputFirewallRules RecommendationType = original.IoTPermissiveInputFirewallRules
+ IoTPermissiveOutputFirewallRules RecommendationType = original.IoTPermissiveOutputFirewallRules
+ IoTPrivilegedDockerOptions RecommendationType = original.IoTPrivilegedDockerOptions
+ IoTSharedCredentials RecommendationType = original.IoTSharedCredentials
+ IoTVulnerableTLSCipherSuite RecommendationType = original.IoTVulnerableTLSCipherSuite
+)
+
type ReportedSeverity = original.ReportedSeverity
const (
@@ -131,13 +280,30 @@ const (
SettingKindDataExportSetting SettingKind = original.SettingKindDataExportSetting
)
+type SolutionStatus = original.SolutionStatus
+
+const (
+ SolutionStatusDisabled SolutionStatus = original.SolutionStatusDisabled
+ SolutionStatusEnabled SolutionStatus = original.SolutionStatusEnabled
+)
+
+type SourceSystem = original.SourceSystem
+
+const (
+ AzureAppLocker SourceSystem = original.AzureAppLocker
+ AzureAuditD SourceSystem = original.AzureAuditD
+ NonAzureAppLocker SourceSystem = original.NonAzureAppLocker
+ NonAzureAuditD SourceSystem = original.NonAzureAuditD
+ None SourceSystem = original.None
+)
+
type State = original.State
const (
- Failed State = original.Failed
- Passed State = original.Passed
- Skipped State = original.Skipped
- Unsupported State = original.Unsupported
+ StateFailed State = original.StateFailed
+ StatePassed State = original.StatePassed
+ StateSkipped State = original.StateSkipped
+ StateUnsupported State = original.StateUnsupported
)
type Status = original.Status
@@ -155,9 +321,21 @@ const (
UserRequested StatusReason = original.UserRequested
)
+type Type = original.Type
+
+const (
+ BinarySignature Type = original.BinarySignature
+ File Type = original.File
+ FileHash Type = original.FileHash
+ ProductSignature Type = original.ProductSignature
+ PublisherSignature Type = original.PublisherSignature
+ VersionAndAboveSignature Type = original.VersionAndAboveSignature
+)
+
type AadConnectivityState1 = original.AadConnectivityState1
type AadExternalSecuritySolution = original.AadExternalSecuritySolution
type AadSolutionProperties = original.AadSolutionProperties
+type AdaptiveApplicationControlsClient = original.AdaptiveApplicationControlsClient
type AdvancedThreatProtectionClient = original.AdvancedThreatProtectionClient
type AdvancedThreatProtectionProperties = original.AdvancedThreatProtectionProperties
type AdvancedThreatProtectionSetting = original.AdvancedThreatProtectionSetting
@@ -175,6 +353,11 @@ type AllowedConnectionsListIterator = original.AllowedConnectionsListIterator
type AllowedConnectionsListPage = original.AllowedConnectionsListPage
type AllowedConnectionsResource = original.AllowedConnectionsResource
type AllowedConnectionsResourceProperties = original.AllowedConnectionsResourceProperties
+type AppWhitelistingGroup = original.AppWhitelistingGroup
+type AppWhitelistingGroupData = original.AppWhitelistingGroupData
+type AppWhitelistingGroups = original.AppWhitelistingGroups
+type AppWhitelistingIssueSummary = original.AppWhitelistingIssueSummary
+type AppWhitelistingPutGroupData = original.AppWhitelistingPutGroupData
type AscLocation = original.AscLocation
type AscLocationList = original.AscLocationList
type AscLocationListIterator = original.AscLocationListIterator
@@ -239,6 +422,40 @@ type InformationProtectionPolicyListIterator = original.InformationProtectionPol
type InformationProtectionPolicyListPage = original.InformationProtectionPolicyListPage
type InformationProtectionPolicyProperties = original.InformationProtectionPolicyProperties
type InformationType = original.InformationType
+type IoTSecurityAggregatedAlert = original.IoTSecurityAggregatedAlert
+type IoTSecurityAggregatedAlertList = original.IoTSecurityAggregatedAlertList
+type IoTSecurityAggregatedAlertListIterator = original.IoTSecurityAggregatedAlertListIterator
+type IoTSecurityAggregatedAlertListPage = original.IoTSecurityAggregatedAlertListPage
+type IoTSecurityAggregatedAlertProperties = original.IoTSecurityAggregatedAlertProperties
+type IoTSecurityAggregatedRecommendation = original.IoTSecurityAggregatedRecommendation
+type IoTSecurityAggregatedRecommendationList = original.IoTSecurityAggregatedRecommendationList
+type IoTSecurityAggregatedRecommendationListIterator = original.IoTSecurityAggregatedRecommendationListIterator
+type IoTSecurityAggregatedRecommendationListPage = original.IoTSecurityAggregatedRecommendationListPage
+type IoTSecurityAggregatedRecommendationProperties = original.IoTSecurityAggregatedRecommendationProperties
+type IoTSecurityAlertedDevice = original.IoTSecurityAlertedDevice
+type IoTSecurityAlertedDevicesList = original.IoTSecurityAlertedDevicesList
+type IoTSecurityDeviceAlert = original.IoTSecurityDeviceAlert
+type IoTSecurityDeviceAlertsList = original.IoTSecurityDeviceAlertsList
+type IoTSecurityDeviceRecommendation = original.IoTSecurityDeviceRecommendation
+type IoTSecurityDeviceRecommendationsList = original.IoTSecurityDeviceRecommendationsList
+type IoTSecuritySolutionAnalyticsModel = original.IoTSecuritySolutionAnalyticsModel
+type IoTSecuritySolutionAnalyticsModelList = original.IoTSecuritySolutionAnalyticsModelList
+type IoTSecuritySolutionAnalyticsModelProperties = original.IoTSecuritySolutionAnalyticsModelProperties
+type IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem = original.IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem
+type IoTSecuritySolutionModel = original.IoTSecuritySolutionModel
+type IoTSecuritySolutionProperties = original.IoTSecuritySolutionProperties
+type IoTSecuritySolutionsAnalyticsAggregatedAlertClient = original.IoTSecuritySolutionsAnalyticsAggregatedAlertClient
+type IoTSecuritySolutionsAnalyticsAggregatedAlertsClient = original.IoTSecuritySolutionsAnalyticsAggregatedAlertsClient
+type IoTSecuritySolutionsAnalyticsClient = original.IoTSecuritySolutionsAnalyticsClient
+type IoTSecuritySolutionsAnalyticsRecommendationClient = original.IoTSecuritySolutionsAnalyticsRecommendationClient
+type IoTSecuritySolutionsAnalyticsRecommendationsClient = original.IoTSecuritySolutionsAnalyticsRecommendationsClient
+type IoTSecuritySolutionsClient = original.IoTSecuritySolutionsClient
+type IoTSecuritySolutionsList = original.IoTSecuritySolutionsList
+type IoTSecuritySolutionsListIterator = original.IoTSecuritySolutionsListIterator
+type IoTSecuritySolutionsListPage = original.IoTSecuritySolutionsListPage
+type IoTSecuritySolutionsResourceGroupClient = original.IoTSecuritySolutionsResourceGroupClient
+type IoTSeverityMetrics = original.IoTSeverityMetrics
+type IotSecuritySolutionClient = original.IotSecuritySolutionClient
type JitNetworkAccessPoliciesClient = original.JitNetworkAccessPoliciesClient
type JitNetworkAccessPoliciesList = original.JitNetworkAccessPoliciesList
type JitNetworkAccessPoliciesListIterator = original.JitNetworkAccessPoliciesListIterator
@@ -262,10 +479,13 @@ type OperationList = original.OperationList
type OperationListIterator = original.OperationListIterator
type OperationListPage = original.OperationListPage
type OperationsClient = original.OperationsClient
+type PathRecommendation = original.PathRecommendation
type Pricing = original.Pricing
type PricingList = original.PricingList
type PricingProperties = original.PricingProperties
type PricingsClient = original.PricingsClient
+type PublisherInfo = original.PublisherInfo
+type RecommendationConfigurationProperties = original.RecommendationConfigurationProperties
type RegulatoryComplianceAssessment = original.RegulatoryComplianceAssessment
type RegulatoryComplianceAssessmentList = original.RegulatoryComplianceAssessmentList
type RegulatoryComplianceAssessmentListIterator = original.RegulatoryComplianceAssessmentListIterator
@@ -286,12 +506,17 @@ type RegulatoryComplianceStandardProperties = original.RegulatoryComplianceStand
type RegulatoryComplianceStandardsClient = original.RegulatoryComplianceStandardsClient
type Resource = original.Resource
type SensitivityLabel = original.SensitivityLabel
+type ServerVulnerabilityAssessment = original.ServerVulnerabilityAssessment
+type ServerVulnerabilityAssessmentClient = original.ServerVulnerabilityAssessmentClient
+type ServerVulnerabilityAssessmentProperties = original.ServerVulnerabilityAssessmentProperties
+type ServerVulnerabilityAssessmentsList = original.ServerVulnerabilityAssessmentsList
type Setting = original.Setting
type SettingResource = original.SettingResource
type SettingsClient = original.SettingsClient
type SettingsList = original.SettingsList
type SettingsListIterator = original.SettingsListIterator
type SettingsListPage = original.SettingsListPage
+type TagsResource = original.TagsResource
type Task = original.Task
type TaskList = original.TaskList
type TaskListIterator = original.TaskListIterator
@@ -308,6 +533,10 @@ type TopologyResourceProperties = original.TopologyResourceProperties
type TopologySingleResource = original.TopologySingleResource
type TopologySingleResourceChild = original.TopologySingleResourceChild
type TopologySingleResourceParent = original.TopologySingleResourceParent
+type UpdateIotSecuritySolutionData = original.UpdateIotSecuritySolutionData
+type UserDefinedResourcesProperties = original.UserDefinedResourcesProperties
+type UserRecommendation = original.UserRecommendation
+type VMRecommendation = original.VMRecommendation
type WorkspaceSetting = original.WorkspaceSetting
type WorkspaceSettingList = original.WorkspaceSettingList
type WorkspaceSettingListIterator = original.WorkspaceSettingListIterator
@@ -318,6 +547,12 @@ type WorkspaceSettingsClient = original.WorkspaceSettingsClient
func New(subscriptionID string, ascLocation string) BaseClient {
return original.New(subscriptionID, ascLocation)
}
+func NewAdaptiveApplicationControlsClient(subscriptionID string, ascLocation string) AdaptiveApplicationControlsClient {
+ return original.NewAdaptiveApplicationControlsClient(subscriptionID, ascLocation)
+}
+func NewAdaptiveApplicationControlsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AdaptiveApplicationControlsClient {
+ return original.NewAdaptiveApplicationControlsClientWithBaseURI(baseURI, subscriptionID, ascLocation)
+}
func NewAdvancedThreatProtectionClient(subscriptionID string, ascLocation string) AdvancedThreatProtectionClient {
return original.NewAdvancedThreatProtectionClient(subscriptionID, ascLocation)
}
@@ -438,6 +673,72 @@ func NewInformationProtectionPolicyListIterator(page InformationProtectionPolicy
func NewInformationProtectionPolicyListPage(getNextPage func(context.Context, InformationProtectionPolicyList) (InformationProtectionPolicyList, error)) InformationProtectionPolicyListPage {
return original.NewInformationProtectionPolicyListPage(getNextPage)
}
+func NewIoTSecurityAggregatedAlertListIterator(page IoTSecurityAggregatedAlertListPage) IoTSecurityAggregatedAlertListIterator {
+ return original.NewIoTSecurityAggregatedAlertListIterator(page)
+}
+func NewIoTSecurityAggregatedAlertListPage(getNextPage func(context.Context, IoTSecurityAggregatedAlertList) (IoTSecurityAggregatedAlertList, error)) IoTSecurityAggregatedAlertListPage {
+ return original.NewIoTSecurityAggregatedAlertListPage(getNextPage)
+}
+func NewIoTSecurityAggregatedRecommendationListIterator(page IoTSecurityAggregatedRecommendationListPage) IoTSecurityAggregatedRecommendationListIterator {
+ return original.NewIoTSecurityAggregatedRecommendationListIterator(page)
+}
+func NewIoTSecurityAggregatedRecommendationListPage(getNextPage func(context.Context, IoTSecurityAggregatedRecommendationList) (IoTSecurityAggregatedRecommendationList, error)) IoTSecurityAggregatedRecommendationListPage {
+ return original.NewIoTSecurityAggregatedRecommendationListPage(getNextPage)
+}
+func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertClient {
+ return original.NewIoTSecuritySolutionsAnalyticsAggregatedAlertClient(subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertClient {
+ return original.NewIoTSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI(baseURI, subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertsClient {
+ return original.NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClient(subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertsClient {
+ return original.NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClientWithBaseURI(baseURI, subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsAnalyticsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsClient {
+ return original.NewIoTSecuritySolutionsAnalyticsClient(subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsAnalyticsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsClient {
+ return original.NewIoTSecuritySolutionsAnalyticsClientWithBaseURI(baseURI, subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsAnalyticsRecommendationClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationClient {
+ return original.NewIoTSecuritySolutionsAnalyticsRecommendationClient(subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsAnalyticsRecommendationClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationClient {
+ return original.NewIoTSecuritySolutionsAnalyticsRecommendationClientWithBaseURI(baseURI, subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsAnalyticsRecommendationsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationsClient {
+ return original.NewIoTSecuritySolutionsAnalyticsRecommendationsClient(subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsAnalyticsRecommendationsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationsClient {
+ return original.NewIoTSecuritySolutionsAnalyticsRecommendationsClientWithBaseURI(baseURI, subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsClient {
+ return original.NewIoTSecuritySolutionsClient(subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsClient {
+ return original.NewIoTSecuritySolutionsClientWithBaseURI(baseURI, subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsListIterator(page IoTSecuritySolutionsListPage) IoTSecuritySolutionsListIterator {
+ return original.NewIoTSecuritySolutionsListIterator(page)
+}
+func NewIoTSecuritySolutionsListPage(getNextPage func(context.Context, IoTSecuritySolutionsList) (IoTSecuritySolutionsList, error)) IoTSecuritySolutionsListPage {
+ return original.NewIoTSecuritySolutionsListPage(getNextPage)
+}
+func NewIoTSecuritySolutionsResourceGroupClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsResourceGroupClient {
+ return original.NewIoTSecuritySolutionsResourceGroupClient(subscriptionID, ascLocation)
+}
+func NewIoTSecuritySolutionsResourceGroupClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsResourceGroupClient {
+ return original.NewIoTSecuritySolutionsResourceGroupClientWithBaseURI(baseURI, subscriptionID, ascLocation)
+}
+func NewIotSecuritySolutionClient(subscriptionID string, ascLocation string) IotSecuritySolutionClient {
+ return original.NewIotSecuritySolutionClient(subscriptionID, ascLocation)
+}
+func NewIotSecuritySolutionClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IotSecuritySolutionClient {
+ return original.NewIotSecuritySolutionClientWithBaseURI(baseURI, subscriptionID, ascLocation)
+}
func NewJitNetworkAccessPoliciesClient(subscriptionID string, ascLocation string) JitNetworkAccessPoliciesClient {
return original.NewJitNetworkAccessPoliciesClient(subscriptionID, ascLocation)
}
@@ -510,6 +811,12 @@ func NewRegulatoryComplianceStandardsClient(subscriptionID string, ascLocation s
func NewRegulatoryComplianceStandardsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) RegulatoryComplianceStandardsClient {
return original.NewRegulatoryComplianceStandardsClientWithBaseURI(baseURI, subscriptionID, ascLocation)
}
+func NewServerVulnerabilityAssessmentClient(subscriptionID string, ascLocation string) ServerVulnerabilityAssessmentClient {
+ return original.NewServerVulnerabilityAssessmentClient(subscriptionID, ascLocation)
+}
+func NewServerVulnerabilityAssessmentClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ServerVulnerabilityAssessmentClient {
+ return original.NewServerVulnerabilityAssessmentClientWithBaseURI(baseURI, subscriptionID, ascLocation)
+}
func NewSettingsClient(subscriptionID string, ascLocation string) SettingsClient {
return original.NewSettingsClient(subscriptionID, ascLocation)
}
@@ -564,6 +871,9 @@ func NewWorkspaceSettingsClientWithBaseURI(baseURI string, subscriptionID string
func PossibleAadConnectivityStateValues() []AadConnectivityState {
return original.PossibleAadConnectivityStateValues()
}
+func PossibleActionValues() []Action {
+ return original.PossibleActionValues()
+}
func PossibleAlertNotificationsValues() []AlertNotifications {
return original.PossibleAlertNotificationsValues()
}
@@ -573,15 +883,42 @@ func PossibleAlertsToAdminsValues() []AlertsToAdmins {
func PossibleAutoProvisionValues() []AutoProvision {
return original.PossibleAutoProvisionValues()
}
+func PossibleConfigurationStatus1Values() []ConfigurationStatus1 {
+ return original.PossibleConfigurationStatus1Values()
+}
+func PossibleConfigurationStatus2Values() []ConfigurationStatus2 {
+ return original.PossibleConfigurationStatus2Values()
+}
+func PossibleConfigurationStatusValues() []ConfigurationStatus {
+ return original.PossibleConfigurationStatusValues()
+}
func PossibleConnectionTypeValues() []ConnectionType {
return original.PossibleConnectionTypeValues()
}
+func PossibleDataSourceValues() []DataSource {
+ return original.PossibleDataSourceValues()
+}
+func PossibleEnforcementMode1Values() []EnforcementMode1 {
+ return original.PossibleEnforcementMode1Values()
+}
+func PossibleEnforcementModeValues() []EnforcementMode {
+ return original.PossibleEnforcementModeValues()
+}
+func PossibleExportDataValues() []ExportData {
+ return original.PossibleExportDataValues()
+}
func PossibleExternalSecuritySolutionKindValues() []ExternalSecuritySolutionKind {
return original.PossibleExternalSecuritySolutionKindValues()
}
func PossibleFamilyValues() []Family {
return original.PossibleFamilyValues()
}
+func PossibleFileTypeValues() []FileType {
+ return original.PossibleFileTypeValues()
+}
+func PossibleIssueValues() []Issue {
+ return original.PossibleIssueValues()
+}
func PossibleKindEnumValues() []KindEnum {
return original.PossibleKindEnumValues()
}
@@ -591,6 +928,24 @@ func PossiblePricingTierValues() []PricingTier {
func PossibleProtocolValues() []Protocol {
return original.PossibleProtocolValues()
}
+func PossibleProvisioningStateValues() []ProvisioningState {
+ return original.PossibleProvisioningStateValues()
+}
+func PossibleRecommendationAction1Values() []RecommendationAction1 {
+ return original.PossibleRecommendationAction1Values()
+}
+func PossibleRecommendationActionValues() []RecommendationAction {
+ return original.PossibleRecommendationActionValues()
+}
+func PossibleRecommendationConfigStatusValues() []RecommendationConfigStatus {
+ return original.PossibleRecommendationConfigStatusValues()
+}
+func PossibleRecommendationStatusValues() []RecommendationStatus {
+ return original.PossibleRecommendationStatusValues()
+}
+func PossibleRecommendationTypeValues() []RecommendationType {
+ return original.PossibleRecommendationTypeValues()
+}
func PossibleReportedSeverityValues() []ReportedSeverity {
return original.PossibleReportedSeverityValues()
}
@@ -600,6 +955,12 @@ func PossibleResourceStatusValues() []ResourceStatus {
func PossibleSettingKindValues() []SettingKind {
return original.PossibleSettingKindValues()
}
+func PossibleSolutionStatusValues() []SolutionStatus {
+ return original.PossibleSolutionStatusValues()
+}
+func PossibleSourceSystemValues() []SourceSystem {
+ return original.PossibleSourceSystemValues()
+}
func PossibleStateValues() []State {
return original.PossibleStateValues()
}
@@ -609,6 +970,9 @@ func PossibleStatusReasonValues() []StatusReason {
func PossibleStatusValues() []Status {
return original.PossibleStatusValues()
}
+func PossibleTypeValues() []Type {
+ return original.PossibleTypeValues()
+}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
diff --git a/profiles/preview/preview/security/mgmt/security/securityapi/models.go b/profiles/preview/preview/security/mgmt/security/securityapi/models.go
index ca076e9ddf44..f3f1649c0b39 100644
--- a/profiles/preview/preview/security/mgmt/security/securityapi/models.go
+++ b/profiles/preview/preview/security/mgmt/security/securityapi/models.go
@@ -21,6 +21,7 @@ package securityapi
import original "github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security/securityapi"
+type AdaptiveApplicationControlsClientAPI = original.AdaptiveApplicationControlsClientAPI
type AdvancedThreatProtectionClientAPI = original.AdvancedThreatProtectionClientAPI
type AlertsClientAPI = original.AlertsClientAPI
type AllowedConnectionsClientAPI = original.AllowedConnectionsClientAPI
@@ -31,6 +32,14 @@ type ContactsClientAPI = original.ContactsClientAPI
type DiscoveredSecuritySolutionsClientAPI = original.DiscoveredSecuritySolutionsClientAPI
type ExternalSecuritySolutionsClientAPI = original.ExternalSecuritySolutionsClientAPI
type InformationProtectionPoliciesClientAPI = original.InformationProtectionPoliciesClientAPI
+type IoTSecuritySolutionsAnalyticsAggregatedAlertClientAPI = original.IoTSecuritySolutionsAnalyticsAggregatedAlertClientAPI
+type IoTSecuritySolutionsAnalyticsAggregatedAlertsClientAPI = original.IoTSecuritySolutionsAnalyticsAggregatedAlertsClientAPI
+type IoTSecuritySolutionsAnalyticsClientAPI = original.IoTSecuritySolutionsAnalyticsClientAPI
+type IoTSecuritySolutionsAnalyticsRecommendationClientAPI = original.IoTSecuritySolutionsAnalyticsRecommendationClientAPI
+type IoTSecuritySolutionsAnalyticsRecommendationsClientAPI = original.IoTSecuritySolutionsAnalyticsRecommendationsClientAPI
+type IoTSecuritySolutionsClientAPI = original.IoTSecuritySolutionsClientAPI
+type IoTSecuritySolutionsResourceGroupClientAPI = original.IoTSecuritySolutionsResourceGroupClientAPI
+type IotSecuritySolutionClientAPI = original.IotSecuritySolutionClientAPI
type JitNetworkAccessPoliciesClientAPI = original.JitNetworkAccessPoliciesClientAPI
type LocationsClientAPI = original.LocationsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
@@ -38,6 +47,7 @@ type PricingsClientAPI = original.PricingsClientAPI
type RegulatoryComplianceAssessmentsClientAPI = original.RegulatoryComplianceAssessmentsClientAPI
type RegulatoryComplianceControlsClientAPI = original.RegulatoryComplianceControlsClientAPI
type RegulatoryComplianceStandardsClientAPI = original.RegulatoryComplianceStandardsClientAPI
+type ServerVulnerabilityAssessmentClientAPI = original.ServerVulnerabilityAssessmentClientAPI
type SettingsClientAPI = original.SettingsClientAPI
type TasksClientAPI = original.TasksClientAPI
type TopologyClientAPI = original.TopologyClientAPI
diff --git a/profiles/preview/preview/securityinsight/mgmt/securityinsight/models.go b/profiles/preview/preview/securityinsight/mgmt/securityinsight/models.go
index 996df2bae3f3..c922c6c0f486 100644
--- a/profiles/preview/preview/securityinsight/mgmt/securityinsight/models.go
+++ b/profiles/preview/preview/securityinsight/mgmt/securityinsight/models.go
@@ -80,11 +80,14 @@ const (
type DataConnectorKind = original.DataConnectorKind
const (
- AzureActiveDirectory DataConnectorKind = original.AzureActiveDirectory
- AzureSecurityCenter DataConnectorKind = original.AzureSecurityCenter
- MicrosoftCloudAppSecurity DataConnectorKind = original.MicrosoftCloudAppSecurity
- Office365 DataConnectorKind = original.Office365
- ThreatIntelligence DataConnectorKind = original.ThreatIntelligence
+ AmazonWebServicesCloudTrail DataConnectorKind = original.AmazonWebServicesCloudTrail
+ AzureActiveDirectory DataConnectorKind = original.AzureActiveDirectory
+ AzureAdvancedThreatProtection DataConnectorKind = original.AzureAdvancedThreatProtection
+ AzureSecurityCenter DataConnectorKind = original.AzureSecurityCenter
+ MicrosoftCloudAppSecurity DataConnectorKind = original.MicrosoftCloudAppSecurity
+ MicrosoftDefenderAdvancedThreatProtection DataConnectorKind = original.MicrosoftDefenderAdvancedThreatProtection
+ Office365 DataConnectorKind = original.Office365
+ ThreatIntelligence DataConnectorKind = original.ThreatIntelligence
)
type DataTypeState = original.DataTypeState
@@ -119,12 +122,15 @@ const (
type KindBasicDataConnector = original.KindBasicDataConnector
const (
- KindAzureActiveDirectory KindBasicDataConnector = original.KindAzureActiveDirectory
- KindAzureSecurityCenter KindBasicDataConnector = original.KindAzureSecurityCenter
- KindDataConnector KindBasicDataConnector = original.KindDataConnector
- KindMicrosoftCloudAppSecurity KindBasicDataConnector = original.KindMicrosoftCloudAppSecurity
- KindOffice365 KindBasicDataConnector = original.KindOffice365
- KindThreatIntelligence KindBasicDataConnector = original.KindThreatIntelligence
+ KindAmazonWebServicesCloudTrail KindBasicDataConnector = original.KindAmazonWebServicesCloudTrail
+ KindAzureActiveDirectory KindBasicDataConnector = original.KindAzureActiveDirectory
+ KindAzureAdvancedThreatProtection KindBasicDataConnector = original.KindAzureAdvancedThreatProtection
+ KindAzureSecurityCenter KindBasicDataConnector = original.KindAzureSecurityCenter
+ KindDataConnector KindBasicDataConnector = original.KindDataConnector
+ KindMicrosoftCloudAppSecurity KindBasicDataConnector = original.KindMicrosoftCloudAppSecurity
+ KindMicrosoftDefenderAdvancedThreatProtection KindBasicDataConnector = original.KindMicrosoftDefenderAdvancedThreatProtection
+ KindOffice365 KindBasicDataConnector = original.KindOffice365
+ KindThreatIntelligence KindBasicDataConnector = original.KindThreatIntelligence
)
type KindBasicEntity = original.KindBasicEntity
@@ -185,6 +191,8 @@ const (
type AADDataConnector = original.AADDataConnector
type AADDataConnectorProperties = original.AADDataConnectorProperties
+type AATPDataConnector = original.AATPDataConnector
+type AATPDataConnectorProperties = original.AATPDataConnectorProperties
type ASCDataConnector = original.ASCDataConnector
type ASCDataConnectorProperties = original.ASCDataConnectorProperties
type AccountEntity = original.AccountEntity
@@ -207,6 +215,10 @@ type AlertRulesListIterator = original.AlertRulesListIterator
type AlertRulesListPage = original.AlertRulesListPage
type AlertsDataTypeOfDataConnector = original.AlertsDataTypeOfDataConnector
type AlertsDataTypeOfDataConnectorAlerts = original.AlertsDataTypeOfDataConnectorAlerts
+type AwsCloudTrailDataConnector = original.AwsCloudTrailDataConnector
+type AwsCloudTrailDataConnectorDataTypes = original.AwsCloudTrailDataConnectorDataTypes
+type AwsCloudTrailDataConnectorDataTypesLogs = original.AwsCloudTrailDataConnectorDataTypesLogs
+type AwsCloudTrailDataConnectorProperties = original.AwsCloudTrailDataConnectorProperties
type BaseClient = original.BaseClient
type BasicAggregations = original.BasicAggregations
type BasicAlertRule = original.BasicAlertRule
@@ -260,7 +272,11 @@ type FileEntityProperties = original.FileEntityProperties
type HostEntity = original.HostEntity
type HostEntityProperties = original.HostEntityProperties
type MCASDataConnector = original.MCASDataConnector
+type MCASDataConnectorDataTypes = original.MCASDataConnectorDataTypes
+type MCASDataConnectorDataTypesDiscoveryLogs = original.MCASDataConnectorDataTypesDiscoveryLogs
type MCASDataConnectorProperties = original.MCASDataConnectorProperties
+type MDATPDataConnector = original.MDATPDataConnector
+type MDATPDataConnectorProperties = original.MDATPDataConnectorProperties
type OfficeConsent = original.OfficeConsent
type OfficeConsentList = original.OfficeConsentList
type OfficeConsentListIterator = original.OfficeConsentListIterator
diff --git a/profiles/preview/resources/mgmt/policy/models.go b/profiles/preview/resources/mgmt/policy/models.go
index 0cdc185d1e60..85b79b003622 100644
--- a/profiles/preview/resources/mgmt/policy/models.go
+++ b/profiles/preview/resources/mgmt/policy/models.go
@@ -22,21 +22,13 @@ package policy
import (
"context"
- original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy"
+ original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-01-01/policy"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
-type Mode = original.Mode
-
-const (
- All Mode = original.All
- Indexed Mode = original.Indexed
- NotSpecified Mode = original.NotSpecified
-)
-
type ResourceIdentityType = original.ResourceIdentityType
const (
@@ -47,9 +39,9 @@ const (
type Type = original.Type
const (
- TypeBuiltIn Type = original.TypeBuiltIn
- TypeCustom Type = original.TypeCustom
- TypeNotSpecified Type = original.TypeNotSpecified
+ BuiltIn Type = original.BuiltIn
+ Custom Type = original.Custom
+ NotSpecified Type = original.NotSpecified
)
type Assignment = original.Assignment
@@ -118,9 +110,6 @@ func NewSetDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) S
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
-func PossibleModeValues() []Mode {
- return original.PossibleModeValues()
-}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
diff --git a/profiles/preview/resources/mgmt/policy/policyapi/models.go b/profiles/preview/resources/mgmt/policy/policyapi/models.go
index ce8ae2e9d56c..a4c9803aa76a 100644
--- a/profiles/preview/resources/mgmt/policy/policyapi/models.go
+++ b/profiles/preview/resources/mgmt/policy/policyapi/models.go
@@ -19,7 +19,7 @@
package policyapi
-import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/policyapi"
+import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-01-01/policy/policyapi"
type AssignmentsClientAPI = original.AssignmentsClientAPI
type DefinitionsClientAPI = original.DefinitionsClientAPI
diff --git a/profiles/preview/signalr/mgmt/signalr/models.go b/profiles/preview/signalr/mgmt/signalr/models.go
index 505b5777531a..2e63915998b2 100644
--- a/profiles/preview/signalr/mgmt/signalr/models.go
+++ b/profiles/preview/signalr/mgmt/signalr/models.go
@@ -61,6 +61,7 @@ const (
type BaseClient = original.BaseClient
type Client = original.Client
+type CorsSettings = original.CorsSettings
type CreateOrUpdateFuture = original.CreateOrUpdateFuture
type CreateOrUpdateProperties = original.CreateOrUpdateProperties
type CreateParameters = original.CreateParameters
diff --git a/profiles/preview/windowsiot/mgmt/windowsiot/models.go b/profiles/preview/windowsiot/mgmt/windowsiot/models.go
new file mode 100644
index 000000000000..eadd75ed7853
--- /dev/null
+++ b/profiles/preview/windowsiot/mgmt/windowsiot/models.go
@@ -0,0 +1,97 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package windowsiot
+
+import (
+ "context"
+
+ original "github.com/Azure/azure-sdk-for-go/services/windowsiot/mgmt/2019-06-01/windowsiot"
+)
+
+const (
+ DefaultBaseURI = original.DefaultBaseURI
+)
+
+type ServiceNameUnavailabilityReason = original.ServiceNameUnavailabilityReason
+
+const (
+ AlreadyExists ServiceNameUnavailabilityReason = original.AlreadyExists
+ Invalid ServiceNameUnavailabilityReason = original.Invalid
+)
+
+type BaseClient = original.BaseClient
+type DeviceService = original.DeviceService
+type DeviceServiceCheckNameAvailabilityParameters = original.DeviceServiceCheckNameAvailabilityParameters
+type DeviceServiceDescriptionListResult = original.DeviceServiceDescriptionListResult
+type DeviceServiceDescriptionListResultIterator = original.DeviceServiceDescriptionListResultIterator
+type DeviceServiceDescriptionListResultPage = original.DeviceServiceDescriptionListResultPage
+type DeviceServiceNameAvailabilityInfo = original.DeviceServiceNameAvailabilityInfo
+type DeviceServiceProperties = original.DeviceServiceProperties
+type ErrorDetails = original.ErrorDetails
+type OperationDisplayInfo = original.OperationDisplayInfo
+type OperationEntity = original.OperationEntity
+type OperationListResult = original.OperationListResult
+type OperationListResultIterator = original.OperationListResultIterator
+type OperationListResultPage = original.OperationListResultPage
+type OperationsClient = original.OperationsClient
+type ProxyResource = original.ProxyResource
+type Resource = original.Resource
+type ServicesClient = original.ServicesClient
+type TrackedResource = original.TrackedResource
+
+func New(subscriptionID string) BaseClient {
+ return original.New(subscriptionID)
+}
+func NewDeviceServiceDescriptionListResultIterator(page DeviceServiceDescriptionListResultPage) DeviceServiceDescriptionListResultIterator {
+ return original.NewDeviceServiceDescriptionListResultIterator(page)
+}
+func NewDeviceServiceDescriptionListResultPage(getNextPage func(context.Context, DeviceServiceDescriptionListResult) (DeviceServiceDescriptionListResult, error)) DeviceServiceDescriptionListResultPage {
+ return original.NewDeviceServiceDescriptionListResultPage(getNextPage)
+}
+func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
+ return original.NewOperationListResultIterator(page)
+}
+func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
+ return original.NewOperationListResultPage(getNextPage)
+}
+func NewOperationsClient(subscriptionID string) OperationsClient {
+ return original.NewOperationsClient(subscriptionID)
+}
+func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
+ return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewServicesClient(subscriptionID string) ServicesClient {
+ return original.NewServicesClient(subscriptionID)
+}
+func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient {
+ return original.NewServicesClientWithBaseURI(baseURI, subscriptionID)
+}
+func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
+ return original.NewWithBaseURI(baseURI, subscriptionID)
+}
+func PossibleServiceNameUnavailabilityReasonValues() []ServiceNameUnavailabilityReason {
+ return original.PossibleServiceNameUnavailabilityReasonValues()
+}
+func UserAgent() string {
+ return original.UserAgent() + " profiles/preview"
+}
+func Version() string {
+ return original.Version()
+}
diff --git a/profiles/preview/windowsiot/mgmt/windowsiot/windowsiotapi/models.go b/profiles/preview/windowsiot/mgmt/windowsiot/windowsiotapi/models.go
new file mode 100644
index 000000000000..b23facad9bcd
--- /dev/null
+++ b/profiles/preview/windowsiot/mgmt/windowsiot/windowsiotapi/models.go
@@ -0,0 +1,25 @@
+// +build go1.9
+
+// Copyright 2019 Microsoft Corporation
+//
+// 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.
+
+// This code was auto-generated by:
+// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
+
+package windowsiotapi
+
+import original "github.com/Azure/azure-sdk-for-go/services/windowsiot/mgmt/2019-06-01/windowsiot/windowsiotapi"
+
+type OperationsClientAPI = original.OperationsClientAPI
+type ServicesClientAPI = original.ServicesClientAPI
diff --git a/services/aad/mgmt/2017-04-01/aad/aadapi/interfaces.go b/services/aad/mgmt/2017-04-01/aad/aadapi/interfaces.go
new file mode 100644
index 000000000000..6bea0e0122f3
--- /dev/null
+++ b/services/aad/mgmt/2017-04-01/aad/aadapi/interfaces.go
@@ -0,0 +1,48 @@
+package aadapi
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/azure-sdk-for-go/services/aad/mgmt/2017-04-01/aad"
+ "github.com/Azure/go-autorest/autorest"
+)
+
+// OperationsClientAPI contains the set of methods on the OperationsClient type.
+type OperationsClientAPI interface {
+ List(ctx context.Context) (result aad.OperationsDiscoveryCollection, err error)
+}
+
+var _ OperationsClientAPI = (*aad.OperationsClient)(nil)
+
+// DiagnosticSettingsClientAPI contains the set of methods on the DiagnosticSettingsClient type.
+type DiagnosticSettingsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, parameters aad.DiagnosticSettingsResource, name string) (result aad.DiagnosticSettingsResource, err error)
+ Delete(ctx context.Context, name string) (result autorest.Response, err error)
+ Get(ctx context.Context, name string) (result aad.DiagnosticSettingsResource, err error)
+ List(ctx context.Context) (result aad.DiagnosticSettingsResourceCollection, err error)
+}
+
+var _ DiagnosticSettingsClientAPI = (*aad.DiagnosticSettingsClient)(nil)
+
+// DiagnosticSettingsCategoryClientAPI contains the set of methods on the DiagnosticSettingsCategoryClient type.
+type DiagnosticSettingsCategoryClientAPI interface {
+ List(ctx context.Context) (result aad.DiagnosticSettingsCategoryResourceCollection, err error)
+}
+
+var _ DiagnosticSettingsCategoryClientAPI = (*aad.DiagnosticSettingsCategoryClient)(nil)
diff --git a/services/aad/mgmt/2017-04-01/aad/client.go b/services/aad/mgmt/2017-04-01/aad/client.go
new file mode 100644
index 000000000000..ebb03052e7f6
--- /dev/null
+++ b/services/aad/mgmt/2017-04-01/aad/client.go
@@ -0,0 +1,49 @@
+// Package aad implements the Azure ARM Aad service API version 2017-04-01.
+//
+// Azure Active Directory Client.
+package aad
+
+// 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.
+
+import (
+ "github.com/Azure/go-autorest/autorest"
+)
+
+const (
+ // DefaultBaseURI is the default URI used for the service Aad
+ DefaultBaseURI = "https://management.azure.com"
+)
+
+// BaseClient is the base client for Aad.
+type BaseClient struct {
+ autorest.Client
+ BaseURI string
+}
+
+// New creates an instance of the BaseClient client.
+func New() BaseClient {
+ return NewWithBaseURI(DefaultBaseURI)
+}
+
+// NewWithBaseURI creates an instance of the BaseClient client.
+func NewWithBaseURI(baseURI string) BaseClient {
+ return BaseClient{
+ Client: autorest.NewClientWithUserAgent(UserAgent()),
+ BaseURI: baseURI,
+ }
+}
diff --git a/services/aad/mgmt/2017-04-01/aad/diagnosticsettings.go b/services/aad/mgmt/2017-04-01/aad/diagnosticsettings.go
new file mode 100644
index 000000000000..5ff8e8ac68f5
--- /dev/null
+++ b/services/aad/mgmt/2017-04-01/aad/diagnosticsettings.go
@@ -0,0 +1,333 @@
+package aad
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// DiagnosticSettingsClient is the azure Active Directory Client.
+type DiagnosticSettingsClient struct {
+ BaseClient
+}
+
+// NewDiagnosticSettingsClient creates an instance of the DiagnosticSettingsClient client.
+func NewDiagnosticSettingsClient() DiagnosticSettingsClient {
+ return NewDiagnosticSettingsClientWithBaseURI(DefaultBaseURI)
+}
+
+// NewDiagnosticSettingsClientWithBaseURI creates an instance of the DiagnosticSettingsClient client.
+func NewDiagnosticSettingsClientWithBaseURI(baseURI string) DiagnosticSettingsClient {
+ return DiagnosticSettingsClient{NewWithBaseURI(baseURI)}
+}
+
+// CreateOrUpdate creates or updates diagnostic settings for AadIam.
+// Parameters:
+// parameters - parameters supplied to the operation.
+// name - the name of the diagnostic setting.
+func (client DiagnosticSettingsClient) CreateOrUpdate(ctx context.Context, parameters DiagnosticSettingsResource, name string) (result DiagnosticSettingsResource, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticSettingsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.CreateOrUpdatePreparer(ctx, parameters, name)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.CreateOrUpdateSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "CreateOrUpdate", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "CreateOrUpdate", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client DiagnosticSettingsClient) CreateOrUpdatePreparer(ctx context.Context, parameters DiagnosticSettingsResource, name string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "name": autorest.Encode("path", name),
+ }
+
+ const APIVersion = "2017-04-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/providers/microsoft.aadiam/diagnosticSettings/{name}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client DiagnosticSettingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client DiagnosticSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result DiagnosticSettingsResource, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete deletes existing diagnostic setting for AadIam.
+// Parameters:
+// name - the name of the diagnostic setting.
+func (client DiagnosticSettingsClient) Delete(ctx context.Context, name string) (result autorest.Response, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticSettingsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response != nil {
+ sc = result.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, name)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.DeleteSender(req)
+ if err != nil {
+ result.Response = resp
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "Delete", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.DeleteResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "Delete", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client DiagnosticSettingsClient) DeletePreparer(ctx context.Context, name string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "name": autorest.Encode("path", name),
+ }
+
+ const APIVersion = "2017-04-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/providers/microsoft.aadiam/diagnosticSettings/{name}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client DiagnosticSettingsClient) DeleteSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client DiagnosticSettingsClient) 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
+ return
+}
+
+// Get gets the active diagnostic setting for AadIam.
+// Parameters:
+// name - the name of the diagnostic setting.
+func (client DiagnosticSettingsClient) Get(ctx context.Context, name string) (result DiagnosticSettingsResource, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticSettingsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, name)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client DiagnosticSettingsClient) GetPreparer(ctx context.Context, name string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "name": autorest.Encode("path", name),
+ }
+
+ const APIVersion = "2017-04-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/providers/microsoft.aadiam/diagnosticSettings/{name}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client DiagnosticSettingsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client DiagnosticSettingsClient) GetResponder(resp *http.Response) (result DiagnosticSettingsResource, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List gets the active diagnostic settings list for AadIam.
+func (client DiagnosticSettingsClient) List(ctx context.Context) (result DiagnosticSettingsResourceCollection, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticSettingsClient.List")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client DiagnosticSettingsClient) ListPreparer(ctx context.Context) (*http.Request, error) {
+ const APIVersion = "2017-04-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPath("/providers/microsoft.aadiam/diagnosticSettings"),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client DiagnosticSettingsClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client DiagnosticSettingsClient) ListResponder(resp *http.Response) (result DiagnosticSettingsResourceCollection, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/aad/mgmt/2017-04-01/aad/diagnosticsettingscategory.go b/services/aad/mgmt/2017-04-01/aad/diagnosticsettingscategory.go
new file mode 100644
index 000000000000..f6c31d9c2d96
--- /dev/null
+++ b/services/aad/mgmt/2017-04-01/aad/diagnosticsettingscategory.go
@@ -0,0 +1,109 @@
+package aad
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// DiagnosticSettingsCategoryClient is the azure Active Directory Client.
+type DiagnosticSettingsCategoryClient struct {
+ BaseClient
+}
+
+// NewDiagnosticSettingsCategoryClient creates an instance of the DiagnosticSettingsCategoryClient client.
+func NewDiagnosticSettingsCategoryClient() DiagnosticSettingsCategoryClient {
+ return NewDiagnosticSettingsCategoryClientWithBaseURI(DefaultBaseURI)
+}
+
+// NewDiagnosticSettingsCategoryClientWithBaseURI creates an instance of the DiagnosticSettingsCategoryClient client.
+func NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI string) DiagnosticSettingsCategoryClient {
+ return DiagnosticSettingsCategoryClient{NewWithBaseURI(baseURI)}
+}
+
+// List lists the diagnostic settings categories for AadIam.
+func (client DiagnosticSettingsCategoryClient) List(ctx context.Context) (result DiagnosticSettingsCategoryResourceCollection, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DiagnosticSettingsCategoryClient.List")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsCategoryClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsCategoryClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.DiagnosticSettingsCategoryClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client DiagnosticSettingsCategoryClient) ListPreparer(ctx context.Context) (*http.Request, error) {
+ const APIVersion = "2017-04-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPath("/providers/microsoft.aadiam/diagnosticSettingsCategories"),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client DiagnosticSettingsCategoryClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client DiagnosticSettingsCategoryClient) ListResponder(resp *http.Response) (result DiagnosticSettingsCategoryResourceCollection, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/aad/mgmt/2017-04-01/aad/models.go b/services/aad/mgmt/2017-04-01/aad/models.go
new file mode 100644
index 000000000000..154c3d1da50c
--- /dev/null
+++ b/services/aad/mgmt/2017-04-01/aad/models.go
@@ -0,0 +1,315 @@
+package aad
+
+// 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.
+
+import (
+ "encoding/json"
+ "github.com/Azure/go-autorest/autorest"
+)
+
+// The package's fully qualified name.
+const fqdn = "github.com/Azure/azure-sdk-for-go/services/aad/mgmt/2017-04-01/aad"
+
+// Category enumerates the values for category.
+type Category string
+
+const (
+ // AuditLogs ...
+ AuditLogs Category = "AuditLogs"
+ // SignInLogs ...
+ SignInLogs Category = "SignInLogs"
+)
+
+// PossibleCategoryValues returns an array of possible values for the Category const type.
+func PossibleCategoryValues() []Category {
+ return []Category{AuditLogs, SignInLogs}
+}
+
+// CategoryType enumerates the values for category type.
+type CategoryType string
+
+const (
+ // Logs ...
+ Logs CategoryType = "Logs"
+)
+
+// PossibleCategoryTypeValues returns an array of possible values for the CategoryType const type.
+func PossibleCategoryTypeValues() []CategoryType {
+ return []CategoryType{Logs}
+}
+
+// DiagnosticSettings the diagnostic settings.
+type DiagnosticSettings struct {
+ // StorageAccountID - The resource ID of the storage account to which you would like to send Diagnostic Logs.
+ StorageAccountID *string `json:"storageAccountId,omitempty"`
+ // ServiceBusRuleID - The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
+ ServiceBusRuleID *string `json:"serviceBusRuleId,omitempty"`
+ // WorkspaceID - The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
+ WorkspaceID *string `json:"workspaceId,omitempty"`
+ // EventHubAuthorizationRuleID - The resource Id for the event hub authorization rule.
+ EventHubAuthorizationRuleID *string `json:"eventHubAuthorizationRuleId,omitempty"`
+ // EventHubName - The name of the event hub. If none is specified, the default event hub will be selected.
+ EventHubName *string `json:"eventHubName,omitempty"`
+ // Logs - The list of logs settings.
+ Logs *[]LogSettings `json:"logs,omitempty"`
+}
+
+// DiagnosticSettingsCategory the diagnostic settings Category.
+type DiagnosticSettingsCategory struct {
+ // CategoryType - The type of the diagnostic settings category. Possible values include: 'Logs'
+ CategoryType CategoryType `json:"categoryType,omitempty"`
+}
+
+// DiagnosticSettingsCategoryResource the diagnostic settings category resource.
+type DiagnosticSettingsCategoryResource struct {
+ // DiagnosticSettingsCategory - The properties of a Diagnostic Settings Category.
+ *DiagnosticSettingsCategory `json:"properties,omitempty"`
+ // ID - READ-ONLY; Azure resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Azure resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Azure resource type
+ Type *string `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DiagnosticSettingsCategoryResource.
+func (dscr DiagnosticSettingsCategoryResource) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dscr.DiagnosticSettingsCategory != nil {
+ objectMap["properties"] = dscr.DiagnosticSettingsCategory
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DiagnosticSettingsCategoryResource struct.
+func (dscr *DiagnosticSettingsCategoryResource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var diagnosticSettingsCategory DiagnosticSettingsCategory
+ err = json.Unmarshal(*v, &diagnosticSettingsCategory)
+ if err != nil {
+ return err
+ }
+ dscr.DiagnosticSettingsCategory = &diagnosticSettingsCategory
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ dscr.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ dscr.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dscr.Type = &typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// DiagnosticSettingsCategoryResourceCollection represents a collection of diagnostic setting category
+// resources.
+type DiagnosticSettingsCategoryResourceCollection struct {
+ autorest.Response `json:"-"`
+ // Value - The collection of diagnostic settings category resources.
+ Value *[]DiagnosticSettingsCategoryResource `json:"value,omitempty"`
+}
+
+// DiagnosticSettingsResource the diagnostic setting resource.
+type DiagnosticSettingsResource struct {
+ autorest.Response `json:"-"`
+ // DiagnosticSettings - Properties of a Diagnostic Settings Resource.
+ *DiagnosticSettings `json:"properties,omitempty"`
+ // ID - READ-ONLY; Azure resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Azure resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Azure resource type
+ Type *string `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DiagnosticSettingsResource.
+func (dsr DiagnosticSettingsResource) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dsr.DiagnosticSettings != nil {
+ objectMap["properties"] = dsr.DiagnosticSettings
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DiagnosticSettingsResource struct.
+func (dsr *DiagnosticSettingsResource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var diagnosticSettings DiagnosticSettings
+ err = json.Unmarshal(*v, &diagnosticSettings)
+ if err != nil {
+ return err
+ }
+ dsr.DiagnosticSettings = &diagnosticSettings
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ dsr.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ dsr.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dsr.Type = &typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// DiagnosticSettingsResourceCollection represents a collection of alert rule resources.
+type DiagnosticSettingsResourceCollection struct {
+ autorest.Response `json:"-"`
+ // Value - The collection of diagnostic settings resources.
+ Value *[]DiagnosticSettingsResource `json:"value,omitempty"`
+}
+
+// Display contains the localized display information for this particular operation / action. These value
+// will be used by several clients for (1) custom role definitions for RBAC; (2) complex query filters for
+// the event service; and (3) audit history / records for management operations.
+type Display struct {
+ // Publisher - The publisher. The localized friendly form of the resource publisher name.
+ Publisher *string `json:"publisher,omitempty"`
+ // Provider - The provider. The localized friendly form of the resource provider name – it is expected to also include the publisher/company responsible. It should use Title Casing and begin with "Microsoft" for 1st party services. e.g. "Microsoft Monitoring Insights" or "Microsoft Compute."
+ Provider *string `json:"provider,omitempty"`
+ // Resource - The resource. The localized friendly form of the resource related to this action/operation – it should match the public documentation for the resource provider. It should use Title Casing. This value should be unique for a particular URL type (e.g. nested types should *not* reuse their parent’s display.resource field). e.g. "Virtual Machines" or "Scheduler Job Collections", or "Virtual Machine VM Sizes" or "Scheduler Jobs"
+ Resource *string `json:"resource,omitempty"`
+ // Operation - The operation. The localized friendly name for the operation, as it should be shown to the user. It should be concise (to fit in drop downs) but clear (i.e. self-documenting). It should use Title Casing. Prescriptive guidance: Read Create or Update Delete 'ActionName'
+ Operation *string `json:"operation,omitempty"`
+ // Description - The description. The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise – it will be used in tool tips and detailed views. Prescriptive guidance for namespaces: Read any 'display.provider' resource Create or Update any 'display.provider' resource Delete any 'display.provider' resource Perform any other action on any 'display.provider' resource Prescriptive guidance for namespaces: Read any 'display.resource' Create or Update any 'display.resource' Delete any 'display.resource' 'ActionName' any 'display.resources'
+ Description *string `json:"description,omitempty"`
+}
+
+// ErrorDefinition error definition.
+type ErrorDefinition struct {
+ // Code - READ-ONLY; Service specific error code which serves as the substatus for the HTTP error code.
+ Code *string `json:"code,omitempty"`
+ // Message - READ-ONLY; Description of the error.
+ Message *string `json:"message,omitempty"`
+ // Details - READ-ONLY; Internal error details.
+ Details *[]ErrorDefinition `json:"details,omitempty"`
+}
+
+// ErrorResponse error response.
+type ErrorResponse struct {
+ // Error - The error details.
+ Error *ErrorDefinition `json:"error,omitempty"`
+}
+
+// LogSettings part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.
+type LogSettings struct {
+ // Category - Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. Possible values include: 'AuditLogs', 'SignInLogs'
+ Category Category `json:"category,omitempty"`
+ // Enabled - A value indicating whether this log is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+ // RetentionPolicy - The retention policy for this log.
+ RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"`
+}
+
+// OperationsDiscovery operations discovery class.
+type OperationsDiscovery struct {
+ // Name - Name of the API. The name of the operation being performed on this particular object. It should match the action name that appears in RBAC / the event service. Examples of operations include: * Microsoft.Compute/virtualMachine/capture/action * Microsoft.Compute/virtualMachine/restart/action * Microsoft.Compute/virtualMachine/write * Microsoft.Compute/virtualMachine/read * Microsoft.Compute/virtualMachine/delete Each action should include, in order: (1) Resource Provider Namespace (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL Azure database) (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH on a collection or named value, Write should be used. If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it is a POST, Action should be used.
+ Name *string `json:"name,omitempty"`
+ // Display - Object type
+ Display *Display `json:"display,omitempty"`
+ // Origin - Origin. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is "user,system"
+ Origin *string `json:"origin,omitempty"`
+ // Properties - Properties. Reserved for future use.
+ Properties interface{} `json:"properties,omitempty"`
+}
+
+// OperationsDiscoveryCollection collection of ClientDiscovery details.
+type OperationsDiscoveryCollection struct {
+ autorest.Response `json:"-"`
+ // Value - The ClientDiscovery details.
+ Value *[]OperationsDiscovery `json:"value,omitempty"`
+}
+
+// ProxyOnlyResource a proxy only azure resource object.
+type ProxyOnlyResource struct {
+ // ID - READ-ONLY; Azure resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Azure resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Azure resource type
+ Type *string `json:"type,omitempty"`
+}
+
+// RetentionPolicy specifies the retention policy for the log.
+type RetentionPolicy struct {
+ // Enabled - A value indicating whether the retention policy is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+ // Days - The number of days for the retention in days. A value of 0 will retain the events indefinitely.
+ Days *int32 `json:"days,omitempty"`
+}
diff --git a/services/aad/mgmt/2017-04-01/aad/operations.go b/services/aad/mgmt/2017-04-01/aad/operations.go
new file mode 100644
index 000000000000..9df2a7a2e715
--- /dev/null
+++ b/services/aad/mgmt/2017-04-01/aad/operations.go
@@ -0,0 +1,109 @@
+package aad
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// OperationsClient is the azure Active Directory Client.
+type OperationsClient struct {
+ BaseClient
+}
+
+// NewOperationsClient creates an instance of the OperationsClient client.
+func NewOperationsClient() OperationsClient {
+ return NewOperationsClientWithBaseURI(DefaultBaseURI)
+}
+
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
+func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
+ return OperationsClient{NewWithBaseURI(baseURI)}
+}
+
+// List operation to return the list of available operations.
+func (client OperationsClient) List(ctx context.Context) (result OperationsDiscoveryCollection, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/OperationsClient.List")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.OperationsClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "aad.OperationsClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "aad.OperationsClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) {
+ const APIVersion = "2017-04-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPath("/providers/microsoft.aadiam/operations"),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsDiscoveryCollection, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/aad/mgmt/2017-04-01/aad/version.go b/services/aad/mgmt/2017-04-01/aad/version.go
new file mode 100644
index 000000000000..ea8d95a339d5
--- /dev/null
+++ b/services/aad/mgmt/2017-04-01/aad/version.go
@@ -0,0 +1,30 @@
+package aad
+
+import "github.com/Azure/azure-sdk-for-go/version"
+
+// 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.
+
+// UserAgent returns the UserAgent string to use when sending http.Requests.
+func UserAgent() string {
+ return "Azure-SDK-For-Go/" + version.Number + " aad/2017-04-01"
+}
+
+// Version returns the semantic version (see http://semver.org) of the client.
+func Version() string {
+ return version.Number
+}
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addomainservicemembers.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addomainservicemembers.go
index b19d9f8b14a0..7750a6e2cbe9 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addomainservicemembers.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addomainservicemembers.go
@@ -115,8 +115,8 @@ func (client AdDomainServiceMembersClient) ListPreparer(ctx context.Context, ser
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AdDomainServiceMembersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservice.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservice.go
index 524f99d7ea03..26d13bf5f732 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservice.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservice.go
@@ -114,8 +114,8 @@ func (client AddsServiceClient) GetMetricsPreparer(ctx context.Context, serviceN
// GetMetricsSender sends the GetMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServiceClient) GetMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMetricsResponder handles the response to the GetMetrics request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicemembers.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicemembers.go
index 0b5b1febccd2..775a27cadeb0 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicemembers.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicemembers.go
@@ -107,8 +107,8 @@ func (client AddsServiceMembersClient) DeletePreparer(ctx context.Context, servi
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServiceMembersClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -183,8 +183,8 @@ func (client AddsServiceMembersClient) GetPreparer(ctx context.Context, serviceN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServiceMembersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -263,8 +263,8 @@ func (client AddsServiceMembersClient) ListPreparer(ctx context.Context, service
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServiceMembersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -381,8 +381,8 @@ func (client AddsServiceMembersClient) ListCredentialsPreparer(ctx context.Conte
// ListCredentialsSender sends the ListCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServiceMembersClient) ListCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCredentialsResponder handles the response to the ListCredentials request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservices.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservices.go
index e1213e055145..dc3de52ff077 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservices.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservices.go
@@ -97,8 +97,8 @@ func (client AddsServicesClient) AddPreparer(ctx context.Context, service Servic
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -177,8 +177,8 @@ func (client AddsServicesClient) DeletePreparer(ctx context.Context, serviceName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -251,8 +251,8 @@ func (client AddsServicesClient) GetPreparer(ctx context.Context, serviceName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -326,8 +326,8 @@ func (client AddsServicesClient) GetForestSummaryPreparer(ctx context.Context, s
// GetForestSummarySender sends the GetForestSummary request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) GetForestSummarySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetForestSummaryResponder handles the response to the GetForestSummary request. The method always
@@ -402,8 +402,8 @@ func (client AddsServicesClient) GetMetricMetadataPreparer(ctx context.Context,
// GetMetricMetadataSender sends the GetMetricMetadata request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) GetMetricMetadataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMetricMetadataResponder handles the response to the GetMetricMetadata request. The method always
@@ -492,8 +492,8 @@ func (client AddsServicesClient) GetMetricMetadataForGroupPreparer(ctx context.C
// GetMetricMetadataForGroupSender sends the GetMetricMetadataForGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) GetMetricMetadataForGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMetricMetadataForGroupResponder handles the response to the GetMetricMetadataForGroup request. The method always
@@ -582,8 +582,8 @@ func (client AddsServicesClient) ListPreparer(ctx context.Context, filter string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -702,8 +702,8 @@ func (client AddsServicesClient) ListMetricMetadataPreparer(ctx context.Context,
// ListMetricMetadataSender sends the ListMetricMetadata request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) ListMetricMetadataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricMetadataResponder handles the response to the ListMetricMetadata request. The method always
@@ -818,8 +818,8 @@ func (client AddsServicesClient) ListMetricsAveragePreparer(ctx context.Context,
// ListMetricsAverageSender sends the ListMetricsAverage request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) ListMetricsAverageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsAverageResponder handles the response to the ListMetricsAverage request. The method always
@@ -934,8 +934,8 @@ func (client AddsServicesClient) ListMetricsSumPreparer(ctx context.Context, ser
// ListMetricsSumSender sends the ListMetricsSum request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) ListMetricsSumSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsSumResponder handles the response to the ListMetricsSum request. The method always
@@ -1061,8 +1061,8 @@ func (client AddsServicesClient) ListPremiumServicesPreparer(ctx context.Context
// ListPremiumServicesSender sends the ListPremiumServices request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) ListPremiumServicesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPremiumServicesResponder handles the response to the ListPremiumServices request. The method always
@@ -1181,8 +1181,8 @@ func (client AddsServicesClient) ListReplicationDetailsPreparer(ctx context.Cont
// ListReplicationDetailsSender sends the ListReplicationDetails request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) ListReplicationDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListReplicationDetailsResponder handles the response to the ListReplicationDetails request. The method always
@@ -1270,8 +1270,8 @@ func (client AddsServicesClient) ListReplicationSummaryPreparer(ctx context.Cont
// ListReplicationSummarySender sends the ListReplicationSummary request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) ListReplicationSummarySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListReplicationSummaryResponder handles the response to the ListReplicationSummary request. The method always
@@ -1364,8 +1364,8 @@ func (client AddsServicesClient) ListServerAlertsPreparer(ctx context.Context, s
// ListServerAlertsSender sends the ListServerAlerts request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) ListServerAlertsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListServerAlertsResponder handles the response to the ListServerAlerts request. The method always
@@ -1478,8 +1478,8 @@ func (client AddsServicesClient) UpdatePreparer(ctx context.Context, serviceName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesreplicationstatus.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesreplicationstatus.go
index a46ee52edbdc..52b468736b7f 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesreplicationstatus.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesreplicationstatus.go
@@ -99,8 +99,8 @@ func (client AddsServicesReplicationStatusClient) GetPreparer(ctx context.Contex
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesReplicationStatusClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesservicemembers.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesservicemembers.go
index cfc15341bb71..5ee5c587a494 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesservicemembers.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesservicemembers.go
@@ -101,8 +101,8 @@ func (client AddsServicesServiceMembersClient) AddPreparer(ctx context.Context,
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesServiceMembersClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -189,8 +189,8 @@ func (client AddsServicesServiceMembersClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesServiceMembersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesuserpreference.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesuserpreference.go
index 66d37f0d75f0..589e6c5d2166 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesuserpreference.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/addsservicesuserpreference.go
@@ -102,8 +102,8 @@ func (client AddsServicesUserPreferenceClient) AddPreparer(ctx context.Context,
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesUserPreferenceClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -177,8 +177,8 @@ func (client AddsServicesUserPreferenceClient) DeletePreparer(ctx context.Contex
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesUserPreferenceClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -252,8 +252,8 @@ func (client AddsServicesUserPreferenceClient) GetPreparer(ctx context.Context,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AddsServicesUserPreferenceClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/alerts.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/alerts.go
index f1b9d934d425..ca35ad98614e 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/alerts.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/alerts.go
@@ -115,8 +115,8 @@ func (client AlertsClient) ListAddsAlertsPreparer(ctx context.Context, serviceNa
// ListAddsAlertsSender sends the ListAddsAlerts request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) ListAddsAlertsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAddsAlertsResponder handles the response to the ListAddsAlerts request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/configuration.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/configuration.go
index 6c7ef5ccd286..4d4cba51f347 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/configuration.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/configuration.go
@@ -91,8 +91,8 @@ func (client ConfigurationClient) AddPreparer(ctx context.Context) (*http.Reques
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client ConfigurationClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -159,8 +159,8 @@ func (client ConfigurationClient) GetPreparer(ctx context.Context) (*http.Reques
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ConfigurationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -235,8 +235,8 @@ func (client ConfigurationClient) ListAddsConfigurationsPreparer(ctx context.Con
// ListAddsConfigurationsSender sends the ListAddsConfigurations request. The method will close the
// http.Response Body if it receives an error.
func (client ConfigurationClient) ListAddsConfigurationsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAddsConfigurationsResponder handles the response to the ListAddsConfigurations request. The method always
@@ -344,8 +344,8 @@ func (client ConfigurationClient) UpdatePreparer(ctx context.Context, tenant Ten
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ConfigurationClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/dimensions.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/dimensions.go
index 1e16c28fbb83..b509434a4431 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/dimensions.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/dimensions.go
@@ -100,8 +100,8 @@ func (client DimensionsClient) ListAddsDimensionsPreparer(ctx context.Context, s
// ListAddsDimensionsSender sends the ListAddsDimensions request. The method will close the
// http.Response Body if it receives an error.
func (client DimensionsClient) ListAddsDimensionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAddsDimensionsResponder handles the response to the ListAddsDimensions request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/operations.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/operations.go
index e0a8a492ed2d..375eb4de36a6 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/operations.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/reports.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/reports.go
index 800a69193225..a021a4c743bc 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/reports.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/reports.go
@@ -91,8 +91,8 @@ func (client ReportsClient) GetDevOpsPreparer(ctx context.Context) (*http.Reques
// GetDevOpsSender sends the GetDevOps request. The method will close the
// http.Response Body if it receives an error.
func (client ReportsClient) GetDevOpsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDevOpsResponder handles the response to the GetDevOps request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/service.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/service.go
index 9402f28428b7..8fac4925732a 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/service.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/service.go
@@ -114,8 +114,8 @@ func (client ServiceClient) GetMetricsPreparer(ctx context.Context, serviceName
// GetMetricsSender sends the GetMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceClient) GetMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMetricsResponder handles the response to the GetMetrics request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/servicemembers.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/servicemembers.go
index f48a4e44a657..2e73f76389c6 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/servicemembers.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/servicemembers.go
@@ -102,8 +102,8 @@ func (client ServiceMembersClient) AddPreparer(ctx context.Context, serviceName
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -184,8 +184,8 @@ func (client ServiceMembersClient) DeletePreparer(ctx context.Context, serviceNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -259,8 +259,8 @@ func (client ServiceMembersClient) DeleteDataPreparer(ctx context.Context, servi
// DeleteDataSender sends the DeleteData request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) DeleteDataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteDataResponder handles the response to the DeleteData request. The method always
@@ -335,8 +335,8 @@ func (client ServiceMembersClient) GetPreparer(ctx context.Context, serviceName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -413,8 +413,8 @@ func (client ServiceMembersClient) GetConnectorMetadataPreparer(ctx context.Cont
// GetConnectorMetadataSender sends the GetConnectorMetadata request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) GetConnectorMetadataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetConnectorMetadataResponder handles the response to the GetConnectorMetadata request. The method always
@@ -505,8 +505,8 @@ func (client ServiceMembersClient) GetMetricsPreparer(ctx context.Context, servi
// GetMetricsSender sends the GetMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) GetMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMetricsResponder handles the response to the GetMetrics request. The method always
@@ -581,8 +581,8 @@ func (client ServiceMembersClient) GetServiceConfigurationPreparer(ctx context.C
// GetServiceConfigurationSender sends the GetServiceConfiguration request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) GetServiceConfigurationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetServiceConfigurationResponder handles the response to the GetServiceConfiguration request. The method always
@@ -669,8 +669,8 @@ func (client ServiceMembersClient) ListPreparer(ctx context.Context, serviceName
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -799,8 +799,8 @@ func (client ServiceMembersClient) ListAlertsPreparer(ctx context.Context, servi
// ListAlertsSender sends the ListAlerts request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) ListAlertsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAlertsResponder handles the response to the ListAlerts request. The method always
@@ -912,8 +912,8 @@ func (client ServiceMembersClient) ListConnectorsPreparer(ctx context.Context, s
// ListConnectorsSender sends the ListConnectors request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) ListConnectorsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListConnectorsResponder handles the response to the ListConnectors request. The method always
@@ -993,8 +993,8 @@ func (client ServiceMembersClient) ListCredentialsPreparer(ctx context.Context,
// ListCredentialsSender sends the ListCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) ListCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCredentialsResponder handles the response to the ListCredentials request. The method always
@@ -1069,8 +1069,8 @@ func (client ServiceMembersClient) ListDataFreshnessPreparer(ctx context.Context
// ListDataFreshnessSender sends the ListDataFreshness request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) ListDataFreshnessSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListDataFreshnessResponder handles the response to the ListDataFreshness request. The method always
@@ -1146,8 +1146,8 @@ func (client ServiceMembersClient) ListExportStatusPreparer(ctx context.Context,
// ListExportStatusSender sends the ListExportStatus request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) ListExportStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListExportStatusResponder handles the response to the ListExportStatus request. The method always
@@ -1259,8 +1259,8 @@ func (client ServiceMembersClient) ListGlobalConfigurationPreparer(ctx context.C
// ListGlobalConfigurationSender sends the ListGlobalConfiguration request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceMembersClient) ListGlobalConfigurationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListGlobalConfigurationResponder handles the response to the ListGlobalConfiguration request. The method always
diff --git a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/services.go b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/services.go
index e0d2625000b0..6eb2fc55d0c6 100644
--- a/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/services.go
+++ b/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/services.go
@@ -96,8 +96,8 @@ func (client ServicesClient) AddPreparer(ctx context.Context, service ServicePro
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -173,8 +173,8 @@ func (client ServicesClient) AddAlertFeedbackPreparer(ctx context.Context, servi
// AddAlertFeedbackSender sends the AddAlertFeedback request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) AddAlertFeedbackSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddAlertFeedbackResponder handles the response to the AddAlertFeedback request. The method always
@@ -253,8 +253,8 @@ func (client ServicesClient) DeletePreparer(ctx context.Context, serviceName str
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -327,8 +327,8 @@ func (client ServicesClient) GetPreparer(ctx context.Context, serviceName string
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -403,8 +403,8 @@ func (client ServicesClient) GetFeatureAvailibilityPreparer(ctx context.Context,
// GetFeatureAvailibilitySender sends the GetFeatureAvailibility request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) GetFeatureAvailibilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFeatureAvailibilityResponder handles the response to the GetFeatureAvailibility request. The method always
@@ -479,8 +479,8 @@ func (client ServicesClient) GetMetricMetadataPreparer(ctx context.Context, serv
// GetMetricMetadataSender sends the GetMetricMetadata request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) GetMetricMetadataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMetricMetadataResponder handles the response to the GetMetricMetadata request. The method always
@@ -569,8 +569,8 @@ func (client ServicesClient) GetMetricMetadataForGroupPreparer(ctx context.Conte
// GetMetricMetadataForGroupSender sends the GetMetricMetadataForGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) GetMetricMetadataForGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMetricMetadataForGroupResponder handles the response to the GetMetricMetadataForGroup request. The method always
@@ -645,8 +645,8 @@ func (client ServicesClient) GetTenantWhitelistingPreparer(ctx context.Context,
// GetTenantWhitelistingSender sends the GetTenantWhitelisting request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) GetTenantWhitelistingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTenantWhitelistingResponder handles the response to the GetTenantWhitelisting request. The method always
@@ -734,8 +734,8 @@ func (client ServicesClient) ListPreparer(ctx context.Context, filter string, se
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -847,8 +847,8 @@ func (client ServicesClient) ListAlertFeedbackPreparer(ctx context.Context, serv
// ListAlertFeedbackSender sends the ListAlertFeedback request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListAlertFeedbackSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAlertFeedbackResponder handles the response to the ListAlertFeedback request. The method always
@@ -938,8 +938,8 @@ func (client ServicesClient) ListAlertsPreparer(ctx context.Context, serviceName
// ListAlertsSender sends the ListAlerts request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListAlertsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAlertsResponder handles the response to the ListAlerts request. The method always
@@ -1049,8 +1049,8 @@ func (client ServicesClient) ListAllRiskyIPDownloadReportPreparer(ctx context.Co
// ListAllRiskyIPDownloadReportSender sends the ListAllRiskyIPDownloadReport request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListAllRiskyIPDownloadReportSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllRiskyIPDownloadReportResponder handles the response to the ListAllRiskyIPDownloadReport request. The method always
@@ -1123,8 +1123,8 @@ func (client ServicesClient) ListCurrentRiskyIPDownloadReportPreparer(ctx contex
// ListCurrentRiskyIPDownloadReportSender sends the ListCurrentRiskyIPDownloadReport request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListCurrentRiskyIPDownloadReportSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCurrentRiskyIPDownloadReportResponder handles the response to the ListCurrentRiskyIPDownloadReport request. The method always
@@ -1197,8 +1197,8 @@ func (client ServicesClient) ListExportErrorsPreparer(ctx context.Context, servi
// ListExportErrorsSender sends the ListExportErrors request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListExportErrorsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListExportErrorsResponder handles the response to the ListExportErrors request. The method always
@@ -1273,8 +1273,8 @@ func (client ServicesClient) ListExportErrorsV2Preparer(ctx context.Context, ser
// ListExportErrorsV2Sender sends the ListExportErrorsV2 request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListExportErrorsV2Sender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListExportErrorsV2Responder handles the response to the ListExportErrorsV2 request. The method always
@@ -1348,8 +1348,8 @@ func (client ServicesClient) ListExportStatusPreparer(ctx context.Context, servi
// ListExportStatusSender sends the ListExportStatus request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListExportStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListExportStatusResponder handles the response to the ListExportStatus request. The method always
@@ -1468,8 +1468,8 @@ func (client ServicesClient) ListMetricMetadataPreparer(ctx context.Context, ser
// ListMetricMetadataSender sends the ListMetricMetadata request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListMetricMetadataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricMetadataResponder handles the response to the ListMetricMetadata request. The method always
@@ -1584,8 +1584,8 @@ func (client ServicesClient) ListMetricsAveragePreparer(ctx context.Context, ser
// ListMetricsAverageSender sends the ListMetricsAverage request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListMetricsAverageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsAverageResponder handles the response to the ListMetricsAverage request. The method always
@@ -1700,8 +1700,8 @@ func (client ServicesClient) ListMetricsSumPreparer(ctx context.Context, service
// ListMetricsSumSender sends the ListMetricsSum request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListMetricsSumSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsSumResponder handles the response to the ListMetricsSum request. The method always
@@ -1811,8 +1811,8 @@ func (client ServicesClient) ListMonitoringConfigurationsPreparer(ctx context.Co
// ListMonitoringConfigurationsSender sends the ListMonitoringConfigurations request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListMonitoringConfigurationsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMonitoringConfigurationsResponder handles the response to the ListMonitoringConfigurations request. The method always
@@ -1901,8 +1901,8 @@ func (client ServicesClient) ListPremiumPreparer(ctx context.Context, filter str
// ListPremiumSender sends the ListPremium request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListPremiumSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPremiumResponder handles the response to the ListPremium request. The method always
@@ -2016,8 +2016,8 @@ func (client ServicesClient) ListUserBadPasswordReportPreparer(ctx context.Conte
// ListUserBadPasswordReportSender sends the ListUserBadPasswordReport request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) ListUserBadPasswordReportSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUserBadPasswordReportResponder handles the response to the ListUserBadPasswordReport request. The method always
@@ -2093,8 +2093,8 @@ func (client ServicesClient) UpdatePreparer(ctx context.Context, serviceName str
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
@@ -2170,8 +2170,8 @@ func (client ServicesClient) UpdateMonitoringConfigurationPreparer(ctx context.C
// UpdateMonitoringConfigurationSender sends the UpdateMonitoringConfiguration request. The method will close the
// http.Response Body if it receives an error.
func (client ServicesClient) UpdateMonitoringConfigurationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateMonitoringConfigurationResponder handles the response to the UpdateMonitoringConfiguration request. The method always
diff --git a/services/advisor/mgmt/2017-03-31/advisor/operations.go b/services/advisor/mgmt/2017-03-31/advisor/operations.go
index 8f20229cd202..1ddf8eabeb38 100644
--- a/services/advisor/mgmt/2017-03-31/advisor/operations.go
+++ b/services/advisor/mgmt/2017-03-31/advisor/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/advisor/mgmt/2017-03-31/advisor/recommendations.go b/services/advisor/mgmt/2017-03-31/advisor/recommendations.go
index 78d6463f9512..ab9757fe0752 100644
--- a/services/advisor/mgmt/2017-03-31/advisor/recommendations.go
+++ b/services/advisor/mgmt/2017-03-31/advisor/recommendations.go
@@ -97,8 +97,8 @@ func (client RecommendationsClient) GeneratePreparer(ctx context.Context) (*http
// GenerateSender sends the Generate request. The method will close the
// http.Response Body if it receives an error.
func (client RecommendationsClient) GenerateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateResponder handles the response to the Generate request. The method always
@@ -173,8 +173,8 @@ func (client RecommendationsClient) GetPreparer(ctx context.Context, resourceURI
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RecommendationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -251,8 +251,8 @@ func (client RecommendationsClient) GetGenerateStatusPreparer(ctx context.Contex
// GetGenerateStatusSender sends the GetGenerateStatus request. The method will close the
// http.Response Body if it receives an error.
func (client RecommendationsClient) GetGenerateStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetGenerateStatusResponder handles the response to the GetGenerateStatus request. The method always
@@ -337,8 +337,8 @@ func (client RecommendationsClient) ListPreparer(ctx context.Context, filter str
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RecommendationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/advisor/mgmt/2017-03-31/advisor/suppressions.go b/services/advisor/mgmt/2017-03-31/advisor/suppressions.go
index ab084bc51f27..64a940207dcf 100644
--- a/services/advisor/mgmt/2017-03-31/advisor/suppressions.go
+++ b/services/advisor/mgmt/2017-03-31/advisor/suppressions.go
@@ -106,8 +106,8 @@ func (client SuppressionsClient) CreatePreparer(ctx context.Context, resourceURI
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client SuppressionsClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -186,8 +186,8 @@ func (client SuppressionsClient) DeletePreparer(ctx context.Context, resourceURI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client SuppressionsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -264,8 +264,8 @@ func (client SuppressionsClient) GetPreparer(ctx context.Context, resourceURI st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SuppressionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -337,8 +337,8 @@ func (client SuppressionsClient) ListPreparer(ctx context.Context) (*http.Reques
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SuppressionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/advisor/mgmt/2017-04-19/advisor/configurations.go b/services/advisor/mgmt/2017-04-19/advisor/configurations.go
index 56b071c63a22..3540a1ea7a9b 100644
--- a/services/advisor/mgmt/2017-04-19/advisor/configurations.go
+++ b/services/advisor/mgmt/2017-04-19/advisor/configurations.go
@@ -101,8 +101,8 @@ func (client ConfigurationsClient) CreateInResourceGroupPreparer(ctx context.Con
// CreateInResourceGroupSender sends the CreateInResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ConfigurationsClient) CreateInResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateInResourceGroupResponder handles the response to the CreateInResourceGroup request. The method always
@@ -178,8 +178,8 @@ func (client ConfigurationsClient) CreateInSubscriptionPreparer(ctx context.Cont
// CreateInSubscriptionSender sends the CreateInSubscription request. The method will close the
// http.Response Body if it receives an error.
func (client ConfigurationsClient) CreateInSubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateInSubscriptionResponder handles the response to the CreateInSubscription request. The method always
@@ -253,8 +253,8 @@ func (client ConfigurationsClient) ListByResourceGroupPreparer(ctx context.Conte
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ConfigurationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -327,8 +327,8 @@ func (client ConfigurationsClient) ListBySubscriptionPreparer(ctx context.Contex
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client ConfigurationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
diff --git a/services/advisor/mgmt/2017-04-19/advisor/operations.go b/services/advisor/mgmt/2017-04-19/advisor/operations.go
index 7d6df92547aa..bc10c5b682f7 100644
--- a/services/advisor/mgmt/2017-04-19/advisor/operations.go
+++ b/services/advisor/mgmt/2017-04-19/advisor/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/advisor/mgmt/2017-04-19/advisor/recommendationmetadata.go b/services/advisor/mgmt/2017-04-19/advisor/recommendationmetadata.go
index 232a1d4d0047..bef688fdedc9 100644
--- a/services/advisor/mgmt/2017-04-19/advisor/recommendationmetadata.go
+++ b/services/advisor/mgmt/2017-04-19/advisor/recommendationmetadata.go
@@ -97,8 +97,8 @@ func (client RecommendationMetadataClient) GetPreparer(ctx context.Context, name
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RecommendationMetadataClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -166,8 +166,8 @@ func (client RecommendationMetadataClient) ListPreparer(ctx context.Context) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RecommendationMetadataClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/advisor/mgmt/2017-04-19/advisor/recommendations.go b/services/advisor/mgmt/2017-04-19/advisor/recommendations.go
index 10f60256878e..6bb3018b27c4 100644
--- a/services/advisor/mgmt/2017-04-19/advisor/recommendations.go
+++ b/services/advisor/mgmt/2017-04-19/advisor/recommendations.go
@@ -97,8 +97,8 @@ func (client RecommendationsClient) GeneratePreparer(ctx context.Context) (*http
// GenerateSender sends the Generate request. The method will close the
// http.Response Body if it receives an error.
func (client RecommendationsClient) GenerateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateResponder handles the response to the Generate request. The method always
@@ -173,8 +173,8 @@ func (client RecommendationsClient) GetPreparer(ctx context.Context, resourceURI
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RecommendationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -251,8 +251,8 @@ func (client RecommendationsClient) GetGenerateStatusPreparer(ctx context.Contex
// GetGenerateStatusSender sends the GetGenerateStatus request. The method will close the
// http.Response Body if it receives an error.
func (client RecommendationsClient) GetGenerateStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetGenerateStatusResponder handles the response to the GetGenerateStatus request. The method always
@@ -337,8 +337,8 @@ func (client RecommendationsClient) ListPreparer(ctx context.Context, filter str
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RecommendationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/advisor/mgmt/2017-04-19/advisor/suppressions.go b/services/advisor/mgmt/2017-04-19/advisor/suppressions.go
index f8d6b449492d..542662ef3a11 100644
--- a/services/advisor/mgmt/2017-04-19/advisor/suppressions.go
+++ b/services/advisor/mgmt/2017-04-19/advisor/suppressions.go
@@ -106,8 +106,8 @@ func (client SuppressionsClient) CreatePreparer(ctx context.Context, resourceURI
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client SuppressionsClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -186,8 +186,8 @@ func (client SuppressionsClient) DeletePreparer(ctx context.Context, resourceURI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client SuppressionsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -264,8 +264,8 @@ func (client SuppressionsClient) GetPreparer(ctx context.Context, resourceURI st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SuppressionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -347,8 +347,8 @@ func (client SuppressionsClient) ListPreparer(ctx context.Context, top *int32, s
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SuppressionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go
index 3fff066e3696..b335d032f1a1 100644
--- a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go
+++ b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go
@@ -100,8 +100,8 @@ func (client AlertsClient) ChangeStatePreparer(ctx context.Context, alertID stri
// ChangeStateSender sends the ChangeState request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) ChangeStateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ChangeStateResponder handles the response to the ChangeState request. The method always
@@ -252,8 +252,8 @@ func (client AlertsClient) GetAllPreparer(ctx context.Context, targetResource st
// GetAllSender sends the GetAll request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) GetAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllResponder handles the response to the GetAll request. The method always
@@ -364,8 +364,8 @@ func (client AlertsClient) GetByIDPreparer(ctx context.Context, alertID string)
// GetByIDSender sends the GetByID request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) GetByIDSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByIDResponder handles the response to the GetByID request. The method always
@@ -440,8 +440,8 @@ func (client AlertsClient) GetHistoryPreparer(ctx context.Context, alertID strin
// GetHistorySender sends the GetHistory request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) GetHistorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetHistoryResponder handles the response to the GetHistory request. The method always
@@ -564,8 +564,8 @@ func (client AlertsClient) GetSummaryPreparer(ctx context.Context, groupby Alert
// GetSummarySender sends the GetSummary request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) GetSummarySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetSummaryResponder handles the response to the GetSummary request. The method always
diff --git a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go
index b62a34110166..2232ea7fe262 100644
--- a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go
+++ b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go
index 650c56d40604..80c111bfc0a4 100644
--- a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go
+++ b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go
@@ -100,8 +100,8 @@ func (client SmartGroupsClient) ChangeStatePreparer(ctx context.Context, smartGr
// ChangeStateSender sends the ChangeState request. The method will close the
// http.Response Body if it receives an error.
func (client SmartGroupsClient) ChangeStateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ChangeStateResponder handles the response to the ChangeState request. The method always
@@ -221,8 +221,8 @@ func (client SmartGroupsClient) GetAllPreparer(ctx context.Context, targetResour
// GetAllSender sends the GetAll request. The method will close the
// http.Response Body if it receives an error.
func (client SmartGroupsClient) GetAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllResponder handles the response to the GetAll request. The method always
@@ -333,8 +333,8 @@ func (client SmartGroupsClient) GetByIDPreparer(ctx context.Context, smartGroupI
// GetByIDSender sends the GetByID request. The method will close the
// http.Response Body if it receives an error.
func (client SmartGroupsClient) GetByIDSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByIDResponder handles the response to the GetByID request. The method always
@@ -408,8 +408,8 @@ func (client SmartGroupsClient) GetHistoryPreparer(ctx context.Context, smartGro
// GetHistorySender sends the GetHistory request. The method will close the
// http.Response Body if it receives an error.
func (client SmartGroupsClient) GetHistorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetHistoryResponder handles the response to the GetHistory request. The method always
diff --git a/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/alerts.go b/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/alerts.go
index faca95b9b66c..b88e22e45cf6 100644
--- a/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/alerts.go
+++ b/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/alerts.go
@@ -105,8 +105,8 @@ func (client AlertsClient) ChangeStatePreparer(ctx context.Context, alertID stri
// ChangeStateSender sends the ChangeState request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) ChangeStateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ChangeStateResponder handles the response to the ChangeState request. The method always
@@ -257,8 +257,8 @@ func (client AlertsClient) GetAllPreparer(ctx context.Context, targetResource st
// GetAllSender sends the GetAll request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) GetAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllResponder handles the response to the GetAll request. The method always
@@ -374,8 +374,8 @@ func (client AlertsClient) GetByIDPreparer(ctx context.Context, alertID string)
// GetByIDSender sends the GetByID request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) GetByIDSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByIDResponder handles the response to the GetByID request. The method always
@@ -455,8 +455,8 @@ func (client AlertsClient) GetHistoryPreparer(ctx context.Context, alertID strin
// GetHistorySender sends the GetHistory request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) GetHistorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetHistoryResponder handles the response to the GetHistory request. The method always
@@ -579,8 +579,8 @@ func (client AlertsClient) GetSummaryPreparer(ctx context.Context, groupby Alert
// GetSummarySender sends the GetSummary request. The method will close the
// http.Response Body if it receives an error.
func (client AlertsClient) GetSummarySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetSummaryResponder handles the response to the GetSummary request. The method always
diff --git a/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/operations.go b/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/operations.go
index 19113860ebb5..2854366a5e6f 100644
--- a/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/operations.go
+++ b/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/smartdetectoralertrules.go b/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/smartdetectoralertrules.go
index 4f16fb82d3d0..a5154973e0b4 100644
--- a/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/smartdetectoralertrules.go
+++ b/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/smartdetectoralertrules.go
@@ -117,8 +117,8 @@ func (client SmartDetectorAlertRulesClient) CreateOrUpdatePreparer(ctx context.C
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client SmartDetectorAlertRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -194,8 +194,8 @@ func (client SmartDetectorAlertRulesClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client SmartDetectorAlertRulesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -274,8 +274,8 @@ func (client SmartDetectorAlertRulesClient) GetPreparer(ctx context.Context, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SmartDetectorAlertRulesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -347,8 +347,8 @@ func (client SmartDetectorAlertRulesClient) ListPreparer(ctx context.Context) (*
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SmartDetectorAlertRulesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -460,8 +460,8 @@ func (client SmartDetectorAlertRulesClient) ListByResourceGroupPreparer(ctx cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client SmartDetectorAlertRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/smartgroups.go b/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/smartgroups.go
index 378ad63557c0..1fcd1ef713ee 100644
--- a/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/smartgroups.go
+++ b/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement/smartgroups.go
@@ -100,8 +100,8 @@ func (client SmartGroupsClient) ChangeStatePreparer(ctx context.Context, smartGr
// ChangeStateSender sends the ChangeState request. The method will close the
// http.Response Body if it receives an error.
func (client SmartGroupsClient) ChangeStateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ChangeStateResponder handles the response to the ChangeState request. The method always
@@ -220,8 +220,8 @@ func (client SmartGroupsClient) GetAllPreparer(ctx context.Context, targetResour
// GetAllSender sends the GetAll request. The method will close the
// http.Response Body if it receives an error.
func (client SmartGroupsClient) GetAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllResponder handles the response to the GetAll request. The method always
@@ -295,8 +295,8 @@ func (client SmartGroupsClient) GetByIDPreparer(ctx context.Context, smartGroupI
// GetByIDSender sends the GetByID request. The method will close the
// http.Response Body if it receives an error.
func (client SmartGroupsClient) GetByIDSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByIDResponder handles the response to the GetByID request. The method always
@@ -370,8 +370,8 @@ func (client SmartGroupsClient) GetHistoryPreparer(ctx context.Context, smartGro
// GetHistorySender sends the GetHistory request. The method will close the
// http.Response Body if it receives an error.
func (client SmartGroupsClient) GetHistorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetHistoryResponder handles the response to the GetHistory request. The method always
diff --git a/services/analysisservices/mgmt/2016-05-16/analysisservices/servers.go b/services/analysisservices/mgmt/2016-05-16/analysisservices/servers.go
index 7bbdbbfdb44b..6a6a35328e5c 100644
--- a/services/analysisservices/mgmt/2016-05-16/analysisservices/servers.go
+++ b/services/analysisservices/mgmt/2016-05-16/analysisservices/servers.go
@@ -113,8 +113,8 @@ func (client ServersClient) CheckNameAvailabilityPreparer(ctx context.Context, l
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -201,9 +201,9 @@ func (client ServersClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) CreateSender(req *http.Request) (future ServersCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -292,9 +292,9 @@ func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -388,8 +388,8 @@ func (client ServersClient) GetDetailsPreparer(ctx context.Context, resourceGrou
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
@@ -460,8 +460,8 @@ func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -544,8 +544,8 @@ func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, res
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -621,8 +621,8 @@ func (client ServersClient) ListOperationResultsPreparer(ctx context.Context, lo
// ListOperationResultsSender sends the ListOperationResults request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListOperationResultsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOperationResultsResponder handles the response to the ListOperationResults request. The method always
@@ -697,8 +697,8 @@ func (client ServersClient) ListOperationStatusesPreparer(ctx context.Context, l
// ListOperationStatusesSender sends the ListOperationStatuses request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListOperationStatusesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOperationStatusesResponder handles the response to the ListOperationStatuses request. The method always
@@ -788,8 +788,8 @@ func (client ServersClient) ListSkusForExistingPreparer(ctx context.Context, res
// ListSkusForExistingSender sends the ListSkusForExisting request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListSkusForExistingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusForExistingResponder handles the response to the ListSkusForExisting request. The method always
@@ -860,8 +860,8 @@ func (client ServersClient) ListSkusForNewPreparer(ctx context.Context) (*http.R
// ListSkusForNewSender sends the ListSkusForNew request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListSkusForNewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusForNewResponder handles the response to the ListSkusForNew request. The method always
@@ -945,9 +945,9 @@ func (client ServersClient) ResumePreparer(ctx context.Context, resourceGroupNam
// ResumeSender sends the Resume request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ResumeSender(req *http.Request) (future ServersResumeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1035,9 +1035,9 @@ func (client ServersClient) SuspendPreparer(ctx context.Context, resourceGroupNa
// SuspendSender sends the Suspend request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) SuspendSender(req *http.Request) (future ServersSuspendFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1128,9 +1128,9 @@ func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/analysisservices/mgmt/2017-07-14/analysisservices/servers.go b/services/analysisservices/mgmt/2017-07-14/analysisservices/servers.go
index b3f2212e6ad6..1de703445275 100644
--- a/services/analysisservices/mgmt/2017-07-14/analysisservices/servers.go
+++ b/services/analysisservices/mgmt/2017-07-14/analysisservices/servers.go
@@ -113,8 +113,8 @@ func (client ServersClient) CheckNameAvailabilityPreparer(ctx context.Context, l
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -201,9 +201,9 @@ func (client ServersClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) CreateSender(req *http.Request) (future ServersCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -292,9 +292,9 @@ func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -388,8 +388,8 @@ func (client ServersClient) DissociateGatewayPreparer(ctx context.Context, resou
// DissociateGatewaySender sends the DissociateGateway request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) DissociateGatewaySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DissociateGatewayResponder handles the response to the DissociateGateway request. The method always
@@ -478,8 +478,8 @@ func (client ServersClient) GetDetailsPreparer(ctx context.Context, resourceGrou
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
@@ -550,8 +550,8 @@ func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -634,8 +634,8 @@ func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, res
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -725,8 +725,8 @@ func (client ServersClient) ListGatewayStatusPreparer(ctx context.Context, resou
// ListGatewayStatusSender sends the ListGatewayStatus request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListGatewayStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListGatewayStatusResponder handles the response to the ListGatewayStatus request. The method always
@@ -802,8 +802,8 @@ func (client ServersClient) ListOperationResultsPreparer(ctx context.Context, lo
// ListOperationResultsSender sends the ListOperationResults request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListOperationResultsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOperationResultsResponder handles the response to the ListOperationResults request. The method always
@@ -878,8 +878,8 @@ func (client ServersClient) ListOperationStatusesPreparer(ctx context.Context, l
// ListOperationStatusesSender sends the ListOperationStatuses request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListOperationStatusesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOperationStatusesResponder handles the response to the ListOperationStatuses request. The method always
@@ -969,8 +969,8 @@ func (client ServersClient) ListSkusForExistingPreparer(ctx context.Context, res
// ListSkusForExistingSender sends the ListSkusForExisting request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListSkusForExistingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusForExistingResponder handles the response to the ListSkusForExisting request. The method always
@@ -1041,8 +1041,8 @@ func (client ServersClient) ListSkusForNewPreparer(ctx context.Context) (*http.R
// ListSkusForNewSender sends the ListSkusForNew request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListSkusForNewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusForNewResponder handles the response to the ListSkusForNew request. The method always
@@ -1126,9 +1126,9 @@ func (client ServersClient) ResumePreparer(ctx context.Context, resourceGroupNam
// ResumeSender sends the Resume request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ResumeSender(req *http.Request) (future ServersResumeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1216,9 +1216,9 @@ func (client ServersClient) SuspendPreparer(ctx context.Context, resourceGroupNa
// SuspendSender sends the Suspend request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) SuspendSender(req *http.Request) (future ServersSuspendFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1309,9 +1309,9 @@ func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/analysisservices/mgmt/2017-08-01/analysisservices/operations.go b/services/analysisservices/mgmt/2017-08-01/analysisservices/operations.go
index 24bda83430e8..57851ab0f557 100644
--- a/services/analysisservices/mgmt/2017-08-01/analysisservices/operations.go
+++ b/services/analysisservices/mgmt/2017-08-01/analysisservices/operations.go
@@ -93,8 +93,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/analysisservices/mgmt/2017-08-01/analysisservices/servers.go b/services/analysisservices/mgmt/2017-08-01/analysisservices/servers.go
index 794fdced931f..5ca8d617ac38 100644
--- a/services/analysisservices/mgmt/2017-08-01/analysisservices/servers.go
+++ b/services/analysisservices/mgmt/2017-08-01/analysisservices/servers.go
@@ -113,8 +113,8 @@ func (client ServersClient) CheckNameAvailabilityPreparer(ctx context.Context, l
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -201,9 +201,9 @@ func (client ServersClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) CreateSender(req *http.Request) (future ServersCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -292,9 +292,9 @@ func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -388,8 +388,8 @@ func (client ServersClient) DissociateGatewayPreparer(ctx context.Context, resou
// DissociateGatewaySender sends the DissociateGateway request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) DissociateGatewaySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DissociateGatewayResponder handles the response to the DissociateGateway request. The method always
@@ -478,8 +478,8 @@ func (client ServersClient) GetDetailsPreparer(ctx context.Context, resourceGrou
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
@@ -550,8 +550,8 @@ func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -634,8 +634,8 @@ func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, res
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -724,8 +724,8 @@ func (client ServersClient) ListGatewayStatusPreparer(ctx context.Context, resou
// ListGatewayStatusSender sends the ListGatewayStatus request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListGatewayStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListGatewayStatusResponder handles the response to the ListGatewayStatus request. The method always
@@ -801,8 +801,8 @@ func (client ServersClient) ListOperationResultsPreparer(ctx context.Context, lo
// ListOperationResultsSender sends the ListOperationResults request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListOperationResultsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOperationResultsResponder handles the response to the ListOperationResults request. The method always
@@ -877,8 +877,8 @@ func (client ServersClient) ListOperationStatusesPreparer(ctx context.Context, l
// ListOperationStatusesSender sends the ListOperationStatuses request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListOperationStatusesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOperationStatusesResponder handles the response to the ListOperationStatuses request. The method always
@@ -968,8 +968,8 @@ func (client ServersClient) ListSkusForExistingPreparer(ctx context.Context, res
// ListSkusForExistingSender sends the ListSkusForExisting request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListSkusForExistingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusForExistingResponder handles the response to the ListSkusForExisting request. The method always
@@ -1040,8 +1040,8 @@ func (client ServersClient) ListSkusForNewPreparer(ctx context.Context) (*http.R
// ListSkusForNewSender sends the ListSkusForNew request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ListSkusForNewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusForNewResponder handles the response to the ListSkusForNew request. The method always
@@ -1125,9 +1125,9 @@ func (client ServersClient) ResumePreparer(ctx context.Context, resourceGroupNam
// ResumeSender sends the Resume request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) ResumeSender(req *http.Request) (future ServersResumeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1215,9 +1215,9 @@ func (client ServersClient) SuspendPreparer(ctx context.Context, resourceGroupNa
// SuspendSender sends the Suspend request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) SuspendSender(req *http.Request) (future ServersSuspendFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1308,9 +1308,9 @@ func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/appinsights/mgmt/2015-05-01/insights/analyticsitems.go b/services/appinsights/mgmt/2015-05-01/insights/analyticsitems.go
index 0a6db6b09854..853ecc6d358d 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/analyticsitems.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/analyticsitems.go
@@ -122,8 +122,8 @@ func (client AnalyticsItemsClient) DeletePreparer(ctx context.Context, resourceG
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AnalyticsItemsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -219,8 +219,8 @@ func (client AnalyticsItemsClient) GetPreparer(ctx context.Context, resourceGrou
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AnalyticsItemsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -327,8 +327,8 @@ func (client AnalyticsItemsClient) ListPreparer(ctx context.Context, resourceGro
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AnalyticsItemsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -429,8 +429,8 @@ func (client AnalyticsItemsClient) PutPreparer(ctx context.Context, resourceGrou
// PutSender sends the Put request. The method will close the
// http.Response Body if it receives an error.
func (client AnalyticsItemsClient) PutSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// PutResponder handles the response to the Put request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/annotations.go b/services/appinsights/mgmt/2015-05-01/insights/annotations.go
index 11b5f5d36fb3..cc478c3a72ea 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/annotations.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/annotations.go
@@ -115,8 +115,8 @@ func (client AnnotationsClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client AnnotationsClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -204,8 +204,8 @@ func (client AnnotationsClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AnnotationsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -293,8 +293,8 @@ func (client AnnotationsClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AnnotationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -384,8 +384,8 @@ func (client AnnotationsClient) ListPreparer(ctx context.Context, resourceGroupN
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AnnotationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/apikeys.go b/services/appinsights/mgmt/2015-05-01/insights/apikeys.go
index a966f1acc2a9..1b3161dfcd36 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/apikeys.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/apikeys.go
@@ -115,8 +115,8 @@ func (client APIKeysClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client APIKeysClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -204,8 +204,8 @@ func (client APIKeysClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client APIKeysClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -293,8 +293,8 @@ func (client APIKeysClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client APIKeysClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -380,8 +380,8 @@ func (client APIKeysClient) ListPreparer(ctx context.Context, resourceGroupName
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client APIKeysClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go b/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go
index 257e66609d3f..08f23492ac83 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go
@@ -111,8 +111,8 @@ func (client ComponentAvailableFeaturesClient) GetPreparer(ctx context.Context,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentAvailableFeaturesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go b/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go
index 6bca2c0682e2..2a91d53563ed 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go
@@ -112,8 +112,8 @@ func (client ComponentCurrentBillingFeaturesClient) GetPreparer(ctx context.Cont
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentCurrentBillingFeaturesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -203,8 +203,8 @@ func (client ComponentCurrentBillingFeaturesClient) UpdatePreparer(ctx context.C
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentCurrentBillingFeaturesClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go b/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go
index 0f323cdb59e6..9586f98373b6 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go
@@ -112,8 +112,8 @@ func (client ComponentFeatureCapabilitiesClient) GetPreparer(ctx context.Context
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentFeatureCapabilitiesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go b/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go
index b768ae80a520..f879138d4fe1 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go
@@ -111,8 +111,8 @@ func (client ComponentQuotaStatusClient) GetPreparer(ctx context.Context, resour
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentQuotaStatusClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/components.go b/services/appinsights/mgmt/2015-05-01/insights/components.go
index 0453032cb2d0..e888411b04c6 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/components.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/components.go
@@ -117,8 +117,8 @@ func (client ComponentsClient) CreateOrUpdatePreparer(ctx context.Context, resou
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -204,8 +204,8 @@ func (client ComponentsClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -290,8 +290,8 @@ func (client ComponentsClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -379,8 +379,8 @@ func (client ComponentsClient) GetPurgeStatusPreparer(ctx context.Context, resou
// GetPurgeStatusSender sends the GetPurgeStatus request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentsClient) GetPurgeStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPurgeStatusResponder handles the response to the GetPurgeStatus request. The method always
@@ -458,8 +458,8 @@ func (client ComponentsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -581,8 +581,8 @@ func (client ComponentsClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -711,8 +711,8 @@ func (client ComponentsClient) PurgePreparer(ctx context.Context, resourceGroupN
// PurgeSender sends the Purge request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentsClient) PurgeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// PurgeResponder handles the response to the Purge request. The method always
@@ -801,8 +801,8 @@ func (client ComponentsClient) UpdateTagsPreparer(ctx context.Context, resourceG
// UpdateTagsSender sends the UpdateTags request. The method will close the
// http.Response Body if it receives an error.
func (client ComponentsClient) UpdateTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateTagsResponder handles the response to the UpdateTags request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go b/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go
index 3bc9b17b62cf..7b1fe3573b7b 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go
@@ -115,8 +115,8 @@ func (client ExportConfigurationsClient) CreatePreparer(ctx context.Context, res
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ExportConfigurationsClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -204,8 +204,8 @@ func (client ExportConfigurationsClient) DeletePreparer(ctx context.Context, res
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ExportConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -293,8 +293,8 @@ func (client ExportConfigurationsClient) GetPreparer(ctx context.Context, resour
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ExportConfigurationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -380,8 +380,8 @@ func (client ExportConfigurationsClient) ListPreparer(ctx context.Context, resou
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ExportConfigurationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -472,8 +472,8 @@ func (client ExportConfigurationsClient) UpdatePreparer(ctx context.Context, res
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ExportConfigurationsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/favorites.go b/services/appinsights/mgmt/2015-05-01/insights/favorites.go
index 51eed947092f..da6bf5bed2c6 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/favorites.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/favorites.go
@@ -120,8 +120,8 @@ func (client FavoritesClient) AddPreparer(ctx context.Context, resourceGroupName
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client FavoritesClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -209,8 +209,8 @@ func (client FavoritesClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client FavoritesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -297,8 +297,8 @@ func (client FavoritesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client FavoritesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -404,8 +404,8 @@ func (client FavoritesClient) ListPreparer(ctx context.Context, resourceGroupNam
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client FavoritesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -499,8 +499,8 @@ func (client FavoritesClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client FavoritesClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/operations.go b/services/appinsights/mgmt/2015-05-01/insights/operations.go
index 16d160f4a976..0cbf7eae8995 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/operations.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go b/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go
index 906b07dbb2e6..b1d2a914724c 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go
@@ -115,8 +115,8 @@ func (client ProactiveDetectionConfigurationsClient) GetPreparer(ctx context.Con
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProactiveDetectionConfigurationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -202,8 +202,8 @@ func (client ProactiveDetectionConfigurationsClient) ListPreparer(ctx context.Co
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ProactiveDetectionConfigurationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -296,8 +296,8 @@ func (client ProactiveDetectionConfigurationsClient) UpdatePreparer(ctx context.
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProactiveDetectionConfigurationsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go b/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go
index 5f938e383113..2858eff33335 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go
@@ -111,8 +111,8 @@ func (client WebTestLocationsClient) ListPreparer(ctx context.Context, resourceG
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client WebTestLocationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/webtests.go b/services/appinsights/mgmt/2015-05-01/insights/webtests.go
index 87a0564689a8..d19956091f3d 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/webtests.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/webtests.go
@@ -121,8 +121,8 @@ func (client WebTestsClient) CreateOrUpdatePreparer(ctx context.Context, resourc
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client WebTestsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -208,8 +208,8 @@ func (client WebTestsClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WebTestsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -294,8 +294,8 @@ func (client WebTestsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WebTestsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -373,8 +373,8 @@ func (client WebTestsClient) ListPreparer(ctx context.Context) (*http.Request, e
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client WebTestsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -498,8 +498,8 @@ func (client WebTestsClient) ListByComponentPreparer(ctx context.Context, compon
// ListByComponentSender sends the ListByComponent request. The method will close the
// http.Response Body if it receives an error.
func (client WebTestsClient) ListByComponentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByComponentResponder handles the response to the ListByComponent request. The method always
@@ -621,8 +621,8 @@ func (client WebTestsClient) ListByResourceGroupPreparer(ctx context.Context, re
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client WebTestsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -748,8 +748,8 @@ func (client WebTestsClient) UpdateTagsPreparer(ctx context.Context, resourceGro
// UpdateTagsSender sends the UpdateTags request. The method will close the
// http.Response Body if it receives an error.
func (client WebTestsClient) UpdateTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateTagsResponder handles the response to the UpdateTags request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/workbooks.go b/services/appinsights/mgmt/2015-05-01/insights/workbooks.go
index 777097b086a5..17e4a975e726 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/workbooks.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/workbooks.go
@@ -122,8 +122,8 @@ func (client WorkbooksClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client WorkbooksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -209,8 +209,8 @@ func (client WorkbooksClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WorkbooksClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -295,8 +295,8 @@ func (client WorkbooksClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WorkbooksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -391,8 +391,8 @@ func (client WorkbooksClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client WorkbooksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -481,8 +481,8 @@ func (client WorkbooksClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WorkbooksClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go b/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go
index fbb7219a3518..e445f49da908 100644
--- a/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go
+++ b/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go
@@ -115,8 +115,8 @@ func (client WorkItemConfigurationsClient) CreatePreparer(ctx context.Context, r
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client WorkItemConfigurationsClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -205,8 +205,8 @@ func (client WorkItemConfigurationsClient) DeletePreparer(ctx context.Context, r
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WorkItemConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -292,8 +292,8 @@ func (client WorkItemConfigurationsClient) GetDefaultPreparer(ctx context.Contex
// GetDefaultSender sends the GetDefault request. The method will close the
// http.Response Body if it receives an error.
func (client WorkItemConfigurationsClient) GetDefaultSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDefaultResponder handles the response to the GetDefault request. The method always
@@ -382,8 +382,8 @@ func (client WorkItemConfigurationsClient) GetItemPreparer(ctx context.Context,
// GetItemSender sends the GetItem request. The method will close the
// http.Response Body if it receives an error.
func (client WorkItemConfigurationsClient) GetItemSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetItemResponder handles the response to the GetItem request. The method always
@@ -469,8 +469,8 @@ func (client WorkItemConfigurationsClient) ListPreparer(ctx context.Context, res
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client WorkItemConfigurationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -563,8 +563,8 @@ func (client WorkItemConfigurationsClient) UpdateItemPreparer(ctx context.Contex
// UpdateItemSender sends the UpdateItem request. The method will close the
// http.Response Body if it receives an error.
func (client WorkItemConfigurationsClient) UpdateItemSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateItemResponder handles the response to the UpdateItem request. The method always
diff --git a/services/authorization/mgmt/2015-07-01/authorization/classicadministrators.go b/services/authorization/mgmt/2015-07-01/authorization/classicadministrators.go
index 22f963bf84e3..5d865f423470 100644
--- a/services/authorization/mgmt/2015-07-01/authorization/classicadministrators.go
+++ b/services/authorization/mgmt/2015-07-01/authorization/classicadministrators.go
@@ -99,8 +99,8 @@ func (client ClassicAdministratorsClient) ListPreparer(ctx context.Context) (*ht
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ClassicAdministratorsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/authorization/mgmt/2015-07-01/authorization/globaladministrator.go b/services/authorization/mgmt/2015-07-01/authorization/globaladministrator.go
index e1a09cdbd697..d899a74f7cba 100644
--- a/services/authorization/mgmt/2015-07-01/authorization/globaladministrator.go
+++ b/services/authorization/mgmt/2015-07-01/authorization/globaladministrator.go
@@ -94,8 +94,8 @@ func (client GlobalAdministratorClient) ElevateAccessPreparer(ctx context.Contex
// ElevateAccessSender sends the ElevateAccess request. The method will close the
// http.Response Body if it receives an error.
func (client GlobalAdministratorClient) ElevateAccessSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ElevateAccessResponder handles the response to the ElevateAccess request. The method always
diff --git a/services/authorization/mgmt/2015-07-01/authorization/permissions.go b/services/authorization/mgmt/2015-07-01/authorization/permissions.go
index 4f0ad4bb315e..29f4b6ca82cd 100644
--- a/services/authorization/mgmt/2015-07-01/authorization/permissions.go
+++ b/services/authorization/mgmt/2015-07-01/authorization/permissions.go
@@ -110,8 +110,8 @@ func (client PermissionsClient) ListForResourcePreparer(ctx context.Context, res
// ListForResourceSender sends the ListForResource request. The method will close the
// http.Response Body if it receives an error.
func (client PermissionsClient) ListForResourceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForResourceResponder handles the response to the ListForResource request. The method always
@@ -223,8 +223,8 @@ func (client PermissionsClient) ListForResourceGroupPreparer(ctx context.Context
// ListForResourceGroupSender sends the ListForResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client PermissionsClient) ListForResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForResourceGroupResponder handles the response to the ListForResourceGroup request. The method always
diff --git a/services/authorization/mgmt/2015-07-01/authorization/provideroperationsmetadata.go b/services/authorization/mgmt/2015-07-01/authorization/provideroperationsmetadata.go
index d774f931ddde..e9db958782a3 100644
--- a/services/authorization/mgmt/2015-07-01/authorization/provideroperationsmetadata.go
+++ b/services/authorization/mgmt/2015-07-01/authorization/provideroperationsmetadata.go
@@ -106,8 +106,8 @@ func (client ProviderOperationsMetadataClient) GetPreparer(ctx context.Context,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProviderOperationsMetadataClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -182,8 +182,8 @@ func (client ProviderOperationsMetadataClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ProviderOperationsMetadataClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/authorization/mgmt/2015-07-01/authorization/roleassignments.go b/services/authorization/mgmt/2015-07-01/authorization/roleassignments.go
index 57b4eecdedfb..224b08a8de8e 100644
--- a/services/authorization/mgmt/2015-07-01/authorization/roleassignments.go
+++ b/services/authorization/mgmt/2015-07-01/authorization/roleassignments.go
@@ -119,8 +119,8 @@ func (client RoleAssignmentsClient) CreatePreparer(ctx context.Context, scope st
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -208,8 +208,8 @@ func (client RoleAssignmentsClient) CreateByIDPreparer(ctx context.Context, role
// CreateByIDSender sends the CreateByID request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) CreateByIDSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateByIDResponder handles the response to the CreateByID request. The method always
@@ -284,8 +284,8 @@ func (client RoleAssignmentsClient) DeletePreparer(ctx context.Context, scope st
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -361,8 +361,8 @@ func (client RoleAssignmentsClient) DeleteByIDPreparer(ctx context.Context, role
// DeleteByIDSender sends the DeleteByID request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) DeleteByIDSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteByIDResponder handles the response to the DeleteByID request. The method always
@@ -437,8 +437,8 @@ func (client RoleAssignmentsClient) GetPreparer(ctx context.Context, scope strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -514,8 +514,8 @@ func (client RoleAssignmentsClient) GetByIDPreparer(ctx context.Context, roleAss
// GetByIDSender sends the GetByID request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) GetByIDSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByIDResponder handles the response to the GetByID request. The method always
@@ -594,8 +594,8 @@ func (client RoleAssignmentsClient) ListPreparer(ctx context.Context, filter str
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -721,8 +721,8 @@ func (client RoleAssignmentsClient) ListForResourcePreparer(ctx context.Context,
// ListForResourceSender sends the ListForResource request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) ListForResourceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForResourceResponder handles the response to the ListForResource request. The method always
@@ -840,8 +840,8 @@ func (client RoleAssignmentsClient) ListForResourceGroupPreparer(ctx context.Con
// ListForResourceGroupSender sends the ListForResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) ListForResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForResourceGroupResponder handles the response to the ListForResourceGroup request. The method always
@@ -958,8 +958,8 @@ func (client RoleAssignmentsClient) ListForScopePreparer(ctx context.Context, sc
// ListForScopeSender sends the ListForScope request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) ListForScopeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForScopeResponder handles the response to the ListForScope request. The method always
diff --git a/services/authorization/mgmt/2015-07-01/authorization/roledefinitions.go b/services/authorization/mgmt/2015-07-01/authorization/roledefinitions.go
index d15fda216e2e..4c19c4d9a6c7 100644
--- a/services/authorization/mgmt/2015-07-01/authorization/roledefinitions.go
+++ b/services/authorization/mgmt/2015-07-01/authorization/roledefinitions.go
@@ -108,8 +108,8 @@ func (client RoleDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client RoleDefinitionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -184,8 +184,8 @@ func (client RoleDefinitionsClient) DeletePreparer(ctx context.Context, scope st
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RoleDefinitionsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -260,8 +260,8 @@ func (client RoleDefinitionsClient) GetPreparer(ctx context.Context, scope strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RoleDefinitionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -337,8 +337,8 @@ func (client RoleDefinitionsClient) GetByIDPreparer(ctx context.Context, roleDef
// GetByIDSender sends the GetByID request. The method will close the
// http.Response Body if it receives an error.
func (client RoleDefinitionsClient) GetByIDSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByIDResponder handles the response to the GetByID request. The method always
@@ -417,8 +417,8 @@ func (client RoleDefinitionsClient) ListPreparer(ctx context.Context, scope stri
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RoleDefinitionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/account.go b/services/automation/mgmt/2015-10-31/automation/account.go
index aed5f8076305..4e6f63f78e08 100644
--- a/services/automation/mgmt/2015-10-31/automation/account.go
+++ b/services/automation/mgmt/2015-10-31/automation/account.go
@@ -112,8 +112,8 @@ func (client AccountClient) CreateOrUpdatePreparer(ctx context.Context, resource
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -197,8 +197,8 @@ func (client AccountClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -281,8 +281,8 @@ func (client AccountClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -354,8 +354,8 @@ func (client AccountClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -475,8 +475,8 @@ func (client AccountClient) ListByResourceGroupPreparer(ctx context.Context, res
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -600,8 +600,8 @@ func (client AccountClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/activity.go b/services/automation/mgmt/2015-10-31/automation/activity.go
index f6480f72bfce..453039a7c6d5 100644
--- a/services/automation/mgmt/2015-10-31/automation/activity.go
+++ b/services/automation/mgmt/2015-10-31/automation/activity.go
@@ -113,8 +113,8 @@ func (client ActivityClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ActivityClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -201,8 +201,8 @@ func (client ActivityClient) ListByModulePreparer(ctx context.Context, resourceG
// ListByModuleSender sends the ListByModule request. The method will close the
// http.Response Body if it receives an error.
func (client ActivityClient) ListByModuleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByModuleResponder handles the response to the ListByModule request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/agentregistrationinformation.go b/services/automation/mgmt/2015-10-31/automation/agentregistrationinformation.go
index 40ab44dcfc4b..82aee70aa8be 100644
--- a/services/automation/mgmt/2015-10-31/automation/agentregistrationinformation.go
+++ b/services/automation/mgmt/2015-10-31/automation/agentregistrationinformation.go
@@ -110,8 +110,8 @@ func (client AgentRegistrationInformationClient) GetPreparer(ctx context.Context
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AgentRegistrationInformationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -198,8 +198,8 @@ func (client AgentRegistrationInformationClient) RegenerateKeyPreparer(ctx conte
// RegenerateKeySender sends the RegenerateKey request. The method will close the
// http.Response Body if it receives an error.
func (client AgentRegistrationInformationClient) RegenerateKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateKeyResponder handles the response to the RegenerateKey request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/certificate.go b/services/automation/mgmt/2015-10-31/automation/certificate.go
index c7fd07f0209d..2c78aee0afd9 100644
--- a/services/automation/mgmt/2015-10-31/automation/certificate.go
+++ b/services/automation/mgmt/2015-10-31/automation/certificate.go
@@ -118,8 +118,8 @@ func (client CertificateClient) CreateOrUpdatePreparer(ctx context.Context, reso
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -205,8 +205,8 @@ func (client CertificateClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -291,8 +291,8 @@ func (client CertificateClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -377,8 +377,8 @@ func (client CertificateClient) ListByAutomationAccountPreparer(ctx context.Cont
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -504,8 +504,8 @@ func (client CertificateClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/connection.go b/services/automation/mgmt/2015-10-31/automation/connection.go
index f7d4a07adb2c..8f3f172c1ca1 100644
--- a/services/automation/mgmt/2015-10-31/automation/connection.go
+++ b/services/automation/mgmt/2015-10-31/automation/connection.go
@@ -118,8 +118,8 @@ func (client ConnectionClient) CreateOrUpdatePreparer(ctx context.Context, resou
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectionClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -205,8 +205,8 @@ func (client ConnectionClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectionClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -292,8 +292,8 @@ func (client ConnectionClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectionClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -378,8 +378,8 @@ func (client ConnectionClient) ListByAutomationAccountPreparer(ctx context.Conte
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectionClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -505,8 +505,8 @@ func (client ConnectionClient) UpdatePreparer(ctx context.Context, resourceGroup
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectionClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/connectiontype.go b/services/automation/mgmt/2015-10-31/automation/connectiontype.go
index e04c9125f7b5..e408013691a0 100644
--- a/services/automation/mgmt/2015-10-31/automation/connectiontype.go
+++ b/services/automation/mgmt/2015-10-31/automation/connectiontype.go
@@ -118,8 +118,8 @@ func (client ConnectionTypeClient) CreateOrUpdatePreparer(ctx context.Context, r
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectionTypeClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -205,8 +205,8 @@ func (client ConnectionTypeClient) DeletePreparer(ctx context.Context, resourceG
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectionTypeClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -291,8 +291,8 @@ func (client ConnectionTypeClient) GetPreparer(ctx context.Context, resourceGrou
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectionTypeClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -377,8 +377,8 @@ func (client ConnectionTypeClient) ListByAutomationAccountPreparer(ctx context.C
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectionTypeClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/credential.go b/services/automation/mgmt/2015-10-31/automation/credential.go
index cf77be1e11dc..fe721caade5a 100644
--- a/services/automation/mgmt/2015-10-31/automation/credential.go
+++ b/services/automation/mgmt/2015-10-31/automation/credential.go
@@ -120,8 +120,8 @@ func (client CredentialClient) CreateOrUpdatePreparer(ctx context.Context, resou
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client CredentialClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -207,8 +207,8 @@ func (client CredentialClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CredentialClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -293,8 +293,8 @@ func (client CredentialClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CredentialClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -379,8 +379,8 @@ func (client CredentialClient) ListByAutomationAccountPreparer(ctx context.Conte
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client CredentialClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -506,8 +506,8 @@ func (client CredentialClient) UpdatePreparer(ctx context.Context, resourceGroup
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client CredentialClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/dsccompilationjob.go b/services/automation/mgmt/2015-10-31/automation/dsccompilationjob.go
index 1a03f09b1892..239c0926be96 100644
--- a/services/automation/mgmt/2015-10-31/automation/dsccompilationjob.go
+++ b/services/automation/mgmt/2015-10-31/automation/dsccompilationjob.go
@@ -118,8 +118,8 @@ func (client DscCompilationJobClient) CreatePreparer(ctx context.Context, resour
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client DscCompilationJobClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -205,8 +205,8 @@ func (client DscCompilationJobClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DscCompilationJobClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -294,8 +294,8 @@ func (client DscCompilationJobClient) GetStreamPreparer(ctx context.Context, res
// GetStreamSender sends the GetStream request. The method will close the
// http.Response Body if it receives an error.
func (client DscCompilationJobClient) GetStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetStreamResponder handles the response to the GetStream request. The method always
@@ -384,8 +384,8 @@ func (client DscCompilationJobClient) ListByAutomationAccountPreparer(ctx contex
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client DscCompilationJobClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/dsccompilationjobstream.go b/services/automation/mgmt/2015-10-31/automation/dsccompilationjobstream.go
index 0823e36ac794..462c8fde2b37 100644
--- a/services/automation/mgmt/2015-10-31/automation/dsccompilationjobstream.go
+++ b/services/automation/mgmt/2015-10-31/automation/dsccompilationjobstream.go
@@ -112,8 +112,8 @@ func (client DscCompilationJobStreamClient) ListByJobPreparer(ctx context.Contex
// ListByJobSender sends the ListByJob request. The method will close the
// http.Response Body if it receives an error.
func (client DscCompilationJobStreamClient) ListByJobSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByJobResponder handles the response to the ListByJob request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/dscconfiguration.go b/services/automation/mgmt/2015-10-31/automation/dscconfiguration.go
index af7b29459bc5..1336ef9e640c 100644
--- a/services/automation/mgmt/2015-10-31/automation/dscconfiguration.go
+++ b/services/automation/mgmt/2015-10-31/automation/dscconfiguration.go
@@ -123,8 +123,8 @@ func (client DscConfigurationClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client DscConfigurationClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -210,8 +210,8 @@ func (client DscConfigurationClient) DeletePreparer(ctx context.Context, resourc
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DscConfigurationClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -296,8 +296,8 @@ func (client DscConfigurationClient) GetPreparer(ctx context.Context, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DscConfigurationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -383,8 +383,8 @@ func (client DscConfigurationClient) GetContentPreparer(ctx context.Context, res
// GetContentSender sends the GetContent request. The method will close the
// http.Response Body if it receives an error.
func (client DscConfigurationClient) GetContentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetContentResponder handles the response to the GetContent request. The method always
@@ -484,8 +484,8 @@ func (client DscConfigurationClient) ListByAutomationAccountPreparer(ctx context
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client DscConfigurationClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -614,8 +614,8 @@ func (client DscConfigurationClient) UpdatePreparer(ctx context.Context, resourc
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client DscConfigurationClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/dscnode.go b/services/automation/mgmt/2015-10-31/automation/dscnode.go
index 23b3490f3e73..4e60dfbd888a 100644
--- a/services/automation/mgmt/2015-10-31/automation/dscnode.go
+++ b/services/automation/mgmt/2015-10-31/automation/dscnode.go
@@ -111,8 +111,8 @@ func (client DscNodeClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DscNodeClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -198,8 +198,8 @@ func (client DscNodeClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DscNodeClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -288,8 +288,8 @@ func (client DscNodeClient) ListByAutomationAccountPreparer(ctx context.Context,
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client DscNodeClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -415,8 +415,8 @@ func (client DscNodeClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client DscNodeClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/dscnodeconfiguration.go b/services/automation/mgmt/2015-10-31/automation/dscnodeconfiguration.go
index 8e36ed158d47..71175e74c636 100644
--- a/services/automation/mgmt/2015-10-31/automation/dscnodeconfiguration.go
+++ b/services/automation/mgmt/2015-10-31/automation/dscnodeconfiguration.go
@@ -123,8 +123,8 @@ func (client DscNodeConfigurationClient) CreateOrUpdatePreparer(ctx context.Cont
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client DscNodeConfigurationClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -210,8 +210,8 @@ func (client DscNodeConfigurationClient) DeletePreparer(ctx context.Context, res
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DscNodeConfigurationClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -296,8 +296,8 @@ func (client DscNodeConfigurationClient) GetPreparer(ctx context.Context, resour
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DscNodeConfigurationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -386,8 +386,8 @@ func (client DscNodeConfigurationClient) ListByAutomationAccountPreparer(ctx con
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client DscNodeConfigurationClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/fields.go b/services/automation/mgmt/2015-10-31/automation/fields.go
index 4db68823a40c..3ebac62895f4 100644
--- a/services/automation/mgmt/2015-10-31/automation/fields.go
+++ b/services/automation/mgmt/2015-10-31/automation/fields.go
@@ -113,8 +113,8 @@ func (client FieldsClient) ListByTypePreparer(ctx context.Context, resourceGroup
// ListByTypeSender sends the ListByType request. The method will close the
// http.Response Body if it receives an error.
func (client FieldsClient) ListByTypeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByTypeResponder handles the response to the ListByType request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/hybridrunbookworkergroup.go b/services/automation/mgmt/2015-10-31/automation/hybridrunbookworkergroup.go
index 9d76a6c6b528..48878c158c2e 100644
--- a/services/automation/mgmt/2015-10-31/automation/hybridrunbookworkergroup.go
+++ b/services/automation/mgmt/2015-10-31/automation/hybridrunbookworkergroup.go
@@ -111,8 +111,8 @@ func (client HybridRunbookWorkerGroupClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client HybridRunbookWorkerGroupClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -197,8 +197,8 @@ func (client HybridRunbookWorkerGroupClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client HybridRunbookWorkerGroupClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -287,8 +287,8 @@ func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountPreparer(ctx
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -414,8 +414,8 @@ func (client HybridRunbookWorkerGroupClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client HybridRunbookWorkerGroupClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/job.go b/services/automation/mgmt/2015-10-31/automation/job.go
index eb611fe54846..f924ad65f147 100644
--- a/services/automation/mgmt/2015-10-31/automation/job.go
+++ b/services/automation/mgmt/2015-10-31/automation/job.go
@@ -118,8 +118,8 @@ func (client JobClient) CreatePreparer(ctx context.Context, resourceGroupName st
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -205,8 +205,8 @@ func (client JobClient) GetPreparer(ctx context.Context, resourceGroupName strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -292,8 +292,8 @@ func (client JobClient) GetOutputPreparer(ctx context.Context, resourceGroupName
// GetOutputSender sends the GetOutput request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetOutputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetOutputResponder handles the response to the GetOutput request. The method always
@@ -378,8 +378,8 @@ func (client JobClient) GetRunbookContentPreparer(ctx context.Context, resourceG
// GetRunbookContentSender sends the GetRunbookContent request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetRunbookContentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRunbookContentResponder handles the response to the GetRunbookContent request. The method always
@@ -467,8 +467,8 @@ func (client JobClient) ListByAutomationAccountPreparer(ctx context.Context, res
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -591,8 +591,8 @@ func (client JobClient) ResumePreparer(ctx context.Context, resourceGroupName st
// ResumeSender sends the Resume request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ResumeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ResumeResponder handles the response to the Resume request. The method always
@@ -677,8 +677,8 @@ func (client JobClient) StopPreparer(ctx context.Context, resourceGroupName stri
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) StopSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResponder handles the response to the Stop request. The method always
@@ -763,8 +763,8 @@ func (client JobClient) SuspendPreparer(ctx context.Context, resourceGroupName s
// SuspendSender sends the Suspend request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) SuspendSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SuspendResponder handles the response to the Suspend request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/jobschedule.go b/services/automation/mgmt/2015-10-31/automation/jobschedule.go
index 2a9399987b92..02866fdea827 100644
--- a/services/automation/mgmt/2015-10-31/automation/jobschedule.go
+++ b/services/automation/mgmt/2015-10-31/automation/jobschedule.go
@@ -121,8 +121,8 @@ func (client JobScheduleClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -208,8 +208,8 @@ func (client JobScheduleClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -294,8 +294,8 @@ func (client JobScheduleClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -384,8 +384,8 @@ func (client JobScheduleClient) ListByAutomationAccountPreparer(ctx context.Cont
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/jobstream.go b/services/automation/mgmt/2015-10-31/automation/jobstream.go
index e39d0042a1c7..cf30ab7523ea 100644
--- a/services/automation/mgmt/2015-10-31/automation/jobstream.go
+++ b/services/automation/mgmt/2015-10-31/automation/jobstream.go
@@ -113,8 +113,8 @@ func (client JobStreamClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobStreamClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -205,8 +205,8 @@ func (client JobStreamClient) ListByJobPreparer(ctx context.Context, resourceGro
// ListByJobSender sends the ListByJob request. The method will close the
// http.Response Body if it receives an error.
func (client JobStreamClient) ListByJobSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByJobResponder handles the response to the ListByJob request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/keys.go b/services/automation/mgmt/2015-10-31/automation/keys.go
index b5deb4773976..bd3e6559f126 100644
--- a/services/automation/mgmt/2015-10-31/automation/keys.go
+++ b/services/automation/mgmt/2015-10-31/automation/keys.go
@@ -109,8 +109,8 @@ func (client KeysClient) ListByAutomationAccountPreparer(ctx context.Context, re
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client KeysClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/linkedworkspace.go b/services/automation/mgmt/2015-10-31/automation/linkedworkspace.go
index c6d196e46eae..7d8fd8777256 100644
--- a/services/automation/mgmt/2015-10-31/automation/linkedworkspace.go
+++ b/services/automation/mgmt/2015-10-31/automation/linkedworkspace.go
@@ -109,8 +109,8 @@ func (client LinkedWorkspaceClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client LinkedWorkspaceClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/module.go b/services/automation/mgmt/2015-10-31/automation/module.go
index 2ab1ae2becbe..caa351e6ad51 100644
--- a/services/automation/mgmt/2015-10-31/automation/module.go
+++ b/services/automation/mgmt/2015-10-31/automation/module.go
@@ -123,8 +123,8 @@ func (client ModuleClient) CreateOrUpdatePreparer(ctx context.Context, resourceG
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ModuleClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -210,8 +210,8 @@ func (client ModuleClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ModuleClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -296,8 +296,8 @@ func (client ModuleClient) GetPreparer(ctx context.Context, resourceGroupName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ModuleClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -382,8 +382,8 @@ func (client ModuleClient) ListByAutomationAccountPreparer(ctx context.Context,
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ModuleClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -509,8 +509,8 @@ func (client ModuleClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ModuleClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/nodereports.go b/services/automation/mgmt/2015-10-31/automation/nodereports.go
index 92e7fd86fe32..034184bc193c 100644
--- a/services/automation/mgmt/2015-10-31/automation/nodereports.go
+++ b/services/automation/mgmt/2015-10-31/automation/nodereports.go
@@ -113,8 +113,8 @@ func (client NodeReportsClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client NodeReportsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -202,8 +202,8 @@ func (client NodeReportsClient) GetContentPreparer(ctx context.Context, resource
// GetContentSender sends the GetContent request. The method will close the
// http.Response Body if it receives an error.
func (client NodeReportsClient) GetContentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetContentResponder handles the response to the GetContent request. The method always
@@ -294,8 +294,8 @@ func (client NodeReportsClient) ListByNodePreparer(ctx context.Context, resource
// ListByNodeSender sends the ListByNode request. The method will close the
// http.Response Body if it receives an error.
func (client NodeReportsClient) ListByNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByNodeResponder handles the response to the ListByNode request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/objectdatatypes.go b/services/automation/mgmt/2015-10-31/automation/objectdatatypes.go
index 3271369fbcd3..04f4391df47b 100644
--- a/services/automation/mgmt/2015-10-31/automation/objectdatatypes.go
+++ b/services/automation/mgmt/2015-10-31/automation/objectdatatypes.go
@@ -113,8 +113,8 @@ func (client ObjectDataTypesClient) ListFieldsByModuleAndTypePreparer(ctx contex
// ListFieldsByModuleAndTypeSender sends the ListFieldsByModuleAndType request. The method will close the
// http.Response Body if it receives an error.
func (client ObjectDataTypesClient) ListFieldsByModuleAndTypeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFieldsByModuleAndTypeResponder handles the response to the ListFieldsByModuleAndType request. The method always
@@ -200,8 +200,8 @@ func (client ObjectDataTypesClient) ListFieldsByTypePreparer(ctx context.Context
// ListFieldsByTypeSender sends the ListFieldsByType request. The method will close the
// http.Response Body if it receives an error.
func (client ObjectDataTypesClient) ListFieldsByTypeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFieldsByTypeResponder handles the response to the ListFieldsByType request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/operations.go b/services/automation/mgmt/2015-10-31/automation/operations.go
index 3c7b59fa5449..12d40bbde3a7 100644
--- a/services/automation/mgmt/2015-10-31/automation/operations.go
+++ b/services/automation/mgmt/2015-10-31/automation/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/runbook.go b/services/automation/mgmt/2015-10-31/automation/runbook.go
index c99e689fe215..3549cafc513c 100644
--- a/services/automation/mgmt/2015-10-31/automation/runbook.go
+++ b/services/automation/mgmt/2015-10-31/automation/runbook.go
@@ -132,8 +132,8 @@ func (client RunbookClient) CreateOrUpdatePreparer(ctx context.Context, resource
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -219,8 +219,8 @@ func (client RunbookClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -305,8 +305,8 @@ func (client RunbookClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -392,8 +392,8 @@ func (client RunbookClient) GetContentPreparer(ctx context.Context, resourceGrou
// GetContentSender sends the GetContent request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookClient) GetContentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetContentResponder handles the response to the GetContent request. The method always
@@ -477,8 +477,8 @@ func (client RunbookClient) ListByAutomationAccountPreparer(ctx context.Context,
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -604,8 +604,8 @@ func (client RunbookClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/runbookdraft.go b/services/automation/mgmt/2015-10-31/automation/runbookdraft.go
index 67dc6a33d0a3..85161bb635f8 100644
--- a/services/automation/mgmt/2015-10-31/automation/runbookdraft.go
+++ b/services/automation/mgmt/2015-10-31/automation/runbookdraft.go
@@ -112,8 +112,8 @@ func (client RunbookDraftClient) GetPreparer(ctx context.Context, resourceGroupN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookDraftClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -199,8 +199,8 @@ func (client RunbookDraftClient) GetContentPreparer(ctx context.Context, resourc
// GetContentSender sends the GetContent request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookDraftClient) GetContentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetContentResponder handles the response to the GetContent request. The method always
@@ -279,9 +279,9 @@ func (client RunbookDraftClient) PublishPreparer(ctx context.Context, resourceGr
// PublishSender sends the Publish request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookDraftClient) PublishSender(req *http.Request) (future RunbookDraftPublishFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -368,9 +368,9 @@ func (client RunbookDraftClient) ReplaceContentPreparer(ctx context.Context, res
// ReplaceContentSender sends the ReplaceContent request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookDraftClient) ReplaceContentSender(req *http.Request) (future RunbookDraftReplaceContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -461,8 +461,8 @@ func (client RunbookDraftClient) UndoEditPreparer(ctx context.Context, resourceG
// UndoEditSender sends the UndoEdit request. The method will close the
// http.Response Body if it receives an error.
func (client RunbookDraftClient) UndoEditSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UndoEditResponder handles the response to the UndoEdit request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/schedule.go b/services/automation/mgmt/2015-10-31/automation/schedule.go
index 1768ccfbad0c..0f68168c8073 100644
--- a/services/automation/mgmt/2015-10-31/automation/schedule.go
+++ b/services/automation/mgmt/2015-10-31/automation/schedule.go
@@ -118,8 +118,8 @@ func (client ScheduleClient) CreateOrUpdatePreparer(ctx context.Context, resourc
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ScheduleClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -205,8 +205,8 @@ func (client ScheduleClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ScheduleClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -291,8 +291,8 @@ func (client ScheduleClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ScheduleClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -377,8 +377,8 @@ func (client ScheduleClient) ListByAutomationAccountPreparer(ctx context.Context
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ScheduleClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -504,8 +504,8 @@ func (client ScheduleClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ScheduleClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/statistics.go b/services/automation/mgmt/2015-10-31/automation/statistics.go
index dfca129d5350..625062d6ebd2 100644
--- a/services/automation/mgmt/2015-10-31/automation/statistics.go
+++ b/services/automation/mgmt/2015-10-31/automation/statistics.go
@@ -113,8 +113,8 @@ func (client StatisticsClient) ListByAutomationAccountPreparer(ctx context.Conte
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client StatisticsClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/testjob.go b/services/automation/mgmt/2015-10-31/automation/testjob.go
index 29d0930c9943..26908a87daec 100644
--- a/services/automation/mgmt/2015-10-31/automation/testjob.go
+++ b/services/automation/mgmt/2015-10-31/automation/testjob.go
@@ -114,8 +114,8 @@ func (client TestJobClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client TestJobClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -201,8 +201,8 @@ func (client TestJobClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TestJobClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -288,8 +288,8 @@ func (client TestJobClient) ResumePreparer(ctx context.Context, resourceGroupNam
// ResumeSender sends the Resume request. The method will close the
// http.Response Body if it receives an error.
func (client TestJobClient) ResumeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ResumeResponder handles the response to the Resume request. The method always
@@ -374,8 +374,8 @@ func (client TestJobClient) StopPreparer(ctx context.Context, resourceGroupName
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client TestJobClient) StopSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResponder handles the response to the Stop request. The method always
@@ -460,8 +460,8 @@ func (client TestJobClient) SuspendPreparer(ctx context.Context, resourceGroupNa
// SuspendSender sends the Suspend request. The method will close the
// http.Response Body if it receives an error.
func (client TestJobClient) SuspendSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SuspendResponder handles the response to the Suspend request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/testjobstreams.go b/services/automation/mgmt/2015-10-31/automation/testjobstreams.go
index 4f132375aa10..67dbb8106d46 100644
--- a/services/automation/mgmt/2015-10-31/automation/testjobstreams.go
+++ b/services/automation/mgmt/2015-10-31/automation/testjobstreams.go
@@ -113,8 +113,8 @@ func (client TestJobStreamsClient) GetPreparer(ctx context.Context, resourceGrou
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TestJobStreamsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -205,8 +205,8 @@ func (client TestJobStreamsClient) ListByTestJobPreparer(ctx context.Context, re
// ListByTestJobSender sends the ListByTestJob request. The method will close the
// http.Response Body if it receives an error.
func (client TestJobStreamsClient) ListByTestJobSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByTestJobResponder handles the response to the ListByTestJob request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/usages.go b/services/automation/mgmt/2015-10-31/automation/usages.go
index ddb392af716d..ee694d481382 100644
--- a/services/automation/mgmt/2015-10-31/automation/usages.go
+++ b/services/automation/mgmt/2015-10-31/automation/usages.go
@@ -109,8 +109,8 @@ func (client UsagesClient) ListByAutomationAccountPreparer(ctx context.Context,
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsagesClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/variable.go b/services/automation/mgmt/2015-10-31/automation/variable.go
index 62741c8678a9..dc1b92a10af0 100644
--- a/services/automation/mgmt/2015-10-31/automation/variable.go
+++ b/services/automation/mgmt/2015-10-31/automation/variable.go
@@ -117,8 +117,8 @@ func (client VariableClient) CreateOrUpdatePreparer(ctx context.Context, resourc
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VariableClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -204,8 +204,8 @@ func (client VariableClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VariableClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -290,8 +290,8 @@ func (client VariableClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VariableClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -376,8 +376,8 @@ func (client VariableClient) ListByAutomationAccountPreparer(ctx context.Context
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client VariableClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -503,8 +503,8 @@ func (client VariableClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VariableClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/automation/mgmt/2015-10-31/automation/webhook.go b/services/automation/mgmt/2015-10-31/automation/webhook.go
index eca7240b65f6..0f01dd04f534 100644
--- a/services/automation/mgmt/2015-10-31/automation/webhook.go
+++ b/services/automation/mgmt/2015-10-31/automation/webhook.go
@@ -117,8 +117,8 @@ func (client WebhookClient) CreateOrUpdatePreparer(ctx context.Context, resource
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client WebhookClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -204,8 +204,8 @@ func (client WebhookClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WebhookClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -288,8 +288,8 @@ func (client WebhookClient) GenerateURIPreparer(ctx context.Context, resourceGro
// GenerateURISender sends the GenerateURI request. The method will close the
// http.Response Body if it receives an error.
func (client WebhookClient) GenerateURISender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateURIResponder handles the response to the GenerateURI request. The method always
@@ -375,8 +375,8 @@ func (client WebhookClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WebhookClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -465,8 +465,8 @@ func (client WebhookClient) ListByAutomationAccountPreparer(ctx context.Context,
// ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the
// http.Response Body if it receives an error.
func (client WebhookClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always
@@ -592,8 +592,8 @@ func (client WebhookClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WebhookClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/azurestack/mgmt/2017-06-01/azurestack/customersubscriptions.go b/services/azurestack/mgmt/2017-06-01/azurestack/customersubscriptions.go
index 5bbd21662e74..717063a881f4 100644
--- a/services/azurestack/mgmt/2017-06-01/azurestack/customersubscriptions.go
+++ b/services/azurestack/mgmt/2017-06-01/azurestack/customersubscriptions.go
@@ -105,8 +105,8 @@ func (client CustomerSubscriptionsClient) CreatePreparer(ctx context.Context, re
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client CustomerSubscriptionsClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -184,8 +184,8 @@ func (client CustomerSubscriptionsClient) DeletePreparer(ctx context.Context, re
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CustomerSubscriptionsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -262,8 +262,8 @@ func (client CustomerSubscriptionsClient) GetPreparer(ctx context.Context, resou
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CustomerSubscriptionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -340,8 +340,8 @@ func (client CustomerSubscriptionsClient) ListPreparer(ctx context.Context, reso
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client CustomerSubscriptionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/azurestack/mgmt/2017-06-01/azurestack/operations.go b/services/azurestack/mgmt/2017-06-01/azurestack/operations.go
index f8d565f2e1c5..dba9f13d0a83 100644
--- a/services/azurestack/mgmt/2017-06-01/azurestack/operations.go
+++ b/services/azurestack/mgmt/2017-06-01/azurestack/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/azurestack/mgmt/2017-06-01/azurestack/products.go b/services/azurestack/mgmt/2017-06-01/azurestack/products.go
index 2614406d28ec..e70cad6fee70 100644
--- a/services/azurestack/mgmt/2017-06-01/azurestack/products.go
+++ b/services/azurestack/mgmt/2017-06-01/azurestack/products.go
@@ -102,8 +102,8 @@ func (client ProductsClient) GetPreparer(ctx context.Context, resourceGroup stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProductsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -180,8 +180,8 @@ func (client ProductsClient) ListPreparer(ctx context.Context, resourceGroup str
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ProductsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -296,8 +296,8 @@ func (client ProductsClient) ListDetailsPreparer(ctx context.Context, resourceGr
// ListDetailsSender sends the ListDetails request. The method will close the
// http.Response Body if it receives an error.
func (client ProductsClient) ListDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListDetailsResponder handles the response to the ListDetails request. The method always
diff --git a/services/azurestack/mgmt/2017-06-01/azurestack/registrations.go b/services/azurestack/mgmt/2017-06-01/azurestack/registrations.go
index cddee5ab8901..d41f4c78ccaf 100644
--- a/services/azurestack/mgmt/2017-06-01/azurestack/registrations.go
+++ b/services/azurestack/mgmt/2017-06-01/azurestack/registrations.go
@@ -111,8 +111,8 @@ func (client RegistrationsClient) CreateOrUpdatePreparer(ctx context.Context, re
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client RegistrationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -188,8 +188,8 @@ func (client RegistrationsClient) DeletePreparer(ctx context.Context, resourceGr
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RegistrationsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -264,8 +264,8 @@ func (client RegistrationsClient) GetPreparer(ctx context.Context, resourceGroup
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RegistrationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -341,8 +341,8 @@ func (client RegistrationsClient) GetActivationKeyPreparer(ctx context.Context,
// GetActivationKeySender sends the GetActivationKey request. The method will close the
// http.Response Body if it receives an error.
func (client RegistrationsClient) GetActivationKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetActivationKeyResponder handles the response to the GetActivationKey request. The method always
@@ -417,8 +417,8 @@ func (client RegistrationsClient) ListPreparer(ctx context.Context, resourceGrou
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RegistrationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -534,8 +534,8 @@ func (client RegistrationsClient) UpdatePreparer(ctx context.Context, resourceGr
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RegistrationsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2017-05-01.5.0/batch/account.go b/services/batch/2017-05-01.5.0/batch/account.go
index 122647051ca5..e6e3ab0dcd8d 100644
--- a/services/batch/2017-05-01.5.0/batch/account.go
+++ b/services/batch/2017-05-01.5.0/batch/account.go
@@ -143,8 +143,8 @@ func (client AccountClient) ListNodeAgentSkusPreparer(ctx context.Context, filte
// ListNodeAgentSkusSender sends the ListNodeAgentSkus request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListNodeAgentSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListNodeAgentSkusResponder handles the response to the ListNodeAgentSkus request. The method always
diff --git a/services/batch/2017-05-01.5.0/batch/application.go b/services/batch/2017-05-01.5.0/batch/application.go
index 559fec7f76c3..2b2100a6493a 100644
--- a/services/batch/2017-05-01.5.0/batch/application.go
+++ b/services/batch/2017-05-01.5.0/batch/application.go
@@ -127,8 +127,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, applicationID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -242,8 +242,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, maxResults *in
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/2017-05-01.5.0/batch/certificate.go b/services/batch/2017-05-01.5.0/batch/certificate.go
index bb31628602f6..33286452fff7 100644
--- a/services/batch/2017-05-01.5.0/batch/certificate.go
+++ b/services/batch/2017-05-01.5.0/batch/certificate.go
@@ -133,8 +133,8 @@ func (client CertificateClient) AddPreparer(ctx context.Context, certificate Cer
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -239,8 +239,8 @@ func (client CertificateClient) CancelDeletionPreparer(ctx context.Context, thum
// CancelDeletionSender sends the CancelDeletion request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CancelDeletionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CancelDeletionResponder handles the response to the CancelDeletion request. The method always
@@ -347,8 +347,8 @@ func (client CertificateClient) DeletePreparer(ctx context.Context, thumbprintAl
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -453,8 +453,8 @@ func (client CertificateClient) GetPreparer(ctx context.Context, thumbprintAlgor
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -574,8 +574,8 @@ func (client CertificateClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/2017-05-01.5.0/batch/computenode.go b/services/batch/2017-05-01.5.0/batch/computenode.go
index ac9585036376..c529e5d6146a 100644
--- a/services/batch/2017-05-01.5.0/batch/computenode.go
+++ b/services/batch/2017-05-01.5.0/batch/computenode.go
@@ -138,8 +138,8 @@ func (client ComputeNodeClient) AddUserPreparer(ctx context.Context, poolID stri
// AddUserSender sends the AddUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) AddUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddUserResponder handles the response to the AddUser request. The method always
@@ -242,8 +242,8 @@ func (client ComputeNodeClient) DeleteUserPreparer(ctx context.Context, poolID s
// DeleteUserSender sends the DeleteUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) DeleteUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteUserResponder handles the response to the DeleteUser request. The method always
@@ -350,8 +350,8 @@ func (client ComputeNodeClient) DisableSchedulingPreparer(ctx context.Context, p
// DisableSchedulingSender sends the DisableScheduling request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) DisableSchedulingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableSchedulingResponder handles the response to the DisableScheduling request. The method always
@@ -452,8 +452,8 @@ func (client ComputeNodeClient) EnableSchedulingPreparer(ctx context.Context, po
// EnableSchedulingSender sends the EnableScheduling request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) EnableSchedulingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableSchedulingResponder handles the response to the EnableScheduling request. The method always
@@ -558,8 +558,8 @@ func (client ComputeNodeClient) GetPreparer(ctx context.Context, poolID string,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -662,8 +662,8 @@ func (client ComputeNodeClient) GetRemoteDesktopPreparer(ctx context.Context, po
// GetRemoteDesktopSender sends the GetRemoteDesktop request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetRemoteDesktopSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRemoteDesktopResponder handles the response to the GetRemoteDesktop request. The method always
@@ -766,8 +766,8 @@ func (client ComputeNodeClient) GetRemoteLoginSettingsPreparer(ctx context.Conte
// GetRemoteLoginSettingsSender sends the GetRemoteLoginSettings request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetRemoteLoginSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRemoteLoginSettingsResponder handles the response to the GetRemoteLoginSettings request. The method always
@@ -891,8 +891,8 @@ func (client ComputeNodeClient) ListPreparer(ctx context.Context, poolID string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1037,8 +1037,8 @@ func (client ComputeNodeClient) RebootPreparer(ctx context.Context, poolID strin
// RebootSender sends the Reboot request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) RebootSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RebootResponder handles the response to the Reboot request. The method always
@@ -1146,8 +1146,8 @@ func (client ComputeNodeClient) ReimagePreparer(ctx context.Context, poolID stri
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) ReimageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReimageResponder handles the response to the Reimage request. The method always
@@ -1255,8 +1255,8 @@ func (client ComputeNodeClient) UpdateUserPreparer(ctx context.Context, poolID s
// UpdateUserSender sends the UpdateUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) UpdateUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateUserResponder handles the response to the UpdateUser request. The method always
diff --git a/services/batch/2017-05-01.5.0/batch/file.go b/services/batch/2017-05-01.5.0/batch/file.go
index 01e64c1d8d05..735a70fc3305 100644
--- a/services/batch/2017-05-01.5.0/batch/file.go
+++ b/services/batch/2017-05-01.5.0/batch/file.go
@@ -137,8 +137,8 @@ func (client FileClient) DeleteFromComputeNodePreparer(ctx context.Context, pool
// DeleteFromComputeNodeSender sends the DeleteFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) DeleteFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFromComputeNodeResponder handles the response to the DeleteFromComputeNode request. The method always
@@ -247,8 +247,8 @@ func (client FileClient) DeleteFromTaskPreparer(ctx context.Context, jobID strin
// DeleteFromTaskSender sends the DeleteFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) DeleteFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFromTaskResponder handles the response to the DeleteFromTask request. The method always
@@ -370,8 +370,8 @@ func (client FileClient) GetFromComputeNodePreparer(ctx context.Context, poolID
// GetFromComputeNodeSender sends the GetFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFromComputeNodeResponder handles the response to the GetFromComputeNode request. The method always
@@ -493,8 +493,8 @@ func (client FileClient) GetFromTaskPreparer(ctx context.Context, jobID string,
// GetFromTaskSender sends the GetFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFromTaskResponder handles the response to the GetFromTask request. The method always
@@ -610,8 +610,8 @@ func (client FileClient) GetPropertiesFromComputeNodePreparer(ctx context.Contex
// GetPropertiesFromComputeNodeSender sends the GetPropertiesFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetPropertiesFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesFromComputeNodeResponder handles the response to the GetPropertiesFromComputeNode request. The method always
@@ -727,8 +727,8 @@ func (client FileClient) GetPropertiesFromTaskPreparer(ctx context.Context, jobI
// GetPropertiesFromTaskSender sends the GetPropertiesFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetPropertiesFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesFromTaskResponder handles the response to the GetPropertiesFromTask request. The method always
@@ -853,8 +853,8 @@ func (client FileClient) ListFromComputeNodePreparer(ctx context.Context, poolID
// ListFromComputeNodeSender sends the ListFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) ListFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromComputeNodeResponder handles the response to the ListFromComputeNode request. The method always
@@ -1018,8 +1018,8 @@ func (client FileClient) ListFromTaskPreparer(ctx context.Context, jobID string,
// ListFromTaskSender sends the ListFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) ListFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromTaskResponder handles the response to the ListFromTask request. The method always
diff --git a/services/batch/2017-05-01.5.0/batch/job.go b/services/batch/2017-05-01.5.0/batch/job.go
index ca0f8405ddfa..4c00df2e54cc 100644
--- a/services/batch/2017-05-01.5.0/batch/job.go
+++ b/services/batch/2017-05-01.5.0/batch/job.go
@@ -165,8 +165,8 @@ func (client JobClient) AddPreparer(ctx context.Context, job JobAddParameter, ti
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -294,8 +294,8 @@ func (client JobClient) DeletePreparer(ctx context.Context, jobID string, timeou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -429,8 +429,8 @@ func (client JobClient) DisablePreparer(ctx context.Context, jobID string, jobDi
// DisableSender sends the Disable request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) DisableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableResponder handles the response to the Disable request. The method always
@@ -559,8 +559,8 @@ func (client JobClient) EnablePreparer(ctx context.Context, jobID string, timeou
// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) EnableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableResponder handles the response to the Enable request. The method always
@@ -694,8 +694,8 @@ func (client JobClient) GetPreparer(ctx context.Context, jobID string, selectPar
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -791,8 +791,8 @@ func (client JobClient) GetAllLifetimeStatisticsPreparer(ctx context.Context, ti
// GetAllLifetimeStatisticsSender sends the GetAllLifetimeStatistics request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetAllLifetimeStatisticsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllLifetimeStatisticsResponder handles the response to the GetAllLifetimeStatistics request. The method always
@@ -915,8 +915,8 @@ func (client JobClient) ListPreparer(ctx context.Context, filter string, selectP
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1081,8 +1081,8 @@ func (client JobClient) ListFromJobSchedulePreparer(ctx context.Context, jobSche
// ListFromJobScheduleSender sends the ListFromJobSchedule request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListFromJobScheduleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromJobScheduleResponder handles the response to the ListFromJobSchedule request. The method always
@@ -1245,8 +1245,8 @@ func (client JobClient) ListPreparationAndReleaseTaskStatusPreparer(ctx context.
// ListPreparationAndReleaseTaskStatusSender sends the ListPreparationAndReleaseTaskStatus request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListPreparationAndReleaseTaskStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPreparationAndReleaseTaskStatusResponder handles the response to the ListPreparationAndReleaseTaskStatus request. The method always
@@ -1414,8 +1414,8 @@ func (client JobClient) PatchPreparer(ctx context.Context, jobID string, jobPatc
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1549,8 +1549,8 @@ func (client JobClient) TerminatePreparer(ctx context.Context, jobID string, job
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1707,8 +1707,8 @@ func (client JobClient) UpdatePreparer(ctx context.Context, jobID string, jobUpd
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2017-05-01.5.0/batch/jobschedule.go b/services/batch/2017-05-01.5.0/batch/jobschedule.go
index d55ed2ba9a9d..cc99ef6d32b7 100644
--- a/services/batch/2017-05-01.5.0/batch/jobschedule.go
+++ b/services/batch/2017-05-01.5.0/batch/jobschedule.go
@@ -163,8 +163,8 @@ func (client JobScheduleClient) AddPreparer(ctx context.Context, cloudJobSchedul
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -293,8 +293,8 @@ func (client JobScheduleClient) DeletePreparer(ctx context.Context, jobScheduleI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -420,8 +420,8 @@ func (client JobScheduleClient) DisablePreparer(ctx context.Context, jobSchedule
// DisableSender sends the Disable request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DisableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableResponder handles the response to the Disable request. The method always
@@ -547,8 +547,8 @@ func (client JobScheduleClient) EnablePreparer(ctx context.Context, jobScheduleI
// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) EnableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableResponder handles the response to the Enable request. The method always
@@ -674,8 +674,8 @@ func (client JobScheduleClient) ExistsPreparer(ctx context.Context, jobScheduleI
// ExistsSender sends the Exists request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExistsResponder handles the response to the Exists request. The method always
@@ -809,8 +809,8 @@ func (client JobScheduleClient) GetPreparer(ctx context.Context, jobScheduleID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -934,8 +934,8 @@ func (client JobScheduleClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1105,8 +1105,8 @@ func (client JobScheduleClient) PatchPreparer(ctx context.Context, jobScheduleID
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1232,8 +1232,8 @@ func (client JobScheduleClient) TerminatePreparer(ctx context.Context, jobSchedu
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1402,8 +1402,8 @@ func (client JobScheduleClient) UpdatePreparer(ctx context.Context, jobScheduleI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2017-05-01.5.0/batch/pool.go b/services/batch/2017-05-01.5.0/batch/pool.go
index 20783770ddf3..f79f5a53ba9e 100644
--- a/services/batch/2017-05-01.5.0/batch/pool.go
+++ b/services/batch/2017-05-01.5.0/batch/pool.go
@@ -147,8 +147,8 @@ func (client PoolClient) AddPreparer(ctx context.Context, pool PoolAddParameter,
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -281,8 +281,8 @@ func (client PoolClient) DeletePreparer(ctx context.Context, poolID string, time
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -381,8 +381,8 @@ func (client PoolClient) DisableAutoScalePreparer(ctx context.Context, poolID st
// DisableAutoScaleSender sends the DisableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DisableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableAutoScaleResponder handles the response to the DisableAutoScale request. The method always
@@ -514,8 +514,8 @@ func (client PoolClient) EnableAutoScalePreparer(ctx context.Context, poolID str
// EnableAutoScaleSender sends the EnableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) EnableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableAutoScaleResponder handles the response to the EnableAutoScale request. The method always
@@ -624,8 +624,8 @@ func (client PoolClient) EvaluateAutoScalePreparer(ctx context.Context, poolID s
// EvaluateAutoScaleSender sends the EvaluateAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) EvaluateAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EvaluateAutoScaleResponder handles the response to the EvaluateAutoScale request. The method always
@@ -752,8 +752,8 @@ func (client PoolClient) ExistsPreparer(ctx context.Context, poolID string, time
// ExistsSender sends the Exists request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExistsResponder handles the response to the Exists request. The method always
@@ -887,8 +887,8 @@ func (client PoolClient) GetPreparer(ctx context.Context, poolID string, selectP
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -984,8 +984,8 @@ func (client PoolClient) GetAllLifetimeStatisticsPreparer(ctx context.Context, t
// GetAllLifetimeStatisticsSender sends the GetAllLifetimeStatistics request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetAllLifetimeStatisticsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllLifetimeStatisticsResponder handles the response to the GetAllLifetimeStatistics request. The method always
@@ -1108,8 +1108,8 @@ func (client PoolClient) ListPreparer(ctx context.Context, filter string, select
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1275,8 +1275,8 @@ func (client PoolClient) ListUsageMetricsPreparer(ctx context.Context, startTime
// ListUsageMetricsSender sends the ListUsageMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListUsageMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsageMetricsResponder handles the response to the ListUsageMetrics request. The method always
@@ -1445,8 +1445,8 @@ func (client PoolClient) PatchPreparer(ctx context.Context, poolID string, poolP
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1583,8 +1583,8 @@ func (client PoolClient) RemoveNodesPreparer(ctx context.Context, poolID string,
// RemoveNodesSender sends the RemoveNodes request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) RemoveNodesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RemoveNodesResponder handles the response to the RemoveNodes request. The method always
@@ -1717,8 +1717,8 @@ func (client PoolClient) ResizePreparer(ctx context.Context, poolID string, pool
// ResizeSender sends the Resize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ResizeResponder handles the response to the Resize request. The method always
@@ -1846,8 +1846,8 @@ func (client PoolClient) StopResizePreparer(ctx context.Context, poolID string,
// StopResizeSender sends the StopResize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) StopResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResizeResponder handles the response to the StopResize request. The method always
@@ -1961,8 +1961,8 @@ func (client PoolClient) UpdatePropertiesPreparer(ctx context.Context, poolID st
// UpdatePropertiesSender sends the UpdateProperties request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpdatePropertiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePropertiesResponder handles the response to the UpdateProperties request. The method always
@@ -2103,8 +2103,8 @@ func (client PoolClient) UpgradeOSPreparer(ctx context.Context, poolID string, p
// UpgradeOSSender sends the UpgradeOS request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpgradeOSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpgradeOSResponder handles the response to the UpgradeOS request. The method always
diff --git a/services/batch/2017-05-01.5.0/batch/task.go b/services/batch/2017-05-01.5.0/batch/task.go
index 23b02144a415..4dab2bc3f67a 100644
--- a/services/batch/2017-05-01.5.0/batch/task.go
+++ b/services/batch/2017-05-01.5.0/batch/task.go
@@ -141,8 +141,8 @@ func (client TaskClient) AddPreparer(ctx context.Context, jobID string, task Tas
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -256,8 +256,8 @@ func (client TaskClient) AddCollectionPreparer(ctx context.Context, jobID string
// AddCollectionSender sends the AddCollection request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) AddCollectionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCollectionResponder handles the response to the AddCollection request. The method always
@@ -388,8 +388,8 @@ func (client TaskClient) DeletePreparer(ctx context.Context, jobID string, taskI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -526,8 +526,8 @@ func (client TaskClient) GetPreparer(ctx context.Context, jobID string, taskID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -656,8 +656,8 @@ func (client TaskClient) ListPreparer(ctx context.Context, jobID string, filter
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -800,8 +800,8 @@ func (client TaskClient) ListSubtasksPreparer(ctx context.Context, jobID string,
// ListSubtasksSender sends the ListSubtasks request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ListSubtasksSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSubtasksResponder handles the response to the ListSubtasks request. The method always
@@ -934,8 +934,8 @@ func (client TaskClient) ReactivatePreparer(ctx context.Context, jobID string, t
// ReactivateSender sends the Reactivate request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ReactivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReactivateResponder handles the response to the Reactivate request. The method always
@@ -1065,8 +1065,8 @@ func (client TaskClient) TerminatePreparer(ctx context.Context, jobID string, ta
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1197,8 +1197,8 @@ func (client TaskClient) UpdatePreparer(ctx context.Context, jobID string, taskI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2018-03-01.6.1/batch/account.go b/services/batch/2018-03-01.6.1/batch/account.go
index f71b36e45100..4b3d1181e759 100644
--- a/services/batch/2018-03-01.6.1/batch/account.go
+++ b/services/batch/2018-03-01.6.1/batch/account.go
@@ -144,8 +144,8 @@ func (client AccountClient) ListNodeAgentSkusPreparer(ctx context.Context, filte
// ListNodeAgentSkusSender sends the ListNodeAgentSkus request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListNodeAgentSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListNodeAgentSkusResponder handles the response to the ListNodeAgentSkus request. The method always
@@ -297,8 +297,8 @@ func (client AccountClient) ListPoolNodeCountsPreparer(ctx context.Context, filt
// ListPoolNodeCountsSender sends the ListPoolNodeCounts request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListPoolNodeCountsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPoolNodeCountsResponder handles the response to the ListPoolNodeCounts request. The method always
diff --git a/services/batch/2018-03-01.6.1/batch/application.go b/services/batch/2018-03-01.6.1/batch/application.go
index 7110b5a9256a..74bb68d1a2bc 100644
--- a/services/batch/2018-03-01.6.1/batch/application.go
+++ b/services/batch/2018-03-01.6.1/batch/application.go
@@ -129,8 +129,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, applicationID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -244,8 +244,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, maxResults *in
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/2018-03-01.6.1/batch/certificate.go b/services/batch/2018-03-01.6.1/batch/certificate.go
index 2cc074d0df46..d60f254e5fdb 100644
--- a/services/batch/2018-03-01.6.1/batch/certificate.go
+++ b/services/batch/2018-03-01.6.1/batch/certificate.go
@@ -133,8 +133,8 @@ func (client CertificateClient) AddPreparer(ctx context.Context, certificate Cer
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -239,8 +239,8 @@ func (client CertificateClient) CancelDeletionPreparer(ctx context.Context, thum
// CancelDeletionSender sends the CancelDeletion request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CancelDeletionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CancelDeletionResponder handles the response to the CancelDeletion request. The method always
@@ -347,8 +347,8 @@ func (client CertificateClient) DeletePreparer(ctx context.Context, thumbprintAl
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -453,8 +453,8 @@ func (client CertificateClient) GetPreparer(ctx context.Context, thumbprintAlgor
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -575,8 +575,8 @@ func (client CertificateClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/2018-03-01.6.1/batch/computenode.go b/services/batch/2018-03-01.6.1/batch/computenode.go
index a94bf942dcbe..63c22ce33828 100644
--- a/services/batch/2018-03-01.6.1/batch/computenode.go
+++ b/services/batch/2018-03-01.6.1/batch/computenode.go
@@ -138,8 +138,8 @@ func (client ComputeNodeClient) AddUserPreparer(ctx context.Context, poolID stri
// AddUserSender sends the AddUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) AddUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddUserResponder handles the response to the AddUser request. The method always
@@ -242,8 +242,8 @@ func (client ComputeNodeClient) DeleteUserPreparer(ctx context.Context, poolID s
// DeleteUserSender sends the DeleteUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) DeleteUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteUserResponder handles the response to the DeleteUser request. The method always
@@ -350,8 +350,8 @@ func (client ComputeNodeClient) DisableSchedulingPreparer(ctx context.Context, p
// DisableSchedulingSender sends the DisableScheduling request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) DisableSchedulingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableSchedulingResponder handles the response to the DisableScheduling request. The method always
@@ -452,8 +452,8 @@ func (client ComputeNodeClient) EnableSchedulingPreparer(ctx context.Context, po
// EnableSchedulingSender sends the EnableScheduling request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) EnableSchedulingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableSchedulingResponder handles the response to the EnableScheduling request. The method always
@@ -558,8 +558,8 @@ func (client ComputeNodeClient) GetPreparer(ctx context.Context, poolID string,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -663,8 +663,8 @@ func (client ComputeNodeClient) GetRemoteDesktopPreparer(ctx context.Context, po
// GetRemoteDesktopSender sends the GetRemoteDesktop request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetRemoteDesktopSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRemoteDesktopResponder handles the response to the GetRemoteDesktop request. The method always
@@ -767,8 +767,8 @@ func (client ComputeNodeClient) GetRemoteLoginSettingsPreparer(ctx context.Conte
// GetRemoteLoginSettingsSender sends the GetRemoteLoginSettings request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetRemoteLoginSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRemoteLoginSettingsResponder handles the response to the GetRemoteLoginSettings request. The method always
@@ -893,8 +893,8 @@ func (client ComputeNodeClient) ListPreparer(ctx context.Context, poolID string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1039,8 +1039,8 @@ func (client ComputeNodeClient) RebootPreparer(ctx context.Context, poolID strin
// RebootSender sends the Reboot request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) RebootSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RebootResponder handles the response to the Reboot request. The method always
@@ -1148,8 +1148,8 @@ func (client ComputeNodeClient) ReimagePreparer(ctx context.Context, poolID stri
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) ReimageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReimageResponder handles the response to the Reimage request. The method always
@@ -1257,8 +1257,8 @@ func (client ComputeNodeClient) UpdateUserPreparer(ctx context.Context, poolID s
// UpdateUserSender sends the UpdateUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) UpdateUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateUserResponder handles the response to the UpdateUser request. The method always
@@ -1371,8 +1371,8 @@ func (client ComputeNodeClient) UploadBatchServiceLogsPreparer(ctx context.Conte
// UploadBatchServiceLogsSender sends the UploadBatchServiceLogs request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) UploadBatchServiceLogsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UploadBatchServiceLogsResponder handles the response to the UploadBatchServiceLogs request. The method always
diff --git a/services/batch/2018-03-01.6.1/batch/file.go b/services/batch/2018-03-01.6.1/batch/file.go
index df980b30e93e..3bc202647b37 100644
--- a/services/batch/2018-03-01.6.1/batch/file.go
+++ b/services/batch/2018-03-01.6.1/batch/file.go
@@ -137,8 +137,8 @@ func (client FileClient) DeleteFromComputeNodePreparer(ctx context.Context, pool
// DeleteFromComputeNodeSender sends the DeleteFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) DeleteFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFromComputeNodeResponder handles the response to the DeleteFromComputeNode request. The method always
@@ -247,8 +247,8 @@ func (client FileClient) DeleteFromTaskPreparer(ctx context.Context, jobID strin
// DeleteFromTaskSender sends the DeleteFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) DeleteFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFromTaskResponder handles the response to the DeleteFromTask request. The method always
@@ -370,8 +370,8 @@ func (client FileClient) GetFromComputeNodePreparer(ctx context.Context, poolID
// GetFromComputeNodeSender sends the GetFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFromComputeNodeResponder handles the response to the GetFromComputeNode request. The method always
@@ -493,8 +493,8 @@ func (client FileClient) GetFromTaskPreparer(ctx context.Context, jobID string,
// GetFromTaskSender sends the GetFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFromTaskResponder handles the response to the GetFromTask request. The method always
@@ -610,8 +610,8 @@ func (client FileClient) GetPropertiesFromComputeNodePreparer(ctx context.Contex
// GetPropertiesFromComputeNodeSender sends the GetPropertiesFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetPropertiesFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesFromComputeNodeResponder handles the response to the GetPropertiesFromComputeNode request. The method always
@@ -727,8 +727,8 @@ func (client FileClient) GetPropertiesFromTaskPreparer(ctx context.Context, jobI
// GetPropertiesFromTaskSender sends the GetPropertiesFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetPropertiesFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesFromTaskResponder handles the response to the GetPropertiesFromTask request. The method always
@@ -854,8 +854,8 @@ func (client FileClient) ListFromComputeNodePreparer(ctx context.Context, poolID
// ListFromComputeNodeSender sends the ListFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) ListFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromComputeNodeResponder handles the response to the ListFromComputeNode request. The method always
@@ -1020,8 +1020,8 @@ func (client FileClient) ListFromTaskPreparer(ctx context.Context, jobID string,
// ListFromTaskSender sends the ListFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) ListFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromTaskResponder handles the response to the ListFromTask request. The method always
diff --git a/services/batch/2018-03-01.6.1/batch/job.go b/services/batch/2018-03-01.6.1/batch/job.go
index 393e4088c8b2..124a3b7be75b 100644
--- a/services/batch/2018-03-01.6.1/batch/job.go
+++ b/services/batch/2018-03-01.6.1/batch/job.go
@@ -196,8 +196,8 @@ func (client JobClient) AddPreparer(ctx context.Context, job JobAddParameter, ti
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -328,8 +328,8 @@ func (client JobClient) DeletePreparer(ctx context.Context, jobID string, timeou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -463,8 +463,8 @@ func (client JobClient) DisablePreparer(ctx context.Context, jobID string, jobDi
// DisableSender sends the Disable request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) DisableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableResponder handles the response to the Disable request. The method always
@@ -593,8 +593,8 @@ func (client JobClient) EnablePreparer(ctx context.Context, jobID string, timeou
// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) EnableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableResponder handles the response to the Enable request. The method always
@@ -728,8 +728,8 @@ func (client JobClient) GetPreparer(ctx context.Context, jobID string, selectPar
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -826,8 +826,8 @@ func (client JobClient) GetAllLifetimeStatisticsPreparer(ctx context.Context, ti
// GetAllLifetimeStatisticsSender sends the GetAllLifetimeStatistics request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetAllLifetimeStatisticsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllLifetimeStatisticsResponder handles the response to the GetAllLifetimeStatistics request. The method always
@@ -930,8 +930,8 @@ func (client JobClient) GetTaskCountsPreparer(ctx context.Context, jobID string,
// GetTaskCountsSender sends the GetTaskCounts request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetTaskCountsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaskCountsResponder handles the response to the GetTaskCounts request. The method always
@@ -1055,8 +1055,8 @@ func (client JobClient) ListPreparer(ctx context.Context, filter string, selectP
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1222,8 +1222,8 @@ func (client JobClient) ListFromJobSchedulePreparer(ctx context.Context, jobSche
// ListFromJobScheduleSender sends the ListFromJobSchedule request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListFromJobScheduleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromJobScheduleResponder handles the response to the ListFromJobSchedule request. The method always
@@ -1388,8 +1388,8 @@ func (client JobClient) ListPreparationAndReleaseTaskStatusPreparer(ctx context.
// ListPreparationAndReleaseTaskStatusSender sends the ListPreparationAndReleaseTaskStatus request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListPreparationAndReleaseTaskStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPreparationAndReleaseTaskStatusResponder handles the response to the ListPreparationAndReleaseTaskStatus request. The method always
@@ -1557,8 +1557,8 @@ func (client JobClient) PatchPreparer(ctx context.Context, jobID string, jobPatc
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1694,8 +1694,8 @@ func (client JobClient) TerminatePreparer(ctx context.Context, jobID string, job
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1860,8 +1860,8 @@ func (client JobClient) UpdatePreparer(ctx context.Context, jobID string, jobUpd
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2018-03-01.6.1/batch/jobschedule.go b/services/batch/2018-03-01.6.1/batch/jobschedule.go
index 1540d43123d4..c40fd7c70dc5 100644
--- a/services/batch/2018-03-01.6.1/batch/jobschedule.go
+++ b/services/batch/2018-03-01.6.1/batch/jobschedule.go
@@ -194,8 +194,8 @@ func (client JobScheduleClient) AddPreparer(ctx context.Context, cloudJobSchedul
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -324,8 +324,8 @@ func (client JobScheduleClient) DeletePreparer(ctx context.Context, jobScheduleI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -451,8 +451,8 @@ func (client JobScheduleClient) DisablePreparer(ctx context.Context, jobSchedule
// DisableSender sends the Disable request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DisableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableResponder handles the response to the Disable request. The method always
@@ -578,8 +578,8 @@ func (client JobScheduleClient) EnablePreparer(ctx context.Context, jobScheduleI
// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) EnableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableResponder handles the response to the Enable request. The method always
@@ -705,8 +705,8 @@ func (client JobScheduleClient) ExistsPreparer(ctx context.Context, jobScheduleI
// ExistsSender sends the Exists request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExistsResponder handles the response to the Exists request. The method always
@@ -840,8 +840,8 @@ func (client JobScheduleClient) GetPreparer(ctx context.Context, jobScheduleID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -966,8 +966,8 @@ func (client JobScheduleClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1137,8 +1137,8 @@ func (client JobScheduleClient) PatchPreparer(ctx context.Context, jobScheduleID
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1264,8 +1264,8 @@ func (client JobScheduleClient) TerminatePreparer(ctx context.Context, jobSchedu
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1465,8 +1465,8 @@ func (client JobScheduleClient) UpdatePreparer(ctx context.Context, jobScheduleI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2018-03-01.6.1/batch/pool.go b/services/batch/2018-03-01.6.1/batch/pool.go
index 5a6ee763d741..5fdf8d0bda92 100644
--- a/services/batch/2018-03-01.6.1/batch/pool.go
+++ b/services/batch/2018-03-01.6.1/batch/pool.go
@@ -155,8 +155,8 @@ func (client PoolClient) AddPreparer(ctx context.Context, pool PoolAddParameter,
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -289,8 +289,8 @@ func (client PoolClient) DeletePreparer(ctx context.Context, poolID string, time
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -389,8 +389,8 @@ func (client PoolClient) DisableAutoScalePreparer(ctx context.Context, poolID st
// DisableAutoScaleSender sends the DisableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DisableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableAutoScaleResponder handles the response to the DisableAutoScale request. The method always
@@ -522,8 +522,8 @@ func (client PoolClient) EnableAutoScalePreparer(ctx context.Context, poolID str
// EnableAutoScaleSender sends the EnableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) EnableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableAutoScaleResponder handles the response to the EnableAutoScale request. The method always
@@ -632,8 +632,8 @@ func (client PoolClient) EvaluateAutoScalePreparer(ctx context.Context, poolID s
// EvaluateAutoScaleSender sends the EvaluateAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) EvaluateAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EvaluateAutoScaleResponder handles the response to the EvaluateAutoScale request. The method always
@@ -760,8 +760,8 @@ func (client PoolClient) ExistsPreparer(ctx context.Context, poolID string, time
// ExistsSender sends the Exists request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExistsResponder handles the response to the Exists request. The method always
@@ -895,8 +895,8 @@ func (client PoolClient) GetPreparer(ctx context.Context, poolID string, selectP
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -993,8 +993,8 @@ func (client PoolClient) GetAllLifetimeStatisticsPreparer(ctx context.Context, t
// GetAllLifetimeStatisticsSender sends the GetAllLifetimeStatistics request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetAllLifetimeStatisticsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllLifetimeStatisticsResponder handles the response to the GetAllLifetimeStatistics request. The method always
@@ -1118,8 +1118,8 @@ func (client PoolClient) ListPreparer(ctx context.Context, filter string, select
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1287,8 +1287,8 @@ func (client PoolClient) ListUsageMetricsPreparer(ctx context.Context, startTime
// ListUsageMetricsSender sends the ListUsageMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListUsageMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsageMetricsResponder handles the response to the ListUsageMetrics request. The method always
@@ -1457,8 +1457,8 @@ func (client PoolClient) PatchPreparer(ctx context.Context, poolID string, poolP
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1595,8 +1595,8 @@ func (client PoolClient) RemoveNodesPreparer(ctx context.Context, poolID string,
// RemoveNodesSender sends the RemoveNodes request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) RemoveNodesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RemoveNodesResponder handles the response to the RemoveNodes request. The method always
@@ -1729,8 +1729,8 @@ func (client PoolClient) ResizePreparer(ctx context.Context, poolID string, pool
// ResizeSender sends the Resize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ResizeResponder handles the response to the Resize request. The method always
@@ -1860,8 +1860,8 @@ func (client PoolClient) StopResizePreparer(ctx context.Context, poolID string,
// StopResizeSender sends the StopResize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) StopResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResizeResponder handles the response to the StopResize request. The method always
@@ -1983,8 +1983,8 @@ func (client PoolClient) UpdatePropertiesPreparer(ctx context.Context, poolID st
// UpdatePropertiesSender sends the UpdateProperties request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpdatePropertiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePropertiesResponder handles the response to the UpdateProperties request. The method always
@@ -2129,8 +2129,8 @@ func (client PoolClient) UpgradeOSPreparer(ctx context.Context, poolID string, p
// UpgradeOSSender sends the UpgradeOS request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpgradeOSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpgradeOSResponder handles the response to the UpgradeOS request. The method always
diff --git a/services/batch/2018-03-01.6.1/batch/task.go b/services/batch/2018-03-01.6.1/batch/task.go
index 445deca479f2..7af37e05e1cb 100644
--- a/services/batch/2018-03-01.6.1/batch/task.go
+++ b/services/batch/2018-03-01.6.1/batch/task.go
@@ -149,8 +149,8 @@ func (client TaskClient) AddPreparer(ctx context.Context, jobID string, task Tas
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -268,8 +268,8 @@ func (client TaskClient) AddCollectionPreparer(ctx context.Context, jobID string
// AddCollectionSender sends the AddCollection request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) AddCollectionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCollectionResponder handles the response to the AddCollection request. The method always
@@ -400,8 +400,8 @@ func (client TaskClient) DeletePreparer(ctx context.Context, jobID string, taskI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -538,8 +538,8 @@ func (client TaskClient) GetPreparer(ctx context.Context, jobID string, taskID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -669,8 +669,8 @@ func (client TaskClient) ListPreparer(ctx context.Context, jobID string, filter
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -813,8 +813,8 @@ func (client TaskClient) ListSubtasksPreparer(ctx context.Context, jobID string,
// ListSubtasksSender sends the ListSubtasks request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ListSubtasksSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSubtasksResponder handles the response to the ListSubtasks request. The method always
@@ -947,8 +947,8 @@ func (client TaskClient) ReactivatePreparer(ctx context.Context, jobID string, t
// ReactivateSender sends the Reactivate request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ReactivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReactivateResponder handles the response to the Reactivate request. The method always
@@ -1078,8 +1078,8 @@ func (client TaskClient) TerminatePreparer(ctx context.Context, jobID string, ta
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1210,8 +1210,8 @@ func (client TaskClient) UpdatePreparer(ctx context.Context, jobID string, taskI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2018-08-01.7.0/batch/account.go b/services/batch/2018-08-01.7.0/batch/account.go
index 7f3383b4c0a0..caf7decac6c2 100644
--- a/services/batch/2018-08-01.7.0/batch/account.go
+++ b/services/batch/2018-08-01.7.0/batch/account.go
@@ -144,8 +144,8 @@ func (client AccountClient) ListNodeAgentSkusPreparer(ctx context.Context, filte
// ListNodeAgentSkusSender sends the ListNodeAgentSkus request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListNodeAgentSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListNodeAgentSkusResponder handles the response to the ListNodeAgentSkus request. The method always
@@ -298,8 +298,8 @@ func (client AccountClient) ListPoolNodeCountsPreparer(ctx context.Context, filt
// ListPoolNodeCountsSender sends the ListPoolNodeCounts request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListPoolNodeCountsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPoolNodeCountsResponder handles the response to the ListPoolNodeCounts request. The method always
diff --git a/services/batch/2018-08-01.7.0/batch/application.go b/services/batch/2018-08-01.7.0/batch/application.go
index d921f3684e02..aff343fcf078 100644
--- a/services/batch/2018-08-01.7.0/batch/application.go
+++ b/services/batch/2018-08-01.7.0/batch/application.go
@@ -129,8 +129,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, applicationID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -244,8 +244,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, maxResults *in
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/2018-08-01.7.0/batch/certificate.go b/services/batch/2018-08-01.7.0/batch/certificate.go
index 0385b2ef7ab7..f836ffb9ea59 100644
--- a/services/batch/2018-08-01.7.0/batch/certificate.go
+++ b/services/batch/2018-08-01.7.0/batch/certificate.go
@@ -133,8 +133,8 @@ func (client CertificateClient) AddPreparer(ctx context.Context, certificate Cer
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -239,8 +239,8 @@ func (client CertificateClient) CancelDeletionPreparer(ctx context.Context, thum
// CancelDeletionSender sends the CancelDeletion request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CancelDeletionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CancelDeletionResponder handles the response to the CancelDeletion request. The method always
@@ -347,8 +347,8 @@ func (client CertificateClient) DeletePreparer(ctx context.Context, thumbprintAl
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -453,8 +453,8 @@ func (client CertificateClient) GetPreparer(ctx context.Context, thumbprintAlgor
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -575,8 +575,8 @@ func (client CertificateClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/2018-08-01.7.0/batch/computenode.go b/services/batch/2018-08-01.7.0/batch/computenode.go
index fe8b02f6e0ac..5bb4ed7fe494 100644
--- a/services/batch/2018-08-01.7.0/batch/computenode.go
+++ b/services/batch/2018-08-01.7.0/batch/computenode.go
@@ -138,8 +138,8 @@ func (client ComputeNodeClient) AddUserPreparer(ctx context.Context, poolID stri
// AddUserSender sends the AddUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) AddUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddUserResponder handles the response to the AddUser request. The method always
@@ -242,8 +242,8 @@ func (client ComputeNodeClient) DeleteUserPreparer(ctx context.Context, poolID s
// DeleteUserSender sends the DeleteUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) DeleteUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteUserResponder handles the response to the DeleteUser request. The method always
@@ -350,8 +350,8 @@ func (client ComputeNodeClient) DisableSchedulingPreparer(ctx context.Context, p
// DisableSchedulingSender sends the DisableScheduling request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) DisableSchedulingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableSchedulingResponder handles the response to the DisableScheduling request. The method always
@@ -452,8 +452,8 @@ func (client ComputeNodeClient) EnableSchedulingPreparer(ctx context.Context, po
// EnableSchedulingSender sends the EnableScheduling request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) EnableSchedulingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableSchedulingResponder handles the response to the EnableScheduling request. The method always
@@ -558,8 +558,8 @@ func (client ComputeNodeClient) GetPreparer(ctx context.Context, poolID string,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -663,8 +663,8 @@ func (client ComputeNodeClient) GetRemoteDesktopPreparer(ctx context.Context, po
// GetRemoteDesktopSender sends the GetRemoteDesktop request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetRemoteDesktopSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRemoteDesktopResponder handles the response to the GetRemoteDesktop request. The method always
@@ -767,8 +767,8 @@ func (client ComputeNodeClient) GetRemoteLoginSettingsPreparer(ctx context.Conte
// GetRemoteLoginSettingsSender sends the GetRemoteLoginSettings request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetRemoteLoginSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRemoteLoginSettingsResponder handles the response to the GetRemoteLoginSettings request. The method always
@@ -893,8 +893,8 @@ func (client ComputeNodeClient) ListPreparer(ctx context.Context, poolID string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1039,8 +1039,8 @@ func (client ComputeNodeClient) RebootPreparer(ctx context.Context, poolID strin
// RebootSender sends the Reboot request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) RebootSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RebootResponder handles the response to the Reboot request. The method always
@@ -1148,8 +1148,8 @@ func (client ComputeNodeClient) ReimagePreparer(ctx context.Context, poolID stri
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) ReimageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReimageResponder handles the response to the Reimage request. The method always
@@ -1257,8 +1257,8 @@ func (client ComputeNodeClient) UpdateUserPreparer(ctx context.Context, poolID s
// UpdateUserSender sends the UpdateUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) UpdateUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateUserResponder handles the response to the UpdateUser request. The method always
@@ -1371,8 +1371,8 @@ func (client ComputeNodeClient) UploadBatchServiceLogsPreparer(ctx context.Conte
// UploadBatchServiceLogsSender sends the UploadBatchServiceLogs request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) UploadBatchServiceLogsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UploadBatchServiceLogsResponder handles the response to the UploadBatchServiceLogs request. The method always
diff --git a/services/batch/2018-08-01.7.0/batch/file.go b/services/batch/2018-08-01.7.0/batch/file.go
index dd731760eb4b..74693ea5f44a 100644
--- a/services/batch/2018-08-01.7.0/batch/file.go
+++ b/services/batch/2018-08-01.7.0/batch/file.go
@@ -137,8 +137,8 @@ func (client FileClient) DeleteFromComputeNodePreparer(ctx context.Context, pool
// DeleteFromComputeNodeSender sends the DeleteFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) DeleteFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFromComputeNodeResponder handles the response to the DeleteFromComputeNode request. The method always
@@ -247,8 +247,8 @@ func (client FileClient) DeleteFromTaskPreparer(ctx context.Context, jobID strin
// DeleteFromTaskSender sends the DeleteFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) DeleteFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFromTaskResponder handles the response to the DeleteFromTask request. The method always
@@ -370,8 +370,8 @@ func (client FileClient) GetFromComputeNodePreparer(ctx context.Context, poolID
// GetFromComputeNodeSender sends the GetFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFromComputeNodeResponder handles the response to the GetFromComputeNode request. The method always
@@ -493,8 +493,8 @@ func (client FileClient) GetFromTaskPreparer(ctx context.Context, jobID string,
// GetFromTaskSender sends the GetFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFromTaskResponder handles the response to the GetFromTask request. The method always
@@ -610,8 +610,8 @@ func (client FileClient) GetPropertiesFromComputeNodePreparer(ctx context.Contex
// GetPropertiesFromComputeNodeSender sends the GetPropertiesFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetPropertiesFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesFromComputeNodeResponder handles the response to the GetPropertiesFromComputeNode request. The method always
@@ -727,8 +727,8 @@ func (client FileClient) GetPropertiesFromTaskPreparer(ctx context.Context, jobI
// GetPropertiesFromTaskSender sends the GetPropertiesFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetPropertiesFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesFromTaskResponder handles the response to the GetPropertiesFromTask request. The method always
@@ -854,8 +854,8 @@ func (client FileClient) ListFromComputeNodePreparer(ctx context.Context, poolID
// ListFromComputeNodeSender sends the ListFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) ListFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromComputeNodeResponder handles the response to the ListFromComputeNode request. The method always
@@ -1020,8 +1020,8 @@ func (client FileClient) ListFromTaskPreparer(ctx context.Context, jobID string,
// ListFromTaskSender sends the ListFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) ListFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromTaskResponder handles the response to the ListFromTask request. The method always
diff --git a/services/batch/2018-08-01.7.0/batch/job.go b/services/batch/2018-08-01.7.0/batch/job.go
index a727d58d1a5d..035e86a9c8b8 100644
--- a/services/batch/2018-08-01.7.0/batch/job.go
+++ b/services/batch/2018-08-01.7.0/batch/job.go
@@ -196,8 +196,8 @@ func (client JobClient) AddPreparer(ctx context.Context, job JobAddParameter, ti
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -328,8 +328,8 @@ func (client JobClient) DeletePreparer(ctx context.Context, jobID string, timeou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -463,8 +463,8 @@ func (client JobClient) DisablePreparer(ctx context.Context, jobID string, jobDi
// DisableSender sends the Disable request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) DisableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableResponder handles the response to the Disable request. The method always
@@ -593,8 +593,8 @@ func (client JobClient) EnablePreparer(ctx context.Context, jobID string, timeou
// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) EnableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableResponder handles the response to the Enable request. The method always
@@ -728,8 +728,8 @@ func (client JobClient) GetPreparer(ctx context.Context, jobID string, selectPar
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -826,8 +826,8 @@ func (client JobClient) GetAllLifetimeStatisticsPreparer(ctx context.Context, ti
// GetAllLifetimeStatisticsSender sends the GetAllLifetimeStatistics request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetAllLifetimeStatisticsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllLifetimeStatisticsResponder handles the response to the GetAllLifetimeStatistics request. The method always
@@ -928,8 +928,8 @@ func (client JobClient) GetTaskCountsPreparer(ctx context.Context, jobID string,
// GetTaskCountsSender sends the GetTaskCounts request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetTaskCountsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaskCountsResponder handles the response to the GetTaskCounts request. The method always
@@ -1053,8 +1053,8 @@ func (client JobClient) ListPreparer(ctx context.Context, filter string, selectP
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1220,8 +1220,8 @@ func (client JobClient) ListFromJobSchedulePreparer(ctx context.Context, jobSche
// ListFromJobScheduleSender sends the ListFromJobSchedule request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListFromJobScheduleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromJobScheduleResponder handles the response to the ListFromJobSchedule request. The method always
@@ -1386,8 +1386,8 @@ func (client JobClient) ListPreparationAndReleaseTaskStatusPreparer(ctx context.
// ListPreparationAndReleaseTaskStatusSender sends the ListPreparationAndReleaseTaskStatus request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListPreparationAndReleaseTaskStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPreparationAndReleaseTaskStatusResponder handles the response to the ListPreparationAndReleaseTaskStatus request. The method always
@@ -1555,8 +1555,8 @@ func (client JobClient) PatchPreparer(ctx context.Context, jobID string, jobPatc
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1692,8 +1692,8 @@ func (client JobClient) TerminatePreparer(ctx context.Context, jobID string, job
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1858,8 +1858,8 @@ func (client JobClient) UpdatePreparer(ctx context.Context, jobID string, jobUpd
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2018-08-01.7.0/batch/jobschedule.go b/services/batch/2018-08-01.7.0/batch/jobschedule.go
index f4e35c48da78..f4879ab218a6 100644
--- a/services/batch/2018-08-01.7.0/batch/jobschedule.go
+++ b/services/batch/2018-08-01.7.0/batch/jobschedule.go
@@ -194,8 +194,8 @@ func (client JobScheduleClient) AddPreparer(ctx context.Context, cloudJobSchedul
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -324,8 +324,8 @@ func (client JobScheduleClient) DeletePreparer(ctx context.Context, jobScheduleI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -451,8 +451,8 @@ func (client JobScheduleClient) DisablePreparer(ctx context.Context, jobSchedule
// DisableSender sends the Disable request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DisableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableResponder handles the response to the Disable request. The method always
@@ -578,8 +578,8 @@ func (client JobScheduleClient) EnablePreparer(ctx context.Context, jobScheduleI
// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) EnableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableResponder handles the response to the Enable request. The method always
@@ -705,8 +705,8 @@ func (client JobScheduleClient) ExistsPreparer(ctx context.Context, jobScheduleI
// ExistsSender sends the Exists request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExistsResponder handles the response to the Exists request. The method always
@@ -840,8 +840,8 @@ func (client JobScheduleClient) GetPreparer(ctx context.Context, jobScheduleID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -966,8 +966,8 @@ func (client JobScheduleClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1137,8 +1137,8 @@ func (client JobScheduleClient) PatchPreparer(ctx context.Context, jobScheduleID
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1264,8 +1264,8 @@ func (client JobScheduleClient) TerminatePreparer(ctx context.Context, jobSchedu
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1465,8 +1465,8 @@ func (client JobScheduleClient) UpdatePreparer(ctx context.Context, jobScheduleI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2018-08-01.7.0/batch/pool.go b/services/batch/2018-08-01.7.0/batch/pool.go
index 15b61063a312..50d16022ad54 100644
--- a/services/batch/2018-08-01.7.0/batch/pool.go
+++ b/services/batch/2018-08-01.7.0/batch/pool.go
@@ -155,8 +155,8 @@ func (client PoolClient) AddPreparer(ctx context.Context, pool PoolAddParameter,
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -289,8 +289,8 @@ func (client PoolClient) DeletePreparer(ctx context.Context, poolID string, time
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -389,8 +389,8 @@ func (client PoolClient) DisableAutoScalePreparer(ctx context.Context, poolID st
// DisableAutoScaleSender sends the DisableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DisableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableAutoScaleResponder handles the response to the DisableAutoScale request. The method always
@@ -522,8 +522,8 @@ func (client PoolClient) EnableAutoScalePreparer(ctx context.Context, poolID str
// EnableAutoScaleSender sends the EnableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) EnableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableAutoScaleResponder handles the response to the EnableAutoScale request. The method always
@@ -632,8 +632,8 @@ func (client PoolClient) EvaluateAutoScalePreparer(ctx context.Context, poolID s
// EvaluateAutoScaleSender sends the EvaluateAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) EvaluateAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EvaluateAutoScaleResponder handles the response to the EvaluateAutoScale request. The method always
@@ -760,8 +760,8 @@ func (client PoolClient) ExistsPreparer(ctx context.Context, poolID string, time
// ExistsSender sends the Exists request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExistsResponder handles the response to the Exists request. The method always
@@ -895,8 +895,8 @@ func (client PoolClient) GetPreparer(ctx context.Context, poolID string, selectP
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -993,8 +993,8 @@ func (client PoolClient) GetAllLifetimeStatisticsPreparer(ctx context.Context, t
// GetAllLifetimeStatisticsSender sends the GetAllLifetimeStatistics request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetAllLifetimeStatisticsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllLifetimeStatisticsResponder handles the response to the GetAllLifetimeStatistics request. The method always
@@ -1118,8 +1118,8 @@ func (client PoolClient) ListPreparer(ctx context.Context, filter string, select
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1287,8 +1287,8 @@ func (client PoolClient) ListUsageMetricsPreparer(ctx context.Context, startTime
// ListUsageMetricsSender sends the ListUsageMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListUsageMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsageMetricsResponder handles the response to the ListUsageMetrics request. The method always
@@ -1457,8 +1457,8 @@ func (client PoolClient) PatchPreparer(ctx context.Context, poolID string, poolP
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1595,8 +1595,8 @@ func (client PoolClient) RemoveNodesPreparer(ctx context.Context, poolID string,
// RemoveNodesSender sends the RemoveNodes request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) RemoveNodesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RemoveNodesResponder handles the response to the RemoveNodes request. The method always
@@ -1729,8 +1729,8 @@ func (client PoolClient) ResizePreparer(ctx context.Context, poolID string, pool
// ResizeSender sends the Resize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ResizeResponder handles the response to the Resize request. The method always
@@ -1860,8 +1860,8 @@ func (client PoolClient) StopResizePreparer(ctx context.Context, poolID string,
// StopResizeSender sends the StopResize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) StopResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResizeResponder handles the response to the StopResize request. The method always
@@ -1983,8 +1983,8 @@ func (client PoolClient) UpdatePropertiesPreparer(ctx context.Context, poolID st
// UpdatePropertiesSender sends the UpdateProperties request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpdatePropertiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePropertiesResponder handles the response to the UpdateProperties request. The method always
@@ -2129,8 +2129,8 @@ func (client PoolClient) UpgradeOSPreparer(ctx context.Context, poolID string, p
// UpgradeOSSender sends the UpgradeOS request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpgradeOSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpgradeOSResponder handles the response to the UpgradeOS request. The method always
diff --git a/services/batch/2018-08-01.7.0/batch/task.go b/services/batch/2018-08-01.7.0/batch/task.go
index 772eada854de..f8af796744e7 100644
--- a/services/batch/2018-08-01.7.0/batch/task.go
+++ b/services/batch/2018-08-01.7.0/batch/task.go
@@ -149,8 +149,8 @@ func (client TaskClient) AddPreparer(ctx context.Context, jobID string, task Tas
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -268,8 +268,8 @@ func (client TaskClient) AddCollectionPreparer(ctx context.Context, jobID string
// AddCollectionSender sends the AddCollection request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) AddCollectionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCollectionResponder handles the response to the AddCollection request. The method always
@@ -400,8 +400,8 @@ func (client TaskClient) DeletePreparer(ctx context.Context, jobID string, taskI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -538,8 +538,8 @@ func (client TaskClient) GetPreparer(ctx context.Context, jobID string, taskID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -669,8 +669,8 @@ func (client TaskClient) ListPreparer(ctx context.Context, jobID string, filter
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -813,8 +813,8 @@ func (client TaskClient) ListSubtasksPreparer(ctx context.Context, jobID string,
// ListSubtasksSender sends the ListSubtasks request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ListSubtasksSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSubtasksResponder handles the response to the ListSubtasks request. The method always
@@ -947,8 +947,8 @@ func (client TaskClient) ReactivatePreparer(ctx context.Context, jobID string, t
// ReactivateSender sends the Reactivate request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ReactivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReactivateResponder handles the response to the Reactivate request. The method always
@@ -1078,8 +1078,8 @@ func (client TaskClient) TerminatePreparer(ctx context.Context, jobID string, ta
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1210,8 +1210,8 @@ func (client TaskClient) UpdatePreparer(ctx context.Context, jobID string, taskI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2018-12-01.8.0/batch/account.go b/services/batch/2018-12-01.8.0/batch/account.go
index 5fc8dd10dea6..ff1160dca0f3 100644
--- a/services/batch/2018-12-01.8.0/batch/account.go
+++ b/services/batch/2018-12-01.8.0/batch/account.go
@@ -143,8 +143,8 @@ func (client AccountClient) ListNodeAgentSkusPreparer(ctx context.Context, filte
// ListNodeAgentSkusSender sends the ListNodeAgentSkus request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListNodeAgentSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListNodeAgentSkusResponder handles the response to the ListNodeAgentSkus request. The method always
@@ -301,8 +301,8 @@ func (client AccountClient) ListPoolNodeCountsPreparer(ctx context.Context, filt
// ListPoolNodeCountsSender sends the ListPoolNodeCounts request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListPoolNodeCountsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPoolNodeCountsResponder handles the response to the ListPoolNodeCounts request. The method always
diff --git a/services/batch/2018-12-01.8.0/batch/application.go b/services/batch/2018-12-01.8.0/batch/application.go
index cfa6a00cdc59..56717dc94d07 100644
--- a/services/batch/2018-12-01.8.0/batch/application.go
+++ b/services/batch/2018-12-01.8.0/batch/application.go
@@ -128,8 +128,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, applicationID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -247,8 +247,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, maxResults *in
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/2018-12-01.8.0/batch/certificate.go b/services/batch/2018-12-01.8.0/batch/certificate.go
index 8b9df2273ffe..f60fffa176af 100644
--- a/services/batch/2018-12-01.8.0/batch/certificate.go
+++ b/services/batch/2018-12-01.8.0/batch/certificate.go
@@ -132,8 +132,8 @@ func (client CertificateClient) AddPreparer(ctx context.Context, certificate Cer
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -242,8 +242,8 @@ func (client CertificateClient) CancelDeletionPreparer(ctx context.Context, thum
// CancelDeletionSender sends the CancelDeletion request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CancelDeletionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CancelDeletionResponder handles the response to the CancelDeletion request. The method always
@@ -354,8 +354,8 @@ func (client CertificateClient) DeletePreparer(ctx context.Context, thumbprintAl
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -464,8 +464,8 @@ func (client CertificateClient) GetPreparer(ctx context.Context, thumbprintAlgor
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -590,8 +590,8 @@ func (client CertificateClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/2018-12-01.8.0/batch/computenode.go b/services/batch/2018-12-01.8.0/batch/computenode.go
index 318384a589b9..d658e8915230 100644
--- a/services/batch/2018-12-01.8.0/batch/computenode.go
+++ b/services/batch/2018-12-01.8.0/batch/computenode.go
@@ -137,8 +137,8 @@ func (client ComputeNodeClient) AddUserPreparer(ctx context.Context, poolID stri
// AddUserSender sends the AddUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) AddUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddUserResponder handles the response to the AddUser request. The method always
@@ -245,8 +245,8 @@ func (client ComputeNodeClient) DeleteUserPreparer(ctx context.Context, poolID s
// DeleteUserSender sends the DeleteUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) DeleteUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteUserResponder handles the response to the DeleteUser request. The method always
@@ -357,8 +357,8 @@ func (client ComputeNodeClient) DisableSchedulingPreparer(ctx context.Context, p
// DisableSchedulingSender sends the DisableScheduling request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) DisableSchedulingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableSchedulingResponder handles the response to the DisableScheduling request. The method always
@@ -463,8 +463,8 @@ func (client ComputeNodeClient) EnableSchedulingPreparer(ctx context.Context, po
// EnableSchedulingSender sends the EnableScheduling request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) EnableSchedulingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableSchedulingResponder handles the response to the EnableScheduling request. The method always
@@ -573,8 +573,8 @@ func (client ComputeNodeClient) GetPreparer(ctx context.Context, poolID string,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -682,8 +682,8 @@ func (client ComputeNodeClient) GetRemoteDesktopPreparer(ctx context.Context, po
// GetRemoteDesktopSender sends the GetRemoteDesktop request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetRemoteDesktopSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRemoteDesktopResponder handles the response to the GetRemoteDesktop request. The method always
@@ -790,8 +790,8 @@ func (client ComputeNodeClient) GetRemoteLoginSettingsPreparer(ctx context.Conte
// GetRemoteLoginSettingsSender sends the GetRemoteLoginSettings request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetRemoteLoginSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRemoteLoginSettingsResponder handles the response to the GetRemoteLoginSettings request. The method always
@@ -920,8 +920,8 @@ func (client ComputeNodeClient) ListPreparer(ctx context.Context, poolID string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1070,8 +1070,8 @@ func (client ComputeNodeClient) RebootPreparer(ctx context.Context, poolID strin
// RebootSender sends the Reboot request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) RebootSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RebootResponder handles the response to the Reboot request. The method always
@@ -1183,8 +1183,8 @@ func (client ComputeNodeClient) ReimagePreparer(ctx context.Context, poolID stri
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) ReimageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReimageResponder handles the response to the Reimage request. The method always
@@ -1296,8 +1296,8 @@ func (client ComputeNodeClient) UpdateUserPreparer(ctx context.Context, poolID s
// UpdateUserSender sends the UpdateUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) UpdateUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateUserResponder handles the response to the UpdateUser request. The method always
@@ -1414,8 +1414,8 @@ func (client ComputeNodeClient) UploadBatchServiceLogsPreparer(ctx context.Conte
// UploadBatchServiceLogsSender sends the UploadBatchServiceLogs request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) UploadBatchServiceLogsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UploadBatchServiceLogsResponder handles the response to the UploadBatchServiceLogs request. The method always
diff --git a/services/batch/2018-12-01.8.0/batch/file.go b/services/batch/2018-12-01.8.0/batch/file.go
index a9b432c14d1d..1f13277ca4a6 100644
--- a/services/batch/2018-12-01.8.0/batch/file.go
+++ b/services/batch/2018-12-01.8.0/batch/file.go
@@ -136,8 +136,8 @@ func (client FileClient) DeleteFromComputeNodePreparer(ctx context.Context, pool
// DeleteFromComputeNodeSender sends the DeleteFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) DeleteFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFromComputeNodeResponder handles the response to the DeleteFromComputeNode request. The method always
@@ -250,8 +250,8 @@ func (client FileClient) DeleteFromTaskPreparer(ctx context.Context, jobID strin
// DeleteFromTaskSender sends the DeleteFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) DeleteFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFromTaskResponder handles the response to the DeleteFromTask request. The method always
@@ -377,8 +377,8 @@ func (client FileClient) GetFromComputeNodePreparer(ctx context.Context, poolID
// GetFromComputeNodeSender sends the GetFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFromComputeNodeResponder handles the response to the GetFromComputeNode request. The method always
@@ -504,8 +504,8 @@ func (client FileClient) GetFromTaskPreparer(ctx context.Context, jobID string,
// GetFromTaskSender sends the GetFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFromTaskResponder handles the response to the GetFromTask request. The method always
@@ -625,8 +625,8 @@ func (client FileClient) GetPropertiesFromComputeNodePreparer(ctx context.Contex
// GetPropertiesFromComputeNodeSender sends the GetPropertiesFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetPropertiesFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesFromComputeNodeResponder handles the response to the GetPropertiesFromComputeNode request. The method always
@@ -746,8 +746,8 @@ func (client FileClient) GetPropertiesFromTaskPreparer(ctx context.Context, jobI
// GetPropertiesFromTaskSender sends the GetPropertiesFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetPropertiesFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesFromTaskResponder handles the response to the GetPropertiesFromTask request. The method always
@@ -877,8 +877,8 @@ func (client FileClient) ListFromComputeNodePreparer(ctx context.Context, poolID
// ListFromComputeNodeSender sends the ListFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) ListFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromComputeNodeResponder handles the response to the ListFromComputeNode request. The method always
@@ -1047,8 +1047,8 @@ func (client FileClient) ListFromTaskPreparer(ctx context.Context, jobID string,
// ListFromTaskSender sends the ListFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) ListFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromTaskResponder handles the response to the ListFromTask request. The method always
diff --git a/services/batch/2018-12-01.8.0/batch/job.go b/services/batch/2018-12-01.8.0/batch/job.go
index 050a9eaba681..5b56ddfa984b 100644
--- a/services/batch/2018-12-01.8.0/batch/job.go
+++ b/services/batch/2018-12-01.8.0/batch/job.go
@@ -197,8 +197,8 @@ func (client JobClient) AddPreparer(ctx context.Context, job JobAddParameter, ti
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -333,8 +333,8 @@ func (client JobClient) DeletePreparer(ctx context.Context, jobID string, timeou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -472,8 +472,8 @@ func (client JobClient) DisablePreparer(ctx context.Context, jobID string, jobDi
// DisableSender sends the Disable request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) DisableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableResponder handles the response to the Disable request. The method always
@@ -606,8 +606,8 @@ func (client JobClient) EnablePreparer(ctx context.Context, jobID string, timeou
// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) EnableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableResponder handles the response to the Enable request. The method always
@@ -745,8 +745,8 @@ func (client JobClient) GetPreparer(ctx context.Context, jobID string, selectPar
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -847,8 +847,8 @@ func (client JobClient) GetAllLifetimeStatisticsPreparer(ctx context.Context, ti
// GetAllLifetimeStatisticsSender sends the GetAllLifetimeStatistics request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetAllLifetimeStatisticsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllLifetimeStatisticsResponder handles the response to the GetAllLifetimeStatistics request. The method always
@@ -953,8 +953,8 @@ func (client JobClient) GetTaskCountsPreparer(ctx context.Context, jobID string,
// GetTaskCountsSender sends the GetTaskCounts request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetTaskCountsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaskCountsResponder handles the response to the GetTaskCounts request. The method always
@@ -1082,8 +1082,8 @@ func (client JobClient) ListPreparer(ctx context.Context, filter string, selectP
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1253,8 +1253,8 @@ func (client JobClient) ListFromJobSchedulePreparer(ctx context.Context, jobSche
// ListFromJobScheduleSender sends the ListFromJobSchedule request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListFromJobScheduleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromJobScheduleResponder handles the response to the ListFromJobSchedule request. The method always
@@ -1423,8 +1423,8 @@ func (client JobClient) ListPreparationAndReleaseTaskStatusPreparer(ctx context.
// ListPreparationAndReleaseTaskStatusSender sends the ListPreparationAndReleaseTaskStatus request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListPreparationAndReleaseTaskStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPreparationAndReleaseTaskStatusResponder handles the response to the ListPreparationAndReleaseTaskStatus request. The method always
@@ -1596,8 +1596,8 @@ func (client JobClient) PatchPreparer(ctx context.Context, jobID string, jobPatc
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1737,8 +1737,8 @@ func (client JobClient) TerminatePreparer(ctx context.Context, jobID string, job
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1907,8 +1907,8 @@ func (client JobClient) UpdatePreparer(ctx context.Context, jobID string, jobUpd
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2018-12-01.8.0/batch/jobschedule.go b/services/batch/2018-12-01.8.0/batch/jobschedule.go
index c7b8a86fb777..78bfd460aaae 100644
--- a/services/batch/2018-12-01.8.0/batch/jobschedule.go
+++ b/services/batch/2018-12-01.8.0/batch/jobschedule.go
@@ -195,8 +195,8 @@ func (client JobScheduleClient) AddPreparer(ctx context.Context, cloudJobSchedul
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -329,8 +329,8 @@ func (client JobScheduleClient) DeletePreparer(ctx context.Context, jobScheduleI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -460,8 +460,8 @@ func (client JobScheduleClient) DisablePreparer(ctx context.Context, jobSchedule
// DisableSender sends the Disable request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DisableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableResponder handles the response to the Disable request. The method always
@@ -591,8 +591,8 @@ func (client JobScheduleClient) EnablePreparer(ctx context.Context, jobScheduleI
// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) EnableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableResponder handles the response to the Enable request. The method always
@@ -722,8 +722,8 @@ func (client JobScheduleClient) ExistsPreparer(ctx context.Context, jobScheduleI
// ExistsSender sends the Exists request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExistsResponder handles the response to the Exists request. The method always
@@ -861,8 +861,8 @@ func (client JobScheduleClient) GetPreparer(ctx context.Context, jobScheduleID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -991,8 +991,8 @@ func (client JobScheduleClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1166,8 +1166,8 @@ func (client JobScheduleClient) PatchPreparer(ctx context.Context, jobScheduleID
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1297,8 +1297,8 @@ func (client JobScheduleClient) TerminatePreparer(ctx context.Context, jobSchedu
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1504,8 +1504,8 @@ func (client JobScheduleClient) UpdatePreparer(ctx context.Context, jobScheduleI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2018-12-01.8.0/batch/pool.go b/services/batch/2018-12-01.8.0/batch/pool.go
index 6075715dbe8b..a5a945c24c89 100644
--- a/services/batch/2018-12-01.8.0/batch/pool.go
+++ b/services/batch/2018-12-01.8.0/batch/pool.go
@@ -154,8 +154,8 @@ func (client PoolClient) AddPreparer(ctx context.Context, pool PoolAddParameter,
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -292,8 +292,8 @@ func (client PoolClient) DeletePreparer(ctx context.Context, poolID string, time
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -396,8 +396,8 @@ func (client PoolClient) DisableAutoScalePreparer(ctx context.Context, poolID st
// DisableAutoScaleSender sends the DisableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DisableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableAutoScaleResponder handles the response to the DisableAutoScale request. The method always
@@ -533,8 +533,8 @@ func (client PoolClient) EnableAutoScalePreparer(ctx context.Context, poolID str
// EnableAutoScaleSender sends the EnableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) EnableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableAutoScaleResponder handles the response to the EnableAutoScale request. The method always
@@ -647,8 +647,8 @@ func (client PoolClient) EvaluateAutoScalePreparer(ctx context.Context, poolID s
// EvaluateAutoScaleSender sends the EvaluateAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) EvaluateAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EvaluateAutoScaleResponder handles the response to the EvaluateAutoScale request. The method always
@@ -779,8 +779,8 @@ func (client PoolClient) ExistsPreparer(ctx context.Context, poolID string, time
// ExistsSender sends the Exists request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExistsResponder handles the response to the Exists request. The method always
@@ -918,8 +918,8 @@ func (client PoolClient) GetPreparer(ctx context.Context, poolID string, selectP
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -1020,8 +1020,8 @@ func (client PoolClient) GetAllLifetimeStatisticsPreparer(ctx context.Context, t
// GetAllLifetimeStatisticsSender sends the GetAllLifetimeStatistics request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetAllLifetimeStatisticsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllLifetimeStatisticsResponder handles the response to the GetAllLifetimeStatistics request. The method always
@@ -1149,8 +1149,8 @@ func (client PoolClient) ListPreparer(ctx context.Context, filter string, select
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1322,8 +1322,8 @@ func (client PoolClient) ListUsageMetricsPreparer(ctx context.Context, startTime
// ListUsageMetricsSender sends the ListUsageMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListUsageMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsageMetricsResponder handles the response to the ListUsageMetrics request. The method always
@@ -1496,8 +1496,8 @@ func (client PoolClient) PatchPreparer(ctx context.Context, poolID string, poolP
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1638,8 +1638,8 @@ func (client PoolClient) RemoveNodesPreparer(ctx context.Context, poolID string,
// RemoveNodesSender sends the RemoveNodes request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) RemoveNodesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RemoveNodesResponder handles the response to the RemoveNodes request. The method always
@@ -1776,8 +1776,8 @@ func (client PoolClient) ResizePreparer(ctx context.Context, poolID string, pool
// ResizeSender sends the Resize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ResizeResponder handles the response to the Resize request. The method always
@@ -1911,8 +1911,8 @@ func (client PoolClient) StopResizePreparer(ctx context.Context, poolID string,
// StopResizeSender sends the StopResize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) StopResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResizeResponder handles the response to the StopResize request. The method always
@@ -2038,8 +2038,8 @@ func (client PoolClient) UpdatePropertiesPreparer(ctx context.Context, poolID st
// UpdatePropertiesSender sends the UpdateProperties request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpdatePropertiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePropertiesResponder handles the response to the UpdateProperties request. The method always
diff --git a/services/batch/2018-12-01.8.0/batch/task.go b/services/batch/2018-12-01.8.0/batch/task.go
index bda8963d13b2..0c8f8d6777c0 100644
--- a/services/batch/2018-12-01.8.0/batch/task.go
+++ b/services/batch/2018-12-01.8.0/batch/task.go
@@ -148,8 +148,8 @@ func (client TaskClient) AddPreparer(ctx context.Context, jobID string, task Tas
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -271,8 +271,8 @@ func (client TaskClient) AddCollectionPreparer(ctx context.Context, jobID string
// AddCollectionSender sends the AddCollection request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) AddCollectionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCollectionResponder handles the response to the AddCollection request. The method always
@@ -407,8 +407,8 @@ func (client TaskClient) DeletePreparer(ctx context.Context, jobID string, taskI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -549,8 +549,8 @@ func (client TaskClient) GetPreparer(ctx context.Context, jobID string, taskID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -684,8 +684,8 @@ func (client TaskClient) ListPreparer(ctx context.Context, jobID string, filter
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -832,8 +832,8 @@ func (client TaskClient) ListSubtasksPreparer(ctx context.Context, jobID string,
// ListSubtasksSender sends the ListSubtasks request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ListSubtasksSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSubtasksResponder handles the response to the ListSubtasks request. The method always
@@ -970,8 +970,8 @@ func (client TaskClient) ReactivatePreparer(ctx context.Context, jobID string, t
// ReactivateSender sends the Reactivate request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ReactivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReactivateResponder handles the response to the Reactivate request. The method always
@@ -1105,8 +1105,8 @@ func (client TaskClient) TerminatePreparer(ctx context.Context, jobID string, ta
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1241,8 +1241,8 @@ func (client TaskClient) UpdatePreparer(ctx context.Context, jobID string, taskI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2019-06-01.9.0/batch/account.go b/services/batch/2019-06-01.9.0/batch/account.go
index f42e6189ecce..46953c595810 100644
--- a/services/batch/2019-06-01.9.0/batch/account.go
+++ b/services/batch/2019-06-01.9.0/batch/account.go
@@ -142,8 +142,8 @@ func (client AccountClient) ListPoolNodeCountsPreparer(ctx context.Context, filt
// ListPoolNodeCountsSender sends the ListPoolNodeCounts request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListPoolNodeCountsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPoolNodeCountsResponder handles the response to the ListPoolNodeCounts request. The method always
@@ -301,8 +301,8 @@ func (client AccountClient) ListSupportedImagesPreparer(ctx context.Context, fil
// ListSupportedImagesSender sends the ListSupportedImages request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListSupportedImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSupportedImagesResponder handles the response to the ListSupportedImages request. The method always
diff --git a/services/batch/2019-06-01.9.0/batch/application.go b/services/batch/2019-06-01.9.0/batch/application.go
index 699ad1126806..e6592cf1c1e9 100644
--- a/services/batch/2019-06-01.9.0/batch/application.go
+++ b/services/batch/2019-06-01.9.0/batch/application.go
@@ -128,8 +128,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, applicationID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -247,8 +247,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, maxResults *in
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/2019-06-01.9.0/batch/certificate.go b/services/batch/2019-06-01.9.0/batch/certificate.go
index 9bbea92d99ae..d1dad4d8d52b 100644
--- a/services/batch/2019-06-01.9.0/batch/certificate.go
+++ b/services/batch/2019-06-01.9.0/batch/certificate.go
@@ -132,8 +132,8 @@ func (client CertificateClient) AddPreparer(ctx context.Context, certificate Cer
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -242,8 +242,8 @@ func (client CertificateClient) CancelDeletionPreparer(ctx context.Context, thum
// CancelDeletionSender sends the CancelDeletion request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CancelDeletionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CancelDeletionResponder handles the response to the CancelDeletion request. The method always
@@ -354,8 +354,8 @@ func (client CertificateClient) DeletePreparer(ctx context.Context, thumbprintAl
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -464,8 +464,8 @@ func (client CertificateClient) GetPreparer(ctx context.Context, thumbprintAlgor
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -590,8 +590,8 @@ func (client CertificateClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/2019-06-01.9.0/batch/computenode.go b/services/batch/2019-06-01.9.0/batch/computenode.go
index e5a75d05aa02..a74b85e60e6b 100644
--- a/services/batch/2019-06-01.9.0/batch/computenode.go
+++ b/services/batch/2019-06-01.9.0/batch/computenode.go
@@ -137,8 +137,8 @@ func (client ComputeNodeClient) AddUserPreparer(ctx context.Context, poolID stri
// AddUserSender sends the AddUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) AddUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddUserResponder handles the response to the AddUser request. The method always
@@ -245,8 +245,8 @@ func (client ComputeNodeClient) DeleteUserPreparer(ctx context.Context, poolID s
// DeleteUserSender sends the DeleteUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) DeleteUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteUserResponder handles the response to the DeleteUser request. The method always
@@ -357,8 +357,8 @@ func (client ComputeNodeClient) DisableSchedulingPreparer(ctx context.Context, p
// DisableSchedulingSender sends the DisableScheduling request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) DisableSchedulingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableSchedulingResponder handles the response to the DisableScheduling request. The method always
@@ -463,8 +463,8 @@ func (client ComputeNodeClient) EnableSchedulingPreparer(ctx context.Context, po
// EnableSchedulingSender sends the EnableScheduling request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) EnableSchedulingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableSchedulingResponder handles the response to the EnableScheduling request. The method always
@@ -573,8 +573,8 @@ func (client ComputeNodeClient) GetPreparer(ctx context.Context, poolID string,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -682,8 +682,8 @@ func (client ComputeNodeClient) GetRemoteDesktopPreparer(ctx context.Context, po
// GetRemoteDesktopSender sends the GetRemoteDesktop request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetRemoteDesktopSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRemoteDesktopResponder handles the response to the GetRemoteDesktop request. The method always
@@ -790,8 +790,8 @@ func (client ComputeNodeClient) GetRemoteLoginSettingsPreparer(ctx context.Conte
// GetRemoteLoginSettingsSender sends the GetRemoteLoginSettings request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) GetRemoteLoginSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRemoteLoginSettingsResponder handles the response to the GetRemoteLoginSettings request. The method always
@@ -921,8 +921,8 @@ func (client ComputeNodeClient) ListPreparer(ctx context.Context, poolID string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1071,8 +1071,8 @@ func (client ComputeNodeClient) RebootPreparer(ctx context.Context, poolID strin
// RebootSender sends the Reboot request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) RebootSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RebootResponder handles the response to the Reboot request. The method always
@@ -1184,8 +1184,8 @@ func (client ComputeNodeClient) ReimagePreparer(ctx context.Context, poolID stri
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) ReimageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReimageResponder handles the response to the Reimage request. The method always
@@ -1297,8 +1297,8 @@ func (client ComputeNodeClient) UpdateUserPreparer(ctx context.Context, poolID s
// UpdateUserSender sends the UpdateUser request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) UpdateUserSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateUserResponder handles the response to the UpdateUser request. The method always
@@ -1415,8 +1415,8 @@ func (client ComputeNodeClient) UploadBatchServiceLogsPreparer(ctx context.Conte
// UploadBatchServiceLogsSender sends the UploadBatchServiceLogs request. The method will close the
// http.Response Body if it receives an error.
func (client ComputeNodeClient) UploadBatchServiceLogsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UploadBatchServiceLogsResponder handles the response to the UploadBatchServiceLogs request. The method always
diff --git a/services/batch/2019-06-01.9.0/batch/file.go b/services/batch/2019-06-01.9.0/batch/file.go
index fa03cf42c385..aa8f2b631763 100644
--- a/services/batch/2019-06-01.9.0/batch/file.go
+++ b/services/batch/2019-06-01.9.0/batch/file.go
@@ -136,8 +136,8 @@ func (client FileClient) DeleteFromComputeNodePreparer(ctx context.Context, pool
// DeleteFromComputeNodeSender sends the DeleteFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) DeleteFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFromComputeNodeResponder handles the response to the DeleteFromComputeNode request. The method always
@@ -250,8 +250,8 @@ func (client FileClient) DeleteFromTaskPreparer(ctx context.Context, jobID strin
// DeleteFromTaskSender sends the DeleteFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) DeleteFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFromTaskResponder handles the response to the DeleteFromTask request. The method always
@@ -377,8 +377,8 @@ func (client FileClient) GetFromComputeNodePreparer(ctx context.Context, poolID
// GetFromComputeNodeSender sends the GetFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFromComputeNodeResponder handles the response to the GetFromComputeNode request. The method always
@@ -504,8 +504,8 @@ func (client FileClient) GetFromTaskPreparer(ctx context.Context, jobID string,
// GetFromTaskSender sends the GetFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFromTaskResponder handles the response to the GetFromTask request. The method always
@@ -625,8 +625,8 @@ func (client FileClient) GetPropertiesFromComputeNodePreparer(ctx context.Contex
// GetPropertiesFromComputeNodeSender sends the GetPropertiesFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetPropertiesFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesFromComputeNodeResponder handles the response to the GetPropertiesFromComputeNode request. The method always
@@ -746,8 +746,8 @@ func (client FileClient) GetPropertiesFromTaskPreparer(ctx context.Context, jobI
// GetPropertiesFromTaskSender sends the GetPropertiesFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) GetPropertiesFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesFromTaskResponder handles the response to the GetPropertiesFromTask request. The method always
@@ -877,8 +877,8 @@ func (client FileClient) ListFromComputeNodePreparer(ctx context.Context, poolID
// ListFromComputeNodeSender sends the ListFromComputeNode request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) ListFromComputeNodeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromComputeNodeResponder handles the response to the ListFromComputeNode request. The method always
@@ -1047,8 +1047,8 @@ func (client FileClient) ListFromTaskPreparer(ctx context.Context, jobID string,
// ListFromTaskSender sends the ListFromTask request. The method will close the
// http.Response Body if it receives an error.
func (client FileClient) ListFromTaskSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromTaskResponder handles the response to the ListFromTask request. The method always
diff --git a/services/batch/2019-06-01.9.0/batch/job.go b/services/batch/2019-06-01.9.0/batch/job.go
index 1566ed6caa21..9149abdf719d 100644
--- a/services/batch/2019-06-01.9.0/batch/job.go
+++ b/services/batch/2019-06-01.9.0/batch/job.go
@@ -197,8 +197,8 @@ func (client JobClient) AddPreparer(ctx context.Context, job JobAddParameter, ti
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -333,8 +333,8 @@ func (client JobClient) DeletePreparer(ctx context.Context, jobID string, timeou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -472,8 +472,8 @@ func (client JobClient) DisablePreparer(ctx context.Context, jobID string, jobDi
// DisableSender sends the Disable request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) DisableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableResponder handles the response to the Disable request. The method always
@@ -606,8 +606,8 @@ func (client JobClient) EnablePreparer(ctx context.Context, jobID string, timeou
// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) EnableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableResponder handles the response to the Enable request. The method always
@@ -745,8 +745,8 @@ func (client JobClient) GetPreparer(ctx context.Context, jobID string, selectPar
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -847,8 +847,8 @@ func (client JobClient) GetAllLifetimeStatisticsPreparer(ctx context.Context, ti
// GetAllLifetimeStatisticsSender sends the GetAllLifetimeStatistics request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetAllLifetimeStatisticsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllLifetimeStatisticsResponder handles the response to the GetAllLifetimeStatistics request. The method always
@@ -953,8 +953,8 @@ func (client JobClient) GetTaskCountsPreparer(ctx context.Context, jobID string,
// GetTaskCountsSender sends the GetTaskCounts request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) GetTaskCountsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaskCountsResponder handles the response to the GetTaskCounts request. The method always
@@ -1082,8 +1082,8 @@ func (client JobClient) ListPreparer(ctx context.Context, filter string, selectP
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1253,8 +1253,8 @@ func (client JobClient) ListFromJobSchedulePreparer(ctx context.Context, jobSche
// ListFromJobScheduleSender sends the ListFromJobSchedule request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListFromJobScheduleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFromJobScheduleResponder handles the response to the ListFromJobSchedule request. The method always
@@ -1423,8 +1423,8 @@ func (client JobClient) ListPreparationAndReleaseTaskStatusPreparer(ctx context.
// ListPreparationAndReleaseTaskStatusSender sends the ListPreparationAndReleaseTaskStatus request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) ListPreparationAndReleaseTaskStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPreparationAndReleaseTaskStatusResponder handles the response to the ListPreparationAndReleaseTaskStatus request. The method always
@@ -1596,8 +1596,8 @@ func (client JobClient) PatchPreparer(ctx context.Context, jobID string, jobPatc
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1737,8 +1737,8 @@ func (client JobClient) TerminatePreparer(ctx context.Context, jobID string, job
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1907,8 +1907,8 @@ func (client JobClient) UpdatePreparer(ctx context.Context, jobID string, jobUpd
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2019-06-01.9.0/batch/jobschedule.go b/services/batch/2019-06-01.9.0/batch/jobschedule.go
index 42db19286a79..67efc57e4c99 100644
--- a/services/batch/2019-06-01.9.0/batch/jobschedule.go
+++ b/services/batch/2019-06-01.9.0/batch/jobschedule.go
@@ -195,8 +195,8 @@ func (client JobScheduleClient) AddPreparer(ctx context.Context, cloudJobSchedul
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -329,8 +329,8 @@ func (client JobScheduleClient) DeletePreparer(ctx context.Context, jobScheduleI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -460,8 +460,8 @@ func (client JobScheduleClient) DisablePreparer(ctx context.Context, jobSchedule
// DisableSender sends the Disable request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) DisableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableResponder handles the response to the Disable request. The method always
@@ -591,8 +591,8 @@ func (client JobScheduleClient) EnablePreparer(ctx context.Context, jobScheduleI
// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) EnableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableResponder handles the response to the Enable request. The method always
@@ -722,8 +722,8 @@ func (client JobScheduleClient) ExistsPreparer(ctx context.Context, jobScheduleI
// ExistsSender sends the Exists request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExistsResponder handles the response to the Exists request. The method always
@@ -861,8 +861,8 @@ func (client JobScheduleClient) GetPreparer(ctx context.Context, jobScheduleID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -991,8 +991,8 @@ func (client JobScheduleClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1166,8 +1166,8 @@ func (client JobScheduleClient) PatchPreparer(ctx context.Context, jobScheduleID
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1297,8 +1297,8 @@ func (client JobScheduleClient) TerminatePreparer(ctx context.Context, jobSchedu
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1504,8 +1504,8 @@ func (client JobScheduleClient) UpdatePreparer(ctx context.Context, jobScheduleI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobScheduleClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/2019-06-01.9.0/batch/pool.go b/services/batch/2019-06-01.9.0/batch/pool.go
index 3e7b2e8347c8..644e84e83755 100644
--- a/services/batch/2019-06-01.9.0/batch/pool.go
+++ b/services/batch/2019-06-01.9.0/batch/pool.go
@@ -154,8 +154,8 @@ func (client PoolClient) AddPreparer(ctx context.Context, pool PoolAddParameter,
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -292,8 +292,8 @@ func (client PoolClient) DeletePreparer(ctx context.Context, poolID string, time
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -396,8 +396,8 @@ func (client PoolClient) DisableAutoScalePreparer(ctx context.Context, poolID st
// DisableAutoScaleSender sends the DisableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DisableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableAutoScaleResponder handles the response to the DisableAutoScale request. The method always
@@ -533,8 +533,8 @@ func (client PoolClient) EnableAutoScalePreparer(ctx context.Context, poolID str
// EnableAutoScaleSender sends the EnableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) EnableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableAutoScaleResponder handles the response to the EnableAutoScale request. The method always
@@ -647,8 +647,8 @@ func (client PoolClient) EvaluateAutoScalePreparer(ctx context.Context, poolID s
// EvaluateAutoScaleSender sends the EvaluateAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) EvaluateAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EvaluateAutoScaleResponder handles the response to the EvaluateAutoScale request. The method always
@@ -779,8 +779,8 @@ func (client PoolClient) ExistsPreparer(ctx context.Context, poolID string, time
// ExistsSender sends the Exists request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExistsResponder handles the response to the Exists request. The method always
@@ -918,8 +918,8 @@ func (client PoolClient) GetPreparer(ctx context.Context, poolID string, selectP
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -1020,8 +1020,8 @@ func (client PoolClient) GetAllLifetimeStatisticsPreparer(ctx context.Context, t
// GetAllLifetimeStatisticsSender sends the GetAllLifetimeStatistics request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetAllLifetimeStatisticsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllLifetimeStatisticsResponder handles the response to the GetAllLifetimeStatistics request. The method always
@@ -1149,8 +1149,8 @@ func (client PoolClient) ListPreparer(ctx context.Context, filter string, select
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1322,8 +1322,8 @@ func (client PoolClient) ListUsageMetricsPreparer(ctx context.Context, startTime
// ListUsageMetricsSender sends the ListUsageMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListUsageMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsageMetricsResponder handles the response to the ListUsageMetrics request. The method always
@@ -1496,8 +1496,8 @@ func (client PoolClient) PatchPreparer(ctx context.Context, poolID string, poolP
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) PatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchResponder handles the response to the Patch request. The method always
@@ -1638,8 +1638,8 @@ func (client PoolClient) RemoveNodesPreparer(ctx context.Context, poolID string,
// RemoveNodesSender sends the RemoveNodes request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) RemoveNodesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RemoveNodesResponder handles the response to the RemoveNodes request. The method always
@@ -1776,8 +1776,8 @@ func (client PoolClient) ResizePreparer(ctx context.Context, poolID string, pool
// ResizeSender sends the Resize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ResizeResponder handles the response to the Resize request. The method always
@@ -1911,8 +1911,8 @@ func (client PoolClient) StopResizePreparer(ctx context.Context, poolID string,
// StopResizeSender sends the StopResize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) StopResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResizeResponder handles the response to the StopResize request. The method always
@@ -2038,8 +2038,8 @@ func (client PoolClient) UpdatePropertiesPreparer(ctx context.Context, poolID st
// UpdatePropertiesSender sends the UpdateProperties request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpdatePropertiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePropertiesResponder handles the response to the UpdateProperties request. The method always
diff --git a/services/batch/2019-06-01.9.0/batch/task.go b/services/batch/2019-06-01.9.0/batch/task.go
index 0b48307f7f95..61a969b42ccd 100644
--- a/services/batch/2019-06-01.9.0/batch/task.go
+++ b/services/batch/2019-06-01.9.0/batch/task.go
@@ -148,8 +148,8 @@ func (client TaskClient) AddPreparer(ctx context.Context, jobID string, task Tas
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -271,8 +271,8 @@ func (client TaskClient) AddCollectionPreparer(ctx context.Context, jobID string
// AddCollectionSender sends the AddCollection request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) AddCollectionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCollectionResponder handles the response to the AddCollection request. The method always
@@ -407,8 +407,8 @@ func (client TaskClient) DeletePreparer(ctx context.Context, jobID string, taskI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -549,8 +549,8 @@ func (client TaskClient) GetPreparer(ctx context.Context, jobID string, taskID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -684,8 +684,8 @@ func (client TaskClient) ListPreparer(ctx context.Context, jobID string, filter
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -832,8 +832,8 @@ func (client TaskClient) ListSubtasksPreparer(ctx context.Context, jobID string,
// ListSubtasksSender sends the ListSubtasks request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ListSubtasksSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSubtasksResponder handles the response to the ListSubtasks request. The method always
@@ -970,8 +970,8 @@ func (client TaskClient) ReactivatePreparer(ctx context.Context, jobID string, t
// ReactivateSender sends the Reactivate request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) ReactivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReactivateResponder handles the response to the Reactivate request. The method always
@@ -1105,8 +1105,8 @@ func (client TaskClient) TerminatePreparer(ctx context.Context, jobID string, ta
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) TerminateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TerminateResponder handles the response to the Terminate request. The method always
@@ -1241,8 +1241,8 @@ func (client TaskClient) UpdatePreparer(ctx context.Context, jobID string, taskI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client TaskClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2015-12-01/batch/account.go b/services/batch/mgmt/2015-12-01/batch/account.go
index 6aac81ae890c..1c6f68103dad 100644
--- a/services/batch/mgmt/2015-12-01/batch/account.go
+++ b/services/batch/mgmt/2015-12-01/batch/account.go
@@ -118,9 +118,9 @@ func (client AccountClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) CreateSender(req *http.Request) (future AccountCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -205,9 +205,9 @@ func (client AccountClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) DeleteSender(req *http.Request) (future AccountDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client AccountClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -384,8 +384,8 @@ func (client AccountClient) GetKeysPreparer(ctx context.Context, resourceGroupNa
// GetKeysSender sends the GetKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetKeysResponder handles the response to the GetKeys request. The method always
@@ -457,8 +457,8 @@ func (client AccountClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -576,8 +576,8 @@ func (client AccountClient) ListByResourceGroupPreparer(ctx context.Context, res
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -703,8 +703,8 @@ func (client AccountClient) RegenerateKeyPreparer(ctx context.Context, resourceG
// RegenerateKeySender sends the RegenerateKey request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) RegenerateKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateKeyResponder handles the response to the RegenerateKey request. The method always
@@ -791,8 +791,8 @@ func (client AccountClient) SynchronizeAutoStorageKeysPreparer(ctx context.Conte
// SynchronizeAutoStorageKeysSender sends the SynchronizeAutoStorageKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) SynchronizeAutoStorageKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SynchronizeAutoStorageKeysResponder handles the response to the SynchronizeAutoStorageKeys request. The method always
@@ -880,8 +880,8 @@ func (client AccountClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2015-12-01/batch/application.go b/services/batch/mgmt/2015-12-01/batch/application.go
index 1fe1b7ffb24e..8c48f2e0d6e5 100644
--- a/services/batch/mgmt/2015-12-01/batch/application.go
+++ b/services/batch/mgmt/2015-12-01/batch/application.go
@@ -119,8 +119,8 @@ func (client ApplicationClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -208,8 +208,8 @@ func (client ApplicationClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -296,8 +296,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -388,8 +388,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, resourceGroupN
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -517,8 +517,8 @@ func (client ApplicationClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2015-12-01/batch/applicationpackage.go b/services/batch/mgmt/2015-12-01/batch/applicationpackage.go
index 486713c58cb1..1577a999a7b2 100644
--- a/services/batch/mgmt/2015-12-01/batch/applicationpackage.go
+++ b/services/batch/mgmt/2015-12-01/batch/applicationpackage.go
@@ -120,8 +120,8 @@ func (client ApplicationPackageClient) ActivatePreparer(ctx context.Context, res
// ActivateSender sends the Activate request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) ActivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ActivateResponder handles the response to the Activate request. The method always
@@ -210,8 +210,8 @@ func (client ApplicationPackageClient) CreatePreparer(ctx context.Context, resou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -301,8 +301,8 @@ func (client ApplicationPackageClient) DeletePreparer(ctx context.Context, resou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -391,8 +391,8 @@ func (client ApplicationPackageClient) GetPreparer(ctx context.Context, resource
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/batch/mgmt/2015-12-01/batch/location.go b/services/batch/mgmt/2015-12-01/batch/location.go
index 40e71c96eb8c..799023c189e4 100644
--- a/services/batch/mgmt/2015-12-01/batch/location.go
+++ b/services/batch/mgmt/2015-12-01/batch/location.go
@@ -98,8 +98,8 @@ func (client LocationClient) GetQuotasPreparer(ctx context.Context, locationName
// GetQuotasSender sends the GetQuotas request. The method will close the
// http.Response Body if it receives an error.
func (client LocationClient) GetQuotasSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetQuotasResponder handles the response to the GetQuotas request. The method always
diff --git a/services/batch/mgmt/2017-01-01/batch/account.go b/services/batch/mgmt/2017-01-01/batch/account.go
index b692a8d9b7eb..733c13f02551 100644
--- a/services/batch/mgmt/2017-01-01/batch/account.go
+++ b/services/batch/mgmt/2017-01-01/batch/account.go
@@ -122,9 +122,9 @@ func (client AccountClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) CreateSender(req *http.Request) (future AccountCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -209,9 +209,9 @@ func (client AccountClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) DeleteSender(req *http.Request) (future AccountDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -301,8 +301,8 @@ func (client AccountClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -390,8 +390,8 @@ func (client AccountClient) GetKeysPreparer(ctx context.Context, resourceGroupNa
// GetKeysSender sends the GetKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetKeysResponder handles the response to the GetKeys request. The method always
@@ -463,8 +463,8 @@ func (client AccountClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -582,8 +582,8 @@ func (client AccountClient) ListByResourceGroupPreparer(ctx context.Context, res
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -709,8 +709,8 @@ func (client AccountClient) RegenerateKeyPreparer(ctx context.Context, resourceG
// RegenerateKeySender sends the RegenerateKey request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) RegenerateKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateKeyResponder handles the response to the RegenerateKey request. The method always
@@ -797,8 +797,8 @@ func (client AccountClient) SynchronizeAutoStorageKeysPreparer(ctx context.Conte
// SynchronizeAutoStorageKeysSender sends the SynchronizeAutoStorageKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) SynchronizeAutoStorageKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SynchronizeAutoStorageKeysResponder handles the response to the SynchronizeAutoStorageKeys request. The method always
@@ -886,8 +886,8 @@ func (client AccountClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2017-01-01/batch/application.go b/services/batch/mgmt/2017-01-01/batch/application.go
index e70a6a22e5fa..33a06bc067e3 100644
--- a/services/batch/mgmt/2017-01-01/batch/application.go
+++ b/services/batch/mgmt/2017-01-01/batch/application.go
@@ -119,8 +119,8 @@ func (client ApplicationClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -208,8 +208,8 @@ func (client ApplicationClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -296,8 +296,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -388,8 +388,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, resourceGroupN
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -517,8 +517,8 @@ func (client ApplicationClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2017-01-01/batch/applicationpackage.go b/services/batch/mgmt/2017-01-01/batch/applicationpackage.go
index 7eb5a57ebb06..c771644a2cfb 100644
--- a/services/batch/mgmt/2017-01-01/batch/applicationpackage.go
+++ b/services/batch/mgmt/2017-01-01/batch/applicationpackage.go
@@ -120,8 +120,8 @@ func (client ApplicationPackageClient) ActivatePreparer(ctx context.Context, res
// ActivateSender sends the Activate request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) ActivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ActivateResponder handles the response to the Activate request. The method always
@@ -210,8 +210,8 @@ func (client ApplicationPackageClient) CreatePreparer(ctx context.Context, resou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -301,8 +301,8 @@ func (client ApplicationPackageClient) DeletePreparer(ctx context.Context, resou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -391,8 +391,8 @@ func (client ApplicationPackageClient) GetPreparer(ctx context.Context, resource
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/batch/mgmt/2017-01-01/batch/location.go b/services/batch/mgmt/2017-01-01/batch/location.go
index a51ba58a6a63..c66f533fc5c2 100644
--- a/services/batch/mgmt/2017-01-01/batch/location.go
+++ b/services/batch/mgmt/2017-01-01/batch/location.go
@@ -98,8 +98,8 @@ func (client LocationClient) GetQuotasPreparer(ctx context.Context, locationName
// GetQuotasSender sends the GetQuotas request. The method will close the
// http.Response Body if it receives an error.
func (client LocationClient) GetQuotasSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetQuotasResponder handles the response to the GetQuotas request. The method always
diff --git a/services/batch/mgmt/2017-05-01/batch/account.go b/services/batch/mgmt/2017-05-01/batch/account.go
index 8272acd86663..8dfc82bbf16c 100644
--- a/services/batch/mgmt/2017-05-01/batch/account.go
+++ b/services/batch/mgmt/2017-05-01/batch/account.go
@@ -122,9 +122,9 @@ func (client AccountClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) CreateSender(req *http.Request) (future AccountCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -209,9 +209,9 @@ func (client AccountClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) DeleteSender(req *http.Request) (future AccountDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -301,8 +301,8 @@ func (client AccountClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -390,8 +390,8 @@ func (client AccountClient) GetKeysPreparer(ctx context.Context, resourceGroupNa
// GetKeysSender sends the GetKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetKeysResponder handles the response to the GetKeys request. The method always
@@ -463,8 +463,8 @@ func (client AccountClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -582,8 +582,8 @@ func (client AccountClient) ListByResourceGroupPreparer(ctx context.Context, res
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -709,8 +709,8 @@ func (client AccountClient) RegenerateKeyPreparer(ctx context.Context, resourceG
// RegenerateKeySender sends the RegenerateKey request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) RegenerateKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateKeyResponder handles the response to the RegenerateKey request. The method always
@@ -797,8 +797,8 @@ func (client AccountClient) SynchronizeAutoStorageKeysPreparer(ctx context.Conte
// SynchronizeAutoStorageKeysSender sends the SynchronizeAutoStorageKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) SynchronizeAutoStorageKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SynchronizeAutoStorageKeysResponder handles the response to the SynchronizeAutoStorageKeys request. The method always
@@ -886,8 +886,8 @@ func (client AccountClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2017-05-01/batch/application.go b/services/batch/mgmt/2017-05-01/batch/application.go
index 89809eb71048..6f6d8abbeef0 100644
--- a/services/batch/mgmt/2017-05-01/batch/application.go
+++ b/services/batch/mgmt/2017-05-01/batch/application.go
@@ -119,8 +119,8 @@ func (client ApplicationClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -208,8 +208,8 @@ func (client ApplicationClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -296,8 +296,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -388,8 +388,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, resourceGroupN
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -517,8 +517,8 @@ func (client ApplicationClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2017-05-01/batch/applicationpackage.go b/services/batch/mgmt/2017-05-01/batch/applicationpackage.go
index 48ebe81e7b8b..1b07f392b509 100644
--- a/services/batch/mgmt/2017-05-01/batch/applicationpackage.go
+++ b/services/batch/mgmt/2017-05-01/batch/applicationpackage.go
@@ -120,8 +120,8 @@ func (client ApplicationPackageClient) ActivatePreparer(ctx context.Context, res
// ActivateSender sends the Activate request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) ActivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ActivateResponder handles the response to the Activate request. The method always
@@ -210,8 +210,8 @@ func (client ApplicationPackageClient) CreatePreparer(ctx context.Context, resou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -301,8 +301,8 @@ func (client ApplicationPackageClient) DeletePreparer(ctx context.Context, resou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -391,8 +391,8 @@ func (client ApplicationPackageClient) GetPreparer(ctx context.Context, resource
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/batch/mgmt/2017-05-01/batch/location.go b/services/batch/mgmt/2017-05-01/batch/location.go
index c87306df8154..8eb10bbc0300 100644
--- a/services/batch/mgmt/2017-05-01/batch/location.go
+++ b/services/batch/mgmt/2017-05-01/batch/location.go
@@ -109,8 +109,8 @@ func (client LocationClient) CheckNameAvailabilityPreparer(ctx context.Context,
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client LocationClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -184,8 +184,8 @@ func (client LocationClient) GetQuotasPreparer(ctx context.Context, locationName
// GetQuotasSender sends the GetQuotas request. The method will close the
// http.Response Body if it receives an error.
func (client LocationClient) GetQuotasSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetQuotasResponder handles the response to the GetQuotas request. The method always
diff --git a/services/batch/mgmt/2017-05-01/batch/operations.go b/services/batch/mgmt/2017-05-01/batch/operations.go
index 3cbaf43e163a..453eba5e9146 100644
--- a/services/batch/mgmt/2017-05-01/batch/operations.go
+++ b/services/batch/mgmt/2017-05-01/batch/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/mgmt/2017-09-01/batch/account.go b/services/batch/mgmt/2017-09-01/batch/account.go
index edbd07fc8365..086f3c78e245 100644
--- a/services/batch/mgmt/2017-09-01/batch/account.go
+++ b/services/batch/mgmt/2017-09-01/batch/account.go
@@ -120,9 +120,9 @@ func (client AccountClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) CreateSender(req *http.Request) (future AccountCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -205,9 +205,9 @@ func (client AccountClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) DeleteSender(req *http.Request) (future AccountDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -295,8 +295,8 @@ func (client AccountClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -382,8 +382,8 @@ func (client AccountClient) GetKeysPreparer(ctx context.Context, resourceGroupNa
// GetKeysSender sends the GetKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetKeysResponder handles the response to the GetKeys request. The method always
@@ -455,8 +455,8 @@ func (client AccountClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -568,8 +568,8 @@ func (client AccountClient) ListByResourceGroupPreparer(ctx context.Context, res
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -693,8 +693,8 @@ func (client AccountClient) RegenerateKeyPreparer(ctx context.Context, resourceG
// RegenerateKeySender sends the RegenerateKey request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) RegenerateKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateKeyResponder handles the response to the RegenerateKey request. The method always
@@ -779,8 +779,8 @@ func (client AccountClient) SynchronizeAutoStorageKeysPreparer(ctx context.Conte
// SynchronizeAutoStorageKeysSender sends the SynchronizeAutoStorageKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) SynchronizeAutoStorageKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SynchronizeAutoStorageKeysResponder handles the response to the SynchronizeAutoStorageKeys request. The method always
@@ -866,8 +866,8 @@ func (client AccountClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2017-09-01/batch/application.go b/services/batch/mgmt/2017-09-01/batch/application.go
index f158f2e78015..de1843d218ed 100644
--- a/services/batch/mgmt/2017-09-01/batch/application.go
+++ b/services/batch/mgmt/2017-09-01/batch/application.go
@@ -117,8 +117,8 @@ func (client ApplicationClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -204,8 +204,8 @@ func (client ApplicationClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -290,8 +290,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -380,8 +380,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, resourceGroupN
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -507,8 +507,8 @@ func (client ApplicationClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2017-09-01/batch/applicationpackage.go b/services/batch/mgmt/2017-09-01/batch/applicationpackage.go
index 7b9173777c85..389902035f38 100644
--- a/services/batch/mgmt/2017-09-01/batch/applicationpackage.go
+++ b/services/batch/mgmt/2017-09-01/batch/applicationpackage.go
@@ -118,8 +118,8 @@ func (client ApplicationPackageClient) ActivatePreparer(ctx context.Context, res
// ActivateSender sends the Activate request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) ActivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ActivateResponder handles the response to the Activate request. The method always
@@ -206,8 +206,8 @@ func (client ApplicationPackageClient) CreatePreparer(ctx context.Context, resou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -295,8 +295,8 @@ func (client ApplicationPackageClient) DeletePreparer(ctx context.Context, resou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -383,8 +383,8 @@ func (client ApplicationPackageClient) GetPreparer(ctx context.Context, resource
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/batch/mgmt/2017-09-01/batch/certificate.go b/services/batch/mgmt/2017-09-01/batch/certificate.go
index f9d3c6e27230..7ddf1f5aba7f 100644
--- a/services/batch/mgmt/2017-09-01/batch/certificate.go
+++ b/services/batch/mgmt/2017-09-01/batch/certificate.go
@@ -120,8 +120,8 @@ func (client CertificateClient) CancelDeletionPreparer(ctx context.Context, reso
// CancelDeletionSender sends the CancelDeletion request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CancelDeletionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CancelDeletionResponder handles the response to the CancelDeletion request. The method always
@@ -224,9 +224,9 @@ func (client CertificateClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CreateSender(req *http.Request) (future CertificateCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -316,9 +316,9 @@ func (client CertificateClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) DeleteSender(req *http.Request) (future CertificateDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -413,8 +413,8 @@ func (client CertificateClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -513,8 +513,8 @@ func (client CertificateClient) ListByBatchAccountPreparer(ctx context.Context,
// ListByBatchAccountSender sends the ListByBatchAccount request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) ListByBatchAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBatchAccountResponder handles the response to the ListByBatchAccount request. The method always
@@ -651,8 +651,8 @@ func (client CertificateClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2017-09-01/batch/location.go b/services/batch/mgmt/2017-09-01/batch/location.go
index 9d6a30cf2877..15a3235330ae 100644
--- a/services/batch/mgmt/2017-09-01/batch/location.go
+++ b/services/batch/mgmt/2017-09-01/batch/location.go
@@ -109,8 +109,8 @@ func (client LocationClient) CheckNameAvailabilityPreparer(ctx context.Context,
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client LocationClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -184,8 +184,8 @@ func (client LocationClient) GetQuotasPreparer(ctx context.Context, locationName
// GetQuotasSender sends the GetQuotas request. The method will close the
// http.Response Body if it receives an error.
func (client LocationClient) GetQuotasSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetQuotasResponder handles the response to the GetQuotas request. The method always
diff --git a/services/batch/mgmt/2017-09-01/batch/operations.go b/services/batch/mgmt/2017-09-01/batch/operations.go
index d92776c57e24..711076f035fa 100644
--- a/services/batch/mgmt/2017-09-01/batch/operations.go
+++ b/services/batch/mgmt/2017-09-01/batch/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/mgmt/2017-09-01/batch/pool.go b/services/batch/mgmt/2017-09-01/batch/pool.go
index 92e0ebc94da7..1775f2dca8a8 100644
--- a/services/batch/mgmt/2017-09-01/batch/pool.go
+++ b/services/batch/mgmt/2017-09-01/batch/pool.go
@@ -150,9 +150,9 @@ func (client PoolClient) CreatePreparer(ctx context.Context, resourceGroupName s
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) CreateSender(req *http.Request) (future PoolCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -241,9 +241,9 @@ func (client PoolClient) DeletePreparer(ctx context.Context, resourceGroupName s
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DeleteSender(req *http.Request) (future PoolDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -337,8 +337,8 @@ func (client PoolClient) DisableAutoScalePreparer(ctx context.Context, resourceG
// DisableAutoScaleSender sends the DisableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DisableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableAutoScaleResponder handles the response to the DisableAutoScale request. The method always
@@ -428,8 +428,8 @@ func (client PoolClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -539,8 +539,8 @@ func (client PoolClient) ListByBatchAccountPreparer(ctx context.Context, resourc
// ListByBatchAccountSender sends the ListByBatchAccount request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListByBatchAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBatchAccountResponder handles the response to the ListByBatchAccount request. The method always
@@ -671,8 +671,8 @@ func (client PoolClient) StopResizePreparer(ctx context.Context, resourceGroupNa
// StopResizeSender sends the StopResize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) StopResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResizeResponder handles the response to the StopResize request. The method always
@@ -772,8 +772,8 @@ func (client PoolClient) UpdatePreparer(ctx context.Context, resourceGroupName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2018-12-01/batch/account.go b/services/batch/mgmt/2018-12-01/batch/account.go
index 4813f580b5d6..e64ef0921785 100644
--- a/services/batch/mgmt/2018-12-01/batch/account.go
+++ b/services/batch/mgmt/2018-12-01/batch/account.go
@@ -120,9 +120,9 @@ func (client AccountClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) CreateSender(req *http.Request) (future AccountCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -205,9 +205,9 @@ func (client AccountClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) DeleteSender(req *http.Request) (future AccountDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -295,8 +295,8 @@ func (client AccountClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -382,8 +382,8 @@ func (client AccountClient) GetKeysPreparer(ctx context.Context, resourceGroupNa
// GetKeysSender sends the GetKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetKeysResponder handles the response to the GetKeys request. The method always
@@ -455,8 +455,8 @@ func (client AccountClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -568,8 +568,8 @@ func (client AccountClient) ListByResourceGroupPreparer(ctx context.Context, res
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -693,8 +693,8 @@ func (client AccountClient) RegenerateKeyPreparer(ctx context.Context, resourceG
// RegenerateKeySender sends the RegenerateKey request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) RegenerateKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateKeyResponder handles the response to the RegenerateKey request. The method always
@@ -779,8 +779,8 @@ func (client AccountClient) SynchronizeAutoStorageKeysPreparer(ctx context.Conte
// SynchronizeAutoStorageKeysSender sends the SynchronizeAutoStorageKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) SynchronizeAutoStorageKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SynchronizeAutoStorageKeysResponder handles the response to the SynchronizeAutoStorageKeys request. The method always
@@ -866,8 +866,8 @@ func (client AccountClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2018-12-01/batch/application.go b/services/batch/mgmt/2018-12-01/batch/application.go
index 9e618b5c8df4..6273fbf6e5fc 100644
--- a/services/batch/mgmt/2018-12-01/batch/application.go
+++ b/services/batch/mgmt/2018-12-01/batch/application.go
@@ -121,8 +121,8 @@ func (client ApplicationClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -212,8 +212,8 @@ func (client ApplicationClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -302,8 +302,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -392,8 +392,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, resourceGroupN
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -523,8 +523,8 @@ func (client ApplicationClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2018-12-01/batch/applicationpackage.go b/services/batch/mgmt/2018-12-01/batch/applicationpackage.go
index 756b605561f1..c793f7002c1c 100644
--- a/services/batch/mgmt/2018-12-01/batch/applicationpackage.go
+++ b/services/batch/mgmt/2018-12-01/batch/applicationpackage.go
@@ -126,8 +126,8 @@ func (client ApplicationPackageClient) ActivatePreparer(ctx context.Context, res
// ActivateSender sends the Activate request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) ActivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ActivateResponder handles the response to the Activate request. The method always
@@ -229,8 +229,8 @@ func (client ApplicationPackageClient) CreatePreparer(ctx context.Context, resou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -326,8 +326,8 @@ func (client ApplicationPackageClient) DeletePreparer(ctx context.Context, resou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -422,8 +422,8 @@ func (client ApplicationPackageClient) GetPreparer(ctx context.Context, resource
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -518,8 +518,8 @@ func (client ApplicationPackageClient) ListPreparer(ctx context.Context, resourc
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/mgmt/2018-12-01/batch/certificate.go b/services/batch/mgmt/2018-12-01/batch/certificate.go
index 7a7f3d017c1f..73a8a1489c7a 100644
--- a/services/batch/mgmt/2018-12-01/batch/certificate.go
+++ b/services/batch/mgmt/2018-12-01/batch/certificate.go
@@ -120,8 +120,8 @@ func (client CertificateClient) CancelDeletionPreparer(ctx context.Context, reso
// CancelDeletionSender sends the CancelDeletion request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CancelDeletionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CancelDeletionResponder handles the response to the CancelDeletion request. The method always
@@ -224,9 +224,9 @@ func (client CertificateClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CreateSender(req *http.Request) (future CertificateCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -316,9 +316,9 @@ func (client CertificateClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) DeleteSender(req *http.Request) (future CertificateDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -413,8 +413,8 @@ func (client CertificateClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -513,8 +513,8 @@ func (client CertificateClient) ListByBatchAccountPreparer(ctx context.Context,
// ListByBatchAccountSender sends the ListByBatchAccount request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) ListByBatchAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBatchAccountResponder handles the response to the ListByBatchAccount request. The method always
@@ -651,8 +651,8 @@ func (client CertificateClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2018-12-01/batch/location.go b/services/batch/mgmt/2018-12-01/batch/location.go
index 286fdd4ce570..25f3a0d546ff 100644
--- a/services/batch/mgmt/2018-12-01/batch/location.go
+++ b/services/batch/mgmt/2018-12-01/batch/location.go
@@ -109,8 +109,8 @@ func (client LocationClient) CheckNameAvailabilityPreparer(ctx context.Context,
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client LocationClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -184,8 +184,8 @@ func (client LocationClient) GetQuotasPreparer(ctx context.Context, locationName
// GetQuotasSender sends the GetQuotas request. The method will close the
// http.Response Body if it receives an error.
func (client LocationClient) GetQuotasSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetQuotasResponder handles the response to the GetQuotas request. The method always
diff --git a/services/batch/mgmt/2018-12-01/batch/operations.go b/services/batch/mgmt/2018-12-01/batch/operations.go
index 697cff855351..ba0cc0f1e666 100644
--- a/services/batch/mgmt/2018-12-01/batch/operations.go
+++ b/services/batch/mgmt/2018-12-01/batch/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/mgmt/2018-12-01/batch/pool.go b/services/batch/mgmt/2018-12-01/batch/pool.go
index 088e58b15b8a..4344f2d77d05 100644
--- a/services/batch/mgmt/2018-12-01/batch/pool.go
+++ b/services/batch/mgmt/2018-12-01/batch/pool.go
@@ -161,9 +161,9 @@ func (client PoolClient) CreatePreparer(ctx context.Context, resourceGroupName s
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) CreateSender(req *http.Request) (future PoolCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -252,9 +252,9 @@ func (client PoolClient) DeletePreparer(ctx context.Context, resourceGroupName s
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DeleteSender(req *http.Request) (future PoolDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -348,8 +348,8 @@ func (client PoolClient) DisableAutoScalePreparer(ctx context.Context, resourceG
// DisableAutoScaleSender sends the DisableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DisableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableAutoScaleResponder handles the response to the DisableAutoScale request. The method always
@@ -439,8 +439,8 @@ func (client PoolClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -550,8 +550,8 @@ func (client PoolClient) ListByBatchAccountPreparer(ctx context.Context, resourc
// ListByBatchAccountSender sends the ListByBatchAccount request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListByBatchAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBatchAccountResponder handles the response to the ListByBatchAccount request. The method always
@@ -682,8 +682,8 @@ func (client PoolClient) StopResizePreparer(ctx context.Context, resourceGroupNa
// StopResizeSender sends the StopResize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) StopResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResizeResponder handles the response to the StopResize request. The method always
@@ -783,8 +783,8 @@ func (client PoolClient) UpdatePreparer(ctx context.Context, resourceGroupName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2019-04-01/batch/account.go b/services/batch/mgmt/2019-04-01/batch/account.go
index 764b8fe806f2..0afd6f3a2483 100644
--- a/services/batch/mgmt/2019-04-01/batch/account.go
+++ b/services/batch/mgmt/2019-04-01/batch/account.go
@@ -120,9 +120,9 @@ func (client AccountClient) CreatePreparer(ctx context.Context, resourceGroupNam
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) CreateSender(req *http.Request) (future AccountCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -205,9 +205,9 @@ func (client AccountClient) DeletePreparer(ctx context.Context, resourceGroupNam
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) DeleteSender(req *http.Request) (future AccountDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -295,8 +295,8 @@ func (client AccountClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -382,8 +382,8 @@ func (client AccountClient) GetKeysPreparer(ctx context.Context, resourceGroupNa
// GetKeysSender sends the GetKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) GetKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetKeysResponder handles the response to the GetKeys request. The method always
@@ -455,8 +455,8 @@ func (client AccountClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -568,8 +568,8 @@ func (client AccountClient) ListByResourceGroupPreparer(ctx context.Context, res
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -693,8 +693,8 @@ func (client AccountClient) RegenerateKeyPreparer(ctx context.Context, resourceG
// RegenerateKeySender sends the RegenerateKey request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) RegenerateKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateKeyResponder handles the response to the RegenerateKey request. The method always
@@ -779,8 +779,8 @@ func (client AccountClient) SynchronizeAutoStorageKeysPreparer(ctx context.Conte
// SynchronizeAutoStorageKeysSender sends the SynchronizeAutoStorageKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) SynchronizeAutoStorageKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SynchronizeAutoStorageKeysResponder handles the response to the SynchronizeAutoStorageKeys request. The method always
@@ -866,8 +866,8 @@ func (client AccountClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AccountClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2019-04-01/batch/application.go b/services/batch/mgmt/2019-04-01/batch/application.go
index ca2fd7383ca1..ddcb2af587a6 100644
--- a/services/batch/mgmt/2019-04-01/batch/application.go
+++ b/services/batch/mgmt/2019-04-01/batch/application.go
@@ -121,8 +121,8 @@ func (client ApplicationClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -212,8 +212,8 @@ func (client ApplicationClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -302,8 +302,8 @@ func (client ApplicationClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -392,8 +392,8 @@ func (client ApplicationClient) ListPreparer(ctx context.Context, resourceGroupN
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -523,8 +523,8 @@ func (client ApplicationClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2019-04-01/batch/applicationpackage.go b/services/batch/mgmt/2019-04-01/batch/applicationpackage.go
index ced613427501..baaec2bf1d2a 100644
--- a/services/batch/mgmt/2019-04-01/batch/applicationpackage.go
+++ b/services/batch/mgmt/2019-04-01/batch/applicationpackage.go
@@ -126,8 +126,8 @@ func (client ApplicationPackageClient) ActivatePreparer(ctx context.Context, res
// ActivateSender sends the Activate request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) ActivateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ActivateResponder handles the response to the Activate request. The method always
@@ -229,8 +229,8 @@ func (client ApplicationPackageClient) CreatePreparer(ctx context.Context, resou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -326,8 +326,8 @@ func (client ApplicationPackageClient) DeletePreparer(ctx context.Context, resou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -422,8 +422,8 @@ func (client ApplicationPackageClient) GetPreparer(ctx context.Context, resource
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -518,8 +518,8 @@ func (client ApplicationPackageClient) ListPreparer(ctx context.Context, resourc
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationPackageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/mgmt/2019-04-01/batch/certificate.go b/services/batch/mgmt/2019-04-01/batch/certificate.go
index cf30cc1efcc1..b094d67a1ce6 100644
--- a/services/batch/mgmt/2019-04-01/batch/certificate.go
+++ b/services/batch/mgmt/2019-04-01/batch/certificate.go
@@ -120,8 +120,8 @@ func (client CertificateClient) CancelDeletionPreparer(ctx context.Context, reso
// CancelDeletionSender sends the CancelDeletion request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CancelDeletionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CancelDeletionResponder handles the response to the CancelDeletion request. The method always
@@ -224,9 +224,9 @@ func (client CertificateClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) CreateSender(req *http.Request) (future CertificateCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -316,9 +316,9 @@ func (client CertificateClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) DeleteSender(req *http.Request) (future CertificateDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -413,8 +413,8 @@ func (client CertificateClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -513,8 +513,8 @@ func (client CertificateClient) ListByBatchAccountPreparer(ctx context.Context,
// ListByBatchAccountSender sends the ListByBatchAccount request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) ListByBatchAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBatchAccountResponder handles the response to the ListByBatchAccount request. The method always
@@ -651,8 +651,8 @@ func (client CertificateClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client CertificateClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batch/mgmt/2019-04-01/batch/location.go b/services/batch/mgmt/2019-04-01/batch/location.go
index f45f5427e65f..aef886d13542 100644
--- a/services/batch/mgmt/2019-04-01/batch/location.go
+++ b/services/batch/mgmt/2019-04-01/batch/location.go
@@ -109,8 +109,8 @@ func (client LocationClient) CheckNameAvailabilityPreparer(ctx context.Context,
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client LocationClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -184,8 +184,8 @@ func (client LocationClient) GetQuotasPreparer(ctx context.Context, locationName
// GetQuotasSender sends the GetQuotas request. The method will close the
// http.Response Body if it receives an error.
func (client LocationClient) GetQuotasSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetQuotasResponder handles the response to the GetQuotas request. The method always
diff --git a/services/batch/mgmt/2019-04-01/batch/operations.go b/services/batch/mgmt/2019-04-01/batch/operations.go
index 402f161da06c..1718b9367596 100644
--- a/services/batch/mgmt/2019-04-01/batch/operations.go
+++ b/services/batch/mgmt/2019-04-01/batch/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batch/mgmt/2019-04-01/batch/pool.go b/services/batch/mgmt/2019-04-01/batch/pool.go
index 2a7925fde06c..d0e54464b95e 100644
--- a/services/batch/mgmt/2019-04-01/batch/pool.go
+++ b/services/batch/mgmt/2019-04-01/batch/pool.go
@@ -161,9 +161,9 @@ func (client PoolClient) CreatePreparer(ctx context.Context, resourceGroupName s
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) CreateSender(req *http.Request) (future PoolCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -252,9 +252,9 @@ func (client PoolClient) DeletePreparer(ctx context.Context, resourceGroupName s
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DeleteSender(req *http.Request) (future PoolDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -348,8 +348,8 @@ func (client PoolClient) DisableAutoScalePreparer(ctx context.Context, resourceG
// DisableAutoScaleSender sends the DisableAutoScale request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) DisableAutoScaleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableAutoScaleResponder handles the response to the DisableAutoScale request. The method always
@@ -439,8 +439,8 @@ func (client PoolClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -550,8 +550,8 @@ func (client PoolClient) ListByBatchAccountPreparer(ctx context.Context, resourc
// ListByBatchAccountSender sends the ListByBatchAccount request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) ListByBatchAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBatchAccountResponder handles the response to the ListByBatchAccount request. The method always
@@ -682,8 +682,8 @@ func (client PoolClient) StopResizePreparer(ctx context.Context, resourceGroupNa
// StopResizeSender sends the StopResize request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) StopResizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResizeResponder handles the response to the StopResize request. The method always
@@ -783,8 +783,8 @@ func (client PoolClient) UpdatePreparer(ctx context.Context, resourceGroupName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client PoolClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batchai/mgmt/2018-03-01/batchai/clusters.go b/services/batchai/mgmt/2018-03-01/batchai/clusters.go
index 592b35a5af64..363c87070726 100644
--- a/services/batchai/mgmt/2018-03-01/batchai/clusters.go
+++ b/services/batchai/mgmt/2018-03-01/batchai/clusters.go
@@ -151,9 +151,9 @@ func (client ClustersClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) CreateSender(req *http.Request) (future ClustersCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -240,9 +240,9 @@ func (client ClustersClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) DeleteSender(req *http.Request) (future ClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -334,8 +334,8 @@ func (client ClustersClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -431,8 +431,8 @@ func (client ClustersClient) ListPreparer(ctx context.Context, filter string, se
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -569,8 +569,8 @@ func (client ClustersClient) ListByResourceGroupPreparer(ctx context.Context, re
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -696,8 +696,8 @@ func (client ClustersClient) ListRemoteLoginInformationPreparer(ctx context.Cont
// ListRemoteLoginInformationSender sends the ListRemoteLoginInformation request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) ListRemoteLoginInformationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListRemoteLoginInformationResponder handles the response to the ListRemoteLoginInformation request. The method always
@@ -825,8 +825,8 @@ func (client ClustersClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batchai/mgmt/2018-03-01/batchai/fileservers.go b/services/batchai/mgmt/2018-03-01/batchai/fileservers.go
index 34e25f9e1be7..4cea83b45dde 100644
--- a/services/batchai/mgmt/2018-03-01/batchai/fileservers.go
+++ b/services/batchai/mgmt/2018-03-01/batchai/fileservers.go
@@ -125,9 +125,9 @@ func (client FileServersClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client FileServersClient) CreateSender(req *http.Request) (future FileServersCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -214,9 +214,9 @@ func (client FileServersClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client FileServersClient) DeleteSender(req *http.Request) (future FileServersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -308,8 +308,8 @@ func (client FileServersClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client FileServersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -406,8 +406,8 @@ func (client FileServersClient) ListPreparer(ctx context.Context, filter string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client FileServersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -545,8 +545,8 @@ func (client FileServersClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client FileServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/batchai/mgmt/2018-03-01/batchai/jobs.go b/services/batchai/mgmt/2018-03-01/batchai/jobs.go
index e1e712df7ab9..f06393fff32b 100644
--- a/services/batchai/mgmt/2018-03-01/batchai/jobs.go
+++ b/services/batchai/mgmt/2018-03-01/batchai/jobs.go
@@ -141,9 +141,9 @@ func (client JobsClient) CreatePreparer(ctx context.Context, resourceGroupName s
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) CreateSender(req *http.Request) (future JobsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -230,9 +230,9 @@ func (client JobsClient) DeletePreparer(ctx context.Context, resourceGroupName s
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) DeleteSender(req *http.Request) (future JobsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -324,8 +324,8 @@ func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -421,8 +421,8 @@ func (client JobsClient) ListPreparer(ctx context.Context, filter string, select
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -559,8 +559,8 @@ func (client JobsClient) ListByResourceGroupPreparer(ctx context.Context, resour
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -718,8 +718,8 @@ func (client JobsClient) ListOutputFilesPreparer(ctx context.Context, resourceGr
// ListOutputFilesSender sends the ListOutputFiles request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ListOutputFilesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOutputFilesResponder handles the response to the ListOutputFiles request. The method always
@@ -846,8 +846,8 @@ func (client JobsClient) ListRemoteLoginInformationPreparer(ctx context.Context,
// ListRemoteLoginInformationSender sends the ListRemoteLoginInformation request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ListRemoteLoginInformationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListRemoteLoginInformationResponder handles the response to the ListRemoteLoginInformation request. The method always
@@ -966,9 +966,9 @@ func (client JobsClient) TerminatePreparer(ctx context.Context, resourceGroupNam
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) TerminateSender(req *http.Request) (future JobsTerminateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/batchai/mgmt/2018-03-01/batchai/operations.go b/services/batchai/mgmt/2018-03-01/batchai/operations.go
index ec25f8b170c6..378494839194 100644
--- a/services/batchai/mgmt/2018-03-01/batchai/operations.go
+++ b/services/batchai/mgmt/2018-03-01/batchai/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batchai/mgmt/2018-03-01/batchai/usage.go b/services/batchai/mgmt/2018-03-01/batchai/usage.go
index 094816a520fc..4c36e11bbcd0 100644
--- a/services/batchai/mgmt/2018-03-01/batchai/usage.go
+++ b/services/batchai/mgmt/2018-03-01/batchai/usage.go
@@ -106,8 +106,8 @@ func (client UsageClient) ListPreparer(ctx context.Context, location string) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batchai/mgmt/2018-05-01/batchai/clusters.go b/services/batchai/mgmt/2018-05-01/batchai/clusters.go
index 8a1d5b82d046..8b8d51987dc0 100644
--- a/services/batchai/mgmt/2018-05-01/batchai/clusters.go
+++ b/services/batchai/mgmt/2018-05-01/batchai/clusters.go
@@ -157,9 +157,9 @@ func (client ClustersClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) CreateSender(req *http.Request) (future ClustersCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -253,9 +253,9 @@ func (client ClustersClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) DeleteSender(req *http.Request) (future ClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -354,8 +354,8 @@ func (client ClustersClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -454,8 +454,8 @@ func (client ClustersClient) ListByWorkspacePreparer(ctx context.Context, resour
// ListByWorkspaceSender sends the ListByWorkspace request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always
@@ -588,8 +588,8 @@ func (client ClustersClient) ListRemoteLoginInformationPreparer(ctx context.Cont
// ListRemoteLoginInformationSender sends the ListRemoteLoginInformation request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) ListRemoteLoginInformationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListRemoteLoginInformationResponder handles the response to the ListRemoteLoginInformation request. The method always
@@ -724,8 +724,8 @@ func (client ClustersClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ClustersClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/batchai/mgmt/2018-05-01/batchai/experiments.go b/services/batchai/mgmt/2018-05-01/batchai/experiments.go
index 873d1c349d92..4b743e382b56 100644
--- a/services/batchai/mgmt/2018-05-01/batchai/experiments.go
+++ b/services/batchai/mgmt/2018-05-01/batchai/experiments.go
@@ -113,9 +113,9 @@ func (client ExperimentsClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ExperimentsClient) CreateSender(req *http.Request) (future ExperimentsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -208,9 +208,9 @@ func (client ExperimentsClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ExperimentsClient) DeleteSender(req *http.Request) (future ExperimentsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -308,8 +308,8 @@ func (client ExperimentsClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ExperimentsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -408,8 +408,8 @@ func (client ExperimentsClient) ListByWorkspacePreparer(ctx context.Context, res
// ListByWorkspaceSender sends the ListByWorkspace request. The method will close the
// http.Response Body if it receives an error.
func (client ExperimentsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always
diff --git a/services/batchai/mgmt/2018-05-01/batchai/fileservers.go b/services/batchai/mgmt/2018-05-01/batchai/fileservers.go
index 6fa8a87ef591..5049ef167dfd 100644
--- a/services/batchai/mgmt/2018-05-01/batchai/fileservers.go
+++ b/services/batchai/mgmt/2018-05-01/batchai/fileservers.go
@@ -131,9 +131,9 @@ func (client FileServersClient) CreatePreparer(ctx context.Context, resourceGrou
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client FileServersClient) CreateSender(req *http.Request) (future FileServersCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -227,9 +227,9 @@ func (client FileServersClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client FileServersClient) DeleteSender(req *http.Request) (future FileServersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -328,8 +328,8 @@ func (client FileServersClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client FileServersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -428,8 +428,8 @@ func (client FileServersClient) ListByWorkspacePreparer(ctx context.Context, res
// ListByWorkspaceSender sends the ListByWorkspace request. The method will close the
// http.Response Body if it receives an error.
func (client FileServersClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always
diff --git a/services/batchai/mgmt/2018-05-01/batchai/jobs.go b/services/batchai/mgmt/2018-05-01/batchai/jobs.go
index 8856a84326fa..f3af0e13e107 100644
--- a/services/batchai/mgmt/2018-05-01/batchai/jobs.go
+++ b/services/batchai/mgmt/2018-05-01/batchai/jobs.go
@@ -158,9 +158,9 @@ func (client JobsClient) CreatePreparer(ctx context.Context, resourceGroupName s
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) CreateSender(req *http.Request) (future JobsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -261,9 +261,9 @@ func (client JobsClient) DeletePreparer(ctx context.Context, resourceGroupName s
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) DeleteSender(req *http.Request) (future JobsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -369,8 +369,8 @@ func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -476,8 +476,8 @@ func (client JobsClient) ListByExperimentPreparer(ctx context.Context, resourceG
// ListByExperimentSender sends the ListByExperiment request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ListByExperimentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByExperimentResponder handles the response to the ListByExperiment request. The method always
@@ -649,8 +649,8 @@ func (client JobsClient) ListOutputFilesPreparer(ctx context.Context, resourceGr
// ListOutputFilesSender sends the ListOutputFiles request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ListOutputFilesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOutputFilesResponder handles the response to the ListOutputFiles request. The method always
@@ -791,8 +791,8 @@ func (client JobsClient) ListRemoteLoginInformationPreparer(ctx context.Context,
// ListRemoteLoginInformationSender sends the ListRemoteLoginInformation request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ListRemoteLoginInformationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListRemoteLoginInformationResponder handles the response to the ListRemoteLoginInformation request. The method always
@@ -925,9 +925,9 @@ func (client JobsClient) TerminatePreparer(ctx context.Context, resourceGroupNam
// TerminateSender sends the Terminate request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) TerminateSender(req *http.Request) (future JobsTerminateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/batchai/mgmt/2018-05-01/batchai/operations.go b/services/batchai/mgmt/2018-05-01/batchai/operations.go
index 10a696f1f9c2..add0b7406edc 100644
--- a/services/batchai/mgmt/2018-05-01/batchai/operations.go
+++ b/services/batchai/mgmt/2018-05-01/batchai/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batchai/mgmt/2018-05-01/batchai/usages.go b/services/batchai/mgmt/2018-05-01/batchai/usages.go
index 41a8fc68be5f..3d6aedadeb30 100644
--- a/services/batchai/mgmt/2018-05-01/batchai/usages.go
+++ b/services/batchai/mgmt/2018-05-01/batchai/usages.go
@@ -106,8 +106,8 @@ func (client UsagesClient) ListPreparer(ctx context.Context, location string) (*
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/batchai/mgmt/2018-05-01/batchai/workspaces.go b/services/batchai/mgmt/2018-05-01/batchai/workspaces.go
index adaeaf35345f..001804fa3843 100644
--- a/services/batchai/mgmt/2018-05-01/batchai/workspaces.go
+++ b/services/batchai/mgmt/2018-05-01/batchai/workspaces.go
@@ -111,9 +111,9 @@ func (client WorkspacesClient) CreatePreparer(ctx context.Context, resourceGroup
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) CreateSender(req *http.Request) (future WorkspacesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -199,9 +199,9 @@ func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) DeleteSender(req *http.Request) (future WorkspacesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -292,8 +292,8 @@ func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -381,8 +381,8 @@ func (client WorkspacesClient) ListPreparer(ctx context.Context, maxResults *int
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -511,8 +511,8 @@ func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -639,8 +639,8 @@ func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroup
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cdn/mgmt/2015-06-01/cdn/customdomains.go b/services/cdn/mgmt/2015-06-01/cdn/customdomains.go
index 9dfa2ad50518..fb79c97df15e 100644
--- a/services/cdn/mgmt/2015-06-01/cdn/customdomains.go
+++ b/services/cdn/mgmt/2015-06-01/cdn/customdomains.go
@@ -109,9 +109,9 @@ func (client CustomDomainsClient) CreatePreparer(ctx context.Context, customDoma
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) CreateSender(req *http.Request) (future CustomDomainsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -190,9 +190,9 @@ func (client CustomDomainsClient) DeleteIfExistsPreparer(ctx context.Context, cu
// DeleteIfExistsSender sends the DeleteIfExists request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DeleteIfExistsSender(req *http.Request) (future CustomDomainsDeleteIfExistsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -277,8 +277,8 @@ func (client CustomDomainsClient) GetPreparer(ctx context.Context, customDomainN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -356,8 +356,8 @@ func (client CustomDomainsClient) ListByEndpointPreparer(ctx context.Context, en
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
@@ -440,8 +440,8 @@ func (client CustomDomainsClient) UpdatePreparer(ctx context.Context, customDoma
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cdn/mgmt/2015-06-01/cdn/endpoints.go b/services/cdn/mgmt/2015-06-01/cdn/endpoints.go
index 184743c6b855..651d53a55e10 100644
--- a/services/cdn/mgmt/2015-06-01/cdn/endpoints.go
+++ b/services/cdn/mgmt/2015-06-01/cdn/endpoints.go
@@ -108,9 +108,9 @@ func (client EndpointsClient) CreatePreparer(ctx context.Context, endpointName s
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) CreateSender(req *http.Request) (future EndpointsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -187,9 +187,9 @@ func (client EndpointsClient) DeleteIfExistsPreparer(ctx context.Context, endpoi
// DeleteIfExistsSender sends the DeleteIfExists request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) DeleteIfExistsSender(req *http.Request) (future EndpointsDeleteIfExistsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -271,8 +271,8 @@ func (client EndpointsClient) GetPreparer(ctx context.Context, endpointName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -348,8 +348,8 @@ func (client EndpointsClient) ListByProfilePreparer(ctx context.Context, profile
// ListByProfileSender sends the ListByProfile request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListByProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByProfileResponder handles the response to the ListByProfile request. The method always
@@ -430,9 +430,9 @@ func (client EndpointsClient) LoadContentPreparer(ctx context.Context, endpointN
// LoadContentSender sends the LoadContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) LoadContentSender(req *http.Request) (future EndpointsLoadContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -517,9 +517,9 @@ func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, endpoint
// PurgeContentSender sends the PurgeContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -595,9 +595,9 @@ func (client EndpointsClient) StartPreparer(ctx context.Context, endpointName st
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StartSender(req *http.Request) (future EndpointsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -674,9 +674,9 @@ func (client EndpointsClient) StopPreparer(ctx context.Context, endpointName str
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StopSender(req *http.Request) (future EndpointsStopFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -756,9 +756,9 @@ func (client EndpointsClient) UpdatePreparer(ctx context.Context, endpointName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) UpdateSender(req *http.Request) (future EndpointsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -850,8 +850,8 @@ func (client EndpointsClient) ValidateCustomDomainPreparer(ctx context.Context,
// ValidateCustomDomainSender sends the ValidateCustomDomain request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ValidateCustomDomainResponder handles the response to the ValidateCustomDomain request. The method always
diff --git a/services/cdn/mgmt/2015-06-01/cdn/nameavailability.go b/services/cdn/mgmt/2015-06-01/cdn/nameavailability.go
index eb8ad7a4adcd..30983198c598 100644
--- a/services/cdn/mgmt/2015-06-01/cdn/nameavailability.go
+++ b/services/cdn/mgmt/2015-06-01/cdn/nameavailability.go
@@ -103,8 +103,8 @@ func (client NameAvailabilityClient) CheckNameAvailabilityPreparer(ctx context.C
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client NameAvailabilityClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
diff --git a/services/cdn/mgmt/2015-06-01/cdn/operations.go b/services/cdn/mgmt/2015-06-01/cdn/operations.go
index 7d93e4308e52..3cacf2f5de41 100644
--- a/services/cdn/mgmt/2015-06-01/cdn/operations.go
+++ b/services/cdn/mgmt/2015-06-01/cdn/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2015-06-01/cdn/origins.go b/services/cdn/mgmt/2015-06-01/cdn/origins.go
index 83b3dae93f0b..100a35fbb09b 100644
--- a/services/cdn/mgmt/2015-06-01/cdn/origins.go
+++ b/services/cdn/mgmt/2015-06-01/cdn/origins.go
@@ -109,9 +109,9 @@ func (client OriginsClient) CreatePreparer(ctx context.Context, originName strin
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) CreateSender(req *http.Request) (future OriginsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -190,9 +190,9 @@ func (client OriginsClient) DeleteIfExistsPreparer(ctx context.Context, originNa
// DeleteIfExistsSender sends the DeleteIfExists request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) DeleteIfExistsSender(req *http.Request) (future OriginsDeleteIfExistsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -277,8 +277,8 @@ func (client OriginsClient) GetPreparer(ctx context.Context, originName string,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -356,8 +356,8 @@ func (client OriginsClient) ListByEndpointPreparer(ctx context.Context, endpoint
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
@@ -434,9 +434,9 @@ func (client OriginsClient) UpdatePreparer(ctx context.Context, originName strin
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) UpdateSender(req *http.Request) (future OriginsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2015-06-01/cdn/profiles.go b/services/cdn/mgmt/2015-06-01/cdn/profiles.go
index 0bc19cdd3944..a9872a010f41 100644
--- a/services/cdn/mgmt/2015-06-01/cdn/profiles.go
+++ b/services/cdn/mgmt/2015-06-01/cdn/profiles.go
@@ -106,9 +106,9 @@ func (client ProfilesClient) CreatePreparer(ctx context.Context, profileName str
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) CreateSender(req *http.Request) (future ProfilesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -183,9 +183,9 @@ func (client ProfilesClient) DeleteIfExistsPreparer(ctx context.Context, profile
// DeleteIfExistsSender sends the DeleteIfExists request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) DeleteIfExistsSender(req *http.Request) (future ProfilesDeleteIfExistsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -265,8 +265,8 @@ func (client ProfilesClient) GenerateSsoURIPreparer(ctx context.Context, profile
// GenerateSsoURISender sends the GenerateSsoURI request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GenerateSsoURISender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateSsoURIResponder handles the response to the GenerateSsoURI request. The method always
@@ -342,8 +342,8 @@ func (client ProfilesClient) GetPreparer(ctx context.Context, profileName string
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -417,8 +417,8 @@ func (client ProfilesClient) ListByResourceGroupPreparer(ctx context.Context, re
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -489,8 +489,8 @@ func (client ProfilesClient) ListBySubscriptionIDPreparer(ctx context.Context) (
// ListBySubscriptionIDSender sends the ListBySubscriptionID request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionIDResponder handles the response to the ListBySubscriptionID request. The method always
@@ -563,9 +563,9 @@ func (client ProfilesClient) UpdatePreparer(ctx context.Context, profileName str
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) UpdateSender(req *http.Request) (future ProfilesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2016-04-02/cdn/customdomains.go b/services/cdn/mgmt/2016-04-02/cdn/customdomains.go
index e2e9ef612201..a188765b4eb1 100644
--- a/services/cdn/mgmt/2016-04-02/cdn/customdomains.go
+++ b/services/cdn/mgmt/2016-04-02/cdn/customdomains.go
@@ -109,9 +109,9 @@ func (client CustomDomainsClient) CreatePreparer(ctx context.Context, customDoma
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) CreateSender(req *http.Request) (future CustomDomainsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -190,9 +190,9 @@ func (client CustomDomainsClient) DeleteIfExistsPreparer(ctx context.Context, cu
// DeleteIfExistsSender sends the DeleteIfExists request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DeleteIfExistsSender(req *http.Request) (future CustomDomainsDeleteIfExistsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -277,8 +277,8 @@ func (client CustomDomainsClient) GetPreparer(ctx context.Context, customDomainN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -356,8 +356,8 @@ func (client CustomDomainsClient) ListByEndpointPreparer(ctx context.Context, en
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
@@ -440,8 +440,8 @@ func (client CustomDomainsClient) UpdatePreparer(ctx context.Context, customDoma
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cdn/mgmt/2016-04-02/cdn/endpoints.go b/services/cdn/mgmt/2016-04-02/cdn/endpoints.go
index 5b5729b0a861..f07c0a17d159 100644
--- a/services/cdn/mgmt/2016-04-02/cdn/endpoints.go
+++ b/services/cdn/mgmt/2016-04-02/cdn/endpoints.go
@@ -108,9 +108,9 @@ func (client EndpointsClient) CreatePreparer(ctx context.Context, endpointName s
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) CreateSender(req *http.Request) (future EndpointsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -187,9 +187,9 @@ func (client EndpointsClient) DeleteIfExistsPreparer(ctx context.Context, endpoi
// DeleteIfExistsSender sends the DeleteIfExists request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) DeleteIfExistsSender(req *http.Request) (future EndpointsDeleteIfExistsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -271,8 +271,8 @@ func (client EndpointsClient) GetPreparer(ctx context.Context, endpointName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -348,8 +348,8 @@ func (client EndpointsClient) ListByProfilePreparer(ctx context.Context, profile
// ListByProfileSender sends the ListByProfile request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListByProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByProfileResponder handles the response to the ListByProfile request. The method always
@@ -430,9 +430,9 @@ func (client EndpointsClient) LoadContentPreparer(ctx context.Context, endpointN
// LoadContentSender sends the LoadContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) LoadContentSender(req *http.Request) (future EndpointsLoadContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -517,9 +517,9 @@ func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, endpoint
// PurgeContentSender sends the PurgeContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -595,9 +595,9 @@ func (client EndpointsClient) StartPreparer(ctx context.Context, endpointName st
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StartSender(req *http.Request) (future EndpointsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -674,9 +674,9 @@ func (client EndpointsClient) StopPreparer(ctx context.Context, endpointName str
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StopSender(req *http.Request) (future EndpointsStopFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -756,9 +756,9 @@ func (client EndpointsClient) UpdatePreparer(ctx context.Context, endpointName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) UpdateSender(req *http.Request) (future EndpointsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -850,8 +850,8 @@ func (client EndpointsClient) ValidateCustomDomainPreparer(ctx context.Context,
// ValidateCustomDomainSender sends the ValidateCustomDomain request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ValidateCustomDomainResponder handles the response to the ValidateCustomDomain request. The method always
diff --git a/services/cdn/mgmt/2016-04-02/cdn/nameavailability.go b/services/cdn/mgmt/2016-04-02/cdn/nameavailability.go
index 2f1aa919c09d..37ee20d1acbc 100644
--- a/services/cdn/mgmt/2016-04-02/cdn/nameavailability.go
+++ b/services/cdn/mgmt/2016-04-02/cdn/nameavailability.go
@@ -103,8 +103,8 @@ func (client NameAvailabilityClient) CheckNameAvailabilityPreparer(ctx context.C
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client NameAvailabilityClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
diff --git a/services/cdn/mgmt/2016-04-02/cdn/operations.go b/services/cdn/mgmt/2016-04-02/cdn/operations.go
index 53b8ed7b85fe..e14fe0e9c84e 100644
--- a/services/cdn/mgmt/2016-04-02/cdn/operations.go
+++ b/services/cdn/mgmt/2016-04-02/cdn/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2016-04-02/cdn/origins.go b/services/cdn/mgmt/2016-04-02/cdn/origins.go
index 4880c02dcb48..3ef58de2952b 100644
--- a/services/cdn/mgmt/2016-04-02/cdn/origins.go
+++ b/services/cdn/mgmt/2016-04-02/cdn/origins.go
@@ -109,9 +109,9 @@ func (client OriginsClient) CreatePreparer(ctx context.Context, originName strin
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) CreateSender(req *http.Request) (future OriginsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -190,9 +190,9 @@ func (client OriginsClient) DeleteIfExistsPreparer(ctx context.Context, originNa
// DeleteIfExistsSender sends the DeleteIfExists request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) DeleteIfExistsSender(req *http.Request) (future OriginsDeleteIfExistsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -277,8 +277,8 @@ func (client OriginsClient) GetPreparer(ctx context.Context, originName string,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -356,8 +356,8 @@ func (client OriginsClient) ListByEndpointPreparer(ctx context.Context, endpoint
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
@@ -434,9 +434,9 @@ func (client OriginsClient) UpdatePreparer(ctx context.Context, originName strin
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) UpdateSender(req *http.Request) (future OriginsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2016-04-02/cdn/profiles.go b/services/cdn/mgmt/2016-04-02/cdn/profiles.go
index 489f28dbb10e..1876169d0f87 100644
--- a/services/cdn/mgmt/2016-04-02/cdn/profiles.go
+++ b/services/cdn/mgmt/2016-04-02/cdn/profiles.go
@@ -105,9 +105,9 @@ func (client ProfilesClient) CreatePreparer(ctx context.Context, profileName str
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) CreateSender(req *http.Request) (future ProfilesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -182,9 +182,9 @@ func (client ProfilesClient) DeleteIfExistsPreparer(ctx context.Context, profile
// DeleteIfExistsSender sends the DeleteIfExists request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) DeleteIfExistsSender(req *http.Request) (future ProfilesDeleteIfExistsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -264,8 +264,8 @@ func (client ProfilesClient) GenerateSsoURIPreparer(ctx context.Context, profile
// GenerateSsoURISender sends the GenerateSsoURI request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GenerateSsoURISender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateSsoURIResponder handles the response to the GenerateSsoURI request. The method always
@@ -341,8 +341,8 @@ func (client ProfilesClient) GetPreparer(ctx context.Context, profileName string
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -416,8 +416,8 @@ func (client ProfilesClient) ListByResourceGroupPreparer(ctx context.Context, re
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -488,8 +488,8 @@ func (client ProfilesClient) ListBySubscriptionIDPreparer(ctx context.Context) (
// ListBySubscriptionIDSender sends the ListBySubscriptionID request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionIDResponder handles the response to the ListBySubscriptionID request. The method always
@@ -562,9 +562,9 @@ func (client ProfilesClient) UpdatePreparer(ctx context.Context, profileName str
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) UpdateSender(req *http.Request) (future ProfilesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2016-10-02/cdn/client.go b/services/cdn/mgmt/2016-10-02/cdn/client.go
index 521f8e78e921..ed957ccee436 100644
--- a/services/cdn/mgmt/2016-10-02/cdn/client.go
+++ b/services/cdn/mgmt/2016-10-02/cdn/client.go
@@ -118,8 +118,8 @@ func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, chec
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -187,8 +187,8 @@ func (client BaseClient) ListOperationsPreparer(ctx context.Context) (*http.Requ
// ListOperationsSender sends the ListOperations request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ListOperationsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOperationsResponder handles the response to the ListOperations request. The method always
@@ -297,8 +297,8 @@ func (client BaseClient) ListResourceUsagePreparer(ctx context.Context) (*http.R
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
diff --git a/services/cdn/mgmt/2016-10-02/cdn/customdomains.go b/services/cdn/mgmt/2016-10-02/cdn/customdomains.go
index 7b0b23a027f1..6ff77729c96b 100644
--- a/services/cdn/mgmt/2016-10-02/cdn/customdomains.go
+++ b/services/cdn/mgmt/2016-10-02/cdn/customdomains.go
@@ -113,9 +113,9 @@ func (client CustomDomainsClient) CreatePreparer(ctx context.Context, resourceGr
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) CreateSender(req *http.Request) (future CustomDomainsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -202,9 +202,9 @@ func (client CustomDomainsClient) DeletePreparer(ctx context.Context, resourceGr
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DeleteSender(req *http.Request) (future CustomDomainsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client CustomDomainsClient) DisableCustomHTTPSPreparer(ctx context.Context
// DisableCustomHTTPSSender sends the DisableCustomHTTPS request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DisableCustomHTTPSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableCustomHTTPSResponder handles the response to the DisableCustomHTTPS request. The method always
@@ -386,8 +386,8 @@ func (client CustomDomainsClient) EnableCustomHTTPSPreparer(ctx context.Context,
// EnableCustomHTTPSSender sends the EnableCustomHTTPS request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) EnableCustomHTTPSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableCustomHTTPSResponder handles the response to the EnableCustomHTTPS request. The method always
@@ -475,8 +475,8 @@ func (client CustomDomainsClient) GetPreparer(ctx context.Context, resourceGroup
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -563,8 +563,8 @@ func (client CustomDomainsClient) ListByEndpointPreparer(ctx context.Context, re
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
diff --git a/services/cdn/mgmt/2016-10-02/cdn/edgenodes.go b/services/cdn/mgmt/2016-10-02/cdn/edgenodes.go
index d7ded46f8384..8f164c2bf1d3 100644
--- a/services/cdn/mgmt/2016-10-02/cdn/edgenodes.go
+++ b/services/cdn/mgmt/2016-10-02/cdn/edgenodes.go
@@ -92,8 +92,8 @@ func (client EdgeNodesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client EdgeNodesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2016-10-02/cdn/endpoints.go b/services/cdn/mgmt/2016-10-02/cdn/endpoints.go
index be76df273c12..7144a1ff7b2c 100644
--- a/services/cdn/mgmt/2016-10-02/cdn/endpoints.go
+++ b/services/cdn/mgmt/2016-10-02/cdn/endpoints.go
@@ -112,9 +112,9 @@ func (client EndpointsClient) CreatePreparer(ctx context.Context, resourceGroupN
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) CreateSender(req *http.Request) (future EndpointsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -200,9 +200,9 @@ func (client EndpointsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) DeleteSender(req *http.Request) (future EndpointsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -293,8 +293,8 @@ func (client EndpointsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -379,8 +379,8 @@ func (client EndpointsClient) ListByProfilePreparer(ctx context.Context, resourc
// ListByProfileSender sends the ListByProfile request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListByProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByProfileResponder handles the response to the ListByProfile request. The method always
@@ -504,8 +504,8 @@ func (client EndpointsClient) ListResourceUsagePreparer(ctx context.Context, res
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
@@ -628,9 +628,9 @@ func (client EndpointsClient) LoadContentPreparer(ctx context.Context, resourceG
// LoadContentSender sends the LoadContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) LoadContentSender(req *http.Request) (future EndpointsLoadContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -721,9 +721,9 @@ func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, resource
// PurgeContentSender sends the PurgeContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -807,9 +807,9 @@ func (client EndpointsClient) StartPreparer(ctx context.Context, resourceGroupNa
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StartSender(req *http.Request) (future EndpointsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -894,9 +894,9 @@ func (client EndpointsClient) StopPreparer(ctx context.Context, resourceGroupNam
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StopSender(req *http.Request) (future EndpointsStopFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -986,9 +986,9 @@ func (client EndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) UpdateSender(req *http.Request) (future EndpointsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1084,8 +1084,8 @@ func (client EndpointsClient) ValidateCustomDomainPreparer(ctx context.Context,
// ValidateCustomDomainSender sends the ValidateCustomDomain request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ValidateCustomDomainResponder handles the response to the ValidateCustomDomain request. The method always
diff --git a/services/cdn/mgmt/2016-10-02/cdn/origins.go b/services/cdn/mgmt/2016-10-02/cdn/origins.go
index 72bda4f1e059..2f592caa5839 100644
--- a/services/cdn/mgmt/2016-10-02/cdn/origins.go
+++ b/services/cdn/mgmt/2016-10-02/cdn/origins.go
@@ -113,8 +113,8 @@ func (client OriginsClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -201,8 +201,8 @@ func (client OriginsClient) ListByEndpointPreparer(ctx context.Context, resource
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
@@ -324,9 +324,9 @@ func (client OriginsClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) UpdateSender(req *http.Request) (future OriginsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2016-10-02/cdn/profiles.go b/services/cdn/mgmt/2016-10-02/cdn/profiles.go
index 810554fa1763..12703c4eb5c2 100644
--- a/services/cdn/mgmt/2016-10-02/cdn/profiles.go
+++ b/services/cdn/mgmt/2016-10-02/cdn/profiles.go
@@ -108,9 +108,9 @@ func (client ProfilesClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) CreateSender(req *http.Request) (future ProfilesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -194,9 +194,9 @@ func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -287,8 +287,8 @@ func (client ProfilesClient) GenerateSsoURIPreparer(ctx context.Context, resourc
// GenerateSsoURISender sends the GenerateSsoURI request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GenerateSsoURISender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateSsoURIResponder handles the response to the GenerateSsoURI request. The method always
@@ -372,8 +372,8 @@ func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -458,8 +458,8 @@ func (client ProfilesClient) GetSupportedOptimizationTypesPreparer(ctx context.C
// GetSupportedOptimizationTypesSender sends the GetSupportedOptimizationTypes request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetSupportedOptimizationTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetSupportedOptimizationTypesResponder handles the response to the GetSupportedOptimizationTypes request. The method always
@@ -531,8 +531,8 @@ func (client ProfilesClient) ListPreparer(ctx context.Context) (*http.Request, e
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -652,8 +652,8 @@ func (client ProfilesClient) ListByResourceGroupPreparer(ctx context.Context, re
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -775,8 +775,8 @@ func (client ProfilesClient) ListResourceUsagePreparer(ctx context.Context, reso
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
@@ -895,9 +895,9 @@ func (client ProfilesClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) UpdateSender(req *http.Request) (future ProfilesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2017-04-02/cdn/client.go b/services/cdn/mgmt/2017-04-02/cdn/client.go
index e17447b15870..b98c0a2d3cb6 100644
--- a/services/cdn/mgmt/2017-04-02/cdn/client.go
+++ b/services/cdn/mgmt/2017-04-02/cdn/client.go
@@ -118,8 +118,8 @@ func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, chec
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -202,8 +202,8 @@ func (client BaseClient) ValidateProbePreparer(ctx context.Context, validateProb
// ValidateProbeSender sends the ValidateProbe request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ValidateProbeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ValidateProbeResponder handles the response to the ValidateProbe request. The method always
diff --git a/services/cdn/mgmt/2017-04-02/cdn/customdomains.go b/services/cdn/mgmt/2017-04-02/cdn/customdomains.go
index e2dc020d5827..1c00a3df0387 100644
--- a/services/cdn/mgmt/2017-04-02/cdn/customdomains.go
+++ b/services/cdn/mgmt/2017-04-02/cdn/customdomains.go
@@ -113,9 +113,9 @@ func (client CustomDomainsClient) CreatePreparer(ctx context.Context, resourceGr
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) CreateSender(req *http.Request) (future CustomDomainsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -202,9 +202,9 @@ func (client CustomDomainsClient) DeletePreparer(ctx context.Context, resourceGr
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DeleteSender(req *http.Request) (future CustomDomainsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client CustomDomainsClient) DisableCustomHTTPSPreparer(ctx context.Context
// DisableCustomHTTPSSender sends the DisableCustomHTTPS request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DisableCustomHTTPSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableCustomHTTPSResponder handles the response to the DisableCustomHTTPS request. The method always
@@ -386,8 +386,8 @@ func (client CustomDomainsClient) EnableCustomHTTPSPreparer(ctx context.Context,
// EnableCustomHTTPSSender sends the EnableCustomHTTPS request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) EnableCustomHTTPSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableCustomHTTPSResponder handles the response to the EnableCustomHTTPS request. The method always
@@ -475,8 +475,8 @@ func (client CustomDomainsClient) GetPreparer(ctx context.Context, resourceGroup
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -563,8 +563,8 @@ func (client CustomDomainsClient) ListByEndpointPreparer(ctx context.Context, re
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
diff --git a/services/cdn/mgmt/2017-04-02/cdn/edgenodes.go b/services/cdn/mgmt/2017-04-02/cdn/edgenodes.go
index 80ab73b2cd61..71188a761520 100644
--- a/services/cdn/mgmt/2017-04-02/cdn/edgenodes.go
+++ b/services/cdn/mgmt/2017-04-02/cdn/edgenodes.go
@@ -92,8 +92,8 @@ func (client EdgeNodesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client EdgeNodesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2017-04-02/cdn/endpoints.go b/services/cdn/mgmt/2017-04-02/cdn/endpoints.go
index 45c79e923648..f860305a6ba1 100644
--- a/services/cdn/mgmt/2017-04-02/cdn/endpoints.go
+++ b/services/cdn/mgmt/2017-04-02/cdn/endpoints.go
@@ -112,9 +112,9 @@ func (client EndpointsClient) CreatePreparer(ctx context.Context, resourceGroupN
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) CreateSender(req *http.Request) (future EndpointsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -200,9 +200,9 @@ func (client EndpointsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) DeleteSender(req *http.Request) (future EndpointsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -293,8 +293,8 @@ func (client EndpointsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -379,8 +379,8 @@ func (client EndpointsClient) ListByProfilePreparer(ctx context.Context, resourc
// ListByProfileSender sends the ListByProfile request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListByProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByProfileResponder handles the response to the ListByProfile request. The method always
@@ -504,8 +504,8 @@ func (client EndpointsClient) ListResourceUsagePreparer(ctx context.Context, res
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
@@ -628,9 +628,9 @@ func (client EndpointsClient) LoadContentPreparer(ctx context.Context, resourceG
// LoadContentSender sends the LoadContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) LoadContentSender(req *http.Request) (future EndpointsLoadContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -721,9 +721,9 @@ func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, resource
// PurgeContentSender sends the PurgeContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -807,9 +807,9 @@ func (client EndpointsClient) StartPreparer(ctx context.Context, resourceGroupNa
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StartSender(req *http.Request) (future EndpointsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -894,9 +894,9 @@ func (client EndpointsClient) StopPreparer(ctx context.Context, resourceGroupNam
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StopSender(req *http.Request) (future EndpointsStopFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -986,9 +986,9 @@ func (client EndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) UpdateSender(req *http.Request) (future EndpointsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1084,8 +1084,8 @@ func (client EndpointsClient) ValidateCustomDomainPreparer(ctx context.Context,
// ValidateCustomDomainSender sends the ValidateCustomDomain request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ValidateCustomDomainResponder handles the response to the ValidateCustomDomain request. The method always
diff --git a/services/cdn/mgmt/2017-04-02/cdn/operations.go b/services/cdn/mgmt/2017-04-02/cdn/operations.go
index 04d8624aadd6..da3c68f303b0 100644
--- a/services/cdn/mgmt/2017-04-02/cdn/operations.go
+++ b/services/cdn/mgmt/2017-04-02/cdn/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2017-04-02/cdn/origins.go b/services/cdn/mgmt/2017-04-02/cdn/origins.go
index c3490a5d30a4..e967a98c0df0 100644
--- a/services/cdn/mgmt/2017-04-02/cdn/origins.go
+++ b/services/cdn/mgmt/2017-04-02/cdn/origins.go
@@ -113,8 +113,8 @@ func (client OriginsClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -201,8 +201,8 @@ func (client OriginsClient) ListByEndpointPreparer(ctx context.Context, resource
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
@@ -324,9 +324,9 @@ func (client OriginsClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) UpdateSender(req *http.Request) (future OriginsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2017-04-02/cdn/profiles.go b/services/cdn/mgmt/2017-04-02/cdn/profiles.go
index d9da282e9c24..98f34e1f801c 100644
--- a/services/cdn/mgmt/2017-04-02/cdn/profiles.go
+++ b/services/cdn/mgmt/2017-04-02/cdn/profiles.go
@@ -108,9 +108,9 @@ func (client ProfilesClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) CreateSender(req *http.Request) (future ProfilesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -194,9 +194,9 @@ func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -287,8 +287,8 @@ func (client ProfilesClient) GenerateSsoURIPreparer(ctx context.Context, resourc
// GenerateSsoURISender sends the GenerateSsoURI request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GenerateSsoURISender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateSsoURIResponder handles the response to the GenerateSsoURI request. The method always
@@ -372,8 +372,8 @@ func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -445,8 +445,8 @@ func (client ProfilesClient) ListPreparer(ctx context.Context) (*http.Request, e
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -566,8 +566,8 @@ func (client ProfilesClient) ListByResourceGroupPreparer(ctx context.Context, re
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -689,8 +689,8 @@ func (client ProfilesClient) ListResourceUsagePreparer(ctx context.Context, reso
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
@@ -812,8 +812,8 @@ func (client ProfilesClient) ListSupportedOptimizationTypesPreparer(ctx context.
// ListSupportedOptimizationTypesSender sends the ListSupportedOptimizationTypes request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListSupportedOptimizationTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSupportedOptimizationTypesResponder handles the response to the ListSupportedOptimizationTypes request. The method always
@@ -895,9 +895,9 @@ func (client ProfilesClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) UpdateSender(req *http.Request) (future ProfilesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2017-04-02/cdn/resourceusage.go b/services/cdn/mgmt/2017-04-02/cdn/resourceusage.go
index 19745f786c18..09d259a7aa8e 100644
--- a/services/cdn/mgmt/2017-04-02/cdn/resourceusage.go
+++ b/services/cdn/mgmt/2017-04-02/cdn/resourceusage.go
@@ -96,8 +96,8 @@ func (client ResourceUsageClient) ListPreparer(ctx context.Context) (*http.Reque
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceUsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2017-10-12/cdn/client.go b/services/cdn/mgmt/2017-10-12/cdn/client.go
index e1f20ce1fcb6..df3714c94d58 100644
--- a/services/cdn/mgmt/2017-10-12/cdn/client.go
+++ b/services/cdn/mgmt/2017-10-12/cdn/client.go
@@ -118,8 +118,8 @@ func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, chec
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -202,8 +202,8 @@ func (client BaseClient) CheckNameAvailabilityWithSubscriptionPreparer(ctx conte
// CheckNameAvailabilityWithSubscriptionSender sends the CheckNameAvailabilityWithSubscription request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CheckNameAvailabilityWithSubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityWithSubscriptionResponder handles the response to the CheckNameAvailabilityWithSubscription request. The method always
@@ -286,8 +286,8 @@ func (client BaseClient) ValidateProbePreparer(ctx context.Context, validateProb
// ValidateProbeSender sends the ValidateProbe request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ValidateProbeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ValidateProbeResponder handles the response to the ValidateProbe request. The method always
diff --git a/services/cdn/mgmt/2017-10-12/cdn/customdomains.go b/services/cdn/mgmt/2017-10-12/cdn/customdomains.go
index 59f4406382c1..7fe0bdd42003 100644
--- a/services/cdn/mgmt/2017-10-12/cdn/customdomains.go
+++ b/services/cdn/mgmt/2017-10-12/cdn/customdomains.go
@@ -113,9 +113,9 @@ func (client CustomDomainsClient) CreatePreparer(ctx context.Context, resourceGr
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) CreateSender(req *http.Request) (future CustomDomainsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -202,9 +202,9 @@ func (client CustomDomainsClient) DeletePreparer(ctx context.Context, resourceGr
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DeleteSender(req *http.Request) (future CustomDomainsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client CustomDomainsClient) DisableCustomHTTPSPreparer(ctx context.Context
// DisableCustomHTTPSSender sends the DisableCustomHTTPS request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DisableCustomHTTPSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableCustomHTTPSResponder handles the response to the DisableCustomHTTPS request. The method always
@@ -394,8 +394,8 @@ func (client CustomDomainsClient) EnableCustomHTTPSPreparer(ctx context.Context,
// EnableCustomHTTPSSender sends the EnableCustomHTTPS request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) EnableCustomHTTPSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableCustomHTTPSResponder handles the response to the EnableCustomHTTPS request. The method always
@@ -483,8 +483,8 @@ func (client CustomDomainsClient) GetPreparer(ctx context.Context, resourceGroup
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -571,8 +571,8 @@ func (client CustomDomainsClient) ListByEndpointPreparer(ctx context.Context, re
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
diff --git a/services/cdn/mgmt/2017-10-12/cdn/edgenodes.go b/services/cdn/mgmt/2017-10-12/cdn/edgenodes.go
index fc3ebcde52f8..11f184afda4e 100644
--- a/services/cdn/mgmt/2017-10-12/cdn/edgenodes.go
+++ b/services/cdn/mgmt/2017-10-12/cdn/edgenodes.go
@@ -92,8 +92,8 @@ func (client EdgeNodesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client EdgeNodesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2017-10-12/cdn/endpoints.go b/services/cdn/mgmt/2017-10-12/cdn/endpoints.go
index 4b606b73816a..1b780ee65646 100644
--- a/services/cdn/mgmt/2017-10-12/cdn/endpoints.go
+++ b/services/cdn/mgmt/2017-10-12/cdn/endpoints.go
@@ -112,9 +112,9 @@ func (client EndpointsClient) CreatePreparer(ctx context.Context, resourceGroupN
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) CreateSender(req *http.Request) (future EndpointsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -200,9 +200,9 @@ func (client EndpointsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) DeleteSender(req *http.Request) (future EndpointsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -293,8 +293,8 @@ func (client EndpointsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -379,8 +379,8 @@ func (client EndpointsClient) ListByProfilePreparer(ctx context.Context, resourc
// ListByProfileSender sends the ListByProfile request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListByProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByProfileResponder handles the response to the ListByProfile request. The method always
@@ -504,8 +504,8 @@ func (client EndpointsClient) ListResourceUsagePreparer(ctx context.Context, res
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
@@ -628,9 +628,9 @@ func (client EndpointsClient) LoadContentPreparer(ctx context.Context, resourceG
// LoadContentSender sends the LoadContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) LoadContentSender(req *http.Request) (future EndpointsLoadContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -721,9 +721,9 @@ func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, resource
// PurgeContentSender sends the PurgeContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -807,9 +807,9 @@ func (client EndpointsClient) StartPreparer(ctx context.Context, resourceGroupNa
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StartSender(req *http.Request) (future EndpointsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -894,9 +894,9 @@ func (client EndpointsClient) StopPreparer(ctx context.Context, resourceGroupNam
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StopSender(req *http.Request) (future EndpointsStopFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -986,9 +986,9 @@ func (client EndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) UpdateSender(req *http.Request) (future EndpointsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1084,8 +1084,8 @@ func (client EndpointsClient) ValidateCustomDomainPreparer(ctx context.Context,
// ValidateCustomDomainSender sends the ValidateCustomDomain request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ValidateCustomDomainResponder handles the response to the ValidateCustomDomain request. The method always
diff --git a/services/cdn/mgmt/2017-10-12/cdn/operations.go b/services/cdn/mgmt/2017-10-12/cdn/operations.go
index a8cdf4654228..c6c4ee5e5446 100644
--- a/services/cdn/mgmt/2017-10-12/cdn/operations.go
+++ b/services/cdn/mgmt/2017-10-12/cdn/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2017-10-12/cdn/origins.go b/services/cdn/mgmt/2017-10-12/cdn/origins.go
index f65cf8f32d8f..0fe220e021e2 100644
--- a/services/cdn/mgmt/2017-10-12/cdn/origins.go
+++ b/services/cdn/mgmt/2017-10-12/cdn/origins.go
@@ -113,8 +113,8 @@ func (client OriginsClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -201,8 +201,8 @@ func (client OriginsClient) ListByEndpointPreparer(ctx context.Context, resource
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
@@ -324,9 +324,9 @@ func (client OriginsClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) UpdateSender(req *http.Request) (future OriginsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2017-10-12/cdn/profiles.go b/services/cdn/mgmt/2017-10-12/cdn/profiles.go
index 5afbc9ba7498..77b127b13d3b 100644
--- a/services/cdn/mgmt/2017-10-12/cdn/profiles.go
+++ b/services/cdn/mgmt/2017-10-12/cdn/profiles.go
@@ -108,9 +108,9 @@ func (client ProfilesClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) CreateSender(req *http.Request) (future ProfilesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -194,9 +194,9 @@ func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -287,8 +287,8 @@ func (client ProfilesClient) GenerateSsoURIPreparer(ctx context.Context, resourc
// GenerateSsoURISender sends the GenerateSsoURI request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GenerateSsoURISender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateSsoURIResponder handles the response to the GenerateSsoURI request. The method always
@@ -372,8 +372,8 @@ func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -445,8 +445,8 @@ func (client ProfilesClient) ListPreparer(ctx context.Context) (*http.Request, e
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -566,8 +566,8 @@ func (client ProfilesClient) ListByResourceGroupPreparer(ctx context.Context, re
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -689,8 +689,8 @@ func (client ProfilesClient) ListResourceUsagePreparer(ctx context.Context, reso
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
@@ -812,8 +812,8 @@ func (client ProfilesClient) ListSupportedOptimizationTypesPreparer(ctx context.
// ListSupportedOptimizationTypesSender sends the ListSupportedOptimizationTypes request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListSupportedOptimizationTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSupportedOptimizationTypesResponder handles the response to the ListSupportedOptimizationTypes request. The method always
@@ -895,9 +895,9 @@ func (client ProfilesClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) UpdateSender(req *http.Request) (future ProfilesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2017-10-12/cdn/resourceusage.go b/services/cdn/mgmt/2017-10-12/cdn/resourceusage.go
index 92504b16261b..42995a73dbd0 100644
--- a/services/cdn/mgmt/2017-10-12/cdn/resourceusage.go
+++ b/services/cdn/mgmt/2017-10-12/cdn/resourceusage.go
@@ -96,8 +96,8 @@ func (client ResourceUsageClient) ListPreparer(ctx context.Context) (*http.Reque
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceUsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2019-04-15/cdn/client.go b/services/cdn/mgmt/2019-04-15/cdn/client.go
index bb5506ccbc30..423a5b0f186b 100644
--- a/services/cdn/mgmt/2019-04-15/cdn/client.go
+++ b/services/cdn/mgmt/2019-04-15/cdn/client.go
@@ -118,8 +118,8 @@ func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, chec
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -202,8 +202,8 @@ func (client BaseClient) CheckNameAvailabilityWithSubscriptionPreparer(ctx conte
// CheckNameAvailabilityWithSubscriptionSender sends the CheckNameAvailabilityWithSubscription request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CheckNameAvailabilityWithSubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityWithSubscriptionResponder handles the response to the CheckNameAvailabilityWithSubscription request. The method always
@@ -286,8 +286,8 @@ func (client BaseClient) ValidateProbePreparer(ctx context.Context, validateProb
// ValidateProbeSender sends the ValidateProbe request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ValidateProbeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ValidateProbeResponder handles the response to the ValidateProbe request. The method always
diff --git a/services/cdn/mgmt/2019-04-15/cdn/customdomains.go b/services/cdn/mgmt/2019-04-15/cdn/customdomains.go
index 228f025f190b..98a215398ac0 100644
--- a/services/cdn/mgmt/2019-04-15/cdn/customdomains.go
+++ b/services/cdn/mgmt/2019-04-15/cdn/customdomains.go
@@ -113,9 +113,9 @@ func (client CustomDomainsClient) CreatePreparer(ctx context.Context, resourceGr
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) CreateSender(req *http.Request) (future CustomDomainsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -202,9 +202,9 @@ func (client CustomDomainsClient) DeletePreparer(ctx context.Context, resourceGr
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DeleteSender(req *http.Request) (future CustomDomainsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client CustomDomainsClient) DisableCustomHTTPSPreparer(ctx context.Context
// DisableCustomHTTPSSender sends the DisableCustomHTTPS request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) DisableCustomHTTPSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DisableCustomHTTPSResponder handles the response to the DisableCustomHTTPS request. The method always
@@ -394,8 +394,8 @@ func (client CustomDomainsClient) EnableCustomHTTPSPreparer(ctx context.Context,
// EnableCustomHTTPSSender sends the EnableCustomHTTPS request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) EnableCustomHTTPSSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// EnableCustomHTTPSResponder handles the response to the EnableCustomHTTPS request. The method always
@@ -483,8 +483,8 @@ func (client CustomDomainsClient) GetPreparer(ctx context.Context, resourceGroup
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -571,8 +571,8 @@ func (client CustomDomainsClient) ListByEndpointPreparer(ctx context.Context, re
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client CustomDomainsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
diff --git a/services/cdn/mgmt/2019-04-15/cdn/edgenodes.go b/services/cdn/mgmt/2019-04-15/cdn/edgenodes.go
index b22636e6dc35..4301bf55001d 100644
--- a/services/cdn/mgmt/2019-04-15/cdn/edgenodes.go
+++ b/services/cdn/mgmt/2019-04-15/cdn/edgenodes.go
@@ -92,8 +92,8 @@ func (client EdgeNodesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client EdgeNodesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2019-04-15/cdn/endpoints.go b/services/cdn/mgmt/2019-04-15/cdn/endpoints.go
index e62321f62bc2..9d7e2925cfb1 100644
--- a/services/cdn/mgmt/2019-04-15/cdn/endpoints.go
+++ b/services/cdn/mgmt/2019-04-15/cdn/endpoints.go
@@ -112,9 +112,9 @@ func (client EndpointsClient) CreatePreparer(ctx context.Context, resourceGroupN
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) CreateSender(req *http.Request) (future EndpointsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -200,9 +200,9 @@ func (client EndpointsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) DeleteSender(req *http.Request) (future EndpointsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -293,8 +293,8 @@ func (client EndpointsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -379,8 +379,8 @@ func (client EndpointsClient) ListByProfilePreparer(ctx context.Context, resourc
// ListByProfileSender sends the ListByProfile request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListByProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByProfileResponder handles the response to the ListByProfile request. The method always
@@ -504,8 +504,8 @@ func (client EndpointsClient) ListResourceUsagePreparer(ctx context.Context, res
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
@@ -628,9 +628,9 @@ func (client EndpointsClient) LoadContentPreparer(ctx context.Context, resourceG
// LoadContentSender sends the LoadContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) LoadContentSender(req *http.Request) (future EndpointsLoadContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -721,9 +721,9 @@ func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, resource
// PurgeContentSender sends the PurgeContent request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -807,9 +807,9 @@ func (client EndpointsClient) StartPreparer(ctx context.Context, resourceGroupNa
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StartSender(req *http.Request) (future EndpointsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -894,9 +894,9 @@ func (client EndpointsClient) StopPreparer(ctx context.Context, resourceGroupNam
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) StopSender(req *http.Request) (future EndpointsStopFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -986,9 +986,9 @@ func (client EndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) UpdateSender(req *http.Request) (future EndpointsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1084,8 +1084,8 @@ func (client EndpointsClient) ValidateCustomDomainPreparer(ctx context.Context,
// ValidateCustomDomainSender sends the ValidateCustomDomain request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ValidateCustomDomainResponder handles the response to the ValidateCustomDomain request. The method always
diff --git a/services/cdn/mgmt/2019-04-15/cdn/models.go b/services/cdn/mgmt/2019-04-15/cdn/models.go
index 58143c7b0919..504a6cac16d5 100644
--- a/services/cdn/mgmt/2019-04-15/cdn/models.go
+++ b/services/cdn/mgmt/2019-04-15/cdn/models.go
@@ -263,6 +263,8 @@ type NameBasicDeliveryRuleAction string
const (
// NameCacheExpiration ...
NameCacheExpiration NameBasicDeliveryRuleAction = "CacheExpiration"
+ // NameCacheKeyQueryString ...
+ NameCacheKeyQueryString NameBasicDeliveryRuleAction = "CacheKeyQueryString"
// NameDeliveryRuleAction ...
NameDeliveryRuleAction NameBasicDeliveryRuleAction = "DeliveryRuleAction"
// NameModifyRequestHeader ...
@@ -271,11 +273,13 @@ const (
NameModifyResponseHeader NameBasicDeliveryRuleAction = "ModifyResponseHeader"
// NameURLRedirect ...
NameURLRedirect NameBasicDeliveryRuleAction = "UrlRedirect"
+ // NameURLRewrite ...
+ NameURLRewrite NameBasicDeliveryRuleAction = "UrlRewrite"
)
// PossibleNameBasicDeliveryRuleActionValues returns an array of possible values for the NameBasicDeliveryRuleAction const type.
func PossibleNameBasicDeliveryRuleActionValues() []NameBasicDeliveryRuleAction {
- return []NameBasicDeliveryRuleAction{NameCacheExpiration, NameDeliveryRuleAction, NameModifyRequestHeader, NameModifyResponseHeader, NameURLRedirect}
+ return []NameBasicDeliveryRuleAction{NameCacheExpiration, NameCacheKeyQueryString, NameDeliveryRuleAction, NameModifyRequestHeader, NameModifyResponseHeader, NameURLRedirect, NameURLRewrite}
}
// OptimizationType enumerates the values for optimization type.
@@ -379,6 +383,25 @@ func PossibleProtocolTypeValues() []ProtocolType {
return []ProtocolType{IPBased, ServerNameIndication}
}
+// QueryStringBehavior enumerates the values for query string behavior.
+type QueryStringBehavior string
+
+const (
+ // Exclude ...
+ Exclude QueryStringBehavior = "Exclude"
+ // ExcludeAll ...
+ ExcludeAll QueryStringBehavior = "ExcludeAll"
+ // Include ...
+ Include QueryStringBehavior = "Include"
+ // IncludeAll ...
+ IncludeAll QueryStringBehavior = "IncludeAll"
+)
+
+// PossibleQueryStringBehaviorValues returns an array of possible values for the QueryStringBehavior const type.
+func PossibleQueryStringBehaviorValues() []QueryStringBehavior {
+ return []QueryStringBehavior{Exclude, ExcludeAll, Include, IncludeAll}
+}
+
// QueryStringCachingBehavior enumerates the values for query string caching behavior.
type QueryStringCachingBehavior string
@@ -703,6 +726,15 @@ type CacheExpirationActionParameters struct {
CacheDuration *string `json:"cacheDuration,omitempty"`
}
+// CacheKeyQueryStringActionParameters defines the parameters for the cache-key query string action.
+type CacheKeyQueryStringActionParameters struct {
+ OdataType *string `json:"@odata.type,omitempty"`
+ // QueryStringBehavior - Caching behavior for the requests. Possible values include: 'Include', 'IncludeAll', 'Exclude', 'ExcludeAll'
+ QueryStringBehavior QueryStringBehavior `json:"queryStringBehavior,omitempty"`
+ // QueryParameters - query parameters to include or exclude (comma separated).
+ QueryParameters *string `json:"queryParameters,omitempty"`
+}
+
// CertificateSourceParameters defines the parameters for using CDN managed certificate for securing custom
// domain.
type CertificateSourceParameters struct {
@@ -1292,15 +1324,17 @@ func (dr *DeliveryRule) UnmarshalJSON(body []byte) error {
// BasicDeliveryRuleAction an action for the delivery rule.
type BasicDeliveryRuleAction interface {
AsURLRedirectAction() (*URLRedirectAction, bool)
+ AsURLRewriteAction() (*URLRewriteAction, bool)
AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)
AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)
AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)
+ AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)
AsDeliveryRuleAction() (*DeliveryRuleAction, bool)
}
// DeliveryRuleAction an action for the delivery rule.
type DeliveryRuleAction struct {
- // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration'
+ // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameURLRewrite', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration', 'NameCacheKeyQueryString'
Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}
@@ -1316,6 +1350,10 @@ func unmarshalBasicDeliveryRuleAction(body []byte) (BasicDeliveryRuleAction, err
var ura URLRedirectAction
err := json.Unmarshal(body, &ura)
return ura, err
+ case string(NameURLRewrite):
+ var ura URLRewriteAction
+ err := json.Unmarshal(body, &ura)
+ return ura, err
case string(NameModifyRequestHeader):
var drrha DeliveryRuleRequestHeaderAction
err := json.Unmarshal(body, &drrha)
@@ -1328,6 +1366,10 @@ func unmarshalBasicDeliveryRuleAction(body []byte) (BasicDeliveryRuleAction, err
var drcea DeliveryRuleCacheExpirationAction
err := json.Unmarshal(body, &drcea)
return drcea, err
+ case string(NameCacheKeyQueryString):
+ var drckqsa DeliveryRuleCacheKeyQueryStringAction
+ err := json.Unmarshal(body, &drckqsa)
+ return drckqsa, err
default:
var dra DeliveryRuleAction
err := json.Unmarshal(body, &dra)
@@ -1368,6 +1410,11 @@ func (dra DeliveryRuleAction) AsURLRedirectAction() (*URLRedirectAction, bool) {
return nil, false
}
+// AsURLRewriteAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.
+func (dra DeliveryRuleAction) AsURLRewriteAction() (*URLRewriteAction, bool) {
+ return nil, false
+}
+
// AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.
func (dra DeliveryRuleAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool) {
return nil, false
@@ -1383,6 +1430,11 @@ func (dra DeliveryRuleAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRu
return nil, false
}
+// AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.
+func (dra DeliveryRuleAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool) {
+ return nil, false
+}
+
// AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.
func (dra DeliveryRuleAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool) {
return &dra, true
@@ -1397,7 +1449,7 @@ func (dra DeliveryRuleAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleActi
type DeliveryRuleCacheExpirationAction struct {
// Parameters - Defines the parameters for the action.
Parameters *CacheExpirationActionParameters `json:"parameters,omitempty"`
- // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration'
+ // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameURLRewrite', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration', 'NameCacheKeyQueryString'
Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}
@@ -1419,6 +1471,11 @@ func (drcea DeliveryRuleCacheExpirationAction) AsURLRedirectAction() (*URLRedire
return nil, false
}
+// AsURLRewriteAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.
+func (drcea DeliveryRuleCacheExpirationAction) AsURLRewriteAction() (*URLRewriteAction, bool) {
+ return nil, false
+}
+
// AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.
func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool) {
return nil, false
@@ -1434,6 +1491,11 @@ func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleCacheExpirationActi
return &drcea, true
}
+// AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.
+func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool) {
+ return nil, false
+}
+
// AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.
func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool) {
return nil, false
@@ -1444,6 +1506,67 @@ func (drcea DeliveryRuleCacheExpirationAction) AsBasicDeliveryRuleAction() (Basi
return &drcea, true
}
+// DeliveryRuleCacheKeyQueryStringAction defines the cache-key query string action for the delivery rule.
+type DeliveryRuleCacheKeyQueryStringAction struct {
+ // Parameters - Defines the parameters for the action.
+ Parameters *CacheKeyQueryStringActionParameters `json:"parameters,omitempty"`
+ // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameURLRewrite', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration', 'NameCacheKeyQueryString'
+ Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DeliveryRuleCacheKeyQueryStringAction.
+func (drckqsa DeliveryRuleCacheKeyQueryStringAction) MarshalJSON() ([]byte, error) {
+ drckqsa.Name = NameCacheKeyQueryString
+ objectMap := make(map[string]interface{})
+ if drckqsa.Parameters != nil {
+ objectMap["parameters"] = drckqsa.Parameters
+ }
+ if drckqsa.Name != "" {
+ objectMap["name"] = drckqsa.Name
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.
+func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsURLRedirectAction() (*URLRedirectAction, bool) {
+ return nil, false
+}
+
+// AsURLRewriteAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.
+func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsURLRewriteAction() (*URLRewriteAction, bool) {
+ return nil, false
+}
+
+// AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.
+func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool) {
+ return nil, false
+}
+
+// AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.
+func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool) {
+ return nil, false
+}
+
+// AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.
+func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool) {
+ return nil, false
+}
+
+// AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.
+func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool) {
+ return &drckqsa, true
+}
+
+// AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.
+func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool) {
+ return nil, false
+}
+
+// AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.
+func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool) {
+ return &drckqsa, true
+}
+
// BasicDeliveryRuleCondition a condition for the delivery rule.
type BasicDeliveryRuleCondition interface {
AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
@@ -2087,7 +2210,7 @@ func (drrbc DeliveryRuleRequestBodyCondition) AsBasicDeliveryRuleCondition() (Ba
type DeliveryRuleRequestHeaderAction struct {
// Parameters - Defines the parameters for the action.
Parameters *HeaderActionParameters `json:"parameters,omitempty"`
- // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration'
+ // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameURLRewrite', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration', 'NameCacheKeyQueryString'
Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}
@@ -2109,6 +2232,11 @@ func (drrha DeliveryRuleRequestHeaderAction) AsURLRedirectAction() (*URLRedirect
return nil, false
}
+// AsURLRewriteAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.
+func (drrha DeliveryRuleRequestHeaderAction) AsURLRewriteAction() (*URLRewriteAction, bool) {
+ return nil, false
+}
+
// AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.
func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool) {
return &drrha, true
@@ -2124,6 +2252,11 @@ func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleCacheExpirationAction
return nil, false
}
+// AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.
+func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool) {
+ return nil, false
+}
+
// AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.
func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool) {
return nil, false
@@ -2502,7 +2635,7 @@ func (drruc DeliveryRuleRequestURICondition) AsBasicDeliveryRuleCondition() (Bas
type DeliveryRuleResponseHeaderAction struct {
// Parameters - Defines the parameters for the action.
Parameters *HeaderActionParameters `json:"parameters,omitempty"`
- // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration'
+ // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameURLRewrite', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration', 'NameCacheKeyQueryString'
Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}
@@ -2524,6 +2657,11 @@ func (drrha DeliveryRuleResponseHeaderAction) AsURLRedirectAction() (*URLRedirec
return nil, false
}
+// AsURLRewriteAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.
+func (drrha DeliveryRuleResponseHeaderAction) AsURLRewriteAction() (*URLRewriteAction, bool) {
+ return nil, false
+}
+
// AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.
func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool) {
return nil, false
@@ -2539,6 +2677,11 @@ func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleCacheExpirationActio
return nil, false
}
+// AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.
+func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool) {
+ return nil, false
+}
+
// AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.
func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool) {
return nil, false
@@ -4976,7 +5119,7 @@ type URLPathMatchConditionParameters struct {
type URLRedirectAction struct {
// Parameters - Defines the parameters for the action.
Parameters *URLRedirectActionParameters `json:"parameters,omitempty"`
- // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration'
+ // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameURLRewrite', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration', 'NameCacheKeyQueryString'
Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}
@@ -4998,6 +5141,11 @@ func (ura URLRedirectAction) AsURLRedirectAction() (*URLRedirectAction, bool) {
return &ura, true
}
+// AsURLRewriteAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.
+func (ura URLRedirectAction) AsURLRewriteAction() (*URLRewriteAction, bool) {
+ return nil, false
+}
+
// AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.
func (ura URLRedirectAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool) {
return nil, false
@@ -5013,6 +5161,11 @@ func (ura URLRedirectAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRul
return nil, false
}
+// AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.
+func (ura URLRedirectAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool) {
+ return nil, false
+}
+
// AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.
func (ura URLRedirectAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool) {
return nil, false
@@ -5040,6 +5193,78 @@ type URLRedirectActionParameters struct {
CustomFragment *string `json:"customFragment,omitempty"`
}
+// URLRewriteAction defines the url rewrite action for the delivery rule.
+type URLRewriteAction struct {
+ // Parameters - Defines the parameters for the action.
+ Parameters *URLRewriteActionParameters `json:"parameters,omitempty"`
+ // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameURLRewrite', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration', 'NameCacheKeyQueryString'
+ Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for URLRewriteAction.
+func (ura URLRewriteAction) MarshalJSON() ([]byte, error) {
+ ura.Name = NameURLRewrite
+ objectMap := make(map[string]interface{})
+ if ura.Parameters != nil {
+ objectMap["parameters"] = ura.Parameters
+ }
+ if ura.Name != "" {
+ objectMap["name"] = ura.Name
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsURLRedirectAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.
+func (ura URLRewriteAction) AsURLRedirectAction() (*URLRedirectAction, bool) {
+ return nil, false
+}
+
+// AsURLRewriteAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.
+func (ura URLRewriteAction) AsURLRewriteAction() (*URLRewriteAction, bool) {
+ return &ura, true
+}
+
+// AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.
+func (ura URLRewriteAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool) {
+ return nil, false
+}
+
+// AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.
+func (ura URLRewriteAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool) {
+ return nil, false
+}
+
+// AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.
+func (ura URLRewriteAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool) {
+ return nil, false
+}
+
+// AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.
+func (ura URLRewriteAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool) {
+ return nil, false
+}
+
+// AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.
+func (ura URLRewriteAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool) {
+ return nil, false
+}
+
+// AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.
+func (ura URLRewriteAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool) {
+ return &ura, true
+}
+
+// URLRewriteActionParameters defines the parameters for the url rewrite action.
+type URLRewriteActionParameters struct {
+ OdataType *string `json:"@odata.type,omitempty"`
+ // SourcePattern - define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.
+ SourcePattern *string `json:"sourcePattern,omitempty"`
+ // Destination - Define the relative URL to which the above requests will be rewritten by.
+ Destination *string `json:"destination,omitempty"`
+ // PreserveUnmatchedPath - Whether to preserve unmatched path. Default value is true.
+ PreserveUnmatchedPath *bool `json:"preserveUnmatchedPath,omitempty"`
+}
+
// UserManagedHTTPSParameters defines the certificate source parameters using user's keyvault certificate
// for enabling SSL.
type UserManagedHTTPSParameters struct {
diff --git a/services/cdn/mgmt/2019-04-15/cdn/operations.go b/services/cdn/mgmt/2019-04-15/cdn/operations.go
index e3439624b5bd..07e8d0c31a6d 100644
--- a/services/cdn/mgmt/2019-04-15/cdn/operations.go
+++ b/services/cdn/mgmt/2019-04-15/cdn/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cdn/mgmt/2019-04-15/cdn/origins.go b/services/cdn/mgmt/2019-04-15/cdn/origins.go
index 5ba1a21b7991..a3982f327053 100644
--- a/services/cdn/mgmt/2019-04-15/cdn/origins.go
+++ b/services/cdn/mgmt/2019-04-15/cdn/origins.go
@@ -113,8 +113,8 @@ func (client OriginsClient) GetPreparer(ctx context.Context, resourceGroupName s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -201,8 +201,8 @@ func (client OriginsClient) ListByEndpointPreparer(ctx context.Context, resource
// ListByEndpointSender sends the ListByEndpoint request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) ListByEndpointSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEndpointResponder handles the response to the ListByEndpoint request. The method always
@@ -324,9 +324,9 @@ func (client OriginsClient) UpdatePreparer(ctx context.Context, resourceGroupNam
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) UpdateSender(req *http.Request) (future OriginsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2019-04-15/cdn/profiles.go b/services/cdn/mgmt/2019-04-15/cdn/profiles.go
index c685effd5e45..cf3de82123e5 100644
--- a/services/cdn/mgmt/2019-04-15/cdn/profiles.go
+++ b/services/cdn/mgmt/2019-04-15/cdn/profiles.go
@@ -108,9 +108,9 @@ func (client ProfilesClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) CreateSender(req *http.Request) (future ProfilesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -194,9 +194,9 @@ func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -287,8 +287,8 @@ func (client ProfilesClient) GenerateSsoURIPreparer(ctx context.Context, resourc
// GenerateSsoURISender sends the GenerateSsoURI request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GenerateSsoURISender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateSsoURIResponder handles the response to the GenerateSsoURI request. The method always
@@ -372,8 +372,8 @@ func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -445,8 +445,8 @@ func (client ProfilesClient) ListPreparer(ctx context.Context) (*http.Request, e
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -566,8 +566,8 @@ func (client ProfilesClient) ListByResourceGroupPreparer(ctx context.Context, re
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -689,8 +689,8 @@ func (client ProfilesClient) ListResourceUsagePreparer(ctx context.Context, reso
// ListResourceUsageSender sends the ListResourceUsage request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListResourceUsageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always
@@ -812,8 +812,8 @@ func (client ProfilesClient) ListSupportedOptimizationTypesPreparer(ctx context.
// ListSupportedOptimizationTypesSender sends the ListSupportedOptimizationTypes request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListSupportedOptimizationTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSupportedOptimizationTypesResponder handles the response to the ListSupportedOptimizationTypes request. The method always
@@ -895,9 +895,9 @@ func (client ProfilesClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) UpdateSender(req *http.Request) (future ProfilesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cdn/mgmt/2019-04-15/cdn/resourceusage.go b/services/cdn/mgmt/2019-04-15/cdn/resourceusage.go
index 978c71601324..ada2d799c88f 100644
--- a/services/cdn/mgmt/2019-04-15/cdn/resourceusage.go
+++ b/services/cdn/mgmt/2019-04-15/cdn/resourceusage.go
@@ -96,8 +96,8 @@ func (client ResourceUsageClient) ListPreparer(ctx context.Context) (*http.Reque
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceUsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/accounts.go b/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/accounts.go
index f34f73147f1a..3e3eea0f5422 100644
--- a/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/accounts.go
+++ b/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/accounts.go
@@ -119,8 +119,8 @@ func (client AccountsClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client AccountsClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -204,8 +204,8 @@ func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AccountsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -288,8 +288,8 @@ func (client AccountsClient) GetPropertiesPreparer(ctx context.Context, resource
// GetPropertiesSender sends the GetProperties request. The method will close the
// http.Response Body if it receives an error.
func (client AccountsClient) GetPropertiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPropertiesResponder handles the response to the GetProperties request. The method always
@@ -378,8 +378,8 @@ func (client AccountsClient) GetUsagesPreparer(ctx context.Context, resourceGrou
// GetUsagesSender sends the GetUsages request. The method will close the
// http.Response Body if it receives an error.
func (client AccountsClient) GetUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUsagesResponder handles the response to the GetUsages request. The method always
@@ -451,8 +451,8 @@ func (client AccountsClient) ListPreparer(ctx context.Context) (*http.Request, e
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AccountsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -564,8 +564,8 @@ func (client AccountsClient) ListByResourceGroupPreparer(ctx context.Context, re
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -686,8 +686,8 @@ func (client AccountsClient) ListKeysPreparer(ctx context.Context, resourceGroup
// ListKeysSender sends the ListKeys request. The method will close the
// http.Response Body if it receives an error.
func (client AccountsClient) ListKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListKeysResponder handles the response to the ListKeys request. The method always
@@ -771,8 +771,8 @@ func (client AccountsClient) ListSkusPreparer(ctx context.Context, resourceGroup
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client AccountsClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
@@ -859,8 +859,8 @@ func (client AccountsClient) RegenerateKeyPreparer(ctx context.Context, resource
// RegenerateKeySender sends the RegenerateKey request. The method will close the
// http.Response Body if it receives an error.
func (client AccountsClient) RegenerateKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateKeyResponder handles the response to the RegenerateKey request. The method always
@@ -947,8 +947,8 @@ func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AccountsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/checkskuavailability.go b/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/checkskuavailability.go
index 245871342ed5..4339b18a4838 100644
--- a/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/checkskuavailability.go
+++ b/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/checkskuavailability.go
@@ -110,8 +110,8 @@ func (client CheckSkuAvailabilityClient) ListPreparer(ctx context.Context, locat
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client CheckSkuAvailabilityClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/client.go b/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/client.go
index 25128db91bae..a64fa4de7483 100644
--- a/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/client.go
+++ b/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/client.go
@@ -117,8 +117,8 @@ func (client BaseClient) CheckDomainAvailabilityPreparer(ctx context.Context, pa
// CheckDomainAvailabilitySender sends the CheckDomainAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CheckDomainAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckDomainAvailabilityResponder handles the response to the CheckDomainAvailability request. The method always
diff --git a/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/operations.go b/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/operations.go
index 7d5498fc467e..7739428ccab0 100644
--- a/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/operations.go
+++ b/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/resourceskus.go b/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/resourceskus.go
index 9b939223a3e5..59ea2fd2b42b 100644
--- a/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/resourceskus.go
+++ b/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/resourceskus.go
@@ -96,8 +96,8 @@ func (client ResourceSkusClient) ListPreparer(ctx context.Context) (*http.Reques
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cognitiveservices/v1.0/autosuggest/client.go b/services/cognitiveservices/v1.0/autosuggest/client.go
index 525d65bccbe7..df67492236f4 100644
--- a/services/cognitiveservices/v1.0/autosuggest/client.go
+++ b/services/cognitiveservices/v1.0/autosuggest/client.go
@@ -260,8 +260,8 @@ func (client BaseClient) AutoSuggestPreparer(ctx context.Context, query string,
// AutoSuggestSender sends the AutoSuggest request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) AutoSuggestSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AutoSuggestResponder handles the response to the AutoSuggest request. The method always
diff --git a/services/cognitiveservices/v1.0/contentmoderator/contentmoderatorapi/interfaces.go b/services/cognitiveservices/v1.0/contentmoderator/contentmoderatorapi/interfaces.go
index 6f1f9a18ad0a..ebb6d8e0d8af 100644
--- a/services/cognitiveservices/v1.0/contentmoderator/contentmoderatorapi/interfaces.go
+++ b/services/cognitiveservices/v1.0/contentmoderator/contentmoderatorapi/interfaces.go
@@ -88,7 +88,7 @@ var _ ListManagementImageClientAPI = (*contentmoderator.ListManagementImageClien
// ListManagementTermClientAPI contains the set of methods on the ListManagementTermClient type.
type ListManagementTermClientAPI interface {
- AddTerm(ctx context.Context, listID string, term string, language string) (result contentmoderator.SetObject, err error)
+ AddTerm(ctx context.Context, listID string, term string, language string) (result autorest.Response, err error)
DeleteAllTerms(ctx context.Context, listID string, language string) (result contentmoderator.String, err error)
DeleteTerm(ctx context.Context, listID string, term string, language string) (result contentmoderator.String, err error)
GetAllTerms(ctx context.Context, listID string, language string, offset *int32, limit *int32) (result contentmoderator.Terms, err error)
diff --git a/services/cognitiveservices/v1.0/contentmoderator/imagemoderation.go b/services/cognitiveservices/v1.0/contentmoderator/imagemoderation.go
index db3a280e6545..ab14bb991d9e 100644
--- a/services/cognitiveservices/v1.0/contentmoderator/imagemoderation.go
+++ b/services/cognitiveservices/v1.0/contentmoderator/imagemoderation.go
@@ -103,8 +103,8 @@ func (client ImageModerationClient) EvaluateFileInputPreparer(ctx context.Contex
// EvaluateFileInputSender sends the EvaluateFileInput request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) EvaluateFileInputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EvaluateFileInputResponder handles the response to the EvaluateFileInput request. The method always
@@ -177,8 +177,8 @@ func (client ImageModerationClient) EvaluateMethodPreparer(ctx context.Context,
// EvaluateMethodSender sends the EvaluateMethod request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) EvaluateMethodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EvaluateMethodResponder handles the response to the EvaluateMethod request. The method always
@@ -256,8 +256,8 @@ func (client ImageModerationClient) EvaluateURLInputPreparer(ctx context.Context
// EvaluateURLInputSender sends the EvaluateURLInput request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) EvaluateURLInputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EvaluateURLInputResponder handles the response to the EvaluateURLInput request. The method always
@@ -330,8 +330,8 @@ func (client ImageModerationClient) FindFacesPreparer(ctx context.Context, cache
// FindFacesSender sends the FindFaces request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) FindFacesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// FindFacesResponder handles the response to the FindFaces request. The method always
@@ -407,8 +407,8 @@ func (client ImageModerationClient) FindFacesFileInputPreparer(ctx context.Conte
// FindFacesFileInputSender sends the FindFacesFileInput request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) FindFacesFileInputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// FindFacesFileInputResponder handles the response to the FindFacesFileInput request. The method always
@@ -486,8 +486,8 @@ func (client ImageModerationClient) FindFacesURLInputPreparer(ctx context.Contex
// FindFacesURLInputSender sends the FindFacesURLInput request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) FindFacesURLInputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// FindFacesURLInputResponder handles the response to the FindFacesURLInput request. The method always
@@ -574,8 +574,8 @@ func (client ImageModerationClient) MatchFileInputPreparer(ctx context.Context,
// MatchFileInputSender sends the MatchFileInput request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) MatchFileInputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// MatchFileInputResponder handles the response to the MatchFileInput request. The method always
@@ -659,8 +659,8 @@ func (client ImageModerationClient) MatchMethodPreparer(ctx context.Context, lis
// MatchMethodSender sends the MatchMethod request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) MatchMethodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// MatchMethodResponder handles the response to the MatchMethod request. The method always
@@ -749,8 +749,8 @@ func (client ImageModerationClient) MatchURLInputPreparer(ctx context.Context, c
// MatchURLInputSender sends the MatchURLInput request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) MatchURLInputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// MatchURLInputResponder handles the response to the MatchURLInput request. The method always
@@ -841,8 +841,8 @@ func (client ImageModerationClient) OCRFileInputPreparer(ctx context.Context, la
// OCRFileInputSender sends the OCRFileInput request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) OCRFileInputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// OCRFileInputResponder handles the response to the OCRFileInput request. The method always
@@ -930,8 +930,8 @@ func (client ImageModerationClient) OCRMethodPreparer(ctx context.Context, langu
// OCRMethodSender sends the OCRMethod request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) OCRMethodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// OCRMethodResponder handles the response to the OCRMethod request. The method always
@@ -1024,8 +1024,8 @@ func (client ImageModerationClient) OCRURLInputPreparer(ctx context.Context, lan
// OCRURLInputSender sends the OCRURLInput request. The method will close the
// http.Response Body if it receives an error.
func (client ImageModerationClient) OCRURLInputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// OCRURLInputResponder handles the response to the OCRURLInput request. The method always
diff --git a/services/cognitiveservices/v1.0/contentmoderator/listmanagementimage.go b/services/cognitiveservices/v1.0/contentmoderator/listmanagementimage.go
index 34ad8522712e..42e74ac8761d 100644
--- a/services/cognitiveservices/v1.0/contentmoderator/listmanagementimage.go
+++ b/services/cognitiveservices/v1.0/contentmoderator/listmanagementimage.go
@@ -109,8 +109,8 @@ func (client ListManagementImageClient) AddImagePreparer(ctx context.Context, li
// AddImageSender sends the AddImage request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageClient) AddImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddImageResponder handles the response to the AddImage request. The method always
@@ -195,8 +195,8 @@ func (client ListManagementImageClient) AddImageFileInputPreparer(ctx context.Co
// AddImageFileInputSender sends the AddImageFileInput request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageClient) AddImageFileInputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddImageFileInputResponder handles the response to the AddImageFileInput request. The method always
@@ -283,8 +283,8 @@ func (client ListManagementImageClient) AddImageURLInputPreparer(ctx context.Con
// AddImageURLInputSender sends the AddImageURLInput request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageClient) AddImageURLInputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddImageURLInputResponder handles the response to the AddImageURLInput request. The method always
@@ -355,8 +355,8 @@ func (client ListManagementImageClient) DeleteAllImagesPreparer(ctx context.Cont
// DeleteAllImagesSender sends the DeleteAllImages request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageClient) DeleteAllImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteAllImagesResponder handles the response to the DeleteAllImages request. The method always
@@ -429,8 +429,8 @@ func (client ListManagementImageClient) DeleteImagePreparer(ctx context.Context,
// DeleteImageSender sends the DeleteImage request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageClient) DeleteImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImageResponder handles the response to the DeleteImage request. The method always
@@ -501,8 +501,8 @@ func (client ListManagementImageClient) GetAllImageIdsPreparer(ctx context.Conte
// GetAllImageIdsSender sends the GetAllImageIds request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageClient) GetAllImageIdsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllImageIdsResponder handles the response to the GetAllImageIds request. The method always
diff --git a/services/cognitiveservices/v1.0/contentmoderator/listmanagementimagelists.go b/services/cognitiveservices/v1.0/contentmoderator/listmanagementimagelists.go
index 08b15d29a603..a327013ba6e5 100644
--- a/services/cognitiveservices/v1.0/contentmoderator/listmanagementimagelists.go
+++ b/services/cognitiveservices/v1.0/contentmoderator/listmanagementimagelists.go
@@ -98,8 +98,8 @@ func (client ListManagementImageListsClient) CreatePreparer(ctx context.Context,
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageListsClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -170,8 +170,8 @@ func (client ListManagementImageListsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageListsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -236,8 +236,8 @@ func (client ListManagementImageListsClient) GetAllImageListsPreparer(ctx contex
// GetAllImageListsSender sends the GetAllImageLists request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageListsClient) GetAllImageListsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllImageListsResponder handles the response to the GetAllImageLists request. The method always
@@ -308,8 +308,8 @@ func (client ListManagementImageListsClient) GetDetailsPreparer(ctx context.Cont
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageListsClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
@@ -380,8 +380,8 @@ func (client ListManagementImageListsClient) RefreshIndexMethodPreparer(ctx cont
// RefreshIndexMethodSender sends the RefreshIndexMethod request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageListsClient) RefreshIndexMethodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RefreshIndexMethodResponder handles the response to the RefreshIndexMethod request. The method always
@@ -457,8 +457,8 @@ func (client ListManagementImageListsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementImageListsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/v1.0/contentmoderator/listmanagementterm.go b/services/cognitiveservices/v1.0/contentmoderator/listmanagementterm.go
index 8ef5119b90ab..12cdcd94913c 100644
--- a/services/cognitiveservices/v1.0/contentmoderator/listmanagementterm.go
+++ b/services/cognitiveservices/v1.0/contentmoderator/listmanagementterm.go
@@ -47,13 +47,13 @@ func NewListManagementTermClient(endpoint string) ListManagementTermClient {
// listID - list Id of the image list.
// term - term to be deleted
// language - language of the terms.
-func (client ListManagementTermClient) AddTerm(ctx context.Context, listID string, term string, language string) (result SetObject, err error) {
+func (client ListManagementTermClient) AddTerm(ctx context.Context, listID string, term string, language string) (result autorest.Response, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/ListManagementTermClient.AddTerm")
defer func() {
sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
+ if result.Response != nil {
+ sc = result.Response.StatusCode
}
tracing.EndSpan(ctx, sc, err)
}()
@@ -66,7 +66,7 @@ func (client ListManagementTermClient) AddTerm(ctx context.Context, listID strin
resp, err := client.AddTermSender(req)
if err != nil {
- result.Response = autorest.Response{Response: resp}
+ result.Response = resp
err = autorest.NewErrorWithError(err, "contentmoderator.ListManagementTermClient", "AddTerm", resp, "Failure sending request")
return
}
@@ -105,20 +105,19 @@ func (client ListManagementTermClient) AddTermPreparer(ctx context.Context, list
// AddTermSender sends the AddTerm request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementTermClient) AddTermSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddTermResponder handles the response to the AddTerm request. The method always
// closes the http.Response Body.
-func (client ListManagementTermClient) AddTermResponder(resp *http.Response) (result SetObject, err error) {
+func (client ListManagementTermClient) AddTermResponder(resp *http.Response) (result autorest.Response, err error) {
err = autorest.Respond(
resp,
client.ByInspecting(),
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
- autorest.ByUnmarshallingJSON(&result.Value),
autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
+ result.Response = resp
return
}
@@ -183,8 +182,8 @@ func (client ListManagementTermClient) DeleteAllTermsPreparer(ctx context.Contex
// DeleteAllTermsSender sends the DeleteAllTerms request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementTermClient) DeleteAllTermsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteAllTermsResponder handles the response to the DeleteAllTerms request. The method always
@@ -263,8 +262,8 @@ func (client ListManagementTermClient) DeleteTermPreparer(ctx context.Context, l
// DeleteTermSender sends the DeleteTerm request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementTermClient) DeleteTermSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteTermResponder handles the response to the DeleteTerm request. The method always
@@ -349,8 +348,8 @@ func (client ListManagementTermClient) GetAllTermsPreparer(ctx context.Context,
// GetAllTermsSender sends the GetAllTerms request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementTermClient) GetAllTermsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllTermsResponder handles the response to the GetAllTerms request. The method always
diff --git a/services/cognitiveservices/v1.0/contentmoderator/listmanagementtermlists.go b/services/cognitiveservices/v1.0/contentmoderator/listmanagementtermlists.go
index e1229faf3f82..24e718a1dbfe 100644
--- a/services/cognitiveservices/v1.0/contentmoderator/listmanagementtermlists.go
+++ b/services/cognitiveservices/v1.0/contentmoderator/listmanagementtermlists.go
@@ -97,8 +97,8 @@ func (client ListManagementTermListsClient) CreatePreparer(ctx context.Context,
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementTermListsClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -169,8 +169,8 @@ func (client ListManagementTermListsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementTermListsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -235,8 +235,8 @@ func (client ListManagementTermListsClient) GetAllTermListsPreparer(ctx context.
// GetAllTermListsSender sends the GetAllTermLists request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementTermListsClient) GetAllTermListsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAllTermListsResponder handles the response to the GetAllTermLists request. The method always
@@ -307,8 +307,8 @@ func (client ListManagementTermListsClient) GetDetailsPreparer(ctx context.Conte
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementTermListsClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
@@ -385,8 +385,8 @@ func (client ListManagementTermListsClient) RefreshIndexMethodPreparer(ctx conte
// RefreshIndexMethodSender sends the RefreshIndexMethod request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementTermListsClient) RefreshIndexMethodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RefreshIndexMethodResponder handles the response to the RefreshIndexMethod request. The method always
@@ -462,8 +462,8 @@ func (client ListManagementTermListsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ListManagementTermListsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/v1.0/contentmoderator/models.go b/services/cognitiveservices/v1.0/contentmoderator/models.go
index a862fc827fff..615d4fb57b67 100644
--- a/services/cognitiveservices/v1.0/contentmoderator/models.go
+++ b/services/cognitiveservices/v1.0/contentmoderator/models.go
@@ -618,12 +618,6 @@ type Screen struct {
TrackingID *string `json:"TrackingId,omitempty"`
}
-// SetObject ...
-type SetObject struct {
- autorest.Response `json:"-"`
- Value interface{} `json:"value,omitempty"`
-}
-
// SSN detected SSN details.
type SSN struct {
// Text - Detected SSN in the input text content.
diff --git a/services/cognitiveservices/v1.0/contentmoderator/reviews.go b/services/cognitiveservices/v1.0/contentmoderator/reviews.go
index a1e705f76370..540b8cb8a178 100644
--- a/services/cognitiveservices/v1.0/contentmoderator/reviews.go
+++ b/services/cognitiveservices/v1.0/contentmoderator/reviews.go
@@ -132,8 +132,8 @@ func (client ReviewsClient) AddVideoFramePreparer(ctx context.Context, teamName
// AddVideoFrameSender sends the AddVideoFrame request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) AddVideoFrameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddVideoFrameResponder handles the response to the AddVideoFrame request. The method always
@@ -225,8 +225,8 @@ func (client ReviewsClient) AddVideoFrameStreamPreparer(ctx context.Context, con
// AddVideoFrameStreamSender sends the AddVideoFrameStream request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) AddVideoFrameStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddVideoFrameStreamResponder handles the response to the AddVideoFrameStream request. The method always
@@ -319,8 +319,8 @@ func (client ReviewsClient) AddVideoFrameURLPreparer(ctx context.Context, conten
// AddVideoFrameURLSender sends the AddVideoFrameURL request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) AddVideoFrameURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddVideoFrameURLResponder handles the response to the AddVideoFrameURL request. The method always
@@ -397,8 +397,8 @@ func (client ReviewsClient) AddVideoTranscriptPreparer(ctx context.Context, team
// AddVideoTranscriptSender sends the AddVideoTranscript request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) AddVideoTranscriptSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddVideoTranscriptResponder handles the response to the AddVideoTranscript request. The method always
@@ -483,8 +483,8 @@ func (client ReviewsClient) AddVideoTranscriptModerationResultPreparer(ctx conte
// AddVideoTranscriptModerationResultSender sends the AddVideoTranscriptModerationResult request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) AddVideoTranscriptModerationResultSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddVideoTranscriptModerationResultResponder handles the response to the AddVideoTranscriptModerationResult request. The method always
@@ -627,8 +627,8 @@ func (client ReviewsClient) CreateJobPreparer(ctx context.Context, teamName stri
// CreateJobSender sends the CreateJob request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) CreateJobSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateJobResponder handles the response to the CreateJob request. The method always
@@ -741,8 +741,8 @@ func (client ReviewsClient) CreateReviewsPreparer(ctx context.Context, URLConten
// CreateReviewsSender sends the CreateReviews request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) CreateReviewsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateReviewsResponder handles the response to the CreateReviews request. The method always
@@ -855,8 +855,8 @@ func (client ReviewsClient) CreateVideoReviewsPreparer(ctx context.Context, cont
// CreateVideoReviewsSender sends the CreateVideoReviews request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) CreateVideoReviewsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateVideoReviewsResponder handles the response to the CreateVideoReviews request. The method always
@@ -929,8 +929,8 @@ func (client ReviewsClient) GetJobDetailsPreparer(ctx context.Context, teamName
// GetJobDetailsSender sends the GetJobDetails request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) GetJobDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetJobDetailsResponder handles the response to the GetJobDetails request. The method always
@@ -1003,8 +1003,8 @@ func (client ReviewsClient) GetReviewPreparer(ctx context.Context, teamName stri
// GetReviewSender sends the GetReview request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) GetReviewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetReviewResponder handles the response to the GetReview request. The method always
@@ -1116,8 +1116,8 @@ func (client ReviewsClient) GetVideoFramesPreparer(ctx context.Context, teamName
// GetVideoFramesSender sends the GetVideoFrames request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) GetVideoFramesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetVideoFramesResponder handles the response to the GetVideoFrames request. The method always
@@ -1190,8 +1190,8 @@ func (client ReviewsClient) PublishVideoReviewPreparer(ctx context.Context, team
// PublishVideoReviewSender sends the PublishVideoReview request. The method will close the
// http.Response Body if it receives an error.
func (client ReviewsClient) PublishVideoReviewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PublishVideoReviewResponder handles the response to the PublishVideoReview request. The method always
diff --git a/services/cognitiveservices/v1.0/contentmoderator/textmoderation.go b/services/cognitiveservices/v1.0/contentmoderator/textmoderation.go
index ad2d43877ce6..dc31e5c05fa4 100644
--- a/services/cognitiveservices/v1.0/contentmoderator/textmoderation.go
+++ b/services/cognitiveservices/v1.0/contentmoderator/textmoderation.go
@@ -100,8 +100,8 @@ func (client TextModerationClient) DetectLanguagePreparer(ctx context.Context, t
// DetectLanguageSender sends the DetectLanguage request. The method will close the
// http.Response Body if it receives an error.
func (client TextModerationClient) DetectLanguageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectLanguageResponder handles the response to the DetectLanguage request. The method always
@@ -201,8 +201,8 @@ func (client TextModerationClient) ScreenTextPreparer(ctx context.Context, textC
// ScreenTextSender sends the ScreenText request. The method will close the
// http.Response Body if it receives an error.
func (client TextModerationClient) ScreenTextSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ScreenTextResponder handles the response to the ScreenText request. The method always
diff --git a/services/cognitiveservices/v1.0/customimagesearch/custominstance.go b/services/cognitiveservices/v1.0/customimagesearch/custominstance.go
index b6a4a702d2eb..e128b6b16ed8 100644
--- a/services/cognitiveservices/v1.0/customimagesearch/custominstance.go
+++ b/services/cognitiveservices/v1.0/customimagesearch/custominstance.go
@@ -388,8 +388,8 @@ func (client CustomInstanceClient) ImageSearchPreparer(ctx context.Context, cust
// ImageSearchSender sends the ImageSearch request. The method will close the
// http.Response Body if it receives an error.
func (client CustomInstanceClient) ImageSearchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ImageSearchResponder handles the response to the ImageSearch request. The method always
diff --git a/services/cognitiveservices/v1.0/customsearch/custominstance.go b/services/cognitiveservices/v1.0/customsearch/custominstance.go
index 2a776fb2594f..741f25af6dfe 100644
--- a/services/cognitiveservices/v1.0/customsearch/custominstance.go
+++ b/services/cognitiveservices/v1.0/customsearch/custominstance.go
@@ -258,8 +258,8 @@ func (client CustomInstanceClient) SearchPreparer(ctx context.Context, customCon
// SearchSender sends the Search request. The method will close the
// http.Response Body if it receives an error.
func (client CustomInstanceClient) SearchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// SearchResponder handles the response to the Search request. The method always
diff --git a/services/cognitiveservices/v1.0/entitysearch/entities.go b/services/cognitiveservices/v1.0/entitysearch/entities.go
index f594e289a2be..77605c6cfd5a 100644
--- a/services/cognitiveservices/v1.0/entitysearch/entities.go
+++ b/services/cognitiveservices/v1.0/entitysearch/entities.go
@@ -238,8 +238,8 @@ func (client EntitiesClient) SearchPreparer(ctx context.Context, query string, a
// SearchSender sends the Search request. The method will close the
// http.Response Body if it receives an error.
func (client EntitiesClient) SearchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// SearchResponder handles the response to the Search request. The method always
diff --git a/services/cognitiveservices/v1.0/face/face.go b/services/cognitiveservices/v1.0/face/face.go
index 033dec8b2ce6..e8ccce02f293 100644
--- a/services/cognitiveservices/v1.0/face/face.go
+++ b/services/cognitiveservices/v1.0/face/face.go
@@ -182,8 +182,8 @@ func (client Client) DetectWithStreamPreparer(ctx context.Context, imageParamete
// DetectWithStreamSender sends the DetectWithStream request. The method will close the
// http.Response Body if it receives an error.
func (client Client) DetectWithStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectWithStreamResponder handles the response to the DetectWithStream request. The method always
@@ -350,8 +350,8 @@ func (client Client) DetectWithURLPreparer(ctx context.Context, imageURL ImageUR
// DetectWithURLSender sends the DetectWithURL request. The method will close the
// http.Response Body if it receives an error.
func (client Client) DetectWithURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectWithURLResponder handles the response to the DetectWithURL request. The method always
@@ -455,8 +455,8 @@ func (client Client) FindSimilarPreparer(ctx context.Context, body FindSimilarRe
// FindSimilarSender sends the FindSimilar request. The method will close the
// http.Response Body if it receives an error.
func (client Client) FindSimilarSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// FindSimilarResponder handles the response to the FindSimilar request. The method always
@@ -541,8 +541,8 @@ func (client Client) GroupPreparer(ctx context.Context, body GroupRequest) (*htt
// GroupSender sends the Group request. The method will close the
// http.Response Body if it receives an error.
func (client Client) GroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GroupResponder handles the response to the Group request. The method always
@@ -651,8 +651,8 @@ func (client Client) IdentifyPreparer(ctx context.Context, body IdentifyRequest)
// IdentifySender sends the Identify request. The method will close the
// http.Response Body if it receives an error.
func (client Client) IdentifySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// IdentifyResponder handles the response to the Identify request. The method always
@@ -735,8 +735,8 @@ func (client Client) VerifyFaceToFacePreparer(ctx context.Context, body VerifyFa
// VerifyFaceToFaceSender sends the VerifyFaceToFace request. The method will close the
// http.Response Body if it receives an error.
func (client Client) VerifyFaceToFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// VerifyFaceToFaceResponder handles the response to the VerifyFaceToFace request. The method always
@@ -820,8 +820,8 @@ func (client Client) VerifyFaceToPersonPreparer(ctx context.Context, body Verify
// VerifyFaceToPersonSender sends the VerifyFaceToPerson request. The method will close the
// http.Response Body if it receives an error.
func (client Client) VerifyFaceToPersonSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// VerifyFaceToPersonResponder handles the response to the VerifyFaceToPerson request. The method always
diff --git a/services/cognitiveservices/v1.0/face/largefacelist.go b/services/cognitiveservices/v1.0/face/largefacelist.go
index d0de983a9a0e..c55edd5bd3c5 100644
--- a/services/cognitiveservices/v1.0/face/largefacelist.go
+++ b/services/cognitiveservices/v1.0/face/largefacelist.go
@@ -162,8 +162,8 @@ func (client LargeFaceListClient) AddFaceFromStreamPreparer(ctx context.Context,
// AddFaceFromStreamSender sends the AddFaceFromStream request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) AddFaceFromStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddFaceFromStreamResponder handles the response to the AddFaceFromStream request. The method always
@@ -305,8 +305,8 @@ func (client LargeFaceListClient) AddFaceFromURLPreparer(ctx context.Context, la
// AddFaceFromURLSender sends the AddFaceFromURL request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) AddFaceFromURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddFaceFromURLResponder handles the response to the AddFaceFromURL request. The method always
@@ -415,8 +415,8 @@ func (client LargeFaceListClient) CreatePreparer(ctx context.Context, largeFaceL
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -493,8 +493,8 @@ func (client LargeFaceListClient) DeletePreparer(ctx context.Context, largeFaceL
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -575,8 +575,8 @@ func (client LargeFaceListClient) DeleteFacePreparer(ctx context.Context, largeF
// DeleteFaceSender sends the DeleteFace request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) DeleteFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFaceResponder handles the response to the DeleteFace request. The method always
@@ -663,8 +663,8 @@ func (client LargeFaceListClient) GetPreparer(ctx context.Context, largeFaceList
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -745,8 +745,8 @@ func (client LargeFaceListClient) GetFacePreparer(ctx context.Context, largeFace
// GetFaceSender sends the GetFace request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) GetFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFaceResponder handles the response to the GetFace request. The method always
@@ -824,8 +824,8 @@ func (client LargeFaceListClient) GetTrainingStatusPreparer(ctx context.Context,
// GetTrainingStatusSender sends the GetTrainingStatus request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) GetTrainingStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTrainingStatusResponder handles the response to the GetTrainingStatus request. The method always
@@ -913,8 +913,8 @@ func (client LargeFaceListClient) ListPreparer(ctx context.Context, returnRecogn
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -1009,8 +1009,8 @@ func (client LargeFaceListClient) ListFacesPreparer(ctx context.Context, largeFa
// ListFacesSender sends the ListFaces request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) ListFacesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListFacesResponder handles the response to the ListFaces request. The method always
@@ -1088,8 +1088,8 @@ func (client LargeFaceListClient) TrainPreparer(ctx context.Context, largeFaceLi
// TrainSender sends the Train request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) TrainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrainResponder handles the response to the Train request. The method always
@@ -1169,8 +1169,8 @@ func (client LargeFaceListClient) UpdatePreparer(ctx context.Context, largeFaceL
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
@@ -1252,8 +1252,8 @@ func (client LargeFaceListClient) UpdateFacePreparer(ctx context.Context, largeF
// UpdateFaceSender sends the UpdateFace request. The method will close the
// http.Response Body if it receives an error.
func (client LargeFaceListClient) UpdateFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateFaceResponder handles the response to the UpdateFace request. The method always
diff --git a/services/cognitiveservices/v1.0/face/largepersongroup.go b/services/cognitiveservices/v1.0/face/largepersongroup.go
index c5b432445eec..d90105be18dd 100644
--- a/services/cognitiveservices/v1.0/face/largepersongroup.go
+++ b/services/cognitiveservices/v1.0/face/largepersongroup.go
@@ -128,8 +128,8 @@ func (client LargePersonGroupClient) CreatePreparer(ctx context.Context, largePe
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -207,8 +207,8 @@ func (client LargePersonGroupClient) DeletePreparer(ctx context.Context, largePe
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -298,8 +298,8 @@ func (client LargePersonGroupClient) GetPreparer(ctx context.Context, largePerso
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -377,8 +377,8 @@ func (client LargePersonGroupClient) GetTrainingStatusPreparer(ctx context.Conte
// GetTrainingStatusSender sends the GetTrainingStatus request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupClient) GetTrainingStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTrainingStatusResponder handles the response to the GetTrainingStatus request. The method always
@@ -485,8 +485,8 @@ func (client LargePersonGroupClient) ListPreparer(ctx context.Context, start str
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -564,8 +564,8 @@ func (client LargePersonGroupClient) TrainPreparer(ctx context.Context, largePer
// TrainSender sends the Train request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupClient) TrainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrainResponder handles the response to the Train request. The method always
@@ -646,8 +646,8 @@ func (client LargePersonGroupClient) UpdatePreparer(ctx context.Context, largePe
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/v1.0/face/largepersongroupperson.go b/services/cognitiveservices/v1.0/face/largepersongroupperson.go
index bd60206d16a0..0ce7061197c4 100644
--- a/services/cognitiveservices/v1.0/face/largepersongroupperson.go
+++ b/services/cognitiveservices/v1.0/face/largepersongroupperson.go
@@ -162,8 +162,8 @@ func (client LargePersonGroupPersonClient) AddFaceFromStreamPreparer(ctx context
// AddFaceFromStreamSender sends the AddFaceFromStream request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupPersonClient) AddFaceFromStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddFaceFromStreamResponder handles the response to the AddFaceFromStream request. The method always
@@ -305,8 +305,8 @@ func (client LargePersonGroupPersonClient) AddFaceFromURLPreparer(ctx context.Co
// AddFaceFromURLSender sends the AddFaceFromURL request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupPersonClient) AddFaceFromURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddFaceFromURLResponder handles the response to the AddFaceFromURL request. The method always
@@ -392,8 +392,8 @@ func (client LargePersonGroupPersonClient) CreatePreparer(ctx context.Context, l
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupPersonClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -474,8 +474,8 @@ func (client LargePersonGroupPersonClient) DeletePreparer(ctx context.Context, l
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupPersonClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -559,8 +559,8 @@ func (client LargePersonGroupPersonClient) DeleteFacePreparer(ctx context.Contex
// DeleteFaceSender sends the DeleteFace request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupPersonClient) DeleteFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFaceResponder handles the response to the DeleteFace request. The method always
@@ -640,8 +640,8 @@ func (client LargePersonGroupPersonClient) GetPreparer(ctx context.Context, larg
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupPersonClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -724,8 +724,8 @@ func (client LargePersonGroupPersonClient) GetFacePreparer(ctx context.Context,
// GetFaceSender sends the GetFace request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupPersonClient) GetFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFaceResponder handles the response to the GetFace request. The method always
@@ -820,8 +820,8 @@ func (client LargePersonGroupPersonClient) ListPreparer(ctx context.Context, lar
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupPersonClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -904,8 +904,8 @@ func (client LargePersonGroupPersonClient) UpdatePreparer(ctx context.Context, l
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupPersonClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
@@ -989,8 +989,8 @@ func (client LargePersonGroupPersonClient) UpdateFacePreparer(ctx context.Contex
// UpdateFaceSender sends the UpdateFace request. The method will close the
// http.Response Body if it receives an error.
func (client LargePersonGroupPersonClient) UpdateFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateFaceResponder handles the response to the UpdateFace request. The method always
diff --git a/services/cognitiveservices/v1.0/face/list.go b/services/cognitiveservices/v1.0/face/list.go
index 9f3358e81eeb..9b844fe990e0 100644
--- a/services/cognitiveservices/v1.0/face/list.go
+++ b/services/cognitiveservices/v1.0/face/list.go
@@ -158,8 +158,8 @@ func (client ListClient) AddFaceFromStreamPreparer(ctx context.Context, faceList
// AddFaceFromStreamSender sends the AddFaceFromStream request. The method will close the
// http.Response Body if it receives an error.
func (client ListClient) AddFaceFromStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddFaceFromStreamResponder handles the response to the AddFaceFromStream request. The method always
@@ -297,8 +297,8 @@ func (client ListClient) AddFaceFromURLPreparer(ctx context.Context, faceListID
// AddFaceFromURLSender sends the AddFaceFromURL request. The method will close the
// http.Response Body if it receives an error.
func (client ListClient) AddFaceFromURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddFaceFromURLResponder handles the response to the AddFaceFromURL request. The method always
@@ -403,8 +403,8 @@ func (client ListClient) CreatePreparer(ctx context.Context, faceListID string,
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ListClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -481,8 +481,8 @@ func (client ListClient) DeletePreparer(ctx context.Context, faceListID string)
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ListClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -563,8 +563,8 @@ func (client ListClient) DeleteFacePreparer(ctx context.Context, faceListID stri
// DeleteFaceSender sends the DeleteFace request. The method will close the
// http.Response Body if it receives an error.
func (client ListClient) DeleteFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFaceResponder handles the response to the DeleteFace request. The method always
@@ -651,8 +651,8 @@ func (client ListClient) GetPreparer(ctx context.Context, faceListID string, ret
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ListClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -730,8 +730,8 @@ func (client ListClient) ListPreparer(ctx context.Context, returnRecognitionMode
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ListClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -812,8 +812,8 @@ func (client ListClient) UpdatePreparer(ctx context.Context, faceListID string,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ListClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/v1.0/face/persongroup.go b/services/cognitiveservices/v1.0/face/persongroup.go
index 62f92e825a9a..123455686495 100644
--- a/services/cognitiveservices/v1.0/face/persongroup.go
+++ b/services/cognitiveservices/v1.0/face/persongroup.go
@@ -126,8 +126,8 @@ func (client PersonGroupClient) CreatePreparer(ctx context.Context, personGroupI
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -205,8 +205,8 @@ func (client PersonGroupClient) DeletePreparer(ctx context.Context, personGroupI
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -294,8 +294,8 @@ func (client PersonGroupClient) GetPreparer(ctx context.Context, personGroupID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -373,8 +373,8 @@ func (client PersonGroupClient) GetTrainingStatusPreparer(ctx context.Context, p
// GetTrainingStatusSender sends the GetTrainingStatus request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) GetTrainingStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTrainingStatusResponder handles the response to the GetTrainingStatus request. The method always
@@ -481,8 +481,8 @@ func (client PersonGroupClient) ListPreparer(ctx context.Context, start string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -560,8 +560,8 @@ func (client PersonGroupClient) TrainPreparer(ctx context.Context, personGroupID
// TrainSender sends the Train request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) TrainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrainResponder handles the response to the Train request. The method always
@@ -642,8 +642,8 @@ func (client PersonGroupClient) UpdatePreparer(ctx context.Context, personGroupI
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/v1.0/face/persongroupperson.go b/services/cognitiveservices/v1.0/face/persongroupperson.go
index 7daea17443c5..ca1a8baa1867 100644
--- a/services/cognitiveservices/v1.0/face/persongroupperson.go
+++ b/services/cognitiveservices/v1.0/face/persongroupperson.go
@@ -163,8 +163,8 @@ func (client PersonGroupPersonClient) AddFaceFromStreamPreparer(ctx context.Cont
// AddFaceFromStreamSender sends the AddFaceFromStream request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupPersonClient) AddFaceFromStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddFaceFromStreamResponder handles the response to the AddFaceFromStream request. The method always
@@ -307,8 +307,8 @@ func (client PersonGroupPersonClient) AddFaceFromURLPreparer(ctx context.Context
// AddFaceFromURLSender sends the AddFaceFromURL request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupPersonClient) AddFaceFromURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddFaceFromURLResponder handles the response to the AddFaceFromURL request. The method always
@@ -394,8 +394,8 @@ func (client PersonGroupPersonClient) CreatePreparer(ctx context.Context, person
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupPersonClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -476,8 +476,8 @@ func (client PersonGroupPersonClient) DeletePreparer(ctx context.Context, person
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupPersonClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -560,8 +560,8 @@ func (client PersonGroupPersonClient) DeleteFacePreparer(ctx context.Context, pe
// DeleteFaceSender sends the DeleteFace request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupPersonClient) DeleteFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteFaceResponder handles the response to the DeleteFace request. The method always
@@ -640,8 +640,8 @@ func (client PersonGroupPersonClient) GetPreparer(ctx context.Context, personGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupPersonClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -724,8 +724,8 @@ func (client PersonGroupPersonClient) GetFacePreparer(ctx context.Context, perso
// GetFaceSender sends the GetFace request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupPersonClient) GetFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFaceResponder handles the response to the GetFace request. The method always
@@ -820,8 +820,8 @@ func (client PersonGroupPersonClient) ListPreparer(ctx context.Context, personGr
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupPersonClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -904,8 +904,8 @@ func (client PersonGroupPersonClient) UpdatePreparer(ctx context.Context, person
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupPersonClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
@@ -1008,8 +1008,8 @@ func (client PersonGroupPersonClient) UpdateFacePreparer(ctx context.Context, pe
// UpdateFaceSender sends the UpdateFace request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupPersonClient) UpdateFaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateFaceResponder handles the response to the UpdateFace request. The method always
diff --git a/services/cognitiveservices/v1.0/face/snapshot.go b/services/cognitiveservices/v1.0/face/snapshot.go
index 7333fea18cba..d991e6b78ebe 100644
--- a/services/cognitiveservices/v1.0/face/snapshot.go
+++ b/services/cognitiveservices/v1.0/face/snapshot.go
@@ -128,8 +128,8 @@ func (client SnapshotClient) ApplyPreparer(ctx context.Context, snapshotID uuid.
// ApplySender sends the Apply request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotClient) ApplySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ApplyResponder handles the response to the Apply request. The method always
@@ -201,8 +201,8 @@ func (client SnapshotClient) DeletePreparer(ctx context.Context, snapshotID uuid
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -273,8 +273,8 @@ func (client SnapshotClient) GetPreparer(ctx context.Context, snapshotID uuid.UU
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -345,8 +345,8 @@ func (client SnapshotClient) GetOperationStatusPreparer(ctx context.Context, ope
// GetOperationStatusSender sends the GetOperationStatus request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotClient) GetOperationStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetOperationStatusResponder handles the response to the GetOperationStatus request. The method always
@@ -425,8 +425,8 @@ func (client SnapshotClient) ListPreparer(ctx context.Context, typeParameter Sna
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -530,8 +530,8 @@ func (client SnapshotClient) TakePreparer(ctx context.Context, body TakeSnapshot
// TakeSender sends the Take request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotClient) TakeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TakeResponder handles the response to the Take request. The method always
@@ -605,8 +605,8 @@ func (client SnapshotClient) UpdatePreparer(ctx context.Context, snapshotID uuid
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/v1.0/imagesearch/images.go b/services/cognitiveservices/v1.0/imagesearch/images.go
index 4a4042f29458..dde0ddf0d97c 100644
--- a/services/cognitiveservices/v1.0/imagesearch/images.go
+++ b/services/cognitiveservices/v1.0/imagesearch/images.go
@@ -349,8 +349,8 @@ func (client ImagesClient) DetailsPreparer(ctx context.Context, query string, ac
// DetailsSender sends the Details request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) DetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetailsResponder handles the response to the Details request. The method always
@@ -716,8 +716,8 @@ func (client ImagesClient) SearchPreparer(ctx context.Context, query string, acc
// SearchSender sends the Search request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) SearchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// SearchResponder handles the response to the Search request. The method always
@@ -938,8 +938,8 @@ func (client ImagesClient) TrendingPreparer(ctx context.Context, acceptLanguage
// TrendingSender sends the Trending request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) TrendingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrendingResponder handles the response to the Trending request. The method always
diff --git a/services/cognitiveservices/v1.0/localsearch/local.go b/services/cognitiveservices/v1.0/localsearch/local.go
index 3848d65d1e32..eac55bbe6914 100644
--- a/services/cognitiveservices/v1.0/localsearch/local.go
+++ b/services/cognitiveservices/v1.0/localsearch/local.go
@@ -259,8 +259,8 @@ func (client LocalClient) SearchPreparer(ctx context.Context, query string, acce
// SearchSender sends the Search request. The method will close the
// http.Response Body if it receives an error.
func (client LocalClient) SearchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// SearchResponder handles the response to the Search request. The method always
diff --git a/services/cognitiveservices/v1.0/newssearch/news.go b/services/cognitiveservices/v1.0/newssearch/news.go
index 0e480c85ede6..6b6a60e88453 100644
--- a/services/cognitiveservices/v1.0/newssearch/news.go
+++ b/services/cognitiveservices/v1.0/newssearch/news.go
@@ -310,8 +310,8 @@ func (client NewsClient) CategoryPreparer(ctx context.Context, acceptLanguage st
// CategorySender sends the Category request. The method will close the
// http.Response Body if it receives an error.
func (client NewsClient) CategorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CategoryResponder handles the response to the Category request. The method always
@@ -595,8 +595,8 @@ func (client NewsClient) SearchPreparer(ctx context.Context, query string, accep
// SearchSender sends the Search request. The method will close the
// http.Response Body if it receives an error.
func (client NewsClient) SearchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// SearchResponder handles the response to the Search request. The method always
@@ -864,8 +864,8 @@ func (client NewsClient) TrendingPreparer(ctx context.Context, acceptLanguage st
// TrendingSender sends the Trending request. The method will close the
// http.Response Body if it receives an error.
func (client NewsClient) TrendingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrendingResponder handles the response to the Trending request. The method always
diff --git a/services/cognitiveservices/v1.0/spellcheck/client.go b/services/cognitiveservices/v1.0/spellcheck/client.go
index a1c420f599c7..b76d0d64281b 100644
--- a/services/cognitiveservices/v1.0/spellcheck/client.go
+++ b/services/cognitiveservices/v1.0/spellcheck/client.go
@@ -295,8 +295,8 @@ func (client BaseClient) SpellCheckerMethodPreparer(ctx context.Context, textPar
// SpellCheckerMethodSender sends the SpellCheckerMethod request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) SpellCheckerMethodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// SpellCheckerMethodResponder handles the response to the SpellCheckerMethod request. The method always
diff --git a/services/cognitiveservices/v1.0/videosearch/videos.go b/services/cognitiveservices/v1.0/videosearch/videos.go
index a41a59371595..c151727a844a 100644
--- a/services/cognitiveservices/v1.0/videosearch/videos.go
+++ b/services/cognitiveservices/v1.0/videosearch/videos.go
@@ -295,8 +295,8 @@ func (client VideosClient) DetailsPreparer(ctx context.Context, query string, ac
// DetailsSender sends the Details request. The method will close the
// http.Response Body if it receives an error.
func (client VideosClient) DetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetailsResponder handles the response to the Details request. The method always
@@ -597,8 +597,8 @@ func (client VideosClient) SearchPreparer(ctx context.Context, query string, acc
// SearchSender sends the Search request. The method will close the
// http.Response Body if it receives an error.
func (client VideosClient) SearchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// SearchResponder handles the response to the Search request. The method always
@@ -838,8 +838,8 @@ func (client VideosClient) TrendingPreparer(ctx context.Context, acceptLanguage
// TrendingSender sends the Trending request. The method will close the
// http.Response Body if it receives an error.
func (client VideosClient) TrendingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrendingResponder handles the response to the Trending request. The method always
diff --git a/services/cognitiveservices/v1.0/websearch/web.go b/services/cognitiveservices/v1.0/websearch/web.go
index ce65887a00eb..1d5831b62f96 100644
--- a/services/cognitiveservices/v1.0/websearch/web.go
+++ b/services/cognitiveservices/v1.0/websearch/web.go
@@ -301,8 +301,8 @@ func (client WebClient) SearchPreparer(ctx context.Context, query string, accept
// SearchSender sends the Search request. The method will close the
// http.Response Body if it receives an error.
func (client WebClient) SearchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// SearchResponder handles the response to the Search request. The method always
diff --git a/services/cognitiveservices/v1.1/customvision/prediction/client.go b/services/cognitiveservices/v1.1/customvision/prediction/client.go
index a90b96ab4193..7c185a0afd52 100644
--- a/services/cognitiveservices/v1.1/customvision/prediction/client.go
+++ b/services/cognitiveservices/v1.1/customvision/prediction/client.go
@@ -124,8 +124,8 @@ func (client BaseClient) PredictImagePreparer(ctx context.Context, projectID uui
// PredictImageSender sends the PredictImage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) PredictImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PredictImageResponder handles the response to the PredictImage request. The method always
@@ -212,8 +212,8 @@ func (client BaseClient) PredictImageURLPreparer(ctx context.Context, projectID
// PredictImageURLSender sends the PredictImageURL request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) PredictImageURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PredictImageURLResponder handles the response to the PredictImageURL request. The method always
@@ -300,8 +300,8 @@ func (client BaseClient) PredictImageURLWithNoStorePreparer(ctx context.Context,
// PredictImageURLWithNoStoreSender sends the PredictImageURLWithNoStore request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) PredictImageURLWithNoStoreSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PredictImageURLWithNoStoreResponder handles the response to the PredictImageURLWithNoStore request. The method always
@@ -390,8 +390,8 @@ func (client BaseClient) PredictImageWithNoStorePreparer(ctx context.Context, pr
// PredictImageWithNoStoreSender sends the PredictImageWithNoStore request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) PredictImageWithNoStoreSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PredictImageWithNoStoreResponder handles the response to the PredictImageWithNoStore request. The method always
diff --git a/services/cognitiveservices/v1.2/customvision/training/client.go b/services/cognitiveservices/v1.2/customvision/training/client.go
index 8440653bda44..abe1e3b30b34 100644
--- a/services/cognitiveservices/v1.2/customvision/training/client.go
+++ b/services/cognitiveservices/v1.2/customvision/training/client.go
@@ -114,8 +114,8 @@ func (client BaseClient) CreateImageRegionsPreparer(ctx context.Context, project
// CreateImageRegionsSender sends the CreateImageRegions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImageRegionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImageRegionsResponder handles the response to the CreateImageRegions request. The method always
@@ -197,8 +197,8 @@ func (client BaseClient) CreateImagesFromDataPreparer(ctx context.Context, proje
// CreateImagesFromDataSender sends the CreateImagesFromData request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromDataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromDataResponder handles the response to the CreateImagesFromData request. The method always
@@ -270,8 +270,8 @@ func (client BaseClient) CreateImagesFromFilesPreparer(ctx context.Context, proj
// CreateImagesFromFilesSender sends the CreateImagesFromFiles request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromFilesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromFilesResponder handles the response to the CreateImagesFromFiles request. The method always
@@ -343,8 +343,8 @@ func (client BaseClient) CreateImagesFromPredictionsPreparer(ctx context.Context
// CreateImagesFromPredictionsSender sends the CreateImagesFromPredictions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromPredictionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromPredictionsResponder handles the response to the CreateImagesFromPredictions request. The method always
@@ -416,8 +416,8 @@ func (client BaseClient) CreateImagesFromUrlsPreparer(ctx context.Context, proje
// CreateImagesFromUrlsSender sends the CreateImagesFromUrls request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromUrlsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromUrlsResponder handles the response to the CreateImagesFromUrls request. The method always
@@ -488,8 +488,8 @@ func (client BaseClient) CreateImageTagsPreparer(ctx context.Context, projectID
// CreateImageTagsSender sends the CreateImageTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImageTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImageTagsResponder handles the response to the CreateImageTags request. The method always
@@ -566,8 +566,8 @@ func (client BaseClient) CreateProjectPreparer(ctx context.Context, name string,
// CreateProjectSender sends the CreateProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateProjectResponder handles the response to the CreateProject request. The method always
@@ -645,8 +645,8 @@ func (client BaseClient) CreateTagPreparer(ctx context.Context, projectID uuid.U
// CreateTagSender sends the CreateTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateTagResponder handles the response to the CreateTag request. The method always
@@ -726,8 +726,8 @@ func (client BaseClient) DeleteImageRegionsPreparer(ctx context.Context, project
// DeleteImageRegionsSender sends the DeleteImageRegions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImageRegionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImageRegionsResponder handles the response to the DeleteImageRegions request. The method always
@@ -806,8 +806,8 @@ func (client BaseClient) DeleteImagesPreparer(ctx context.Context, projectID uui
// DeleteImagesSender sends the DeleteImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImagesResponder handles the response to the DeleteImages request. The method always
@@ -890,8 +890,8 @@ func (client BaseClient) DeleteImageTagsPreparer(ctx context.Context, projectID
// DeleteImageTagsSender sends the DeleteImageTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImageTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImageTagsResponder handles the response to the DeleteImageTags request. The method always
@@ -960,8 +960,8 @@ func (client BaseClient) DeleteIterationPreparer(ctx context.Context, projectID
// DeleteIterationSender sends the DeleteIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteIterationResponder handles the response to the DeleteIteration request. The method always
@@ -1040,8 +1040,8 @@ func (client BaseClient) DeletePredictionPreparer(ctx context.Context, projectID
// DeletePredictionSender sends the DeletePrediction request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeletePredictionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePredictionResponder handles the response to the DeletePrediction request. The method always
@@ -1108,8 +1108,8 @@ func (client BaseClient) DeleteProjectPreparer(ctx context.Context, projectID uu
// DeleteProjectSender sends the DeleteProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteProjectResponder handles the response to the DeleteProject request. The method always
@@ -1178,8 +1178,8 @@ func (client BaseClient) DeleteTagPreparer(ctx context.Context, projectID uuid.U
// DeleteTagSender sends the DeleteTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteTagResponder handles the response to the DeleteTag request. The method always
@@ -1258,8 +1258,8 @@ func (client BaseClient) ExportIterationPreparer(ctx context.Context, projectID
// ExportIterationSender sends the ExportIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ExportIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExportIterationResponder handles the response to the ExportIteration request. The method always
@@ -1327,8 +1327,8 @@ func (client BaseClient) GetDomainPreparer(ctx context.Context, domainID uuid.UU
// GetDomainSender sends the GetDomain request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDomainResponder handles the response to the GetDomain request. The method always
@@ -1390,8 +1390,8 @@ func (client BaseClient) GetDomainsPreparer(ctx context.Context) (*http.Request,
// GetDomainsSender sends the GetDomains request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetDomainsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDomainsResponder handles the response to the GetDomains request. The method always
@@ -1461,8 +1461,8 @@ func (client BaseClient) GetExportsPreparer(ctx context.Context, projectID uuid.
// GetExportsSender sends the GetExports request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetExportsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetExportsResponder handles the response to the GetExports request. The method always
@@ -1541,8 +1541,8 @@ func (client BaseClient) GetImagePerformanceCountPreparer(ctx context.Context, p
// GetImagePerformanceCountSender sends the GetImagePerformanceCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagePerformanceCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagePerformanceCountResponder handles the response to the GetImagePerformanceCount request. The method always
@@ -1639,8 +1639,8 @@ func (client BaseClient) GetImagePerformancesPreparer(ctx context.Context, proje
// GetImagePerformancesSender sends the GetImagePerformances request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagePerformancesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagePerformancesResponder handles the response to the GetImagePerformances request. The method always
@@ -1711,8 +1711,8 @@ func (client BaseClient) GetImageRegionProposalsPreparer(ctx context.Context, pr
// GetImageRegionProposalsSender sends the GetImageRegionProposals request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImageRegionProposalsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImageRegionProposalsResponder handles the response to the GetImageRegionProposals request. The method always
@@ -1793,8 +1793,8 @@ func (client BaseClient) GetImagesByIdsPreparer(ctx context.Context, projectID u
// GetImagesByIdsSender sends the GetImagesByIds request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagesByIdsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagesByIdsResponder handles the response to the GetImagesByIds request. The method always
@@ -1864,8 +1864,8 @@ func (client BaseClient) GetIterationPreparer(ctx context.Context, projectID uui
// GetIterationSender sends the GetIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationResponder handles the response to the GetIteration request. The method always
@@ -1946,8 +1946,8 @@ func (client BaseClient) GetIterationPerformancePreparer(ctx context.Context, pr
// GetIterationPerformanceSender sends the GetIterationPerformance request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationPerformanceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationPerformanceResponder handles the response to the GetIterationPerformance request. The method always
@@ -2015,8 +2015,8 @@ func (client BaseClient) GetIterationsPreparer(ctx context.Context, projectID uu
// GetIterationsSender sends the GetIterations request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationsResponder handles the response to the GetIterations request. The method always
@@ -2084,8 +2084,8 @@ func (client BaseClient) GetProjectPreparer(ctx context.Context, projectID uuid.
// GetProjectSender sends the GetProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetProjectResponder handles the response to the GetProject request. The method always
@@ -2147,8 +2147,8 @@ func (client BaseClient) GetProjectsPreparer(ctx context.Context) (*http.Request
// GetProjectsSender sends the GetProjects request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetProjectsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetProjectsResponder handles the response to the GetProjects request. The method always
@@ -2225,8 +2225,8 @@ func (client BaseClient) GetTagPreparer(ctx context.Context, projectID uuid.UUID
// GetTagSender sends the GetTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTagResponder handles the response to the GetTag request. The method always
@@ -2307,8 +2307,8 @@ func (client BaseClient) GetTaggedImageCountPreparer(ctx context.Context, projec
// GetTaggedImageCountSender sends the GetTaggedImageCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTaggedImageCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaggedImageCountResponder handles the response to the GetTaggedImageCount request. The method always
@@ -2407,8 +2407,8 @@ func (client BaseClient) GetTaggedImagesPreparer(ctx context.Context, projectID
// GetTaggedImagesSender sends the GetTaggedImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTaggedImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaggedImagesResponder handles the response to the GetTaggedImages request. The method always
@@ -2483,8 +2483,8 @@ func (client BaseClient) GetTagsPreparer(ctx context.Context, projectID uuid.UUI
// GetTagsSender sends the GetTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTagsResponder handles the response to the GetTags request. The method always
@@ -2561,8 +2561,8 @@ func (client BaseClient) GetUntaggedImageCountPreparer(ctx context.Context, proj
// GetUntaggedImageCountSender sends the GetUntaggedImageCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetUntaggedImageCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUntaggedImageCountResponder handles the response to the GetUntaggedImageCount request. The method always
@@ -2655,8 +2655,8 @@ func (client BaseClient) GetUntaggedImagesPreparer(ctx context.Context, projectI
// GetUntaggedImagesSender sends the GetUntaggedImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetUntaggedImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUntaggedImagesResponder handles the response to the GetUntaggedImages request. The method always
@@ -2727,8 +2727,8 @@ func (client BaseClient) QueryPredictionsPreparer(ctx context.Context, projectID
// QueryPredictionsSender sends the QueryPredictions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QueryPredictionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QueryPredictionsResponder handles the response to the QueryPredictions request. The method always
@@ -2809,8 +2809,8 @@ func (client BaseClient) QuickTestImagePreparer(ctx context.Context, projectID u
// QuickTestImageSender sends the QuickTestImage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QuickTestImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QuickTestImageResponder handles the response to the QuickTestImage request. The method always
@@ -2889,8 +2889,8 @@ func (client BaseClient) QuickTestImageURLPreparer(ctx context.Context, projectI
// QuickTestImageURLSender sends the QuickTestImageURL request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QuickTestImageURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QuickTestImageURLResponder handles the response to the QuickTestImageURL request. The method always
@@ -2958,8 +2958,8 @@ func (client BaseClient) TrainProjectPreparer(ctx context.Context, projectID uui
// TrainProjectSender sends the TrainProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) TrainProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrainProjectResponder handles the response to the TrainProject request. The method always
@@ -3040,8 +3040,8 @@ func (client BaseClient) UpdateIterationPreparer(ctx context.Context, projectID
// UpdateIterationSender sends the UpdateIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateIterationResponder handles the response to the UpdateIteration request. The method always
@@ -3116,8 +3116,8 @@ func (client BaseClient) UpdateProjectPreparer(ctx context.Context, projectID uu
// UpdateProjectSender sends the UpdateProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateProjectResponder handles the response to the UpdateProject request. The method always
@@ -3192,8 +3192,8 @@ func (client BaseClient) UpdateTagPreparer(ctx context.Context, projectID uuid.U
// UpdateTagSender sends the UpdateTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateTagResponder handles the response to the UpdateTag request. The method always
diff --git a/services/cognitiveservices/v2.0/computervision/client.go b/services/cognitiveservices/v2.0/computervision/client.go
index b40b79586b1b..2fceca32dee2 100644
--- a/services/cognitiveservices/v2.0/computervision/client.go
+++ b/services/cognitiveservices/v2.0/computervision/client.go
@@ -147,8 +147,8 @@ func (client BaseClient) AnalyzeImagePreparer(ctx context.Context, imageURL Imag
// AnalyzeImageSender sends the AnalyzeImage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) AnalyzeImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AnalyzeImageResponder handles the response to the AnalyzeImage request. The method always
@@ -244,8 +244,8 @@ func (client BaseClient) AnalyzeImageByDomainPreparer(ctx context.Context, model
// AnalyzeImageByDomainSender sends the AnalyzeImageByDomain request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) AnalyzeImageByDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AnalyzeImageByDomainResponder handles the response to the AnalyzeImageByDomain request. The method always
@@ -335,8 +335,8 @@ func (client BaseClient) AnalyzeImageByDomainInStreamPreparer(ctx context.Contex
// AnalyzeImageByDomainInStreamSender sends the AnalyzeImageByDomainInStream request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) AnalyzeImageByDomainInStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AnalyzeImageByDomainInStreamResponder handles the response to the AnalyzeImageByDomainInStream request. The method always
@@ -440,8 +440,8 @@ func (client BaseClient) AnalyzeImageInStreamPreparer(ctx context.Context, image
// AnalyzeImageInStreamSender sends the AnalyzeImageInStream request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) AnalyzeImageInStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AnalyzeImageInStreamResponder handles the response to the AnalyzeImageInStream request. The method always
@@ -519,8 +519,8 @@ func (client BaseClient) BatchReadFilePreparer(ctx context.Context, imageURL Ima
// BatchReadFileSender sends the BatchReadFile request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) BatchReadFileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// BatchReadFileResponder handles the response to the BatchReadFile request. The method always
@@ -591,8 +591,8 @@ func (client BaseClient) BatchReadFileInStreamPreparer(ctx context.Context, imag
// BatchReadFileInStreamSender sends the BatchReadFileInStream request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) BatchReadFileInStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// BatchReadFileInStreamResponder handles the response to the BatchReadFileInStream request. The method always
@@ -689,8 +689,8 @@ func (client BaseClient) DescribeImagePreparer(ctx context.Context, imageURL Ima
// DescribeImageSender sends the DescribeImage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DescribeImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DescribeImageResponder handles the response to the DescribeImage request. The method always
@@ -782,8 +782,8 @@ func (client BaseClient) DescribeImageInStreamPreparer(ctx context.Context, imag
// DescribeImageInStreamSender sends the DescribeImageInStream request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DescribeImageInStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DescribeImageInStreamResponder handles the response to the DescribeImageInStream request. The method always
@@ -861,8 +861,8 @@ func (client BaseClient) DetectObjectsPreparer(ctx context.Context, imageURL Ima
// DetectObjectsSender sends the DetectObjects request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DetectObjectsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectObjectsResponder handles the response to the DetectObjects request. The method always
@@ -934,8 +934,8 @@ func (client BaseClient) DetectObjectsInStreamPreparer(ctx context.Context, imag
// DetectObjectsInStreamSender sends the DetectObjectsInStream request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DetectObjectsInStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectObjectsInStreamResponder handles the response to the DetectObjectsInStream request. The method always
@@ -1037,8 +1037,8 @@ func (client BaseClient) GenerateThumbnailPreparer(ctx context.Context, width in
// GenerateThumbnailSender sends the GenerateThumbnail request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GenerateThumbnailSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateThumbnailResponder handles the response to the GenerateThumbnail request. The method always
@@ -1138,8 +1138,8 @@ func (client BaseClient) GenerateThumbnailInStreamPreparer(ctx context.Context,
// GenerateThumbnailInStreamSender sends the GenerateThumbnailInStream request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GenerateThumbnailInStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GenerateThumbnailInStreamResponder handles the response to the GenerateThumbnailInStream request. The method always
@@ -1217,8 +1217,8 @@ func (client BaseClient) GetAreaOfInterestPreparer(ctx context.Context, imageURL
// GetAreaOfInterestSender sends the GetAreaOfInterest request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetAreaOfInterestSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAreaOfInterestResponder handles the response to the GetAreaOfInterest request. The method always
@@ -1291,8 +1291,8 @@ func (client BaseClient) GetAreaOfInterestInStreamPreparer(ctx context.Context,
// GetAreaOfInterestInStreamSender sends the GetAreaOfInterestInStream request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetAreaOfInterestInStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAreaOfInterestInStreamResponder handles the response to the GetAreaOfInterestInStream request. The method always
@@ -1364,8 +1364,8 @@ func (client BaseClient) GetReadOperationResultPreparer(ctx context.Context, ope
// GetReadOperationResultSender sends the GetReadOperationResult request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetReadOperationResultSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetReadOperationResultResponder handles the response to the GetReadOperationResult request. The method always
@@ -1437,8 +1437,8 @@ func (client BaseClient) GetTextOperationResultPreparer(ctx context.Context, ope
// GetTextOperationResultSender sends the GetTextOperationResult request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTextOperationResultSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTextOperationResultResponder handles the response to the GetTextOperationResult request. The method always
@@ -1506,8 +1506,8 @@ func (client BaseClient) ListModelsPreparer(ctx context.Context) (*http.Request,
// ListModelsSender sends the ListModels request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ListModelsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListModelsResponder handles the response to the ListModels request. The method always
@@ -1601,8 +1601,8 @@ func (client BaseClient) RecognizePrintedTextPreparer(ctx context.Context, detec
// RecognizePrintedTextSender sends the RecognizePrintedText request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) RecognizePrintedTextSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RecognizePrintedTextResponder handles the response to the RecognizePrintedText request. The method always
@@ -1690,8 +1690,8 @@ func (client BaseClient) RecognizePrintedTextInStreamPreparer(ctx context.Contex
// RecognizePrintedTextInStreamSender sends the RecognizePrintedTextInStream request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) RecognizePrintedTextInStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RecognizePrintedTextInStreamResponder handles the response to the RecognizePrintedTextInStream request. The method always
@@ -1774,8 +1774,8 @@ func (client BaseClient) RecognizeTextPreparer(ctx context.Context, imageURL Ima
// RecognizeTextSender sends the RecognizeText request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) RecognizeTextSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RecognizeTextResponder handles the response to the RecognizeText request. The method always
@@ -1851,8 +1851,8 @@ func (client BaseClient) RecognizeTextInStreamPreparer(ctx context.Context, imag
// RecognizeTextInStreamSender sends the RecognizeTextInStream request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) RecognizeTextInStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RecognizeTextInStreamResponder handles the response to the RecognizeTextInStream request. The method always
@@ -1944,8 +1944,8 @@ func (client BaseClient) TagImagePreparer(ctx context.Context, imageURL ImageURL
// TagImageSender sends the TagImage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) TagImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TagImageResponder handles the response to the TagImage request. The method always
@@ -2032,8 +2032,8 @@ func (client BaseClient) TagImageInStreamPreparer(ctx context.Context, imagePara
// TagImageInStreamSender sends the TagImageInStream request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) TagImageInStreamSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TagImageInStreamResponder handles the response to the TagImageInStream request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/authoring/apps.go b/services/cognitiveservices/v2.0/luis/authoring/apps.go
index 3779d0438de9..38fddba13f4a 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/apps.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/apps.go
@@ -99,8 +99,8 @@ func (client AppsClient) AddPreparer(ctx context.Context, applicationCreateObjec
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -169,8 +169,8 @@ func (client AppsClient) AddCustomPrebuiltDomainPreparer(ctx context.Context, pr
// AddCustomPrebuiltDomainSender sends the AddCustomPrebuiltDomain request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) AddCustomPrebuiltDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCustomPrebuiltDomainResponder handles the response to the AddCustomPrebuiltDomain request. The method always
@@ -250,8 +250,8 @@ func (client AppsClient) DeletePreparer(ctx context.Context, appID uuid.UUID, fo
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -322,8 +322,8 @@ func (client AppsClient) DownloadQueryLogsPreparer(ctx context.Context, appID uu
// DownloadQueryLogsSender sends the DownloadQueryLogs request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) DownloadQueryLogsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DownloadQueryLogsResponder handles the response to the DownloadQueryLogs request. The method always
@@ -393,8 +393,8 @@ func (client AppsClient) GetPreparer(ctx context.Context, appID uuid.UUID) (*htt
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -465,8 +465,8 @@ func (client AppsClient) GetPublishSettingsPreparer(ctx context.Context, appID u
// GetPublishSettingsSender sends the GetPublishSettings request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) GetPublishSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPublishSettingsResponder handles the response to the GetPublishSettings request. The method always
@@ -537,8 +537,8 @@ func (client AppsClient) GetSettingsPreparer(ctx context.Context, appID uuid.UUI
// GetSettingsSender sends the GetSettings request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) GetSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetSettingsResponder handles the response to the GetSettings request. The method always
@@ -615,8 +615,8 @@ func (client AppsClient) ImportPreparer(ctx context.Context, luisApp LuisApp, ap
// ImportSender sends the Import request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) ImportSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ImportResponder handles the response to the Import request. The method always
@@ -709,8 +709,8 @@ func (client AppsClient) ListPreparer(ctx context.Context, skip *int32, take *in
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -775,8 +775,8 @@ func (client AppsClient) ListAvailableCustomPrebuiltDomainsPreparer(ctx context.
// ListAvailableCustomPrebuiltDomainsSender sends the ListAvailableCustomPrebuiltDomains request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) ListAvailableCustomPrebuiltDomainsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableCustomPrebuiltDomainsResponder handles the response to the ListAvailableCustomPrebuiltDomains request. The method always
@@ -847,8 +847,8 @@ func (client AppsClient) ListAvailableCustomPrebuiltDomainsForCulturePreparer(ct
// ListAvailableCustomPrebuiltDomainsForCultureSender sends the ListAvailableCustomPrebuiltDomainsForCulture request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) ListAvailableCustomPrebuiltDomainsForCultureSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableCustomPrebuiltDomainsForCultureResponder handles the response to the ListAvailableCustomPrebuiltDomainsForCulture request. The method always
@@ -913,8 +913,8 @@ func (client AppsClient) ListCortanaEndpointsPreparer(ctx context.Context) (*htt
// ListCortanaEndpointsSender sends the ListCortanaEndpoints request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) ListCortanaEndpointsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCortanaEndpointsResponder handles the response to the ListCortanaEndpoints request. The method always
@@ -979,8 +979,8 @@ func (client AppsClient) ListDomainsPreparer(ctx context.Context) (*http.Request
// ListDomainsSender sends the ListDomains request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) ListDomainsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListDomainsResponder handles the response to the ListDomains request. The method always
@@ -1051,8 +1051,8 @@ func (client AppsClient) ListEndpointsPreparer(ctx context.Context, appID uuid.U
// ListEndpointsSender sends the ListEndpoints request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) ListEndpointsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListEndpointsResponder handles the response to the ListEndpoints request. The method always
@@ -1118,8 +1118,8 @@ func (client AppsClient) ListSupportedCulturesPreparer(ctx context.Context) (*ht
// ListSupportedCulturesSender sends the ListSupportedCultures request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) ListSupportedCulturesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSupportedCulturesResponder handles the response to the ListSupportedCultures request. The method always
@@ -1184,8 +1184,8 @@ func (client AppsClient) ListUsageScenariosPreparer(ctx context.Context) (*http.
// ListUsageScenariosSender sends the ListUsageScenarios request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) ListUsageScenariosSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsageScenariosResponder handles the response to the ListUsageScenarios request. The method always
@@ -1259,8 +1259,8 @@ func (client AppsClient) PackagePublishedApplicationAsGzipPreparer(ctx context.C
// PackagePublishedApplicationAsGzipSender sends the PackagePublishedApplicationAsGzip request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) PackagePublishedApplicationAsGzipSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PackagePublishedApplicationAsGzipResponder handles the response to the PackagePublishedApplicationAsGzip request. The method always
@@ -1332,8 +1332,8 @@ func (client AppsClient) PackageTrainedApplicationAsGzipPreparer(ctx context.Con
// PackageTrainedApplicationAsGzipSender sends the PackageTrainedApplicationAsGzip request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) PackageTrainedApplicationAsGzipSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PackageTrainedApplicationAsGzipResponder handles the response to the PackageTrainedApplicationAsGzip request. The method always
@@ -1407,8 +1407,8 @@ func (client AppsClient) PublishPreparer(ctx context.Context, appID uuid.UUID, a
// PublishSender sends the Publish request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) PublishSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PublishResponder handles the response to the Publish request. The method always
@@ -1482,8 +1482,8 @@ func (client AppsClient) UpdatePreparer(ctx context.Context, appID uuid.UUID, ap
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
@@ -1557,8 +1557,8 @@ func (client AppsClient) UpdatePublishSettingsPreparer(ctx context.Context, appI
// UpdatePublishSettingsSender sends the UpdatePublishSettings request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) UpdatePublishSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePublishSettingsResponder handles the response to the UpdatePublishSettings request. The method always
@@ -1632,8 +1632,8 @@ func (client AppsClient) UpdateSettingsPreparer(ctx context.Context, appID uuid.
// UpdateSettingsSender sends the UpdateSettings request. The method will close the
// http.Response Body if it receives an error.
func (client AppsClient) UpdateSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateSettingsResponder handles the response to the UpdateSettings request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/authoring/azureaccounts.go b/services/cognitiveservices/v2.0/luis/authoring/azureaccounts.go
index 3455732e925c..101c79ebddd8 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/azureaccounts.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/azureaccounts.go
@@ -108,8 +108,8 @@ func (client AzureAccountsClient) AssignToAppPreparer(ctx context.Context, appID
// AssignToAppSender sends the AssignToApp request. The method will close the
// http.Response Body if it receives an error.
func (client AzureAccountsClient) AssignToAppSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AssignToAppResponder handles the response to the AssignToApp request. The method always
@@ -180,8 +180,8 @@ func (client AzureAccountsClient) GetAssignedPreparer(ctx context.Context, appID
// GetAssignedSender sends the GetAssigned request. The method will close the
// http.Response Body if it receives an error.
func (client AzureAccountsClient) GetAssignedSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAssignedResponder handles the response to the GetAssigned request. The method always
@@ -246,8 +246,8 @@ func (client AzureAccountsClient) ListUserLUISAccountsPreparer(ctx context.Conte
// ListUserLUISAccountsSender sends the ListUserLUISAccounts request. The method will close the
// http.Response Body if it receives an error.
func (client AzureAccountsClient) ListUserLUISAccountsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUserLUISAccountsResponder handles the response to the ListUserLUISAccounts request. The method always
@@ -334,8 +334,8 @@ func (client AzureAccountsClient) RemoveFromAppPreparer(ctx context.Context, app
// RemoveFromAppSender sends the RemoveFromApp request. The method will close the
// http.Response Body if it receives an error.
func (client AzureAccountsClient) RemoveFromAppSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RemoveFromAppResponder handles the response to the RemoveFromApp request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/authoring/examples.go b/services/cognitiveservices/v2.0/luis/authoring/examples.go
index f96272414856..78ecbf72d81f 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/examples.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/examples.go
@@ -97,8 +97,8 @@ func (client ExamplesClient) AddPreparer(ctx context.Context, appID uuid.UUID, v
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client ExamplesClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -180,8 +180,8 @@ func (client ExamplesClient) BatchPreparer(ctx context.Context, appID uuid.UUID,
// BatchSender sends the Batch request. The method will close the
// http.Response Body if it receives an error.
func (client ExamplesClient) BatchSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// BatchResponder handles the response to the Batch request. The method always
@@ -256,8 +256,8 @@ func (client ExamplesClient) DeletePreparer(ctx context.Context, appID uuid.UUID
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ExamplesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -357,8 +357,8 @@ func (client ExamplesClient) ListPreparer(ctx context.Context, appID uuid.UUID,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ExamplesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/authoring/features.go b/services/cognitiveservices/v2.0/luis/authoring/features.go
index 2aa13747b102..cec6604ed7de 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/features.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/features.go
@@ -98,8 +98,8 @@ func (client FeaturesClient) AddPhraseListPreparer(ctx context.Context, appID uu
// AddPhraseListSender sends the AddPhraseList request. The method will close the
// http.Response Body if it receives an error.
func (client FeaturesClient) AddPhraseListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddPhraseListResponder handles the response to the AddPhraseList request. The method always
@@ -174,8 +174,8 @@ func (client FeaturesClient) DeletePhraseListPreparer(ctx context.Context, appID
// DeletePhraseListSender sends the DeletePhraseList request. The method will close the
// http.Response Body if it receives an error.
func (client FeaturesClient) DeletePhraseListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePhraseListResponder handles the response to the DeletePhraseList request. The method always
@@ -250,8 +250,8 @@ func (client FeaturesClient) GetPhraseListPreparer(ctx context.Context, appID uu
// GetPhraseListSender sends the GetPhraseList request. The method will close the
// http.Response Body if it receives an error.
func (client FeaturesClient) GetPhraseListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPhraseListResponder handles the response to the GetPhraseList request. The method always
@@ -351,8 +351,8 @@ func (client FeaturesClient) ListPreparer(ctx context.Context, appID uuid.UUID,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client FeaturesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -453,8 +453,8 @@ func (client FeaturesClient) ListApplicationVersionPatternFeaturesPreparer(ctx c
// ListApplicationVersionPatternFeaturesSender sends the ListApplicationVersionPatternFeatures request. The method will close the
// http.Response Body if it receives an error.
func (client FeaturesClient) ListApplicationVersionPatternFeaturesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListApplicationVersionPatternFeaturesResponder handles the response to the ListApplicationVersionPatternFeatures request. The method always
@@ -554,8 +554,8 @@ func (client FeaturesClient) ListPhraseListsPreparer(ctx context.Context, appID
// ListPhraseListsSender sends the ListPhraseLists request. The method will close the
// http.Response Body if it receives an error.
func (client FeaturesClient) ListPhraseListsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPhraseListsResponder handles the response to the ListPhraseLists request. The method always
@@ -638,8 +638,8 @@ func (client FeaturesClient) UpdatePhraseListPreparer(ctx context.Context, appID
// UpdatePhraseListSender sends the UpdatePhraseList request. The method will close the
// http.Response Body if it receives an error.
func (client FeaturesClient) UpdatePhraseListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePhraseListResponder handles the response to the UpdatePhraseList request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/authoring/model.go b/services/cognitiveservices/v2.0/luis/authoring/model.go
index 727ea3cf4aa9..7d750e922094 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/model.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/model.go
@@ -97,8 +97,8 @@ func (client ModelClient) AddClosedListPreparer(ctx context.Context, appID uuid.
// AddClosedListSender sends the AddClosedList request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddClosedListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddClosedListResponder handles the response to the AddClosedList request. The method always
@@ -174,8 +174,8 @@ func (client ModelClient) AddCompositeEntityPreparer(ctx context.Context, appID
// AddCompositeEntitySender sends the AddCompositeEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddCompositeEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCompositeEntityResponder handles the response to the AddCompositeEntity request. The method always
@@ -254,8 +254,8 @@ func (client ModelClient) AddCompositeEntityChildPreparer(ctx context.Context, a
// AddCompositeEntityChildSender sends the AddCompositeEntityChild request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddCompositeEntityChildSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCompositeEntityChildResponder handles the response to the AddCompositeEntityChild request. The method always
@@ -332,8 +332,8 @@ func (client ModelClient) AddCustomPrebuiltDomainPreparer(ctx context.Context, a
// AddCustomPrebuiltDomainSender sends the AddCustomPrebuiltDomain request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddCustomPrebuiltDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCustomPrebuiltDomainResponder handles the response to the AddCustomPrebuiltDomain request. The method always
@@ -410,8 +410,8 @@ func (client ModelClient) AddCustomPrebuiltEntityPreparer(ctx context.Context, a
// AddCustomPrebuiltEntitySender sends the AddCustomPrebuiltEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddCustomPrebuiltEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCustomPrebuiltEntityResponder handles the response to the AddCustomPrebuiltEntity request. The method always
@@ -488,8 +488,8 @@ func (client ModelClient) AddCustomPrebuiltIntentPreparer(ctx context.Context, a
// AddCustomPrebuiltIntentSender sends the AddCustomPrebuiltIntent request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddCustomPrebuiltIntentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddCustomPrebuiltIntentResponder handles the response to the AddCustomPrebuiltIntent request. The method always
@@ -565,8 +565,8 @@ func (client ModelClient) AddEntityPreparer(ctx context.Context, appID uuid.UUID
// AddEntitySender sends the AddEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddEntityResponder handles the response to the AddEntity request. The method always
@@ -644,8 +644,8 @@ func (client ModelClient) AddExplicitListItemPreparer(ctx context.Context, appID
// AddExplicitListItemSender sends the AddExplicitListItem request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddExplicitListItemSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddExplicitListItemResponder handles the response to the AddExplicitListItem request. The method always
@@ -721,8 +721,8 @@ func (client ModelClient) AddHierarchicalEntityPreparer(ctx context.Context, app
// AddHierarchicalEntitySender sends the AddHierarchicalEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddHierarchicalEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddHierarchicalEntityResponder handles the response to the AddHierarchicalEntity request. The method always
@@ -801,8 +801,8 @@ func (client ModelClient) AddHierarchicalEntityChildPreparer(ctx context.Context
// AddHierarchicalEntityChildSender sends the AddHierarchicalEntityChild request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddHierarchicalEntityChildSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddHierarchicalEntityChildResponder handles the response to the AddHierarchicalEntityChild request. The method always
@@ -878,8 +878,8 @@ func (client ModelClient) AddIntentPreparer(ctx context.Context, appID uuid.UUID
// AddIntentSender sends the AddIntent request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddIntentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddIntentResponder handles the response to the AddIntent request. The method always
@@ -961,8 +961,8 @@ func (client ModelClient) AddPrebuiltPreparer(ctx context.Context, appID uuid.UU
// AddPrebuiltSender sends the AddPrebuilt request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddPrebuiltSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddPrebuiltResponder handles the response to the AddPrebuilt request. The method always
@@ -1040,8 +1040,8 @@ func (client ModelClient) AddSubListPreparer(ctx context.Context, appID uuid.UUI
// AddSubListSender sends the AddSubList request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) AddSubListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddSubListResponder handles the response to the AddSubList request. The method always
@@ -1119,8 +1119,8 @@ func (client ModelClient) CreateClosedListEntityRolePreparer(ctx context.Context
// CreateClosedListEntityRoleSender sends the CreateClosedListEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) CreateClosedListEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateClosedListEntityRoleResponder handles the response to the CreateClosedListEntityRole request. The method always
@@ -1198,8 +1198,8 @@ func (client ModelClient) CreateCompositeEntityRolePreparer(ctx context.Context,
// CreateCompositeEntityRoleSender sends the CreateCompositeEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) CreateCompositeEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateCompositeEntityRoleResponder handles the response to the CreateCompositeEntityRole request. The method always
@@ -1277,8 +1277,8 @@ func (client ModelClient) CreateCustomPrebuiltEntityRolePreparer(ctx context.Con
// CreateCustomPrebuiltEntityRoleSender sends the CreateCustomPrebuiltEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) CreateCustomPrebuiltEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateCustomPrebuiltEntityRoleResponder handles the response to the CreateCustomPrebuiltEntityRole request. The method always
@@ -1356,8 +1356,8 @@ func (client ModelClient) CreateEntityRolePreparer(ctx context.Context, appID uu
// CreateEntityRoleSender sends the CreateEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) CreateEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateEntityRoleResponder handles the response to the CreateEntityRole request. The method always
@@ -1435,8 +1435,8 @@ func (client ModelClient) CreateHierarchicalEntityRolePreparer(ctx context.Conte
// CreateHierarchicalEntityRoleSender sends the CreateHierarchicalEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) CreateHierarchicalEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateHierarchicalEntityRoleResponder handles the response to the CreateHierarchicalEntityRole request. The method always
@@ -1513,8 +1513,8 @@ func (client ModelClient) CreatePatternAnyEntityModelPreparer(ctx context.Contex
// CreatePatternAnyEntityModelSender sends the CreatePatternAnyEntityModel request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) CreatePatternAnyEntityModelSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreatePatternAnyEntityModelResponder handles the response to the CreatePatternAnyEntityModel request. The method always
@@ -1592,8 +1592,8 @@ func (client ModelClient) CreatePatternAnyEntityRolePreparer(ctx context.Context
// CreatePatternAnyEntityRoleSender sends the CreatePatternAnyEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) CreatePatternAnyEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreatePatternAnyEntityRoleResponder handles the response to the CreatePatternAnyEntityRole request. The method always
@@ -1671,8 +1671,8 @@ func (client ModelClient) CreatePrebuiltEntityRolePreparer(ctx context.Context,
// CreatePrebuiltEntityRoleSender sends the CreatePrebuiltEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) CreatePrebuiltEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreatePrebuiltEntityRoleResponder handles the response to the CreatePrebuiltEntityRole request. The method always
@@ -1749,8 +1749,8 @@ func (client ModelClient) CreateRegexEntityModelPreparer(ctx context.Context, ap
// CreateRegexEntityModelSender sends the CreateRegexEntityModel request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) CreateRegexEntityModelSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateRegexEntityModelResponder handles the response to the CreateRegexEntityModel request. The method always
@@ -1828,8 +1828,8 @@ func (client ModelClient) CreateRegexEntityRolePreparer(ctx context.Context, app
// CreateRegexEntityRoleSender sends the CreateRegexEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) CreateRegexEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateRegexEntityRoleResponder handles the response to the CreateRegexEntityRole request. The method always
@@ -1904,8 +1904,8 @@ func (client ModelClient) DeleteClosedListPreparer(ctx context.Context, appID uu
// DeleteClosedListSender sends the DeleteClosedList request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteClosedListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteClosedListResponder handles the response to the DeleteClosedList request. The method always
@@ -1982,8 +1982,8 @@ func (client ModelClient) DeleteClosedListEntityRolePreparer(ctx context.Context
// DeleteClosedListEntityRoleSender sends the DeleteClosedListEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteClosedListEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteClosedListEntityRoleResponder handles the response to the DeleteClosedListEntityRole request. The method always
@@ -2058,8 +2058,8 @@ func (client ModelClient) DeleteCompositeEntityPreparer(ctx context.Context, app
// DeleteCompositeEntitySender sends the DeleteCompositeEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteCompositeEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteCompositeEntityResponder handles the response to the DeleteCompositeEntity request. The method always
@@ -2136,8 +2136,8 @@ func (client ModelClient) DeleteCompositeEntityChildPreparer(ctx context.Context
// DeleteCompositeEntityChildSender sends the DeleteCompositeEntityChild request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteCompositeEntityChildSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteCompositeEntityChildResponder handles the response to the DeleteCompositeEntityChild request. The method always
@@ -2214,8 +2214,8 @@ func (client ModelClient) DeleteCompositeEntityRolePreparer(ctx context.Context,
// DeleteCompositeEntityRoleSender sends the DeleteCompositeEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteCompositeEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteCompositeEntityRoleResponder handles the response to the DeleteCompositeEntityRole request. The method always
@@ -2292,8 +2292,8 @@ func (client ModelClient) DeleteCustomEntityRolePreparer(ctx context.Context, ap
// DeleteCustomEntityRoleSender sends the DeleteCustomEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteCustomEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteCustomEntityRoleResponder handles the response to the DeleteCustomEntityRole request. The method always
@@ -2368,8 +2368,8 @@ func (client ModelClient) DeleteCustomPrebuiltDomainPreparer(ctx context.Context
// DeleteCustomPrebuiltDomainSender sends the DeleteCustomPrebuiltDomain request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteCustomPrebuiltDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteCustomPrebuiltDomainResponder handles the response to the DeleteCustomPrebuiltDomain request. The method always
@@ -2444,8 +2444,8 @@ func (client ModelClient) DeleteEntityPreparer(ctx context.Context, appID uuid.U
// DeleteEntitySender sends the DeleteEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteEntityResponder handles the response to the DeleteEntity request. The method always
@@ -2522,8 +2522,8 @@ func (client ModelClient) DeleteEntityRolePreparer(ctx context.Context, appID uu
// DeleteEntityRoleSender sends the DeleteEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteEntityRoleResponder handles the response to the DeleteEntityRole request. The method always
@@ -2600,8 +2600,8 @@ func (client ModelClient) DeleteExplicitListItemPreparer(ctx context.Context, ap
// DeleteExplicitListItemSender sends the DeleteExplicitListItem request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteExplicitListItemSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteExplicitListItemResponder handles the response to the DeleteExplicitListItem request. The method always
@@ -2676,8 +2676,8 @@ func (client ModelClient) DeleteHierarchicalEntityPreparer(ctx context.Context,
// DeleteHierarchicalEntitySender sends the DeleteHierarchicalEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteHierarchicalEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteHierarchicalEntityResponder handles the response to the DeleteHierarchicalEntity request. The method always
@@ -2754,8 +2754,8 @@ func (client ModelClient) DeleteHierarchicalEntityChildPreparer(ctx context.Cont
// DeleteHierarchicalEntityChildSender sends the DeleteHierarchicalEntityChild request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteHierarchicalEntityChildSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteHierarchicalEntityChildResponder handles the response to the DeleteHierarchicalEntityChild request. The method always
@@ -2832,8 +2832,8 @@ func (client ModelClient) DeleteHierarchicalEntityRolePreparer(ctx context.Conte
// DeleteHierarchicalEntityRoleSender sends the DeleteHierarchicalEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteHierarchicalEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteHierarchicalEntityRoleResponder handles the response to the DeleteHierarchicalEntityRole request. The method always
@@ -2918,8 +2918,8 @@ func (client ModelClient) DeleteIntentPreparer(ctx context.Context, appID uuid.U
// DeleteIntentSender sends the DeleteIntent request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteIntentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteIntentResponder handles the response to the DeleteIntent request. The method always
@@ -2994,8 +2994,8 @@ func (client ModelClient) DeletePatternAnyEntityModelPreparer(ctx context.Contex
// DeletePatternAnyEntityModelSender sends the DeletePatternAnyEntityModel request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeletePatternAnyEntityModelSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePatternAnyEntityModelResponder handles the response to the DeletePatternAnyEntityModel request. The method always
@@ -3072,8 +3072,8 @@ func (client ModelClient) DeletePatternAnyEntityRolePreparer(ctx context.Context
// DeletePatternAnyEntityRoleSender sends the DeletePatternAnyEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeletePatternAnyEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePatternAnyEntityRoleResponder handles the response to the DeletePatternAnyEntityRole request. The method always
@@ -3148,8 +3148,8 @@ func (client ModelClient) DeletePrebuiltPreparer(ctx context.Context, appID uuid
// DeletePrebuiltSender sends the DeletePrebuilt request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeletePrebuiltSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePrebuiltResponder handles the response to the DeletePrebuilt request. The method always
@@ -3226,8 +3226,8 @@ func (client ModelClient) DeletePrebuiltEntityRolePreparer(ctx context.Context,
// DeletePrebuiltEntityRoleSender sends the DeletePrebuiltEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeletePrebuiltEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePrebuiltEntityRoleResponder handles the response to the DeletePrebuiltEntityRole request. The method always
@@ -3302,8 +3302,8 @@ func (client ModelClient) DeleteRegexEntityModelPreparer(ctx context.Context, ap
// DeleteRegexEntityModelSender sends the DeleteRegexEntityModel request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteRegexEntityModelSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteRegexEntityModelResponder handles the response to the DeleteRegexEntityModel request. The method always
@@ -3380,8 +3380,8 @@ func (client ModelClient) DeleteRegexEntityRolePreparer(ctx context.Context, app
// DeleteRegexEntityRoleSender sends the DeleteRegexEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteRegexEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteRegexEntityRoleResponder handles the response to the DeleteRegexEntityRole request. The method always
@@ -3458,8 +3458,8 @@ func (client ModelClient) DeleteSubListPreparer(ctx context.Context, appID uuid.
// DeleteSubListSender sends the DeleteSubList request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) DeleteSubListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteSubListResponder handles the response to the DeleteSubList request. The method always
@@ -3561,8 +3561,8 @@ func (client ModelClient) ExamplesMethodPreparer(ctx context.Context, appID uuid
// ExamplesMethodSender sends the ExamplesMethod request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ExamplesMethodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExamplesMethodResponder handles the response to the ExamplesMethod request. The method always
@@ -3637,8 +3637,8 @@ func (client ModelClient) GetClosedListPreparer(ctx context.Context, appID uuid.
// GetClosedListSender sends the GetClosedList request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetClosedListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetClosedListResponder handles the response to the GetClosedList request. The method always
@@ -3715,8 +3715,8 @@ func (client ModelClient) GetClosedListEntityRolePreparer(ctx context.Context, a
// GetClosedListEntityRoleSender sends the GetClosedListEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetClosedListEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetClosedListEntityRoleResponder handles the response to the GetClosedListEntityRole request. The method always
@@ -3791,8 +3791,8 @@ func (client ModelClient) GetCompositeEntityPreparer(ctx context.Context, appID
// GetCompositeEntitySender sends the GetCompositeEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetCompositeEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCompositeEntityResponder handles the response to the GetCompositeEntity request. The method always
@@ -3869,8 +3869,8 @@ func (client ModelClient) GetCompositeEntityRolePreparer(ctx context.Context, ap
// GetCompositeEntityRoleSender sends the GetCompositeEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetCompositeEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCompositeEntityRoleResponder handles the response to the GetCompositeEntityRole request. The method always
@@ -3947,8 +3947,8 @@ func (client ModelClient) GetCustomEntityRolePreparer(ctx context.Context, appID
// GetCustomEntityRoleSender sends the GetCustomEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetCustomEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCustomEntityRoleResponder handles the response to the GetCustomEntityRole request. The method always
@@ -4023,8 +4023,8 @@ func (client ModelClient) GetEntityPreparer(ctx context.Context, appID uuid.UUID
// GetEntitySender sends the GetEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetEntityResponder handles the response to the GetEntity request. The method always
@@ -4101,8 +4101,8 @@ func (client ModelClient) GetEntityRolePreparer(ctx context.Context, appID uuid.
// GetEntityRoleSender sends the GetEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetEntityRoleResponder handles the response to the GetEntityRole request. The method always
@@ -4177,8 +4177,8 @@ func (client ModelClient) GetExplicitListPreparer(ctx context.Context, appID uui
// GetExplicitListSender sends the GetExplicitList request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetExplicitListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetExplicitListResponder handles the response to the GetExplicitList request. The method always
@@ -4255,8 +4255,8 @@ func (client ModelClient) GetExplicitListItemPreparer(ctx context.Context, appID
// GetExplicitListItemSender sends the GetExplicitListItem request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetExplicitListItemSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetExplicitListItemResponder handles the response to the GetExplicitListItem request. The method always
@@ -4331,8 +4331,8 @@ func (client ModelClient) GetHierarchicalEntityPreparer(ctx context.Context, app
// GetHierarchicalEntitySender sends the GetHierarchicalEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetHierarchicalEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetHierarchicalEntityResponder handles the response to the GetHierarchicalEntity request. The method always
@@ -4410,8 +4410,8 @@ func (client ModelClient) GetHierarchicalEntityChildPreparer(ctx context.Context
// GetHierarchicalEntityChildSender sends the GetHierarchicalEntityChild request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetHierarchicalEntityChildSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetHierarchicalEntityChildResponder handles the response to the GetHierarchicalEntityChild request. The method always
@@ -4488,8 +4488,8 @@ func (client ModelClient) GetHierarchicalEntityRolePreparer(ctx context.Context,
// GetHierarchicalEntityRoleSender sends the GetHierarchicalEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetHierarchicalEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetHierarchicalEntityRoleResponder handles the response to the GetHierarchicalEntityRole request. The method always
@@ -4564,8 +4564,8 @@ func (client ModelClient) GetIntentPreparer(ctx context.Context, appID uuid.UUID
// GetIntentSender sends the GetIntent request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetIntentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIntentResponder handles the response to the GetIntent request. The method always
@@ -4640,8 +4640,8 @@ func (client ModelClient) GetPatternAnyEntityInfoPreparer(ctx context.Context, a
// GetPatternAnyEntityInfoSender sends the GetPatternAnyEntityInfo request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetPatternAnyEntityInfoSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPatternAnyEntityInfoResponder handles the response to the GetPatternAnyEntityInfo request. The method always
@@ -4718,8 +4718,8 @@ func (client ModelClient) GetPatternAnyEntityRolePreparer(ctx context.Context, a
// GetPatternAnyEntityRoleSender sends the GetPatternAnyEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetPatternAnyEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPatternAnyEntityRoleResponder handles the response to the GetPatternAnyEntityRole request. The method always
@@ -4794,8 +4794,8 @@ func (client ModelClient) GetPrebuiltPreparer(ctx context.Context, appID uuid.UU
// GetPrebuiltSender sends the GetPrebuilt request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetPrebuiltSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPrebuiltResponder handles the response to the GetPrebuilt request. The method always
@@ -4872,8 +4872,8 @@ func (client ModelClient) GetPrebuiltEntityRolePreparer(ctx context.Context, app
// GetPrebuiltEntityRoleSender sends the GetPrebuiltEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetPrebuiltEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetPrebuiltEntityRoleResponder handles the response to the GetPrebuiltEntityRole request. The method always
@@ -4948,8 +4948,8 @@ func (client ModelClient) GetRegexEntityEntityInfoPreparer(ctx context.Context,
// GetRegexEntityEntityInfoSender sends the GetRegexEntityEntityInfo request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetRegexEntityEntityInfoSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRegexEntityEntityInfoResponder handles the response to the GetRegexEntityEntityInfo request. The method always
@@ -5026,8 +5026,8 @@ func (client ModelClient) GetRegexEntityRolePreparer(ctx context.Context, appID
// GetRegexEntityRoleSender sends the GetRegexEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) GetRegexEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetRegexEntityRoleResponder handles the response to the GetRegexEntityRole request. The method always
@@ -5102,8 +5102,8 @@ func (client ModelClient) ListClosedListEntityRolesPreparer(ctx context.Context,
// ListClosedListEntityRolesSender sends the ListClosedListEntityRoles request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListClosedListEntityRolesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListClosedListEntityRolesResponder handles the response to the ListClosedListEntityRoles request. The method always
@@ -5203,8 +5203,8 @@ func (client ModelClient) ListClosedListsPreparer(ctx context.Context, appID uui
// ListClosedListsSender sends the ListClosedLists request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListClosedListsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListClosedListsResponder handles the response to the ListClosedLists request. The method always
@@ -5304,8 +5304,8 @@ func (client ModelClient) ListCompositeEntitiesPreparer(ctx context.Context, app
// ListCompositeEntitiesSender sends the ListCompositeEntities request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListCompositeEntitiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCompositeEntitiesResponder handles the response to the ListCompositeEntities request. The method always
@@ -5380,8 +5380,8 @@ func (client ModelClient) ListCompositeEntityRolesPreparer(ctx context.Context,
// ListCompositeEntityRolesSender sends the ListCompositeEntityRoles request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListCompositeEntityRolesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCompositeEntityRolesResponder handles the response to the ListCompositeEntityRoles request. The method always
@@ -5454,8 +5454,8 @@ func (client ModelClient) ListCustomPrebuiltEntitiesPreparer(ctx context.Context
// ListCustomPrebuiltEntitiesSender sends the ListCustomPrebuiltEntities request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListCustomPrebuiltEntitiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCustomPrebuiltEntitiesResponder handles the response to the ListCustomPrebuiltEntities request. The method always
@@ -5530,8 +5530,8 @@ func (client ModelClient) ListCustomPrebuiltEntityRolesPreparer(ctx context.Cont
// ListCustomPrebuiltEntityRolesSender sends the ListCustomPrebuiltEntityRoles request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListCustomPrebuiltEntityRolesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCustomPrebuiltEntityRolesResponder handles the response to the ListCustomPrebuiltEntityRoles request. The method always
@@ -5605,8 +5605,8 @@ func (client ModelClient) ListCustomPrebuiltIntentsPreparer(ctx context.Context,
// ListCustomPrebuiltIntentsSender sends the ListCustomPrebuiltIntents request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListCustomPrebuiltIntentsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCustomPrebuiltIntentsResponder handles the response to the ListCustomPrebuiltIntents request. The method always
@@ -5680,8 +5680,8 @@ func (client ModelClient) ListCustomPrebuiltModelsPreparer(ctx context.Context,
// ListCustomPrebuiltModelsSender sends the ListCustomPrebuiltModels request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListCustomPrebuiltModelsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCustomPrebuiltModelsResponder handles the response to the ListCustomPrebuiltModels request. The method always
@@ -5781,8 +5781,8 @@ func (client ModelClient) ListEntitiesPreparer(ctx context.Context, appID uuid.U
// ListEntitiesSender sends the ListEntities request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListEntitiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListEntitiesResponder handles the response to the ListEntities request. The method always
@@ -5857,8 +5857,8 @@ func (client ModelClient) ListEntityRolesPreparer(ctx context.Context, appID uui
// ListEntityRolesSender sends the ListEntityRoles request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListEntityRolesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListEntityRolesResponder handles the response to the ListEntityRoles request. The method always
@@ -5952,8 +5952,8 @@ func (client ModelClient) ListEntitySuggestionsPreparer(ctx context.Context, app
// ListEntitySuggestionsSender sends the ListEntitySuggestions request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListEntitySuggestionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListEntitySuggestionsResponder handles the response to the ListEntitySuggestions request. The method always
@@ -6053,8 +6053,8 @@ func (client ModelClient) ListHierarchicalEntitiesPreparer(ctx context.Context,
// ListHierarchicalEntitiesSender sends the ListHierarchicalEntities request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListHierarchicalEntitiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListHierarchicalEntitiesResponder handles the response to the ListHierarchicalEntities request. The method always
@@ -6129,8 +6129,8 @@ func (client ModelClient) ListHierarchicalEntityRolesPreparer(ctx context.Contex
// ListHierarchicalEntityRolesSender sends the ListHierarchicalEntityRoles request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListHierarchicalEntityRolesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListHierarchicalEntityRolesResponder handles the response to the ListHierarchicalEntityRoles request. The method always
@@ -6230,8 +6230,8 @@ func (client ModelClient) ListIntentsPreparer(ctx context.Context, appID uuid.UU
// ListIntentsSender sends the ListIntents request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListIntentsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListIntentsResponder handles the response to the ListIntents request. The method always
@@ -6325,8 +6325,8 @@ func (client ModelClient) ListIntentSuggestionsPreparer(ctx context.Context, app
// ListIntentSuggestionsSender sends the ListIntentSuggestions request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListIntentSuggestionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListIntentSuggestionsResponder handles the response to the ListIntentSuggestions request. The method always
@@ -6426,8 +6426,8 @@ func (client ModelClient) ListModelsPreparer(ctx context.Context, appID uuid.UUI
// ListModelsSender sends the ListModels request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListModelsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListModelsResponder handles the response to the ListModels request. The method always
@@ -6527,8 +6527,8 @@ func (client ModelClient) ListPatternAnyEntityInfosPreparer(ctx context.Context,
// ListPatternAnyEntityInfosSender sends the ListPatternAnyEntityInfos request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListPatternAnyEntityInfosSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPatternAnyEntityInfosResponder handles the response to the ListPatternAnyEntityInfos request. The method always
@@ -6603,8 +6603,8 @@ func (client ModelClient) ListPatternAnyEntityRolesPreparer(ctx context.Context,
// ListPatternAnyEntityRolesSender sends the ListPatternAnyEntityRoles request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListPatternAnyEntityRolesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPatternAnyEntityRolesResponder handles the response to the ListPatternAnyEntityRoles request. The method always
@@ -6677,8 +6677,8 @@ func (client ModelClient) ListPrebuiltEntitiesPreparer(ctx context.Context, appI
// ListPrebuiltEntitiesSender sends the ListPrebuiltEntities request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListPrebuiltEntitiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPrebuiltEntitiesResponder handles the response to the ListPrebuiltEntities request. The method always
@@ -6753,8 +6753,8 @@ func (client ModelClient) ListPrebuiltEntityRolesPreparer(ctx context.Context, a
// ListPrebuiltEntityRolesSender sends the ListPrebuiltEntityRoles request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListPrebuiltEntityRolesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPrebuiltEntityRolesResponder handles the response to the ListPrebuiltEntityRoles request. The method always
@@ -6854,8 +6854,8 @@ func (client ModelClient) ListPrebuiltsPreparer(ctx context.Context, appID uuid.
// ListPrebuiltsSender sends the ListPrebuilts request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListPrebuiltsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPrebuiltsResponder handles the response to the ListPrebuilts request. The method always
@@ -6955,8 +6955,8 @@ func (client ModelClient) ListRegexEntityInfosPreparer(ctx context.Context, appI
// ListRegexEntityInfosSender sends the ListRegexEntityInfos request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListRegexEntityInfosSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListRegexEntityInfosResponder handles the response to the ListRegexEntityInfos request. The method always
@@ -7031,8 +7031,8 @@ func (client ModelClient) ListRegexEntityRolesPreparer(ctx context.Context, appI
// ListRegexEntityRolesSender sends the ListRegexEntityRoles request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) ListRegexEntityRolesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListRegexEntityRolesResponder handles the response to the ListRegexEntityRoles request. The method always
@@ -7110,8 +7110,8 @@ func (client ModelClient) PatchClosedListPreparer(ctx context.Context, appID uui
// PatchClosedListSender sends the PatchClosedList request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) PatchClosedListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PatchClosedListResponder handles the response to the PatchClosedList request. The method always
@@ -7189,8 +7189,8 @@ func (client ModelClient) UpdateClosedListPreparer(ctx context.Context, appID uu
// UpdateClosedListSender sends the UpdateClosedList request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateClosedListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateClosedListResponder handles the response to the UpdateClosedList request. The method always
@@ -7270,8 +7270,8 @@ func (client ModelClient) UpdateClosedListEntityRolePreparer(ctx context.Context
// UpdateClosedListEntityRoleSender sends the UpdateClosedListEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateClosedListEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateClosedListEntityRoleResponder handles the response to the UpdateClosedListEntityRole request. The method always
@@ -7349,8 +7349,8 @@ func (client ModelClient) UpdateCompositeEntityPreparer(ctx context.Context, app
// UpdateCompositeEntitySender sends the UpdateCompositeEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateCompositeEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateCompositeEntityResponder handles the response to the UpdateCompositeEntity request. The method always
@@ -7430,8 +7430,8 @@ func (client ModelClient) UpdateCompositeEntityRolePreparer(ctx context.Context,
// UpdateCompositeEntityRoleSender sends the UpdateCompositeEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateCompositeEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateCompositeEntityRoleResponder handles the response to the UpdateCompositeEntityRole request. The method always
@@ -7511,8 +7511,8 @@ func (client ModelClient) UpdateCustomPrebuiltEntityRolePreparer(ctx context.Con
// UpdateCustomPrebuiltEntityRoleSender sends the UpdateCustomPrebuiltEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateCustomPrebuiltEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateCustomPrebuiltEntityRoleResponder handles the response to the UpdateCustomPrebuiltEntityRole request. The method always
@@ -7590,8 +7590,8 @@ func (client ModelClient) UpdateEntityPreparer(ctx context.Context, appID uuid.U
// UpdateEntitySender sends the UpdateEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateEntityResponder handles the response to the UpdateEntity request. The method always
@@ -7671,8 +7671,8 @@ func (client ModelClient) UpdateEntityRolePreparer(ctx context.Context, appID uu
// UpdateEntityRoleSender sends the UpdateEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateEntityRoleResponder handles the response to the UpdateEntityRole request. The method always
@@ -7752,8 +7752,8 @@ func (client ModelClient) UpdateExplicitListItemPreparer(ctx context.Context, ap
// UpdateExplicitListItemSender sends the UpdateExplicitListItem request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateExplicitListItemSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateExplicitListItemResponder handles the response to the UpdateExplicitListItem request. The method always
@@ -7832,8 +7832,8 @@ func (client ModelClient) UpdateHierarchicalEntityPreparer(ctx context.Context,
// UpdateHierarchicalEntitySender sends the UpdateHierarchicalEntity request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateHierarchicalEntitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateHierarchicalEntityResponder handles the response to the UpdateHierarchicalEntity request. The method always
@@ -7914,8 +7914,8 @@ func (client ModelClient) UpdateHierarchicalEntityChildPreparer(ctx context.Cont
// UpdateHierarchicalEntityChildSender sends the UpdateHierarchicalEntityChild request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateHierarchicalEntityChildSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateHierarchicalEntityChildResponder handles the response to the UpdateHierarchicalEntityChild request. The method always
@@ -7995,8 +7995,8 @@ func (client ModelClient) UpdateHierarchicalEntityRolePreparer(ctx context.Conte
// UpdateHierarchicalEntityRoleSender sends the UpdateHierarchicalEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateHierarchicalEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateHierarchicalEntityRoleResponder handles the response to the UpdateHierarchicalEntityRole request. The method always
@@ -8074,8 +8074,8 @@ func (client ModelClient) UpdateIntentPreparer(ctx context.Context, appID uuid.U
// UpdateIntentSender sends the UpdateIntent request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateIntentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateIntentResponder handles the response to the UpdateIntent request. The method always
@@ -8153,8 +8153,8 @@ func (client ModelClient) UpdatePatternAnyEntityModelPreparer(ctx context.Contex
// UpdatePatternAnyEntityModelSender sends the UpdatePatternAnyEntityModel request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdatePatternAnyEntityModelSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePatternAnyEntityModelResponder handles the response to the UpdatePatternAnyEntityModel request. The method always
@@ -8234,8 +8234,8 @@ func (client ModelClient) UpdatePatternAnyEntityRolePreparer(ctx context.Context
// UpdatePatternAnyEntityRoleSender sends the UpdatePatternAnyEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdatePatternAnyEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePatternAnyEntityRoleResponder handles the response to the UpdatePatternAnyEntityRole request. The method always
@@ -8315,8 +8315,8 @@ func (client ModelClient) UpdatePrebuiltEntityRolePreparer(ctx context.Context,
// UpdatePrebuiltEntityRoleSender sends the UpdatePrebuiltEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdatePrebuiltEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePrebuiltEntityRoleResponder handles the response to the UpdatePrebuiltEntityRole request. The method always
@@ -8394,8 +8394,8 @@ func (client ModelClient) UpdateRegexEntityModelPreparer(ctx context.Context, ap
// UpdateRegexEntityModelSender sends the UpdateRegexEntityModel request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateRegexEntityModelSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateRegexEntityModelResponder handles the response to the UpdateRegexEntityModel request. The method always
@@ -8475,8 +8475,8 @@ func (client ModelClient) UpdateRegexEntityRolePreparer(ctx context.Context, app
// UpdateRegexEntityRoleSender sends the UpdateRegexEntityRole request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateRegexEntityRoleSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateRegexEntityRoleResponder handles the response to the UpdateRegexEntityRole request. The method always
@@ -8556,8 +8556,8 @@ func (client ModelClient) UpdateSubListPreparer(ctx context.Context, appID uuid.
// UpdateSubListSender sends the UpdateSubList request. The method will close the
// http.Response Body if it receives an error.
func (client ModelClient) UpdateSubListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateSubListResponder handles the response to the UpdateSubList request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/authoring/models.go b/services/cognitiveservices/v2.0/luis/authoring/models.go
index ba0a77fc7665..71033efdaf71 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/models.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/models.go
@@ -736,6 +736,10 @@ type EntityLabel struct {
StartTokenIndex *int32 `json:"startTokenIndex,omitempty"`
// EndTokenIndex - The index within the utterance where the extracted entity ends.
EndTokenIndex *int32 `json:"endTokenIndex,omitempty"`
+ // Role - The role of the entity within the utterance.
+ Role *string `json:"role,omitempty"`
+ // RoleID - The role Id.
+ RoleID *string `json:"roleId,omitempty"`
}
// EntityLabelObject defines the entity type and position of the extracted entity within the example.
@@ -746,6 +750,8 @@ type EntityLabelObject struct {
StartCharIndex *int32 `json:"startCharIndex,omitempty"`
// EndCharIndex - The index within the utterance where the extracted entity ends.
EndCharIndex *int32 `json:"endCharIndex,omitempty"`
+ // Role - The role of the entity within the utterance.
+ Role *string `json:"role,omitempty"`
}
// EntityModelInfo an Entity Extractor model info.
@@ -1009,6 +1015,8 @@ type JSONEntity struct {
EndPos *int32 `json:"endPos,omitempty"`
// Entity - The entity name.
Entity *string `json:"entity,omitempty"`
+ // Role - The role of the entity within the utterance.
+ Role *string `json:"role,omitempty"`
}
// JSONModelFeature exported Model - Phraselist Model Feature.
diff --git a/services/cognitiveservices/v2.0/luis/authoring/pattern.go b/services/cognitiveservices/v2.0/luis/authoring/pattern.go
index 017d807d50ae..4a0d41edc1d5 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/pattern.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/pattern.go
@@ -97,8 +97,8 @@ func (client PatternClient) AddPatternPreparer(ctx context.Context, appID uuid.U
// AddPatternSender sends the AddPattern request. The method will close the
// http.Response Body if it receives an error.
func (client PatternClient) AddPatternSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddPatternResponder handles the response to the AddPattern request. The method always
@@ -180,8 +180,8 @@ func (client PatternClient) BatchAddPatternsPreparer(ctx context.Context, appID
// BatchAddPatternsSender sends the BatchAddPatterns request. The method will close the
// http.Response Body if it receives an error.
func (client PatternClient) BatchAddPatternsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// BatchAddPatternsResponder handles the response to the BatchAddPatterns request. The method always
@@ -256,8 +256,8 @@ func (client PatternClient) DeletePatternPreparer(ctx context.Context, appID uui
// DeletePatternSender sends the DeletePattern request. The method will close the
// http.Response Body if it receives an error.
func (client PatternClient) DeletePatternSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePatternResponder handles the response to the DeletePattern request. The method always
@@ -339,8 +339,8 @@ func (client PatternClient) DeletePatternsPreparer(ctx context.Context, appID uu
// DeletePatternsSender sends the DeletePatterns request. The method will close the
// http.Response Body if it receives an error.
func (client PatternClient) DeletePatternsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePatternsResponder handles the response to the DeletePatterns request. The method always
@@ -442,8 +442,8 @@ func (client PatternClient) ListIntentPatternsPreparer(ctx context.Context, appI
// ListIntentPatternsSender sends the ListIntentPatterns request. The method will close the
// http.Response Body if it receives an error.
func (client PatternClient) ListIntentPatternsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListIntentPatternsResponder handles the response to the ListIntentPatterns request. The method always
@@ -543,8 +543,8 @@ func (client PatternClient) ListPatternsPreparer(ctx context.Context, appID uuid
// ListPatternsSender sends the ListPatterns request. The method will close the
// http.Response Body if it receives an error.
func (client PatternClient) ListPatternsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPatternsResponder handles the response to the ListPatterns request. The method always
@@ -622,8 +622,8 @@ func (client PatternClient) UpdatePatternPreparer(ctx context.Context, appID uui
// UpdatePatternSender sends the UpdatePattern request. The method will close the
// http.Response Body if it receives an error.
func (client PatternClient) UpdatePatternSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePatternResponder handles the response to the UpdatePattern request. The method always
@@ -705,8 +705,8 @@ func (client PatternClient) UpdatePatternsPreparer(ctx context.Context, appID uu
// UpdatePatternsSender sends the UpdatePatterns request. The method will close the
// http.Response Body if it receives an error.
func (client PatternClient) UpdatePatternsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdatePatternsResponder handles the response to the UpdatePatterns request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/authoring/permissions.go b/services/cognitiveservices/v2.0/luis/authoring/permissions.go
index 6a014b79dfac..3dcb7eaf8f12 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/permissions.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/permissions.go
@@ -95,8 +95,8 @@ func (client PermissionsClient) AddPreparer(ctx context.Context, appID uuid.UUID
// AddSender sends the Add request. The method will close the
// http.Response Body if it receives an error.
func (client PermissionsClient) AddSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// AddResponder handles the response to the Add request. The method always
@@ -171,8 +171,8 @@ func (client PermissionsClient) DeletePreparer(ctx context.Context, appID uuid.U
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PermissionsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -243,8 +243,8 @@ func (client PermissionsClient) ListPreparer(ctx context.Context, appID uuid.UUI
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client PermissionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -319,8 +319,8 @@ func (client PermissionsClient) UpdatePreparer(ctx context.Context, appID uuid.U
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client PermissionsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/authoring/settings.go b/services/cognitiveservices/v2.0/luis/authoring/settings.go
index 6bb51da807a4..b2dcdf361d9b 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/settings.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/settings.go
@@ -94,8 +94,8 @@ func (client SettingsClient) ListPreparer(ctx context.Context, appID uuid.UUID,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SettingsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -177,8 +177,8 @@ func (client SettingsClient) UpdatePreparer(ctx context.Context, appID uuid.UUID
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client SettingsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/authoring/train.go b/services/cognitiveservices/v2.0/luis/authoring/train.go
index 8611abd8f6fd..13f9792bc6dd 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/train.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/train.go
@@ -95,8 +95,8 @@ func (client TrainClient) GetStatusPreparer(ctx context.Context, appID uuid.UUID
// GetStatusSender sends the GetStatus request. The method will close the
// http.Response Body if it receives an error.
func (client TrainClient) GetStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetStatusResponder handles the response to the GetStatus request. The method always
@@ -173,8 +173,8 @@ func (client TrainClient) TrainVersionPreparer(ctx context.Context, appID uuid.U
// TrainVersionSender sends the TrainVersion request. The method will close the
// http.Response Body if it receives an error.
func (client TrainClient) TrainVersionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrainVersionResponder handles the response to the TrainVersion request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/authoring/versions.go b/services/cognitiveservices/v2.0/luis/authoring/versions.go
index 5d3504f957bf..50d833cd8581 100644
--- a/services/cognitiveservices/v2.0/luis/authoring/versions.go
+++ b/services/cognitiveservices/v2.0/luis/authoring/versions.go
@@ -97,8 +97,8 @@ func (client VersionsClient) ClonePreparer(ctx context.Context, appID uuid.UUID,
// CloneSender sends the Clone request. The method will close the
// http.Response Body if it receives an error.
func (client VersionsClient) CloneSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CloneResponder handles the response to the Clone request. The method always
@@ -171,8 +171,8 @@ func (client VersionsClient) DeletePreparer(ctx context.Context, appID uuid.UUID
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VersionsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -248,8 +248,8 @@ func (client VersionsClient) DeleteUnlabelledUtterancePreparer(ctx context.Conte
// DeleteUnlabelledUtteranceSender sends the DeleteUnlabelledUtterance request. The method will close the
// http.Response Body if it receives an error.
func (client VersionsClient) DeleteUnlabelledUtteranceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteUnlabelledUtteranceResponder handles the response to the DeleteUnlabelledUtterance request. The method always
@@ -322,8 +322,8 @@ func (client VersionsClient) ExportPreparer(ctx context.Context, appID uuid.UUID
// ExportSender sends the Export request. The method will close the
// http.Response Body if it receives an error.
func (client VersionsClient) ExportSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExportResponder handles the response to the Export request. The method always
@@ -397,8 +397,8 @@ func (client VersionsClient) GetPreparer(ctx context.Context, appID uuid.UUID, v
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VersionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -480,8 +480,8 @@ func (client VersionsClient) ImportPreparer(ctx context.Context, appID uuid.UUID
// ImportSender sends the Import request. The method will close the
// http.Response Body if it receives an error.
func (client VersionsClient) ImportSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ImportResponder handles the response to the Import request. The method always
@@ -579,8 +579,8 @@ func (client VersionsClient) ListPreparer(ctx context.Context, appID uuid.UUID,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VersionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -656,8 +656,8 @@ func (client VersionsClient) UpdatePreparer(ctx context.Context, appID uuid.UUID
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VersionsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/v2.0/luis/runtime/prediction.go b/services/cognitiveservices/v2.0/luis/runtime/prediction.go
index 61b8bda76873..69116e4ac624 100644
--- a/services/cognitiveservices/v2.0/luis/runtime/prediction.go
+++ b/services/cognitiveservices/v2.0/luis/runtime/prediction.go
@@ -129,8 +129,8 @@ func (client PredictionClient) ResolvePreparer(ctx context.Context, appID uuid.U
// ResolveSender sends the Resolve request. The method will close the
// http.Response Body if it receives an error.
func (client PredictionClient) ResolveSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ResolveResponder handles the response to the Resolve request. The method always
diff --git a/services/cognitiveservices/v2.0/textanalytics/client.go b/services/cognitiveservices/v2.0/textanalytics/client.go
index ee9d6f0b2ffa..ab5e9a1bb560 100644
--- a/services/cognitiveservices/v2.0/textanalytics/client.go
+++ b/services/cognitiveservices/v2.0/textanalytics/client.go
@@ -105,8 +105,8 @@ func (client BaseClient) DetectLanguagePreparer(ctx context.Context, input Batch
// DetectLanguageSender sends the DetectLanguage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DetectLanguageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectLanguageResponder handles the response to the DetectLanguage request. The method always
@@ -178,8 +178,8 @@ func (client BaseClient) EntitiesPreparer(ctx context.Context, input MultiLangua
// EntitiesSender sends the Entities request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) EntitiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EntitiesResponder handles the response to the Entities request. The method always
@@ -251,8 +251,8 @@ func (client BaseClient) KeyPhrasesPreparer(ctx context.Context, input MultiLang
// KeyPhrasesSender sends the KeyPhrases request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) KeyPhrasesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// KeyPhrasesResponder handles the response to the KeyPhrases request. The method always
@@ -324,8 +324,8 @@ func (client BaseClient) SentimentPreparer(ctx context.Context, input MultiLangu
// SentimentSender sends the Sentiment request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) SentimentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// SentimentResponder handles the response to the Sentiment request. The method always
diff --git a/services/cognitiveservices/v2.1/customvision/training/client.go b/services/cognitiveservices/v2.1/customvision/training/client.go
index 5ef1a3cb6d6d..6f2a3c268a84 100644
--- a/services/cognitiveservices/v2.1/customvision/training/client.go
+++ b/services/cognitiveservices/v2.1/customvision/training/client.go
@@ -114,8 +114,8 @@ func (client BaseClient) CreateImageRegionsPreparer(ctx context.Context, project
// CreateImageRegionsSender sends the CreateImageRegions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImageRegionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImageRegionsResponder handles the response to the CreateImageRegions request. The method always
@@ -197,8 +197,8 @@ func (client BaseClient) CreateImagesFromDataPreparer(ctx context.Context, proje
// CreateImagesFromDataSender sends the CreateImagesFromData request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromDataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromDataResponder handles the response to the CreateImagesFromData request. The method always
@@ -270,8 +270,8 @@ func (client BaseClient) CreateImagesFromFilesPreparer(ctx context.Context, proj
// CreateImagesFromFilesSender sends the CreateImagesFromFiles request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromFilesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromFilesResponder handles the response to the CreateImagesFromFiles request. The method always
@@ -343,8 +343,8 @@ func (client BaseClient) CreateImagesFromPredictionsPreparer(ctx context.Context
// CreateImagesFromPredictionsSender sends the CreateImagesFromPredictions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromPredictionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromPredictionsResponder handles the response to the CreateImagesFromPredictions request. The method always
@@ -416,8 +416,8 @@ func (client BaseClient) CreateImagesFromUrlsPreparer(ctx context.Context, proje
// CreateImagesFromUrlsSender sends the CreateImagesFromUrls request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromUrlsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromUrlsResponder handles the response to the CreateImagesFromUrls request. The method always
@@ -488,8 +488,8 @@ func (client BaseClient) CreateImageTagsPreparer(ctx context.Context, projectID
// CreateImageTagsSender sends the CreateImageTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImageTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImageTagsResponder handles the response to the CreateImageTags request. The method always
@@ -570,8 +570,8 @@ func (client BaseClient) CreateProjectPreparer(ctx context.Context, name string,
// CreateProjectSender sends the CreateProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateProjectResponder handles the response to the CreateProject request. The method always
@@ -649,8 +649,8 @@ func (client BaseClient) CreateTagPreparer(ctx context.Context, projectID uuid.U
// CreateTagSender sends the CreateTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateTagResponder handles the response to the CreateTag request. The method always
@@ -730,8 +730,8 @@ func (client BaseClient) DeleteImageRegionsPreparer(ctx context.Context, project
// DeleteImageRegionsSender sends the DeleteImageRegions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImageRegionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImageRegionsResponder handles the response to the DeleteImageRegions request. The method always
@@ -810,8 +810,8 @@ func (client BaseClient) DeleteImagesPreparer(ctx context.Context, projectID uui
// DeleteImagesSender sends the DeleteImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImagesResponder handles the response to the DeleteImages request. The method always
@@ -894,8 +894,8 @@ func (client BaseClient) DeleteImageTagsPreparer(ctx context.Context, projectID
// DeleteImageTagsSender sends the DeleteImageTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImageTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImageTagsResponder handles the response to the DeleteImageTags request. The method always
@@ -964,8 +964,8 @@ func (client BaseClient) DeleteIterationPreparer(ctx context.Context, projectID
// DeleteIterationSender sends the DeleteIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteIterationResponder handles the response to the DeleteIteration request. The method always
@@ -1044,8 +1044,8 @@ func (client BaseClient) DeletePredictionPreparer(ctx context.Context, projectID
// DeletePredictionSender sends the DeletePrediction request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeletePredictionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePredictionResponder handles the response to the DeletePrediction request. The method always
@@ -1112,8 +1112,8 @@ func (client BaseClient) DeleteProjectPreparer(ctx context.Context, projectID uu
// DeleteProjectSender sends the DeleteProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteProjectResponder handles the response to the DeleteProject request. The method always
@@ -1182,8 +1182,8 @@ func (client BaseClient) DeleteTagPreparer(ctx context.Context, projectID uuid.U
// DeleteTagSender sends the DeleteTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteTagResponder handles the response to the DeleteTag request. The method always
@@ -1262,8 +1262,8 @@ func (client BaseClient) ExportIterationPreparer(ctx context.Context, projectID
// ExportIterationSender sends the ExportIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ExportIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExportIterationResponder handles the response to the ExportIteration request. The method always
@@ -1331,8 +1331,8 @@ func (client BaseClient) GetDomainPreparer(ctx context.Context, domainID uuid.UU
// GetDomainSender sends the GetDomain request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDomainResponder handles the response to the GetDomain request. The method always
@@ -1394,8 +1394,8 @@ func (client BaseClient) GetDomainsPreparer(ctx context.Context) (*http.Request,
// GetDomainsSender sends the GetDomains request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetDomainsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDomainsResponder handles the response to the GetDomains request. The method always
@@ -1465,8 +1465,8 @@ func (client BaseClient) GetExportsPreparer(ctx context.Context, projectID uuid.
// GetExportsSender sends the GetExports request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetExportsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetExportsResponder handles the response to the GetExports request. The method always
@@ -1545,8 +1545,8 @@ func (client BaseClient) GetImagePerformanceCountPreparer(ctx context.Context, p
// GetImagePerformanceCountSender sends the GetImagePerformanceCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagePerformanceCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagePerformanceCountResponder handles the response to the GetImagePerformanceCount request. The method always
@@ -1643,8 +1643,8 @@ func (client BaseClient) GetImagePerformancesPreparer(ctx context.Context, proje
// GetImagePerformancesSender sends the GetImagePerformances request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagePerformancesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagePerformancesResponder handles the response to the GetImagePerformances request. The method always
@@ -1715,8 +1715,8 @@ func (client BaseClient) GetImageRegionProposalsPreparer(ctx context.Context, pr
// GetImageRegionProposalsSender sends the GetImageRegionProposals request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImageRegionProposalsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImageRegionProposalsResponder handles the response to the GetImageRegionProposals request. The method always
@@ -1797,8 +1797,8 @@ func (client BaseClient) GetImagesByIdsPreparer(ctx context.Context, projectID u
// GetImagesByIdsSender sends the GetImagesByIds request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagesByIdsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagesByIdsResponder handles the response to the GetImagesByIds request. The method always
@@ -1868,8 +1868,8 @@ func (client BaseClient) GetIterationPreparer(ctx context.Context, projectID uui
// GetIterationSender sends the GetIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationResponder handles the response to the GetIteration request. The method always
@@ -1950,8 +1950,8 @@ func (client BaseClient) GetIterationPerformancePreparer(ctx context.Context, pr
// GetIterationPerformanceSender sends the GetIterationPerformance request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationPerformanceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationPerformanceResponder handles the response to the GetIterationPerformance request. The method always
@@ -2019,8 +2019,8 @@ func (client BaseClient) GetIterationsPreparer(ctx context.Context, projectID uu
// GetIterationsSender sends the GetIterations request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationsResponder handles the response to the GetIterations request. The method always
@@ -2088,8 +2088,8 @@ func (client BaseClient) GetProjectPreparer(ctx context.Context, projectID uuid.
// GetProjectSender sends the GetProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetProjectResponder handles the response to the GetProject request. The method always
@@ -2151,8 +2151,8 @@ func (client BaseClient) GetProjectsPreparer(ctx context.Context) (*http.Request
// GetProjectsSender sends the GetProjects request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetProjectsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetProjectsResponder handles the response to the GetProjects request. The method always
@@ -2229,8 +2229,8 @@ func (client BaseClient) GetTagPreparer(ctx context.Context, projectID uuid.UUID
// GetTagSender sends the GetTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTagResponder handles the response to the GetTag request. The method always
@@ -2311,8 +2311,8 @@ func (client BaseClient) GetTaggedImageCountPreparer(ctx context.Context, projec
// GetTaggedImageCountSender sends the GetTaggedImageCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTaggedImageCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaggedImageCountResponder handles the response to the GetTaggedImageCount request. The method always
@@ -2411,8 +2411,8 @@ func (client BaseClient) GetTaggedImagesPreparer(ctx context.Context, projectID
// GetTaggedImagesSender sends the GetTaggedImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTaggedImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaggedImagesResponder handles the response to the GetTaggedImages request. The method always
@@ -2487,8 +2487,8 @@ func (client BaseClient) GetTagsPreparer(ctx context.Context, projectID uuid.UUI
// GetTagsSender sends the GetTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTagsResponder handles the response to the GetTags request. The method always
@@ -2565,8 +2565,8 @@ func (client BaseClient) GetUntaggedImageCountPreparer(ctx context.Context, proj
// GetUntaggedImageCountSender sends the GetUntaggedImageCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetUntaggedImageCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUntaggedImageCountResponder handles the response to the GetUntaggedImageCount request. The method always
@@ -2659,8 +2659,8 @@ func (client BaseClient) GetUntaggedImagesPreparer(ctx context.Context, projectI
// GetUntaggedImagesSender sends the GetUntaggedImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetUntaggedImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUntaggedImagesResponder handles the response to the GetUntaggedImages request. The method always
@@ -2731,8 +2731,8 @@ func (client BaseClient) QueryPredictionsPreparer(ctx context.Context, projectID
// QueryPredictionsSender sends the QueryPredictions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QueryPredictionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QueryPredictionsResponder handles the response to the QueryPredictions request. The method always
@@ -2813,8 +2813,8 @@ func (client BaseClient) QuickTestImagePreparer(ctx context.Context, projectID u
// QuickTestImageSender sends the QuickTestImage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QuickTestImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QuickTestImageResponder handles the response to the QuickTestImage request. The method always
@@ -2893,8 +2893,8 @@ func (client BaseClient) QuickTestImageURLPreparer(ctx context.Context, projectI
// QuickTestImageURLSender sends the QuickTestImageURL request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QuickTestImageURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QuickTestImageURLResponder handles the response to the QuickTestImageURL request. The method always
@@ -2962,8 +2962,8 @@ func (client BaseClient) TrainProjectPreparer(ctx context.Context, projectID uui
// TrainProjectSender sends the TrainProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) TrainProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrainProjectResponder handles the response to the TrainProject request. The method always
@@ -3045,8 +3045,8 @@ func (client BaseClient) UpdateIterationPreparer(ctx context.Context, projectID
// UpdateIterationSender sends the UpdateIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateIterationResponder handles the response to the UpdateIteration request. The method always
@@ -3121,8 +3121,8 @@ func (client BaseClient) UpdateProjectPreparer(ctx context.Context, projectID uu
// UpdateProjectSender sends the UpdateProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateProjectResponder handles the response to the UpdateProject request. The method always
@@ -3197,8 +3197,8 @@ func (client BaseClient) UpdateTagPreparer(ctx context.Context, projectID uuid.U
// UpdateTagSender sends the UpdateTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateTagResponder handles the response to the UpdateTag request. The method always
diff --git a/services/cognitiveservices/v2.1/textanalytics/client.go b/services/cognitiveservices/v2.1/textanalytics/client.go
index e7a760d4a212..bc46766f255b 100644
--- a/services/cognitiveservices/v2.1/textanalytics/client.go
+++ b/services/cognitiveservices/v2.1/textanalytics/client.go
@@ -115,8 +115,8 @@ func (client BaseClient) DetectLanguagePreparer(ctx context.Context, showStats *
// DetectLanguageSender sends the DetectLanguage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DetectLanguageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectLanguageResponder handles the response to the DetectLanguage request. The method always
@@ -198,8 +198,8 @@ func (client BaseClient) EntitiesPreparer(ctx context.Context, showStats *bool,
// EntitiesSender sends the Entities request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) EntitiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// EntitiesResponder handles the response to the Entities request. The method always
@@ -281,8 +281,8 @@ func (client BaseClient) KeyPhrasesPreparer(ctx context.Context, showStats *bool
// KeyPhrasesSender sends the KeyPhrases request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) KeyPhrasesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// KeyPhrasesResponder handles the response to the KeyPhrases request. The method always
@@ -364,8 +364,8 @@ func (client BaseClient) SentimentPreparer(ctx context.Context, showStats *bool,
// SentimentSender sends the Sentiment request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) SentimentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// SentimentResponder handles the response to the Sentiment request. The method always
diff --git a/services/cognitiveservices/v2.2/customvision/training/client.go b/services/cognitiveservices/v2.2/customvision/training/client.go
index 7393d6e1a499..b26113817ed4 100644
--- a/services/cognitiveservices/v2.2/customvision/training/client.go
+++ b/services/cognitiveservices/v2.2/customvision/training/client.go
@@ -113,8 +113,8 @@ func (client BaseClient) CreateImageRegionsPreparer(ctx context.Context, project
// CreateImageRegionsSender sends the CreateImageRegions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImageRegionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImageRegionsResponder handles the response to the CreateImageRegions request. The method always
@@ -201,8 +201,8 @@ func (client BaseClient) CreateImagesFromDataPreparer(ctx context.Context, proje
// CreateImagesFromDataSender sends the CreateImagesFromData request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromDataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromDataResponder handles the response to the CreateImagesFromData request. The method always
@@ -278,8 +278,8 @@ func (client BaseClient) CreateImagesFromFilesPreparer(ctx context.Context, proj
// CreateImagesFromFilesSender sends the CreateImagesFromFiles request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromFilesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromFilesResponder handles the response to the CreateImagesFromFiles request. The method always
@@ -355,8 +355,8 @@ func (client BaseClient) CreateImagesFromPredictionsPreparer(ctx context.Context
// CreateImagesFromPredictionsSender sends the CreateImagesFromPredictions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromPredictionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromPredictionsResponder handles the response to the CreateImagesFromPredictions request. The method always
@@ -432,8 +432,8 @@ func (client BaseClient) CreateImagesFromUrlsPreparer(ctx context.Context, proje
// CreateImagesFromUrlsSender sends the CreateImagesFromUrls request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromUrlsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromUrlsResponder handles the response to the CreateImagesFromUrls request. The method always
@@ -508,8 +508,8 @@ func (client BaseClient) CreateImageTagsPreparer(ctx context.Context, projectID
// CreateImageTagsSender sends the CreateImageTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImageTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImageTagsResponder handles the response to the CreateImageTags request. The method always
@@ -594,8 +594,8 @@ func (client BaseClient) CreateProjectPreparer(ctx context.Context, name string,
// CreateProjectSender sends the CreateProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateProjectResponder handles the response to the CreateProject request. The method always
@@ -681,8 +681,8 @@ func (client BaseClient) CreateTagPreparer(ctx context.Context, projectID uuid.U
// CreateTagSender sends the CreateTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateTagResponder handles the response to the CreateTag request. The method always
@@ -766,8 +766,8 @@ func (client BaseClient) DeleteImageRegionsPreparer(ctx context.Context, project
// DeleteImageRegionsSender sends the DeleteImageRegions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImageRegionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImageRegionsResponder handles the response to the DeleteImageRegions request. The method always
@@ -850,8 +850,8 @@ func (client BaseClient) DeleteImagesPreparer(ctx context.Context, projectID uui
// DeleteImagesSender sends the DeleteImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImagesResponder handles the response to the DeleteImages request. The method always
@@ -938,8 +938,8 @@ func (client BaseClient) DeleteImageTagsPreparer(ctx context.Context, projectID
// DeleteImageTagsSender sends the DeleteImageTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImageTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImageTagsResponder handles the response to the DeleteImageTags request. The method always
@@ -1012,8 +1012,8 @@ func (client BaseClient) DeleteIterationPreparer(ctx context.Context, projectID
// DeleteIterationSender sends the DeleteIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteIterationResponder handles the response to the DeleteIteration request. The method always
@@ -1096,8 +1096,8 @@ func (client BaseClient) DeletePredictionPreparer(ctx context.Context, projectID
// DeletePredictionSender sends the DeletePrediction request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeletePredictionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePredictionResponder handles the response to the DeletePrediction request. The method always
@@ -1168,8 +1168,8 @@ func (client BaseClient) DeleteProjectPreparer(ctx context.Context, projectID uu
// DeleteProjectSender sends the DeleteProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteProjectResponder handles the response to the DeleteProject request. The method always
@@ -1242,8 +1242,8 @@ func (client BaseClient) DeleteTagPreparer(ctx context.Context, projectID uuid.U
// DeleteTagSender sends the DeleteTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteTagResponder handles the response to the DeleteTag request. The method always
@@ -1326,8 +1326,8 @@ func (client BaseClient) ExportIterationPreparer(ctx context.Context, projectID
// ExportIterationSender sends the ExportIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ExportIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExportIterationResponder handles the response to the ExportIteration request. The method always
@@ -1399,8 +1399,8 @@ func (client BaseClient) GetDomainPreparer(ctx context.Context, domainID uuid.UU
// GetDomainSender sends the GetDomain request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDomainResponder handles the response to the GetDomain request. The method always
@@ -1466,8 +1466,8 @@ func (client BaseClient) GetDomainsPreparer(ctx context.Context) (*http.Request,
// GetDomainsSender sends the GetDomains request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetDomainsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDomainsResponder handles the response to the GetDomains request. The method always
@@ -1541,8 +1541,8 @@ func (client BaseClient) GetExportsPreparer(ctx context.Context, projectID uuid.
// GetExportsSender sends the GetExports request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetExportsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetExportsResponder handles the response to the GetExports request. The method always
@@ -1625,8 +1625,8 @@ func (client BaseClient) GetImagePerformanceCountPreparer(ctx context.Context, p
// GetImagePerformanceCountSender sends the GetImagePerformanceCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagePerformanceCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagePerformanceCountResponder handles the response to the GetImagePerformanceCount request. The method always
@@ -1727,8 +1727,8 @@ func (client BaseClient) GetImagePerformancesPreparer(ctx context.Context, proje
// GetImagePerformancesSender sends the GetImagePerformances request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagePerformancesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagePerformancesResponder handles the response to the GetImagePerformances request. The method always
@@ -1803,8 +1803,8 @@ func (client BaseClient) GetImageRegionProposalsPreparer(ctx context.Context, pr
// GetImageRegionProposalsSender sends the GetImageRegionProposals request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImageRegionProposalsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImageRegionProposalsResponder handles the response to the GetImageRegionProposals request. The method always
@@ -1889,8 +1889,8 @@ func (client BaseClient) GetImagesByIdsPreparer(ctx context.Context, projectID u
// GetImagesByIdsSender sends the GetImagesByIds request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagesByIdsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagesByIdsResponder handles the response to the GetImagesByIds request. The method always
@@ -1964,8 +1964,8 @@ func (client BaseClient) GetIterationPreparer(ctx context.Context, projectID uui
// GetIterationSender sends the GetIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationResponder handles the response to the GetIteration request. The method always
@@ -2050,8 +2050,8 @@ func (client BaseClient) GetIterationPerformancePreparer(ctx context.Context, pr
// GetIterationPerformanceSender sends the GetIterationPerformance request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationPerformanceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationPerformanceResponder handles the response to the GetIterationPerformance request. The method always
@@ -2123,8 +2123,8 @@ func (client BaseClient) GetIterationsPreparer(ctx context.Context, projectID uu
// GetIterationsSender sends the GetIterations request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationsResponder handles the response to the GetIterations request. The method always
@@ -2196,8 +2196,8 @@ func (client BaseClient) GetProjectPreparer(ctx context.Context, projectID uuid.
// GetProjectSender sends the GetProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetProjectResponder handles the response to the GetProject request. The method always
@@ -2263,8 +2263,8 @@ func (client BaseClient) GetProjectsPreparer(ctx context.Context) (*http.Request
// GetProjectsSender sends the GetProjects request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetProjectsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetProjectsResponder handles the response to the GetProjects request. The method always
@@ -2345,8 +2345,8 @@ func (client BaseClient) GetTagPreparer(ctx context.Context, projectID uuid.UUID
// GetTagSender sends the GetTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTagResponder handles the response to the GetTag request. The method always
@@ -2431,8 +2431,8 @@ func (client BaseClient) GetTaggedImageCountPreparer(ctx context.Context, projec
// GetTaggedImageCountSender sends the GetTaggedImageCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTaggedImageCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaggedImageCountResponder handles the response to the GetTaggedImageCount request. The method always
@@ -2535,8 +2535,8 @@ func (client BaseClient) GetTaggedImagesPreparer(ctx context.Context, projectID
// GetTaggedImagesSender sends the GetTaggedImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTaggedImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaggedImagesResponder handles the response to the GetTaggedImages request. The method always
@@ -2615,8 +2615,8 @@ func (client BaseClient) GetTagsPreparer(ctx context.Context, projectID uuid.UUI
// GetTagsSender sends the GetTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTagsResponder handles the response to the GetTags request. The method always
@@ -2697,8 +2697,8 @@ func (client BaseClient) GetUntaggedImageCountPreparer(ctx context.Context, proj
// GetUntaggedImageCountSender sends the GetUntaggedImageCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetUntaggedImageCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUntaggedImageCountResponder handles the response to the GetUntaggedImageCount request. The method always
@@ -2795,8 +2795,8 @@ func (client BaseClient) GetUntaggedImagesPreparer(ctx context.Context, projectI
// GetUntaggedImagesSender sends the GetUntaggedImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetUntaggedImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUntaggedImagesResponder handles the response to the GetUntaggedImages request. The method always
@@ -2871,8 +2871,8 @@ func (client BaseClient) QueryPredictionsPreparer(ctx context.Context, projectID
// QueryPredictionsSender sends the QueryPredictions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QueryPredictionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QueryPredictionsResponder handles the response to the QueryPredictions request. The method always
@@ -2958,8 +2958,8 @@ func (client BaseClient) QuickTestImagePreparer(ctx context.Context, projectID u
// QuickTestImageSender sends the QuickTestImage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QuickTestImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QuickTestImageResponder handles the response to the QuickTestImage request. The method always
@@ -3042,8 +3042,8 @@ func (client BaseClient) QuickTestImageURLPreparer(ctx context.Context, projectI
// QuickTestImageURLSender sends the QuickTestImageURL request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QuickTestImageURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QuickTestImageURLResponder handles the response to the QuickTestImageURL request. The method always
@@ -3115,8 +3115,8 @@ func (client BaseClient) TrainProjectPreparer(ctx context.Context, projectID uui
// TrainProjectSender sends the TrainProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) TrainProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrainProjectResponder handles the response to the TrainProject request. The method always
@@ -3202,8 +3202,8 @@ func (client BaseClient) UpdateIterationPreparer(ctx context.Context, projectID
// UpdateIterationSender sends the UpdateIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateIterationResponder handles the response to the UpdateIteration request. The method always
@@ -3282,8 +3282,8 @@ func (client BaseClient) UpdateProjectPreparer(ctx context.Context, projectID uu
// UpdateProjectSender sends the UpdateProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateProjectResponder handles the response to the UpdateProject request. The method always
@@ -3362,8 +3362,8 @@ func (client BaseClient) UpdateTagPreparer(ctx context.Context, projectID uuid.U
// UpdateTagSender sends the UpdateTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateTagResponder handles the response to the UpdateTag request. The method always
diff --git a/services/cognitiveservices/v3.0/customvision/prediction/client.go b/services/cognitiveservices/v3.0/customvision/prediction/client.go
index 4383eedc75ec..5201010d06c7 100644
--- a/services/cognitiveservices/v3.0/customvision/prediction/client.go
+++ b/services/cognitiveservices/v3.0/customvision/prediction/client.go
@@ -123,8 +123,8 @@ func (client BaseClient) ClassifyImagePreparer(ctx context.Context, projectID uu
// ClassifyImageSender sends the ClassifyImage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ClassifyImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ClassifyImageResponder handles the response to the ClassifyImage request. The method always
@@ -214,8 +214,8 @@ func (client BaseClient) ClassifyImageURLPreparer(ctx context.Context, projectID
// ClassifyImageURLSender sends the ClassifyImageURL request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ClassifyImageURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ClassifyImageURLResponder handles the response to the ClassifyImageURL request. The method always
@@ -305,8 +305,8 @@ func (client BaseClient) ClassifyImageURLWithNoStorePreparer(ctx context.Context
// ClassifyImageURLWithNoStoreSender sends the ClassifyImageURLWithNoStore request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ClassifyImageURLWithNoStoreSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ClassifyImageURLWithNoStoreResponder handles the response to the ClassifyImageURLWithNoStore request. The method always
@@ -393,8 +393,8 @@ func (client BaseClient) ClassifyImageWithNoStorePreparer(ctx context.Context, p
// ClassifyImageWithNoStoreSender sends the ClassifyImageWithNoStore request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ClassifyImageWithNoStoreSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ClassifyImageWithNoStoreResponder handles the response to the ClassifyImageWithNoStore request. The method always
@@ -481,8 +481,8 @@ func (client BaseClient) DetectImagePreparer(ctx context.Context, projectID uuid
// DetectImageSender sends the DetectImage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DetectImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectImageResponder handles the response to the DetectImage request. The method always
@@ -572,8 +572,8 @@ func (client BaseClient) DetectImageURLPreparer(ctx context.Context, projectID u
// DetectImageURLSender sends the DetectImageURL request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DetectImageURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectImageURLResponder handles the response to the DetectImageURL request. The method always
@@ -663,8 +663,8 @@ func (client BaseClient) DetectImageURLWithNoStorePreparer(ctx context.Context,
// DetectImageURLWithNoStoreSender sends the DetectImageURLWithNoStore request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DetectImageURLWithNoStoreSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectImageURLWithNoStoreResponder handles the response to the DetectImageURLWithNoStore request. The method always
@@ -751,8 +751,8 @@ func (client BaseClient) DetectImageWithNoStorePreparer(ctx context.Context, pro
// DetectImageWithNoStoreSender sends the DetectImageWithNoStore request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DetectImageWithNoStoreSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectImageWithNoStoreResponder handles the response to the DetectImageWithNoStore request. The method always
diff --git a/services/cognitiveservices/v3.0/customvision/training/client.go b/services/cognitiveservices/v3.0/customvision/training/client.go
index a8a7f770a3cc..1a0403d3747c 100644
--- a/services/cognitiveservices/v3.0/customvision/training/client.go
+++ b/services/cognitiveservices/v3.0/customvision/training/client.go
@@ -113,8 +113,8 @@ func (client BaseClient) CreateImageRegionsPreparer(ctx context.Context, project
// CreateImageRegionsSender sends the CreateImageRegions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImageRegionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImageRegionsResponder handles the response to the CreateImageRegions request. The method always
@@ -210,8 +210,8 @@ func (client BaseClient) CreateImagesFromDataPreparer(ctx context.Context, proje
// CreateImagesFromDataSender sends the CreateImagesFromData request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromDataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromDataResponder handles the response to the CreateImagesFromData request. The method always
@@ -287,8 +287,8 @@ func (client BaseClient) CreateImagesFromFilesPreparer(ctx context.Context, proj
// CreateImagesFromFilesSender sends the CreateImagesFromFiles request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromFilesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromFilesResponder handles the response to the CreateImagesFromFiles request. The method always
@@ -364,8 +364,8 @@ func (client BaseClient) CreateImagesFromPredictionsPreparer(ctx context.Context
// CreateImagesFromPredictionsSender sends the CreateImagesFromPredictions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromPredictionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromPredictionsResponder handles the response to the CreateImagesFromPredictions request. The method always
@@ -441,8 +441,8 @@ func (client BaseClient) CreateImagesFromUrlsPreparer(ctx context.Context, proje
// CreateImagesFromUrlsSender sends the CreateImagesFromUrls request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImagesFromUrlsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImagesFromUrlsResponder handles the response to the CreateImagesFromUrls request. The method always
@@ -517,8 +517,8 @@ func (client BaseClient) CreateImageTagsPreparer(ctx context.Context, projectID
// CreateImageTagsSender sends the CreateImageTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateImageTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateImageTagsResponder handles the response to the CreateImageTags request. The method always
@@ -607,8 +607,8 @@ func (client BaseClient) CreateProjectPreparer(ctx context.Context, name string,
// CreateProjectSender sends the CreateProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateProjectResponder handles the response to the CreateProject request. The method always
@@ -694,8 +694,8 @@ func (client BaseClient) CreateTagPreparer(ctx context.Context, projectID uuid.U
// CreateTagSender sends the CreateTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) CreateTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateTagResponder handles the response to the CreateTag request. The method always
@@ -782,8 +782,8 @@ func (client BaseClient) DeleteImageRegionsPreparer(ctx context.Context, project
// DeleteImageRegionsSender sends the DeleteImageRegions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImageRegionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImageRegionsResponder handles the response to the DeleteImageRegions request. The method always
@@ -869,8 +869,8 @@ func (client BaseClient) DeleteImagesPreparer(ctx context.Context, projectID uui
// DeleteImagesSender sends the DeleteImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImagesResponder handles the response to the DeleteImages request. The method always
@@ -963,8 +963,8 @@ func (client BaseClient) DeleteImageTagsPreparer(ctx context.Context, projectID
// DeleteImageTagsSender sends the DeleteImageTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteImageTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteImageTagsResponder handles the response to the DeleteImageTags request. The method always
@@ -1037,8 +1037,8 @@ func (client BaseClient) DeleteIterationPreparer(ctx context.Context, projectID
// DeleteIterationSender sends the DeleteIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteIterationResponder handles the response to the DeleteIteration request. The method always
@@ -1124,8 +1124,8 @@ func (client BaseClient) DeletePredictionPreparer(ctx context.Context, projectID
// DeletePredictionSender sends the DeletePrediction request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeletePredictionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeletePredictionResponder handles the response to the DeletePrediction request. The method always
@@ -1196,8 +1196,8 @@ func (client BaseClient) DeleteProjectPreparer(ctx context.Context, projectID uu
// DeleteProjectSender sends the DeleteProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteProjectResponder handles the response to the DeleteProject request. The method always
@@ -1270,8 +1270,8 @@ func (client BaseClient) DeleteTagPreparer(ctx context.Context, projectID uuid.U
// DeleteTagSender sends the DeleteTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) DeleteTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteTagResponder handles the response to the DeleteTag request. The method always
@@ -1354,8 +1354,8 @@ func (client BaseClient) ExportIterationPreparer(ctx context.Context, projectID
// ExportIterationSender sends the ExportIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ExportIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExportIterationResponder handles the response to the ExportIteration request. The method always
@@ -1427,8 +1427,8 @@ func (client BaseClient) GetDomainPreparer(ctx context.Context, domainID uuid.UU
// GetDomainSender sends the GetDomain request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetDomainSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDomainResponder handles the response to the GetDomain request. The method always
@@ -1494,8 +1494,8 @@ func (client BaseClient) GetDomainsPreparer(ctx context.Context) (*http.Request,
// GetDomainsSender sends the GetDomains request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetDomainsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDomainsResponder handles the response to the GetDomains request. The method always
@@ -1569,8 +1569,8 @@ func (client BaseClient) GetExportsPreparer(ctx context.Context, projectID uuid.
// GetExportsSender sends the GetExports request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetExportsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetExportsResponder handles the response to the GetExports request. The method always
@@ -1653,8 +1653,8 @@ func (client BaseClient) GetImagePerformanceCountPreparer(ctx context.Context, p
// GetImagePerformanceCountSender sends the GetImagePerformanceCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagePerformanceCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagePerformanceCountResponder handles the response to the GetImagePerformanceCount request. The method always
@@ -1769,8 +1769,8 @@ func (client BaseClient) GetImagePerformancesPreparer(ctx context.Context, proje
// GetImagePerformancesSender sends the GetImagePerformances request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagePerformancesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagePerformancesResponder handles the response to the GetImagePerformances request. The method always
@@ -1845,8 +1845,8 @@ func (client BaseClient) GetImageRegionProposalsPreparer(ctx context.Context, pr
// GetImageRegionProposalsSender sends the GetImageRegionProposals request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImageRegionProposalsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImageRegionProposalsResponder handles the response to the GetImageRegionProposals request. The method always
@@ -1940,8 +1940,8 @@ func (client BaseClient) GetImagesByIdsPreparer(ctx context.Context, projectID u
// GetImagesByIdsSender sends the GetImagesByIds request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetImagesByIdsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetImagesByIdsResponder handles the response to the GetImagesByIds request. The method always
@@ -2015,8 +2015,8 @@ func (client BaseClient) GetIterationPreparer(ctx context.Context, projectID uui
// GetIterationSender sends the GetIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationResponder handles the response to the GetIteration request. The method always
@@ -2101,8 +2101,8 @@ func (client BaseClient) GetIterationPerformancePreparer(ctx context.Context, pr
// GetIterationPerformanceSender sends the GetIterationPerformance request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationPerformanceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationPerformanceResponder handles the response to the GetIterationPerformance request. The method always
@@ -2174,8 +2174,8 @@ func (client BaseClient) GetIterationsPreparer(ctx context.Context, projectID uu
// GetIterationsSender sends the GetIterations request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetIterationsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIterationsResponder handles the response to the GetIterations request. The method always
@@ -2247,8 +2247,8 @@ func (client BaseClient) GetProjectPreparer(ctx context.Context, projectID uuid.
// GetProjectSender sends the GetProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetProjectResponder handles the response to the GetProject request. The method always
@@ -2314,8 +2314,8 @@ func (client BaseClient) GetProjectsPreparer(ctx context.Context) (*http.Request
// GetProjectsSender sends the GetProjects request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetProjectsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetProjectsResponder handles the response to the GetProjects request. The method always
@@ -2396,8 +2396,8 @@ func (client BaseClient) GetTagPreparer(ctx context.Context, projectID uuid.UUID
// GetTagSender sends the GetTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTagResponder handles the response to the GetTag request. The method always
@@ -2482,8 +2482,8 @@ func (client BaseClient) GetTaggedImageCountPreparer(ctx context.Context, projec
// GetTaggedImageCountSender sends the GetTaggedImageCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTaggedImageCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaggedImageCountResponder handles the response to the GetTaggedImageCount request. The method always
@@ -2600,8 +2600,8 @@ func (client BaseClient) GetTaggedImagesPreparer(ctx context.Context, projectID
// GetTaggedImagesSender sends the GetTaggedImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTaggedImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTaggedImagesResponder handles the response to the GetTaggedImages request. The method always
@@ -2680,8 +2680,8 @@ func (client BaseClient) GetTagsPreparer(ctx context.Context, projectID uuid.UUI
// GetTagsSender sends the GetTags request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetTagsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTagsResponder handles the response to the GetTags request. The method always
@@ -2762,8 +2762,8 @@ func (client BaseClient) GetUntaggedImageCountPreparer(ctx context.Context, proj
// GetUntaggedImageCountSender sends the GetUntaggedImageCount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetUntaggedImageCountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUntaggedImageCountResponder handles the response to the GetUntaggedImageCount request. The method always
@@ -2869,8 +2869,8 @@ func (client BaseClient) GetUntaggedImagesPreparer(ctx context.Context, projectI
// GetUntaggedImagesSender sends the GetUntaggedImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetUntaggedImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUntaggedImagesResponder handles the response to the GetUntaggedImages request. The method always
@@ -2952,8 +2952,8 @@ func (client BaseClient) PublishIterationPreparer(ctx context.Context, projectID
// PublishIterationSender sends the PublishIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) PublishIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PublishIterationResponder handles the response to the PublishIteration request. The method always
@@ -3028,8 +3028,8 @@ func (client BaseClient) QueryPredictionsPreparer(ctx context.Context, projectID
// QueryPredictionsSender sends the QueryPredictions request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QueryPredictionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QueryPredictionsResponder handles the response to the QueryPredictions request. The method always
@@ -3115,8 +3115,8 @@ func (client BaseClient) QuickTestImagePreparer(ctx context.Context, projectID u
// QuickTestImageSender sends the QuickTestImage request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QuickTestImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QuickTestImageResponder handles the response to the QuickTestImage request. The method always
@@ -3205,8 +3205,8 @@ func (client BaseClient) QuickTestImageURLPreparer(ctx context.Context, projectI
// QuickTestImageURLSender sends the QuickTestImageURL request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QuickTestImageURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QuickTestImageURLResponder handles the response to the QuickTestImageURL request. The method always
@@ -3301,8 +3301,8 @@ func (client BaseClient) TrainProjectPreparer(ctx context.Context, projectID uui
// TrainProjectSender sends the TrainProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) TrainProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TrainProjectResponder handles the response to the TrainProject request. The method always
@@ -3376,8 +3376,8 @@ func (client BaseClient) UnpublishIterationPreparer(ctx context.Context, project
// UnpublishIterationSender sends the UnpublishIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UnpublishIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UnpublishIterationResponder handles the response to the UnpublishIteration request. The method always
@@ -3467,8 +3467,8 @@ func (client BaseClient) UpdateIterationPreparer(ctx context.Context, projectID
// UpdateIterationSender sends the UpdateIteration request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateIterationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateIterationResponder handles the response to the UpdateIteration request. The method always
@@ -3548,8 +3548,8 @@ func (client BaseClient) UpdateProjectPreparer(ctx context.Context, projectID uu
// UpdateProjectSender sends the UpdateProject request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateProjectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateProjectResponder handles the response to the UpdateProject request. The method always
@@ -3628,8 +3628,8 @@ func (client BaseClient) UpdateTagPreparer(ctx context.Context, projectID uuid.U
// UpdateTagSender sends the UpdateTag request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) UpdateTagSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateTagResponder handles the response to the UpdateTag request. The method always
diff --git a/services/cognitiveservices/v3.0/translatortext/translator.go b/services/cognitiveservices/v3.0/translatortext/translator.go
index 8f4458eb82c7..e59a6448f474 100644
--- a/services/cognitiveservices/v3.0/translatortext/translator.go
+++ b/services/cognitiveservices/v3.0/translatortext/translator.go
@@ -255,8 +255,8 @@ func (client TranslatorClient) BreakSentencePreparer(ctx context.Context, textPa
// BreakSentenceSender sends the BreakSentence request. The method will close the
// http.Response Body if it receives an error.
func (client TranslatorClient) BreakSentenceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// BreakSentenceResponder handles the response to the BreakSentence request. The method always
@@ -365,8 +365,8 @@ func (client TranslatorClient) DetectPreparer(ctx context.Context, textParameter
// DetectSender sends the Detect request. The method will close the
// http.Response Body if it receives an error.
func (client TranslatorClient) DetectSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DetectResponder handles the response to the Detect request. The method always
@@ -497,8 +497,8 @@ func (client TranslatorClient) DictionaryExamplesPreparer(ctx context.Context, f
// DictionaryExamplesSender sends the DictionaryExamples request. The method will close the
// http.Response Body if it receives an error.
func (client TranslatorClient) DictionaryExamplesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DictionaryExamplesResponder handles the response to the DictionaryExamples request. The method always
@@ -665,8 +665,8 @@ func (client TranslatorClient) DictionaryLookupPreparer(ctx context.Context, fro
// DictionaryLookupSender sends the DictionaryLookup request. The method will close the
// http.Response Body if it receives an error.
func (client TranslatorClient) DictionaryLookupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DictionaryLookupResponder handles the response to the DictionaryLookup request. The method always
@@ -910,8 +910,8 @@ func (client TranslatorClient) LanguagesPreparer(ctx context.Context, scope []st
// LanguagesSender sends the Languages request. The method will close the
// http.Response Body if it receives an error.
func (client TranslatorClient) LanguagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// LanguagesResponder handles the response to the Languages request. The method always
@@ -1128,8 +1128,8 @@ func (client TranslatorClient) TranslatePreparer(ctx context.Context, toParamete
// TranslateSender sends the Translate request. The method will close the
// http.Response Body if it receives an error.
func (client TranslatorClient) TranslateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TranslateResponder handles the response to the Translate request. The method always
@@ -1239,8 +1239,8 @@ func (client TranslatorClient) TransliteratePreparer(ctx context.Context, langua
// TransliterateSender sends the Transliterate request. The method will close the
// http.Response Body if it receives an error.
func (client TranslatorClient) TransliterateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// TransliterateResponder handles the response to the Transliterate request. The method always
diff --git a/services/cognitiveservices/v4.0/qnamaker/alterations.go b/services/cognitiveservices/v4.0/qnamaker/alterations.go
index bfd6df3ce5c0..bec870a47bd6 100644
--- a/services/cognitiveservices/v4.0/qnamaker/alterations.go
+++ b/services/cognitiveservices/v4.0/qnamaker/alterations.go
@@ -85,8 +85,8 @@ func (client AlterationsClient) GetPreparer(ctx context.Context) (*http.Request,
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AlterationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -161,8 +161,8 @@ func (client AlterationsClient) ReplacePreparer(ctx context.Context, wordAlterat
// ReplaceSender sends the Replace request. The method will close the
// http.Response Body if it receives an error.
func (client AlterationsClient) ReplaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReplaceResponder handles the response to the Replace request. The method always
diff --git a/services/cognitiveservices/v4.0/qnamaker/endpointkeys.go b/services/cognitiveservices/v4.0/qnamaker/endpointkeys.go
index 5b645a58ed2c..e473100f83f0 100644
--- a/services/cognitiveservices/v4.0/qnamaker/endpointkeys.go
+++ b/services/cognitiveservices/v4.0/qnamaker/endpointkeys.go
@@ -84,8 +84,8 @@ func (client EndpointKeysClient) GetKeysPreparer(ctx context.Context) (*http.Req
// GetKeysSender sends the GetKeys request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointKeysClient) GetKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetKeysResponder handles the response to the GetKeys request. The method always
@@ -156,8 +156,8 @@ func (client EndpointKeysClient) RefreshKeysPreparer(ctx context.Context, keyTyp
// RefreshKeysSender sends the RefreshKeys request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointKeysClient) RefreshKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// RefreshKeysResponder handles the response to the RefreshKeys request. The method always
diff --git a/services/cognitiveservices/v4.0/qnamaker/endpointsettings.go b/services/cognitiveservices/v4.0/qnamaker/endpointsettings.go
index 2a54465b4bb3..5130e9b82ef7 100644
--- a/services/cognitiveservices/v4.0/qnamaker/endpointsettings.go
+++ b/services/cognitiveservices/v4.0/qnamaker/endpointsettings.go
@@ -84,8 +84,8 @@ func (client EndpointSettingsClient) GetSettingsPreparer(ctx context.Context) (*
// GetSettingsSender sends the GetSettings request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointSettingsClient) GetSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetSettingsResponder handles the response to the GetSettings request. The method always
@@ -154,8 +154,8 @@ func (client EndpointSettingsClient) UpdateSettingsPreparer(ctx context.Context,
// UpdateSettingsSender sends the UpdateSettings request. The method will close the
// http.Response Body if it receives an error.
func (client EndpointSettingsClient) UpdateSettingsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateSettingsResponder handles the response to the UpdateSettings request. The method always
diff --git a/services/cognitiveservices/v4.0/qnamaker/knowledgebase.go b/services/cognitiveservices/v4.0/qnamaker/knowledgebase.go
index 9dec1b75d791..699817848b04 100644
--- a/services/cognitiveservices/v4.0/qnamaker/knowledgebase.go
+++ b/services/cognitiveservices/v4.0/qnamaker/knowledgebase.go
@@ -98,8 +98,8 @@ func (client KnowledgebaseClient) CreatePreparer(ctx context.Context, createKbPa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client KnowledgebaseClient) CreateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateResponder handles the response to the Create request. The method always
@@ -170,8 +170,8 @@ func (client KnowledgebaseClient) DeletePreparer(ctx context.Context, kbID strin
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client KnowledgebaseClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -243,8 +243,8 @@ func (client KnowledgebaseClient) DownloadPreparer(ctx context.Context, kbID str
// DownloadSender sends the Download request. The method will close the
// http.Response Body if it receives an error.
func (client KnowledgebaseClient) DownloadSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DownloadResponder handles the response to the Download request. The method always
@@ -315,8 +315,8 @@ func (client KnowledgebaseClient) GetDetailsPreparer(ctx context.Context, kbID s
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client KnowledgebaseClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
@@ -381,8 +381,8 @@ func (client KnowledgebaseClient) ListAllPreparer(ctx context.Context) (*http.Re
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client KnowledgebaseClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -453,8 +453,8 @@ func (client KnowledgebaseClient) PublishPreparer(ctx context.Context, kbID stri
// PublishSender sends the Publish request. The method will close the
// http.Response Body if it receives an error.
func (client KnowledgebaseClient) PublishSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// PublishResponder handles the response to the Publish request. The method always
@@ -533,8 +533,8 @@ func (client KnowledgebaseClient) ReplacePreparer(ctx context.Context, kbID stri
// ReplaceSender sends the Replace request. The method will close the
// http.Response Body if it receives an error.
func (client KnowledgebaseClient) ReplaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReplaceResponder handles the response to the Replace request. The method always
@@ -607,8 +607,8 @@ func (client KnowledgebaseClient) UpdatePreparer(ctx context.Context, kbID strin
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client KnowledgebaseClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/cognitiveservices/v4.0/qnamaker/operations.go b/services/cognitiveservices/v4.0/qnamaker/operations.go
index f22ef44319c2..d2e0f382f278 100644
--- a/services/cognitiveservices/v4.0/qnamaker/operations.go
+++ b/services/cognitiveservices/v4.0/qnamaker/operations.go
@@ -90,8 +90,8 @@ func (client OperationsClient) GetDetailsPreparer(ctx context.Context, operation
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
diff --git a/services/compute/mgmt/2015-06-15/compute/availabilitysets.go b/services/compute/mgmt/2015-06-15/compute/availabilitysets.go
index 5e54b3c7a683..2de438e924a5 100644
--- a/services/compute/mgmt/2015-06-15/compute/availabilitysets.go
+++ b/services/compute/mgmt/2015-06-15/compute/availabilitysets.go
@@ -103,8 +103,8 @@ func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourc
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -257,8 +257,8 @@ func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -333,8 +333,8 @@ func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceG
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -448,8 +448,8 @@ func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Cont
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
diff --git a/services/compute/mgmt/2015-06-15/compute/usage.go b/services/compute/mgmt/2015-06-15/compute/usage.go
index 91b765090d56..7c44484baf36 100644
--- a/services/compute/mgmt/2015-06-15/compute/usage.go
+++ b/services/compute/mgmt/2015-06-15/compute/usage.go
@@ -107,8 +107,8 @@ func (client UsageClient) ListPreparer(ctx context.Context, location string) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2015-06-15/compute/virtualmachineextensionimages.go b/services/compute/mgmt/2015-06-15/compute/virtualmachineextensionimages.go
index d4ec3dd53280..09ffeb84c8b7 100644
--- a/services/compute/mgmt/2015-06-15/compute/virtualmachineextensionimages.go
+++ b/services/compute/mgmt/2015-06-15/compute/virtualmachineextensionimages.go
@@ -102,8 +102,8 @@ func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Contex
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -178,8 +178,8 @@ func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.
// ListTypesSender sends the ListTypes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListTypesResponder handles the response to the ListTypes request. The method always
@@ -265,8 +265,8 @@ func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx conte
// ListVersionsSender sends the ListVersions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListVersionsResponder handles the response to the ListVersions request. The method always
diff --git a/services/compute/mgmt/2015-06-15/compute/virtualmachineextensions.go b/services/compute/mgmt/2015-06-15/compute/virtualmachineextensions.go
index 6ba712f872ff..a4744cb12d94 100644
--- a/services/compute/mgmt/2015-06-15/compute/virtualmachineextensions.go
+++ b/services/compute/mgmt/2015-06-15/compute/virtualmachineextensions.go
@@ -99,9 +99,9 @@ func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,9 +178,9 @@ func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -267,8 +267,8 @@ func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -343,9 +343,9 @@ func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2015-06-15/compute/virtualmachineimages.go b/services/compute/mgmt/2015-06-15/compute/virtualmachineimages.go
index 2686b2f5a101..669eb041c7d3 100644
--- a/services/compute/mgmt/2015-06-15/compute/virtualmachineimages.go
+++ b/services/compute/mgmt/2015-06-15/compute/virtualmachineimages.go
@@ -106,8 +106,8 @@ func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, locati
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -197,8 +197,8 @@ func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, locat
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -274,8 +274,8 @@ func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context,
// ListOffersSender sends the ListOffers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOffersResponder handles the response to the ListOffers request. The method always
@@ -349,8 +349,8 @@ func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Cont
// ListPublishersSender sends the ListPublishers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPublishersResponder handles the response to the ListPublishers request. The method always
@@ -428,8 +428,8 @@ func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, l
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
diff --git a/services/compute/mgmt/2015-06-15/compute/virtualmachines.go b/services/compute/mgmt/2015-06-15/compute/virtualmachines.go
index 71c90d2951bf..6e51288d611b 100644
--- a/services/compute/mgmt/2015-06-15/compute/virtualmachines.go
+++ b/services/compute/mgmt/2015-06-15/compute/virtualmachines.go
@@ -107,9 +107,9 @@ func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourc
// CaptureSender sends the Capture request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -211,9 +211,9 @@ func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -289,9 +289,9 @@ func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, reso
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -366,9 +366,9 @@ func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -449,8 +449,8 @@ func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, reso
// GeneralizeSender sends the Generalize request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GeneralizeResponder handles the response to the Generalize request. The method always
@@ -530,8 +530,8 @@ func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -607,8 +607,8 @@ func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGr
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -718,8 +718,8 @@ func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -832,8 +832,8 @@ func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Conte
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -904,9 +904,9 @@ func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resour
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -981,9 +981,9 @@ func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resour
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1058,9 +1058,9 @@ func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1135,9 +1135,9 @@ func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceG
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2015-06-15/compute/virtualmachinescalesets.go b/services/compute/mgmt/2015-06-15/compute/virtualmachinescalesets.go
index ee63074241db..01517b1be0b9 100644
--- a/services/compute/mgmt/2015-06-15/compute/virtualmachinescalesets.go
+++ b/services/compute/mgmt/2015-06-15/compute/virtualmachinescalesets.go
@@ -111,9 +111,9 @@ func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.C
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -195,9 +195,9 @@ func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Conte
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -272,9 +272,9 @@ func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -358,9 +358,9 @@ func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.
// DeleteInstancesSender sends the DeleteInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -441,8 +441,8 @@ func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -518,8 +518,8 @@ func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -594,8 +594,8 @@ func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -706,8 +706,8 @@ func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context)
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -822,8 +822,8 @@ func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
@@ -937,9 +937,9 @@ func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1014,9 +1014,9 @@ func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context,
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1097,9 +1097,9 @@ func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context,
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1180,9 +1180,9 @@ func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, r
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1266,9 +1266,9 @@ func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.
// UpdateInstancesSender sends the UpdateInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2015-06-15/compute/virtualmachinescalesetvms.go b/services/compute/mgmt/2015-06-15/compute/virtualmachinescalesetvms.go
index 64932a52f94a..f573b742980b 100644
--- a/services/compute/mgmt/2015-06-15/compute/virtualmachinescalesetvms.go
+++ b/services/compute/mgmt/2015-06-15/compute/virtualmachinescalesetvms.go
@@ -98,9 +98,9 @@ func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Con
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -177,9 +177,9 @@ func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -262,8 +262,8 @@ func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, r
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -341,8 +341,8 @@ func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx contex
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -431,8 +431,8 @@ func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -542,9 +542,9 @@ func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Conte
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -621,9 +621,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Contex
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -700,9 +700,9 @@ func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Contex
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -779,9 +779,9 @@ func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context,
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2015-06-15/compute/virtualmachinesizes.go b/services/compute/mgmt/2015-06-15/compute/virtualmachinesizes.go
index 02d53c200033..16e95bdb77dd 100644
--- a/services/compute/mgmt/2015-06-15/compute/virtualmachinesizes.go
+++ b/services/compute/mgmt/2015-06-15/compute/virtualmachinesizes.go
@@ -105,8 +105,8 @@ func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2016-03-30/compute/availabilitysets.go b/services/compute/mgmt/2016-03-30/compute/availabilitysets.go
index 4d56e9065268..39084c30026d 100644
--- a/services/compute/mgmt/2016-03-30/compute/availabilitysets.go
+++ b/services/compute/mgmt/2016-03-30/compute/availabilitysets.go
@@ -103,8 +103,8 @@ func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourc
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -257,8 +257,8 @@ func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -333,8 +333,8 @@ func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceG
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -448,8 +448,8 @@ func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Cont
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -521,8 +521,8 @@ func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
diff --git a/services/compute/mgmt/2016-03-30/compute/usage.go b/services/compute/mgmt/2016-03-30/compute/usage.go
index 733e0b80bc1f..31be1f95bc30 100644
--- a/services/compute/mgmt/2016-03-30/compute/usage.go
+++ b/services/compute/mgmt/2016-03-30/compute/usage.go
@@ -107,8 +107,8 @@ func (client UsageClient) ListPreparer(ctx context.Context, location string) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2016-03-30/compute/virtualmachineextensionimages.go b/services/compute/mgmt/2016-03-30/compute/virtualmachineextensionimages.go
index f74cdf0be78b..982058833de2 100644
--- a/services/compute/mgmt/2016-03-30/compute/virtualmachineextensionimages.go
+++ b/services/compute/mgmt/2016-03-30/compute/virtualmachineextensionimages.go
@@ -102,8 +102,8 @@ func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Contex
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -178,8 +178,8 @@ func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.
// ListTypesSender sends the ListTypes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListTypesResponder handles the response to the ListTypes request. The method always
@@ -265,8 +265,8 @@ func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx conte
// ListVersionsSender sends the ListVersions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListVersionsResponder handles the response to the ListVersions request. The method always
diff --git a/services/compute/mgmt/2016-03-30/compute/virtualmachineextensions.go b/services/compute/mgmt/2016-03-30/compute/virtualmachineextensions.go
index 98d6e37ee4e0..9170a0591c9c 100644
--- a/services/compute/mgmt/2016-03-30/compute/virtualmachineextensions.go
+++ b/services/compute/mgmt/2016-03-30/compute/virtualmachineextensions.go
@@ -99,9 +99,9 @@ func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,9 +178,9 @@ func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -267,8 +267,8 @@ func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -343,9 +343,9 @@ func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2016-03-30/compute/virtualmachineimages.go b/services/compute/mgmt/2016-03-30/compute/virtualmachineimages.go
index 4290b35b855f..d0aefadf2bfd 100644
--- a/services/compute/mgmt/2016-03-30/compute/virtualmachineimages.go
+++ b/services/compute/mgmt/2016-03-30/compute/virtualmachineimages.go
@@ -106,8 +106,8 @@ func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, locati
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -197,8 +197,8 @@ func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, locat
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -274,8 +274,8 @@ func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context,
// ListOffersSender sends the ListOffers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOffersResponder handles the response to the ListOffers request. The method always
@@ -349,8 +349,8 @@ func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Cont
// ListPublishersSender sends the ListPublishers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPublishersResponder handles the response to the ListPublishers request. The method always
@@ -428,8 +428,8 @@ func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, l
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
diff --git a/services/compute/mgmt/2016-03-30/compute/virtualmachines.go b/services/compute/mgmt/2016-03-30/compute/virtualmachines.go
index f381fc83c12d..6d15b823530d 100644
--- a/services/compute/mgmt/2016-03-30/compute/virtualmachines.go
+++ b/services/compute/mgmt/2016-03-30/compute/virtualmachines.go
@@ -107,9 +107,9 @@ func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourc
// CaptureSender sends the Capture request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -211,9 +211,9 @@ func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -289,9 +289,9 @@ func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, reso
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -366,9 +366,9 @@ func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -449,8 +449,8 @@ func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, reso
// GeneralizeSender sends the Generalize request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GeneralizeResponder handles the response to the Generalize request. The method always
@@ -530,8 +530,8 @@ func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -611,8 +611,8 @@ func (client VirtualMachinesClient) GetExtensionsPreparer(ctx context.Context, r
// GetExtensionsSender sends the GetExtensions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetExtensionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetExtensionsResponder handles the response to the GetExtensions request. The method always
@@ -688,8 +688,8 @@ func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGr
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -799,8 +799,8 @@ func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -913,8 +913,8 @@ func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Conte
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -985,9 +985,9 @@ func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resour
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1062,9 +1062,9 @@ func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resour
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1139,9 +1139,9 @@ func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1216,9 +1216,9 @@ func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceG
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2016-03-30/compute/virtualmachinescalesets.go b/services/compute/mgmt/2016-03-30/compute/virtualmachinescalesets.go
index d7802a5026e3..df119a5d36e2 100644
--- a/services/compute/mgmt/2016-03-30/compute/virtualmachinescalesets.go
+++ b/services/compute/mgmt/2016-03-30/compute/virtualmachinescalesets.go
@@ -111,9 +111,9 @@ func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.C
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -195,9 +195,9 @@ func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Conte
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -272,9 +272,9 @@ func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -358,9 +358,9 @@ func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.
// DeleteInstancesSender sends the DeleteInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -441,8 +441,8 @@ func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -518,8 +518,8 @@ func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -594,8 +594,8 @@ func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -706,8 +706,8 @@ func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context)
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -822,8 +822,8 @@ func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
@@ -937,9 +937,9 @@ func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1014,9 +1014,9 @@ func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context,
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1097,9 +1097,9 @@ func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context,
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1180,9 +1180,9 @@ func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, r
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1266,9 +1266,9 @@ func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.
// UpdateInstancesSender sends the UpdateInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2016-03-30/compute/virtualmachinescalesetvms.go b/services/compute/mgmt/2016-03-30/compute/virtualmachinescalesetvms.go
index 1e6e8faf693a..aa019921e10f 100644
--- a/services/compute/mgmt/2016-03-30/compute/virtualmachinescalesetvms.go
+++ b/services/compute/mgmt/2016-03-30/compute/virtualmachinescalesetvms.go
@@ -98,9 +98,9 @@ func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Con
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -177,9 +177,9 @@ func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -262,8 +262,8 @@ func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, r
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -341,8 +341,8 @@ func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx contex
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -431,8 +431,8 @@ func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -542,9 +542,9 @@ func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Conte
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -621,9 +621,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Contex
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -700,9 +700,9 @@ func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Contex
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -779,9 +779,9 @@ func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context,
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2016-03-30/compute/virtualmachinesizes.go b/services/compute/mgmt/2016-03-30/compute/virtualmachinesizes.go
index 83816e75c7b7..a4bb42ef270b 100644
--- a/services/compute/mgmt/2016-03-30/compute/virtualmachinesizes.go
+++ b/services/compute/mgmt/2016-03-30/compute/virtualmachinesizes.go
@@ -105,8 +105,8 @@ func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-03-30/compute/availabilitysets.go b/services/compute/mgmt/2017-03-30/compute/availabilitysets.go
index a4316368ff85..573ffd10687b 100644
--- a/services/compute/mgmt/2017-03-30/compute/availabilitysets.go
+++ b/services/compute/mgmt/2017-03-30/compute/availabilitysets.go
@@ -103,8 +103,8 @@ func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourc
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -257,8 +257,8 @@ func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -333,8 +333,8 @@ func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceG
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -448,8 +448,8 @@ func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Cont
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -521,8 +521,8 @@ func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
diff --git a/services/compute/mgmt/2017-03-30/compute/disks.go b/services/compute/mgmt/2017-03-30/compute/disks.go
index 7ecc51adf228..3256a59cd4e9 100644
--- a/services/compute/mgmt/2017-03-30/compute/disks.go
+++ b/services/compute/mgmt/2017-03-30/compute/disks.go
@@ -122,9 +122,9 @@ func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGr
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,9 +201,9 @@ func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -286,8 +286,8 @@ func (client DisksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -368,9 +368,9 @@ func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroup
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -447,8 +447,8 @@ func (client DisksClient) ListPreparer(ctx context.Context) (*http.Request, erro
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -560,8 +560,8 @@ func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resou
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -670,9 +670,9 @@ func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGrou
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -752,9 +752,9 @@ func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-03-30/compute/images.go b/services/compute/mgmt/2017-03-30/compute/images.go
index a08d9af959b5..69f25f183a65 100644
--- a/services/compute/mgmt/2017-03-30/compute/images.go
+++ b/services/compute/mgmt/2017-03-30/compute/images.go
@@ -107,9 +107,9 @@ func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceG
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -184,9 +184,9 @@ func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -271,8 +271,8 @@ func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -345,8 +345,8 @@ func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, err
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -458,8 +458,8 @@ func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, reso
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/compute/mgmt/2017-03-30/compute/resourceskus.go b/services/compute/mgmt/2017-03-30/compute/resourceskus.go
index 2ba4d6ee37a2..0ac644b3c108 100644
--- a/services/compute/mgmt/2017-03-30/compute/resourceskus.go
+++ b/services/compute/mgmt/2017-03-30/compute/resourceskus.go
@@ -96,8 +96,8 @@ func (client ResourceSkusClient) ListPreparer(ctx context.Context) (*http.Reques
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-03-30/compute/snapshots.go b/services/compute/mgmt/2017-03-30/compute/snapshots.go
index 12ae9955af7f..9f69ae2ddbc2 100644
--- a/services/compute/mgmt/2017-03-30/compute/snapshots.go
+++ b/services/compute/mgmt/2017-03-30/compute/snapshots.go
@@ -121,9 +121,9 @@ func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -199,9 +199,9 @@ func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -283,8 +283,8 @@ func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -364,9 +364,9 @@ func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceG
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -443,8 +443,8 @@ func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -556,8 +556,8 @@ func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -665,9 +665,9 @@ func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resource
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -746,9 +746,9 @@ func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-03-30/compute/usage.go b/services/compute/mgmt/2017-03-30/compute/usage.go
index 4931920189d5..cddcca70c05a 100644
--- a/services/compute/mgmt/2017-03-30/compute/usage.go
+++ b/services/compute/mgmt/2017-03-30/compute/usage.go
@@ -107,8 +107,8 @@ func (client UsageClient) ListPreparer(ctx context.Context, location string) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-03-30/compute/virtualmachineextensionimages.go b/services/compute/mgmt/2017-03-30/compute/virtualmachineextensionimages.go
index 1543748fe952..18101ae0c659 100644
--- a/services/compute/mgmt/2017-03-30/compute/virtualmachineextensionimages.go
+++ b/services/compute/mgmt/2017-03-30/compute/virtualmachineextensionimages.go
@@ -102,8 +102,8 @@ func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Contex
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -178,8 +178,8 @@ func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.
// ListTypesSender sends the ListTypes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListTypesResponder handles the response to the ListTypes request. The method always
@@ -265,8 +265,8 @@ func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx conte
// ListVersionsSender sends the ListVersions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListVersionsResponder handles the response to the ListVersions request. The method always
diff --git a/services/compute/mgmt/2017-03-30/compute/virtualmachineextensions.go b/services/compute/mgmt/2017-03-30/compute/virtualmachineextensions.go
index 18302f28911f..e51cd61bcb70 100644
--- a/services/compute/mgmt/2017-03-30/compute/virtualmachineextensions.go
+++ b/services/compute/mgmt/2017-03-30/compute/virtualmachineextensions.go
@@ -99,9 +99,9 @@ func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,9 +178,9 @@ func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -267,8 +267,8 @@ func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -343,9 +343,9 @@ func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-03-30/compute/virtualmachineimages.go b/services/compute/mgmt/2017-03-30/compute/virtualmachineimages.go
index 53a1b400258b..e44f5f3f4548 100644
--- a/services/compute/mgmt/2017-03-30/compute/virtualmachineimages.go
+++ b/services/compute/mgmt/2017-03-30/compute/virtualmachineimages.go
@@ -106,8 +106,8 @@ func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, locati
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -197,8 +197,8 @@ func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, locat
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -274,8 +274,8 @@ func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context,
// ListOffersSender sends the ListOffers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOffersResponder handles the response to the ListOffers request. The method always
@@ -349,8 +349,8 @@ func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Cont
// ListPublishersSender sends the ListPublishers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPublishersResponder handles the response to the ListPublishers request. The method always
@@ -428,8 +428,8 @@ func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, l
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
diff --git a/services/compute/mgmt/2017-03-30/compute/virtualmachineruncommands.go b/services/compute/mgmt/2017-03-30/compute/virtualmachineruncommands.go
index 6938fa213e45..3c3f17cb82f7 100644
--- a/services/compute/mgmt/2017-03-30/compute/virtualmachineruncommands.go
+++ b/services/compute/mgmt/2017-03-30/compute/virtualmachineruncommands.go
@@ -107,8 +107,8 @@ func (client VirtualMachineRunCommandsClient) GetPreparer(ctx context.Context, l
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -189,8 +189,8 @@ func (client VirtualMachineRunCommandsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-03-30/compute/virtualmachines.go b/services/compute/mgmt/2017-03-30/compute/virtualmachines.go
index 443645687dab..a8695f07bf25 100644
--- a/services/compute/mgmt/2017-03-30/compute/virtualmachines.go
+++ b/services/compute/mgmt/2017-03-30/compute/virtualmachines.go
@@ -107,9 +107,9 @@ func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourc
// CaptureSender sends the Capture request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -185,9 +185,9 @@ func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Co
// ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -287,9 +287,9 @@ func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -365,9 +365,9 @@ func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, reso
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -442,9 +442,9 @@ func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -525,8 +525,8 @@ func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, reso
// GeneralizeSender sends the Generalize request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GeneralizeResponder handles the response to the Generalize request. The method always
@@ -606,8 +606,8 @@ func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -687,8 +687,8 @@ func (client VirtualMachinesClient) GetExtensionsPreparer(ctx context.Context, r
// GetExtensionsSender sends the GetExtensions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetExtensionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetExtensionsResponder handles the response to the GetExtensions request. The method always
@@ -764,8 +764,8 @@ func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, re
// InstanceViewSender sends the InstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// InstanceViewResponder handles the response to the InstanceView request. The method always
@@ -841,8 +841,8 @@ func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGr
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -952,8 +952,8 @@ func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -1066,8 +1066,8 @@ func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Conte
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -1148,8 +1148,8 @@ func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context,
// ListByLocationSender sends the ListByLocation request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListByLocationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByLocationResponder handles the response to the ListByLocation request. The method always
@@ -1256,9 +1256,9 @@ func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachinesPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1334,9 +1334,9 @@ func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resour
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1411,9 +1411,9 @@ func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resour
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1488,9 +1488,9 @@ func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1574,9 +1574,9 @@ func (client VirtualMachinesClient) RunCommandPreparer(ctx context.Context, reso
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (future VirtualMachinesRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1651,9 +1651,9 @@ func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceG
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetextensions.go b/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetextensions.go
index 405f07a2f7d9..e04760d3c88a 100644
--- a/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetextensions.go
+++ b/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetextensions.go
@@ -100,9 +100,9 @@ func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -179,9 +179,9 @@ func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -268,8 +268,8 @@ func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Con
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -346,8 +346,8 @@ func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Co
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetrollingupgrades.go b/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetrollingupgrades.go
index 9d9e0ab36547..d0bfe4c3e3b6 100644
--- a/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetrollingupgrades.go
+++ b/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetrollingupgrades.go
@@ -96,9 +96,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx con
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -179,8 +179,8 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx
// GetLatestSender sends the GetLatest request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetLatestResponder handles the response to the GetLatest request. The method always
@@ -251,9 +251,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer
// StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesets.go b/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesets.go
index 86d4cce88227..4f4aad1b33e3 100644
--- a/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesets.go
+++ b/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesets.go
@@ -121,9 +121,9 @@ func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.C
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -205,9 +205,9 @@ func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Conte
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,9 +282,9 @@ func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -368,9 +368,9 @@ func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.
// DeleteInstancesSender sends the DeleteInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -451,8 +451,8 @@ func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -528,8 +528,8 @@ func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -604,8 +604,8 @@ func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -716,8 +716,8 @@ func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context)
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -832,8 +832,8 @@ func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
@@ -947,9 +947,9 @@ func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1030,9 +1030,9 @@ func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context,
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1114,9 +1114,9 @@ func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Conte
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1197,9 +1197,9 @@ func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context,
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1280,9 +1280,9 @@ func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, r
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1360,9 +1360,9 @@ func (client VirtualMachineScaleSetsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1446,9 +1446,9 @@ func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.
// UpdateInstancesSender sends the UpdateInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetvms.go b/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetvms.go
index 7f4637d5db4d..2b83e95c9c28 100644
--- a/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetvms.go
+++ b/services/compute/mgmt/2017-03-30/compute/virtualmachinescalesetvms.go
@@ -98,9 +98,9 @@ func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Con
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -177,9 +177,9 @@ func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -262,8 +262,8 @@ func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, r
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -341,8 +341,8 @@ func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx contex
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -431,8 +431,8 @@ func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -542,9 +542,9 @@ func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Conte
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -621,9 +621,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Contex
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -701,9 +701,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Con
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -780,9 +780,9 @@ func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Contex
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -859,9 +859,9 @@ func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context,
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-03-30/compute/virtualmachinesizes.go b/services/compute/mgmt/2017-03-30/compute/virtualmachinesizes.go
index 692c196adbd6..f455360b3716 100644
--- a/services/compute/mgmt/2017-03-30/compute/virtualmachinesizes.go
+++ b/services/compute/mgmt/2017-03-30/compute/virtualmachinesizes.go
@@ -105,8 +105,8 @@ func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-09-01/skus/resourceskus.go b/services/compute/mgmt/2017-09-01/skus/resourceskus.go
index f88ffae0edf9..2a335cfd4b45 100644
--- a/services/compute/mgmt/2017-09-01/skus/resourceskus.go
+++ b/services/compute/mgmt/2017-09-01/skus/resourceskus.go
@@ -96,8 +96,8 @@ func (client ResourceSkusClient) ListPreparer(ctx context.Context) (*http.Reques
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-12-01/compute/availabilitysets.go b/services/compute/mgmt/2017-12-01/compute/availabilitysets.go
index 47b00f226642..d46ad7a984a6 100644
--- a/services/compute/mgmt/2017-12-01/compute/availabilitysets.go
+++ b/services/compute/mgmt/2017-12-01/compute/availabilitysets.go
@@ -103,8 +103,8 @@ func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourc
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -257,8 +257,8 @@ func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -333,8 +333,8 @@ func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceG
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -448,8 +448,8 @@ func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Cont
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -521,8 +521,8 @@ func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -638,8 +638,8 @@ func (client AvailabilitySetsClient) UpdatePreparer(ctx context.Context, resourc
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/compute/mgmt/2017-12-01/compute/disks.go b/services/compute/mgmt/2017-12-01/compute/disks.go
index 7ecc51adf228..3256a59cd4e9 100644
--- a/services/compute/mgmt/2017-12-01/compute/disks.go
+++ b/services/compute/mgmt/2017-12-01/compute/disks.go
@@ -122,9 +122,9 @@ func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGr
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,9 +201,9 @@ func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -286,8 +286,8 @@ func (client DisksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -368,9 +368,9 @@ func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroup
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -447,8 +447,8 @@ func (client DisksClient) ListPreparer(ctx context.Context) (*http.Request, erro
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -560,8 +560,8 @@ func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resou
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -670,9 +670,9 @@ func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGrou
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -752,9 +752,9 @@ func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-12-01/compute/images.go b/services/compute/mgmt/2017-12-01/compute/images.go
index 3dfcb1162a21..0b4ca5785ee0 100644
--- a/services/compute/mgmt/2017-12-01/compute/images.go
+++ b/services/compute/mgmt/2017-12-01/compute/images.go
@@ -97,9 +97,9 @@ func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceG
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -174,9 +174,9 @@ func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -261,8 +261,8 @@ func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -335,8 +335,8 @@ func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, err
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -448,8 +448,8 @@ func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, reso
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -559,9 +559,9 @@ func (client ImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) UpdateSender(req *http.Request) (future ImagesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-12-01/compute/loganalytics.go b/services/compute/mgmt/2017-12-01/compute/loganalytics.go
index b1b2ef19b347..4ff599d27f59 100644
--- a/services/compute/mgmt/2017-12-01/compute/loganalytics.go
+++ b/services/compute/mgmt/2017-12-01/compute/loganalytics.go
@@ -103,9 +103,9 @@ func (client LogAnalyticsClient) ExportRequestRateByIntervalPreparer(ctx context
// ExportRequestRateByIntervalSender sends the ExportRequestRateByInterval request. The method will close the
// http.Response Body if it receives an error.
func (client LogAnalyticsClient) ExportRequestRateByIntervalSender(req *http.Request) (future LogAnalyticsExportRequestRateByIntervalFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -188,9 +188,9 @@ func (client LogAnalyticsClient) ExportThrottledRequestsPreparer(ctx context.Con
// ExportThrottledRequestsSender sends the ExportThrottledRequests request. The method will close the
// http.Response Body if it receives an error.
func (client LogAnalyticsClient) ExportThrottledRequestsSender(req *http.Request) (future LogAnalyticsExportThrottledRequestsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-12-01/compute/operations.go b/services/compute/mgmt/2017-12-01/compute/operations.go
index 153c0b0fafbd..bd3fd1a20526 100644
--- a/services/compute/mgmt/2017-12-01/compute/operations.go
+++ b/services/compute/mgmt/2017-12-01/compute/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-12-01/compute/resourceskus.go b/services/compute/mgmt/2017-12-01/compute/resourceskus.go
index d378f643ff00..15b2a399d426 100644
--- a/services/compute/mgmt/2017-12-01/compute/resourceskus.go
+++ b/services/compute/mgmt/2017-12-01/compute/resourceskus.go
@@ -96,8 +96,8 @@ func (client ResourceSkusClient) ListPreparer(ctx context.Context) (*http.Reques
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-12-01/compute/snapshots.go b/services/compute/mgmt/2017-12-01/compute/snapshots.go
index 12ae9955af7f..9f69ae2ddbc2 100644
--- a/services/compute/mgmt/2017-12-01/compute/snapshots.go
+++ b/services/compute/mgmt/2017-12-01/compute/snapshots.go
@@ -121,9 +121,9 @@ func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -199,9 +199,9 @@ func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -283,8 +283,8 @@ func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -364,9 +364,9 @@ func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceG
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -443,8 +443,8 @@ func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -556,8 +556,8 @@ func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -665,9 +665,9 @@ func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resource
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -746,9 +746,9 @@ func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-12-01/compute/usage.go b/services/compute/mgmt/2017-12-01/compute/usage.go
index dd1ea0f3b15d..4d9865e0fc05 100644
--- a/services/compute/mgmt/2017-12-01/compute/usage.go
+++ b/services/compute/mgmt/2017-12-01/compute/usage.go
@@ -107,8 +107,8 @@ func (client UsageClient) ListPreparer(ctx context.Context, location string) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-12-01/compute/virtualmachineextensionimages.go b/services/compute/mgmt/2017-12-01/compute/virtualmachineextensionimages.go
index 2d9f17b27940..969744acd336 100644
--- a/services/compute/mgmt/2017-12-01/compute/virtualmachineextensionimages.go
+++ b/services/compute/mgmt/2017-12-01/compute/virtualmachineextensionimages.go
@@ -102,8 +102,8 @@ func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Contex
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -178,8 +178,8 @@ func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.
// ListTypesSender sends the ListTypes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListTypesResponder handles the response to the ListTypes request. The method always
@@ -265,8 +265,8 @@ func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx conte
// ListVersionsSender sends the ListVersions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListVersionsResponder handles the response to the ListVersions request. The method always
diff --git a/services/compute/mgmt/2017-12-01/compute/virtualmachineextensions.go b/services/compute/mgmt/2017-12-01/compute/virtualmachineextensions.go
index 65147873e6a7..5251fe760b96 100644
--- a/services/compute/mgmt/2017-12-01/compute/virtualmachineextensions.go
+++ b/services/compute/mgmt/2017-12-01/compute/virtualmachineextensions.go
@@ -99,9 +99,9 @@ func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,9 +178,9 @@ func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -267,8 +267,8 @@ func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -343,9 +343,9 @@ func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-12-01/compute/virtualmachineimages.go b/services/compute/mgmt/2017-12-01/compute/virtualmachineimages.go
index e08bf1e0b86b..c468426964a4 100644
--- a/services/compute/mgmt/2017-12-01/compute/virtualmachineimages.go
+++ b/services/compute/mgmt/2017-12-01/compute/virtualmachineimages.go
@@ -106,8 +106,8 @@ func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, locati
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -197,8 +197,8 @@ func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, locat
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -274,8 +274,8 @@ func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context,
// ListOffersSender sends the ListOffers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOffersResponder handles the response to the ListOffers request. The method always
@@ -349,8 +349,8 @@ func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Cont
// ListPublishersSender sends the ListPublishers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPublishersResponder handles the response to the ListPublishers request. The method always
@@ -428,8 +428,8 @@ func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, l
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
diff --git a/services/compute/mgmt/2017-12-01/compute/virtualmachineruncommands.go b/services/compute/mgmt/2017-12-01/compute/virtualmachineruncommands.go
index 93837d42f6a7..18790c7d5a66 100644
--- a/services/compute/mgmt/2017-12-01/compute/virtualmachineruncommands.go
+++ b/services/compute/mgmt/2017-12-01/compute/virtualmachineruncommands.go
@@ -107,8 +107,8 @@ func (client VirtualMachineRunCommandsClient) GetPreparer(ctx context.Context, l
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -189,8 +189,8 @@ func (client VirtualMachineRunCommandsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-12-01/compute/virtualmachines.go b/services/compute/mgmt/2017-12-01/compute/virtualmachines.go
index 040bc713d1d2..83667bb43ef4 100644
--- a/services/compute/mgmt/2017-12-01/compute/virtualmachines.go
+++ b/services/compute/mgmt/2017-12-01/compute/virtualmachines.go
@@ -107,9 +107,9 @@ func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourc
// CaptureSender sends the Capture request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -185,9 +185,9 @@ func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Co
// ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -287,9 +287,9 @@ func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -365,9 +365,9 @@ func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, reso
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -442,9 +442,9 @@ func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -525,8 +525,8 @@ func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, reso
// GeneralizeSender sends the Generalize request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GeneralizeResponder handles the response to the Generalize request. The method always
@@ -606,8 +606,8 @@ func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -687,8 +687,8 @@ func (client VirtualMachinesClient) GetExtensionsPreparer(ctx context.Context, r
// GetExtensionsSender sends the GetExtensions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetExtensionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetExtensionsResponder handles the response to the GetExtensions request. The method always
@@ -764,8 +764,8 @@ func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, re
// InstanceViewSender sends the InstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// InstanceViewResponder handles the response to the InstanceView request. The method always
@@ -841,8 +841,8 @@ func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGr
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -952,8 +952,8 @@ func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -1066,8 +1066,8 @@ func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Conte
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -1148,8 +1148,8 @@ func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context,
// ListByLocationSender sends the ListByLocation request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListByLocationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByLocationResponder handles the response to the ListByLocation request. The method always
@@ -1256,9 +1256,9 @@ func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachinesPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1334,9 +1334,9 @@ func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resour
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1411,9 +1411,9 @@ func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resour
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1488,9 +1488,9 @@ func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1574,9 +1574,9 @@ func (client VirtualMachinesClient) RunCommandPreparer(ctx context.Context, reso
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (future VirtualMachinesRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1651,9 +1651,9 @@ func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceG
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1731,9 +1731,9 @@ func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resource
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) UpdateSender(req *http.Request) (future VirtualMachinesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetextensions.go b/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetextensions.go
index 8e4d578d040a..4471f46440e5 100644
--- a/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetextensions.go
+++ b/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetextensions.go
@@ -100,9 +100,9 @@ func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -179,9 +179,9 @@ func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -268,8 +268,8 @@ func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Con
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -346,8 +346,8 @@ func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Co
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetrollingupgrades.go b/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetrollingupgrades.go
index b6d7e4b6de56..2b44c3eeb44b 100644
--- a/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetrollingupgrades.go
+++ b/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetrollingupgrades.go
@@ -96,9 +96,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx con
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -179,8 +179,8 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx
// GetLatestSender sends the GetLatest request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetLatestResponder handles the response to the GetLatest request. The method always
@@ -251,9 +251,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer
// StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesets.go b/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesets.go
index c63300f8773e..c14ef024c7f2 100644
--- a/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesets.go
+++ b/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesets.go
@@ -121,9 +121,9 @@ func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.C
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -205,9 +205,9 @@ func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Conte
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,9 +282,9 @@ func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -368,9 +368,9 @@ func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.
// DeleteInstancesSender sends the DeleteInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -454,8 +454,8 @@ func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUp
// ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender sends the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder handles the response to the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method always
@@ -531,8 +531,8 @@ func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -608,8 +608,8 @@ func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -686,8 +686,8 @@ func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer(ctx cont
// GetOSUpgradeHistorySender sends the GetOSUpgradeHistory request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetOSUpgradeHistoryResponder handles the response to the GetOSUpgradeHistory request. The method always
@@ -799,8 +799,8 @@ func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -911,8 +911,8 @@ func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context)
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -1027,8 +1027,8 @@ func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
@@ -1143,9 +1143,9 @@ func (client VirtualMachineScaleSetsClient) PerformMaintenancePreparer(ctx conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1227,9 +1227,9 @@ func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1310,9 +1310,9 @@ func (client VirtualMachineScaleSetsClient) RedeployPreparer(ctx context.Context
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1393,9 +1393,9 @@ func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context,
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1477,9 +1477,9 @@ func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Conte
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1560,9 +1560,9 @@ func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context,
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1643,9 +1643,9 @@ func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, r
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1723,9 +1723,9 @@ func (client VirtualMachineScaleSetsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1809,9 +1809,9 @@ func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.
// UpdateInstancesSender sends the UpdateInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetvms.go b/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetvms.go
index ee4dc7382f55..278542090cbb 100644
--- a/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetvms.go
+++ b/services/compute/mgmt/2017-12-01/compute/virtualmachinescalesetvms.go
@@ -99,9 +99,9 @@ func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Con
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,9 +178,9 @@ func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -263,8 +263,8 @@ func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, r
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -342,8 +342,8 @@ func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx contex
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -432,8 +432,8 @@ func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -542,9 +542,9 @@ func (client VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer(ctx con
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -622,9 +622,9 @@ func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Conte
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -701,9 +701,9 @@ func (client VirtualMachineScaleSetVMsClient) RedeployPreparer(ctx context.Conte
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetVMsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -780,9 +780,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Contex
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -860,9 +860,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Con
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -939,9 +939,9 @@ func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Contex
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1018,9 +1018,9 @@ func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context,
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1124,9 +1124,9 @@ func (client VirtualMachineScaleSetVMsClient) UpdatePreparer(ctx context.Context
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2017-12-01/compute/virtualmachinesizes.go b/services/compute/mgmt/2017-12-01/compute/virtualmachinesizes.go
index 9864afe62147..d15befbc62ea 100644
--- a/services/compute/mgmt/2017-12-01/compute/virtualmachinesizes.go
+++ b/services/compute/mgmt/2017-12-01/compute/virtualmachinesizes.go
@@ -105,8 +105,8 @@ func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-04-01/compute/availabilitysets.go b/services/compute/mgmt/2018-04-01/compute/availabilitysets.go
index 6f775ba37cb2..59e0e4e9e637 100644
--- a/services/compute/mgmt/2018-04-01/compute/availabilitysets.go
+++ b/services/compute/mgmt/2018-04-01/compute/availabilitysets.go
@@ -103,8 +103,8 @@ func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourc
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -256,8 +256,8 @@ func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -332,8 +332,8 @@ func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceG
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -447,8 +447,8 @@ func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Cont
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -520,8 +520,8 @@ func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -637,8 +637,8 @@ func (client AvailabilitySetsClient) UpdatePreparer(ctx context.Context, resourc
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/compute/mgmt/2018-04-01/compute/disks.go b/services/compute/mgmt/2018-04-01/compute/disks.go
index 64bbe0fac61d..30bf8ad8a9de 100644
--- a/services/compute/mgmt/2018-04-01/compute/disks.go
+++ b/services/compute/mgmt/2018-04-01/compute/disks.go
@@ -122,9 +122,9 @@ func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGr
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,9 +201,9 @@ func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -285,8 +285,8 @@ func (client DisksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -367,9 +367,9 @@ func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroup
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -446,8 +446,8 @@ func (client DisksClient) ListPreparer(ctx context.Context) (*http.Request, erro
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -559,8 +559,8 @@ func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resou
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -669,9 +669,9 @@ func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGrou
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -750,9 +750,9 @@ func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-04-01/compute/images.go b/services/compute/mgmt/2018-04-01/compute/images.go
index aba3385c50c6..e9a755875f39 100644
--- a/services/compute/mgmt/2018-04-01/compute/images.go
+++ b/services/compute/mgmt/2018-04-01/compute/images.go
@@ -97,9 +97,9 @@ func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceG
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -174,9 +174,9 @@ func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -260,8 +260,8 @@ func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -334,8 +334,8 @@ func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, err
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -447,8 +447,8 @@ func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, reso
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -558,9 +558,9 @@ func (client ImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) UpdateSender(req *http.Request) (future ImagesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-04-01/compute/loganalytics.go b/services/compute/mgmt/2018-04-01/compute/loganalytics.go
index 7710f5a06135..9521fc4569f3 100644
--- a/services/compute/mgmt/2018-04-01/compute/loganalytics.go
+++ b/services/compute/mgmt/2018-04-01/compute/loganalytics.go
@@ -103,9 +103,9 @@ func (client LogAnalyticsClient) ExportRequestRateByIntervalPreparer(ctx context
// ExportRequestRateByIntervalSender sends the ExportRequestRateByInterval request. The method will close the
// http.Response Body if it receives an error.
func (client LogAnalyticsClient) ExportRequestRateByIntervalSender(req *http.Request) (future LogAnalyticsExportRequestRateByIntervalFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -188,9 +188,9 @@ func (client LogAnalyticsClient) ExportThrottledRequestsPreparer(ctx context.Con
// ExportThrottledRequestsSender sends the ExportThrottledRequests request. The method will close the
// http.Response Body if it receives an error.
func (client LogAnalyticsClient) ExportThrottledRequestsSender(req *http.Request) (future LogAnalyticsExportThrottledRequestsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-04-01/compute/operations.go b/services/compute/mgmt/2018-04-01/compute/operations.go
index ee8d3029c2fc..55d6e3336215 100644
--- a/services/compute/mgmt/2018-04-01/compute/operations.go
+++ b/services/compute/mgmt/2018-04-01/compute/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-04-01/compute/proximityplacementgroups.go b/services/compute/mgmt/2018-04-01/compute/proximityplacementgroups.go
index d5f327d3455d..e40a75e18081 100644
--- a/services/compute/mgmt/2018-04-01/compute/proximityplacementgroups.go
+++ b/services/compute/mgmt/2018-04-01/compute/proximityplacementgroups.go
@@ -103,8 +103,8 @@ func (client ProximityPlacementGroupsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client ProximityPlacementGroupsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -256,8 +256,8 @@ func (client ProximityPlacementGroupsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -332,8 +332,8 @@ func (client ProximityPlacementGroupsClient) ListByResourceGroupPreparer(ctx con
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -442,8 +442,8 @@ func (client ProximityPlacementGroupsClient) ListBySubscriptionPreparer(ctx cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -559,8 +559,8 @@ func (client ProximityPlacementGroupsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/compute/mgmt/2018-04-01/compute/snapshots.go b/services/compute/mgmt/2018-04-01/compute/snapshots.go
index 09e9d0c3c8dd..74c41326949f 100644
--- a/services/compute/mgmt/2018-04-01/compute/snapshots.go
+++ b/services/compute/mgmt/2018-04-01/compute/snapshots.go
@@ -121,9 +121,9 @@ func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -199,9 +199,9 @@ func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,8 +282,8 @@ func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -363,9 +363,9 @@ func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceG
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -442,8 +442,8 @@ func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -555,8 +555,8 @@ func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -664,9 +664,9 @@ func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resource
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -744,9 +744,9 @@ func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-04-01/compute/usage.go b/services/compute/mgmt/2018-04-01/compute/usage.go
index 2bab6c68c082..4428bb60f28a 100644
--- a/services/compute/mgmt/2018-04-01/compute/usage.go
+++ b/services/compute/mgmt/2018-04-01/compute/usage.go
@@ -107,8 +107,8 @@ func (client UsageClient) ListPreparer(ctx context.Context, location string) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-04-01/compute/virtualmachineextensionimages.go b/services/compute/mgmt/2018-04-01/compute/virtualmachineextensionimages.go
index 93534a65d52b..c894238b31f6 100644
--- a/services/compute/mgmt/2018-04-01/compute/virtualmachineextensionimages.go
+++ b/services/compute/mgmt/2018-04-01/compute/virtualmachineextensionimages.go
@@ -102,8 +102,8 @@ func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Contex
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -178,8 +178,8 @@ func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.
// ListTypesSender sends the ListTypes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListTypesResponder handles the response to the ListTypes request. The method always
@@ -265,8 +265,8 @@ func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx conte
// ListVersionsSender sends the ListVersions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListVersionsResponder handles the response to the ListVersions request. The method always
diff --git a/services/compute/mgmt/2018-04-01/compute/virtualmachineextensions.go b/services/compute/mgmt/2018-04-01/compute/virtualmachineextensions.go
index 1ce94e889f6c..77dadac307da 100644
--- a/services/compute/mgmt/2018-04-01/compute/virtualmachineextensions.go
+++ b/services/compute/mgmt/2018-04-01/compute/virtualmachineextensions.go
@@ -99,9 +99,9 @@ func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,9 +178,9 @@ func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -266,8 +266,8 @@ func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -347,8 +347,8 @@ func (client VirtualMachineExtensionsClient) ListPreparer(ctx context.Context, r
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -423,9 +423,9 @@ func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-04-01/compute/virtualmachineimages.go b/services/compute/mgmt/2018-04-01/compute/virtualmachineimages.go
index 8a7fbdac51b1..c80e623e6e0c 100644
--- a/services/compute/mgmt/2018-04-01/compute/virtualmachineimages.go
+++ b/services/compute/mgmt/2018-04-01/compute/virtualmachineimages.go
@@ -106,8 +106,8 @@ func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, locati
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -197,8 +197,8 @@ func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, locat
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -274,8 +274,8 @@ func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context,
// ListOffersSender sends the ListOffers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOffersResponder handles the response to the ListOffers request. The method always
@@ -349,8 +349,8 @@ func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Cont
// ListPublishersSender sends the ListPublishers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPublishersResponder handles the response to the ListPublishers request. The method always
@@ -428,8 +428,8 @@ func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, l
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
diff --git a/services/compute/mgmt/2018-04-01/compute/virtualmachineruncommands.go b/services/compute/mgmt/2018-04-01/compute/virtualmachineruncommands.go
index c742a7ba9a0a..84377510588c 100644
--- a/services/compute/mgmt/2018-04-01/compute/virtualmachineruncommands.go
+++ b/services/compute/mgmt/2018-04-01/compute/virtualmachineruncommands.go
@@ -107,8 +107,8 @@ func (client VirtualMachineRunCommandsClient) GetPreparer(ctx context.Context, l
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -189,8 +189,8 @@ func (client VirtualMachineRunCommandsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-04-01/compute/virtualmachines.go b/services/compute/mgmt/2018-04-01/compute/virtualmachines.go
index 2d81a663c78b..9282b0cee191 100644
--- a/services/compute/mgmt/2018-04-01/compute/virtualmachines.go
+++ b/services/compute/mgmt/2018-04-01/compute/virtualmachines.go
@@ -107,9 +107,9 @@ func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourc
// CaptureSender sends the Capture request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -185,9 +185,9 @@ func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Co
// ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -286,9 +286,9 @@ func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -364,9 +364,9 @@ func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, reso
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -440,9 +440,9 @@ func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -522,8 +522,8 @@ func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, reso
// GeneralizeSender sends the Generalize request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GeneralizeResponder handles the response to the Generalize request. The method always
@@ -602,8 +602,8 @@ func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -679,8 +679,8 @@ func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, re
// InstanceViewSender sends the InstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// InstanceViewResponder handles the response to the InstanceView request. The method always
@@ -756,8 +756,8 @@ func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGr
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -867,8 +867,8 @@ func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -981,8 +981,8 @@ func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Conte
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -1063,8 +1063,8 @@ func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context,
// ListByLocationSender sends the ListByLocation request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListByLocationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByLocationResponder handles the response to the ListByLocation request. The method always
@@ -1171,9 +1171,9 @@ func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachinesPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1248,9 +1248,9 @@ func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resour
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1324,9 +1324,9 @@ func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resour
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1400,9 +1400,9 @@ func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1485,9 +1485,9 @@ func (client VirtualMachinesClient) RunCommandPreparer(ctx context.Context, reso
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (future VirtualMachinesRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1562,9 +1562,9 @@ func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceG
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1641,9 +1641,9 @@ func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resource
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) UpdateSender(req *http.Request) (future VirtualMachinesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetextensions.go b/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetextensions.go
index 7088822dd869..314ae8f5453f 100644
--- a/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetextensions.go
+++ b/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetextensions.go
@@ -100,9 +100,9 @@ func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -179,9 +179,9 @@ func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -267,8 +267,8 @@ func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Con
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -345,8 +345,8 @@ func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Co
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetrollingupgrades.go b/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetrollingupgrades.go
index 58e87e19500b..2297c512313f 100644
--- a/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetrollingupgrades.go
+++ b/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetrollingupgrades.go
@@ -96,9 +96,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx con
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,8 +178,8 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx
// GetLatestSender sends the GetLatest request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetLatestResponder handles the response to the GetLatest request. The method always
@@ -250,9 +250,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer
// StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesets.go b/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesets.go
index 498650e935b4..ea762c9a61ca 100644
--- a/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesets.go
+++ b/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesets.go
@@ -121,9 +121,9 @@ func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.C
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -205,9 +205,9 @@ func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Conte
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -281,9 +281,9 @@ func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -366,9 +366,9 @@ func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.
// DeleteInstancesSender sends the DeleteInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -451,8 +451,8 @@ func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUp
// ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender sends the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder handles the response to the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method always
@@ -528,8 +528,8 @@ func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -605,8 +605,8 @@ func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -683,8 +683,8 @@ func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer(ctx cont
// GetOSUpgradeHistorySender sends the GetOSUpgradeHistory request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetOSUpgradeHistoryResponder handles the response to the GetOSUpgradeHistory request. The method always
@@ -796,8 +796,8 @@ func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -908,8 +908,8 @@ func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context)
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -1024,8 +1024,8 @@ func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
@@ -1140,9 +1140,9 @@ func (client VirtualMachineScaleSetsClient) PerformMaintenancePreparer(ctx conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1223,9 +1223,9 @@ func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1305,9 +1305,9 @@ func (client VirtualMachineScaleSetsClient) RedeployPreparer(ctx context.Context
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1387,9 +1387,9 @@ func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context,
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1470,9 +1470,9 @@ func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Conte
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1552,9 +1552,9 @@ func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context,
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1634,9 +1634,9 @@ func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, r
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1713,9 +1713,9 @@ func (client VirtualMachineScaleSetsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1799,9 +1799,9 @@ func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.
// UpdateInstancesSender sends the UpdateInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetvms.go b/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetvms.go
index 031b1613579b..2375cef48eb1 100644
--- a/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetvms.go
+++ b/services/compute/mgmt/2018-04-01/compute/virtualmachinescalesetvms.go
@@ -99,9 +99,9 @@ func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Con
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -177,9 +177,9 @@ func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -261,8 +261,8 @@ func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, r
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -340,8 +340,8 @@ func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx contex
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -430,8 +430,8 @@ func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -540,9 +540,9 @@ func (client VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer(ctx con
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -619,9 +619,9 @@ func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Conte
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -697,9 +697,9 @@ func (client VirtualMachineScaleSetVMsClient) RedeployPreparer(ctx context.Conte
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetVMsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -775,9 +775,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Contex
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -854,9 +854,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Con
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -932,9 +932,9 @@ func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Contex
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1019,9 +1019,9 @@ func (client VirtualMachineScaleSetVMsClient) RunCommandPreparer(ctx context.Con
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RunCommandSender(req *http.Request) (future VirtualMachineScaleSetVMsRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1098,9 +1098,9 @@ func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context,
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1204,9 +1204,9 @@ func (client VirtualMachineScaleSetVMsClient) UpdatePreparer(ctx context.Context
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-04-01/compute/virtualmachinesizes.go b/services/compute/mgmt/2018-04-01/compute/virtualmachinesizes.go
index f31e630c1522..51db530b5272 100644
--- a/services/compute/mgmt/2018-04-01/compute/virtualmachinesizes.go
+++ b/services/compute/mgmt/2018-04-01/compute/virtualmachinesizes.go
@@ -105,8 +105,8 @@ func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/availabilitysets.go b/services/compute/mgmt/2018-06-01/compute/availabilitysets.go
index 1827cece9ab6..c9acfdd39b65 100644
--- a/services/compute/mgmt/2018-06-01/compute/availabilitysets.go
+++ b/services/compute/mgmt/2018-06-01/compute/availabilitysets.go
@@ -103,8 +103,8 @@ func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourc
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -256,8 +256,8 @@ func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -332,8 +332,8 @@ func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceG
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -447,8 +447,8 @@ func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Cont
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -520,8 +520,8 @@ func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -637,8 +637,8 @@ func (client AvailabilitySetsClient) UpdatePreparer(ctx context.Context, resourc
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/containerservices.go b/services/compute/mgmt/2018-06-01/compute/containerservices.go
index 24fdc080165d..d3192f0de414 100644
--- a/services/compute/mgmt/2018-06-01/compute/containerservices.go
+++ b/services/compute/mgmt/2018-06-01/compute/containerservices.go
@@ -130,9 +130,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -210,9 +210,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -294,8 +294,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -368,8 +368,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -483,8 +483,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/disks.go b/services/compute/mgmt/2018-06-01/compute/disks.go
index 0692b0b0b798..1f13b7ea2042 100644
--- a/services/compute/mgmt/2018-06-01/compute/disks.go
+++ b/services/compute/mgmt/2018-06-01/compute/disks.go
@@ -122,9 +122,9 @@ func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGr
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,9 +201,9 @@ func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -285,8 +285,8 @@ func (client DisksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -367,9 +367,9 @@ func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroup
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -446,8 +446,8 @@ func (client DisksClient) ListPreparer(ctx context.Context) (*http.Request, erro
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -559,8 +559,8 @@ func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resou
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -669,9 +669,9 @@ func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGrou
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -750,9 +750,9 @@ func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-06-01/compute/galleries.go b/services/compute/mgmt/2018-06-01/compute/galleries.go
index 7241cb86b88a..6cccf1458fdf 100644
--- a/services/compute/mgmt/2018-06-01/compute/galleries.go
+++ b/services/compute/mgmt/2018-06-01/compute/galleries.go
@@ -98,9 +98,9 @@ func (client GalleriesClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) CreateOrUpdateSender(req *http.Request) (future GalleriesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -175,9 +175,9 @@ func (client GalleriesClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) DeleteSender(req *http.Request) (future GalleriesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -257,8 +257,8 @@ func (client GalleriesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -330,8 +330,8 @@ func (client GalleriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -443,8 +443,8 @@ func (client GalleriesClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/galleryimages.go b/services/compute/mgmt/2018-06-01/compute/galleryimages.go
index 22a525bee864..843bc13d6bfc 100644
--- a/services/compute/mgmt/2018-06-01/compute/galleryimages.go
+++ b/services/compute/mgmt/2018-06-01/compute/galleryimages.go
@@ -114,9 +114,9 @@ func (client GalleryImagesClient) CreateOrUpdatePreparer(ctx context.Context, re
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) CreateOrUpdateSender(req *http.Request) (future GalleryImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -193,9 +193,9 @@ func (client GalleryImagesClient) DeletePreparer(ctx context.Context, resourceGr
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) DeleteSender(req *http.Request) (future GalleryImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -277,8 +277,8 @@ func (client GalleryImagesClient) GetPreparer(ctx context.Context, resourceGroup
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -355,8 +355,8 @@ func (client GalleryImagesClient) ListByGalleryPreparer(ctx context.Context, res
// ListByGallerySender sends the ListByGallery request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) ListByGallerySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByGalleryResponder handles the response to the ListByGallery request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/galleryimageversions.go b/services/compute/mgmt/2018-06-01/compute/galleryimageversions.go
index d645f541a275..aac4dcfaf585 100644
--- a/services/compute/mgmt/2018-06-01/compute/galleryimageversions.go
+++ b/services/compute/mgmt/2018-06-01/compute/galleryimageversions.go
@@ -111,9 +111,9 @@ func (client GalleryImageVersionsClient) CreateOrUpdatePreparer(ctx context.Cont
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) CreateOrUpdateSender(req *http.Request) (future GalleryImageVersionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -192,9 +192,9 @@ func (client GalleryImageVersionsClient) DeletePreparer(ctx context.Context, res
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) DeleteSender(req *http.Request) (future GalleryImageVersionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,8 +282,8 @@ func (client GalleryImageVersionsClient) GetPreparer(ctx context.Context, resour
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -363,8 +363,8 @@ func (client GalleryImageVersionsClient) ListByGalleryImagePreparer(ctx context.
// ListByGalleryImageSender sends the ListByGalleryImage request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) ListByGalleryImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByGalleryImageResponder handles the response to the ListByGalleryImage request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/images.go b/services/compute/mgmt/2018-06-01/compute/images.go
index 464bd3fcfc5d..3319614cffc3 100644
--- a/services/compute/mgmt/2018-06-01/compute/images.go
+++ b/services/compute/mgmt/2018-06-01/compute/images.go
@@ -97,9 +97,9 @@ func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceG
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -174,9 +174,9 @@ func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -260,8 +260,8 @@ func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -334,8 +334,8 @@ func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, err
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -447,8 +447,8 @@ func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, reso
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -558,9 +558,9 @@ func (client ImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) UpdateSender(req *http.Request) (future ImagesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-06-01/compute/loganalytics.go b/services/compute/mgmt/2018-06-01/compute/loganalytics.go
index 13e79aae4491..96c56f3d3934 100644
--- a/services/compute/mgmt/2018-06-01/compute/loganalytics.go
+++ b/services/compute/mgmt/2018-06-01/compute/loganalytics.go
@@ -103,9 +103,9 @@ func (client LogAnalyticsClient) ExportRequestRateByIntervalPreparer(ctx context
// ExportRequestRateByIntervalSender sends the ExportRequestRateByInterval request. The method will close the
// http.Response Body if it receives an error.
func (client LogAnalyticsClient) ExportRequestRateByIntervalSender(req *http.Request) (future LogAnalyticsExportRequestRateByIntervalFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -188,9 +188,9 @@ func (client LogAnalyticsClient) ExportThrottledRequestsPreparer(ctx context.Con
// ExportThrottledRequestsSender sends the ExportThrottledRequests request. The method will close the
// http.Response Body if it receives an error.
func (client LogAnalyticsClient) ExportThrottledRequestsSender(req *http.Request) (future LogAnalyticsExportThrottledRequestsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-06-01/compute/operations.go b/services/compute/mgmt/2018-06-01/compute/operations.go
index ef176f9f5e10..ccb4c44ea6b1 100644
--- a/services/compute/mgmt/2018-06-01/compute/operations.go
+++ b/services/compute/mgmt/2018-06-01/compute/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/proximityplacementgroups.go b/services/compute/mgmt/2018-06-01/compute/proximityplacementgroups.go
index bedadb403387..18750827c44d 100644
--- a/services/compute/mgmt/2018-06-01/compute/proximityplacementgroups.go
+++ b/services/compute/mgmt/2018-06-01/compute/proximityplacementgroups.go
@@ -103,8 +103,8 @@ func (client ProximityPlacementGroupsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client ProximityPlacementGroupsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -256,8 +256,8 @@ func (client ProximityPlacementGroupsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -332,8 +332,8 @@ func (client ProximityPlacementGroupsClient) ListByResourceGroupPreparer(ctx con
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -442,8 +442,8 @@ func (client ProximityPlacementGroupsClient) ListBySubscriptionPreparer(ctx cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -559,8 +559,8 @@ func (client ProximityPlacementGroupsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/resourceskus.go b/services/compute/mgmt/2018-06-01/compute/resourceskus.go
index d378f643ff00..15b2a399d426 100644
--- a/services/compute/mgmt/2018-06-01/compute/resourceskus.go
+++ b/services/compute/mgmt/2018-06-01/compute/resourceskus.go
@@ -96,8 +96,8 @@ func (client ResourceSkusClient) ListPreparer(ctx context.Context) (*http.Reques
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/snapshots.go b/services/compute/mgmt/2018-06-01/compute/snapshots.go
index 85e27ce92dd2..53f86d2cac62 100644
--- a/services/compute/mgmt/2018-06-01/compute/snapshots.go
+++ b/services/compute/mgmt/2018-06-01/compute/snapshots.go
@@ -121,9 +121,9 @@ func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -199,9 +199,9 @@ func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,8 +282,8 @@ func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -363,9 +363,9 @@ func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceG
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -442,8 +442,8 @@ func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -555,8 +555,8 @@ func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -664,9 +664,9 @@ func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resource
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -744,9 +744,9 @@ func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-06-01/compute/usage.go b/services/compute/mgmt/2018-06-01/compute/usage.go
index b3b236a22553..828cec2881ff 100644
--- a/services/compute/mgmt/2018-06-01/compute/usage.go
+++ b/services/compute/mgmt/2018-06-01/compute/usage.go
@@ -107,8 +107,8 @@ func (client UsageClient) ListPreparer(ctx context.Context, location string) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/virtualmachineextensionimages.go b/services/compute/mgmt/2018-06-01/compute/virtualmachineextensionimages.go
index f090163f0050..429d612f0c50 100644
--- a/services/compute/mgmt/2018-06-01/compute/virtualmachineextensionimages.go
+++ b/services/compute/mgmt/2018-06-01/compute/virtualmachineextensionimages.go
@@ -102,8 +102,8 @@ func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Contex
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -178,8 +178,8 @@ func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.
// ListTypesSender sends the ListTypes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListTypesResponder handles the response to the ListTypes request. The method always
@@ -265,8 +265,8 @@ func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx conte
// ListVersionsSender sends the ListVersions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListVersionsResponder handles the response to the ListVersions request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/virtualmachineextensions.go b/services/compute/mgmt/2018-06-01/compute/virtualmachineextensions.go
index ec8cd6106a37..e64a00eceb7d 100644
--- a/services/compute/mgmt/2018-06-01/compute/virtualmachineextensions.go
+++ b/services/compute/mgmt/2018-06-01/compute/virtualmachineextensions.go
@@ -99,9 +99,9 @@ func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,9 +178,9 @@ func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -266,8 +266,8 @@ func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -347,8 +347,8 @@ func (client VirtualMachineExtensionsClient) ListPreparer(ctx context.Context, r
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -423,9 +423,9 @@ func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-06-01/compute/virtualmachineimages.go b/services/compute/mgmt/2018-06-01/compute/virtualmachineimages.go
index dfde13d4648c..b308a5098116 100644
--- a/services/compute/mgmt/2018-06-01/compute/virtualmachineimages.go
+++ b/services/compute/mgmt/2018-06-01/compute/virtualmachineimages.go
@@ -106,8 +106,8 @@ func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, locati
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -197,8 +197,8 @@ func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, locat
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -274,8 +274,8 @@ func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context,
// ListOffersSender sends the ListOffers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOffersResponder handles the response to the ListOffers request. The method always
@@ -349,8 +349,8 @@ func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Cont
// ListPublishersSender sends the ListPublishers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPublishersResponder handles the response to the ListPublishers request. The method always
@@ -428,8 +428,8 @@ func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, l
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/virtualmachineruncommands.go b/services/compute/mgmt/2018-06-01/compute/virtualmachineruncommands.go
index 4ccc0fcdcd81..71d0b09b97b9 100644
--- a/services/compute/mgmt/2018-06-01/compute/virtualmachineruncommands.go
+++ b/services/compute/mgmt/2018-06-01/compute/virtualmachineruncommands.go
@@ -107,8 +107,8 @@ func (client VirtualMachineRunCommandsClient) GetPreparer(ctx context.Context, l
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -189,8 +189,8 @@ func (client VirtualMachineRunCommandsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/virtualmachines.go b/services/compute/mgmt/2018-06-01/compute/virtualmachines.go
index 2ee67d893800..7d7c52fa511e 100644
--- a/services/compute/mgmt/2018-06-01/compute/virtualmachines.go
+++ b/services/compute/mgmt/2018-06-01/compute/virtualmachines.go
@@ -107,9 +107,9 @@ func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourc
// CaptureSender sends the Capture request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -185,9 +185,9 @@ func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Co
// ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -286,9 +286,9 @@ func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -364,9 +364,9 @@ func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, reso
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -440,9 +440,9 @@ func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -522,8 +522,8 @@ func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, reso
// GeneralizeSender sends the Generalize request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GeneralizeResponder handles the response to the Generalize request. The method always
@@ -602,8 +602,8 @@ func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -679,8 +679,8 @@ func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, re
// InstanceViewSender sends the InstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// InstanceViewResponder handles the response to the InstanceView request. The method always
@@ -756,8 +756,8 @@ func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGr
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -867,8 +867,8 @@ func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -981,8 +981,8 @@ func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Conte
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -1063,8 +1063,8 @@ func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context,
// ListByLocationSender sends the ListByLocation request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListByLocationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByLocationResponder handles the response to the ListByLocation request. The method always
@@ -1171,9 +1171,9 @@ func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachinesPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1248,9 +1248,9 @@ func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resour
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1324,9 +1324,9 @@ func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resour
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1406,9 +1406,9 @@ func (client VirtualMachinesClient) ReimagePreparer(ctx context.Context, resourc
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ReimageSender(req *http.Request) (future VirtualMachinesReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1482,9 +1482,9 @@ func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1567,9 +1567,9 @@ func (client VirtualMachinesClient) RunCommandPreparer(ctx context.Context, reso
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (future VirtualMachinesRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1644,9 +1644,9 @@ func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceG
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1723,9 +1723,9 @@ func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resource
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) UpdateSender(req *http.Request) (future VirtualMachinesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetextensions.go b/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetextensions.go
index dde7b5f51987..703764b359a4 100644
--- a/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetextensions.go
+++ b/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetextensions.go
@@ -100,9 +100,9 @@ func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -179,9 +179,9 @@ func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -267,8 +267,8 @@ func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Con
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -345,8 +345,8 @@ func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Co
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetrollingupgrades.go b/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetrollingupgrades.go
index 5ffd1e22bf5c..c727a5493282 100644
--- a/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetrollingupgrades.go
+++ b/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetrollingupgrades.go
@@ -96,9 +96,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx con
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,8 +178,8 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx
// GetLatestSender sends the GetLatest request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetLatestResponder handles the response to the GetLatest request. The method always
@@ -251,9 +251,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeP
// StartExtensionUpgradeSender sends the StartExtensionUpgrade request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -328,9 +328,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer
// StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesets.go b/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesets.go
index d8b3f7d354a7..c59b69733337 100644
--- a/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesets.go
+++ b/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesets.go
@@ -121,9 +121,9 @@ func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.C
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -205,9 +205,9 @@ func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Conte
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -281,9 +281,9 @@ func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -366,9 +366,9 @@ func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.
// DeleteInstancesSender sends the DeleteInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -451,8 +451,8 @@ func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUp
// ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender sends the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder handles the response to the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method always
@@ -528,8 +528,8 @@ func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -605,8 +605,8 @@ func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -683,8 +683,8 @@ func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer(ctx cont
// GetOSUpgradeHistorySender sends the GetOSUpgradeHistory request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetOSUpgradeHistoryResponder handles the response to the GetOSUpgradeHistory request. The method always
@@ -796,8 +796,8 @@ func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -908,8 +908,8 @@ func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context)
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -1024,8 +1024,8 @@ func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
@@ -1140,9 +1140,9 @@ func (client VirtualMachineScaleSetsClient) PerformMaintenancePreparer(ctx conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1223,9 +1223,9 @@ func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1305,9 +1305,9 @@ func (client VirtualMachineScaleSetsClient) RedeployPreparer(ctx context.Context
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1388,9 +1388,9 @@ func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context,
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1471,9 +1471,9 @@ func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Conte
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1553,9 +1553,9 @@ func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context,
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1635,9 +1635,9 @@ func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, r
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1714,9 +1714,9 @@ func (client VirtualMachineScaleSetsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1800,9 +1800,9 @@ func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.
// UpdateInstancesSender sends the UpdateInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetvms.go b/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetvms.go
index 06312f220fe9..fd2323baafe6 100644
--- a/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetvms.go
+++ b/services/compute/mgmt/2018-06-01/compute/virtualmachinescalesetvms.go
@@ -99,9 +99,9 @@ func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Con
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -177,9 +177,9 @@ func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -261,8 +261,8 @@ func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, r
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -340,8 +340,8 @@ func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx contex
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -430,8 +430,8 @@ func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -540,9 +540,9 @@ func (client VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer(ctx con
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -619,9 +619,9 @@ func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Conte
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -697,9 +697,9 @@ func (client VirtualMachineScaleSetVMsClient) RedeployPreparer(ctx context.Conte
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetVMsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -781,9 +781,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Contex
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -860,9 +860,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Con
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -938,9 +938,9 @@ func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Contex
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1025,9 +1025,9 @@ func (client VirtualMachineScaleSetVMsClient) RunCommandPreparer(ctx context.Con
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RunCommandSender(req *http.Request) (future VirtualMachineScaleSetVMsRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1104,9 +1104,9 @@ func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context,
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1210,9 +1210,9 @@ func (client VirtualMachineScaleSetVMsClient) UpdatePreparer(ctx context.Context
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-06-01/compute/virtualmachinesizes.go b/services/compute/mgmt/2018-06-01/compute/virtualmachinesizes.go
index 01ec5f5d01c6..b870400dcb8a 100644
--- a/services/compute/mgmt/2018-06-01/compute/virtualmachinesizes.go
+++ b/services/compute/mgmt/2018-06-01/compute/virtualmachinesizes.go
@@ -106,8 +106,8 @@ func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/availabilitysets.go b/services/compute/mgmt/2018-10-01/compute/availabilitysets.go
index 5c527b9e59f5..008185e15961 100644
--- a/services/compute/mgmt/2018-10-01/compute/availabilitysets.go
+++ b/services/compute/mgmt/2018-10-01/compute/availabilitysets.go
@@ -103,8 +103,8 @@ func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourc
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -256,8 +256,8 @@ func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -332,8 +332,8 @@ func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceG
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -447,8 +447,8 @@ func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Cont
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -520,8 +520,8 @@ func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -637,8 +637,8 @@ func (client AvailabilitySetsClient) UpdatePreparer(ctx context.Context, resourc
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/containerservices.go b/services/compute/mgmt/2018-10-01/compute/containerservices.go
index 24fdc080165d..d3192f0de414 100644
--- a/services/compute/mgmt/2018-10-01/compute/containerservices.go
+++ b/services/compute/mgmt/2018-10-01/compute/containerservices.go
@@ -130,9 +130,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -210,9 +210,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -294,8 +294,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -368,8 +368,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -483,8 +483,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/disks.go b/services/compute/mgmt/2018-10-01/compute/disks.go
index 0692b0b0b798..1f13b7ea2042 100644
--- a/services/compute/mgmt/2018-10-01/compute/disks.go
+++ b/services/compute/mgmt/2018-10-01/compute/disks.go
@@ -122,9 +122,9 @@ func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGr
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,9 +201,9 @@ func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -285,8 +285,8 @@ func (client DisksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -367,9 +367,9 @@ func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroup
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -446,8 +446,8 @@ func (client DisksClient) ListPreparer(ctx context.Context) (*http.Request, erro
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -559,8 +559,8 @@ func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resou
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -669,9 +669,9 @@ func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGrou
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -750,9 +750,9 @@ func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-10-01/compute/galleries.go b/services/compute/mgmt/2018-10-01/compute/galleries.go
index 7241cb86b88a..6cccf1458fdf 100644
--- a/services/compute/mgmt/2018-10-01/compute/galleries.go
+++ b/services/compute/mgmt/2018-10-01/compute/galleries.go
@@ -98,9 +98,9 @@ func (client GalleriesClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) CreateOrUpdateSender(req *http.Request) (future GalleriesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -175,9 +175,9 @@ func (client GalleriesClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) DeleteSender(req *http.Request) (future GalleriesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -257,8 +257,8 @@ func (client GalleriesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -330,8 +330,8 @@ func (client GalleriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -443,8 +443,8 @@ func (client GalleriesClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/galleryimages.go b/services/compute/mgmt/2018-10-01/compute/galleryimages.go
index 22a525bee864..843bc13d6bfc 100644
--- a/services/compute/mgmt/2018-10-01/compute/galleryimages.go
+++ b/services/compute/mgmt/2018-10-01/compute/galleryimages.go
@@ -114,9 +114,9 @@ func (client GalleryImagesClient) CreateOrUpdatePreparer(ctx context.Context, re
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) CreateOrUpdateSender(req *http.Request) (future GalleryImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -193,9 +193,9 @@ func (client GalleryImagesClient) DeletePreparer(ctx context.Context, resourceGr
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) DeleteSender(req *http.Request) (future GalleryImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -277,8 +277,8 @@ func (client GalleryImagesClient) GetPreparer(ctx context.Context, resourceGroup
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -355,8 +355,8 @@ func (client GalleryImagesClient) ListByGalleryPreparer(ctx context.Context, res
// ListByGallerySender sends the ListByGallery request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) ListByGallerySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByGalleryResponder handles the response to the ListByGallery request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/galleryimageversions.go b/services/compute/mgmt/2018-10-01/compute/galleryimageversions.go
index d645f541a275..aac4dcfaf585 100644
--- a/services/compute/mgmt/2018-10-01/compute/galleryimageversions.go
+++ b/services/compute/mgmt/2018-10-01/compute/galleryimageversions.go
@@ -111,9 +111,9 @@ func (client GalleryImageVersionsClient) CreateOrUpdatePreparer(ctx context.Cont
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) CreateOrUpdateSender(req *http.Request) (future GalleryImageVersionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -192,9 +192,9 @@ func (client GalleryImageVersionsClient) DeletePreparer(ctx context.Context, res
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) DeleteSender(req *http.Request) (future GalleryImageVersionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,8 +282,8 @@ func (client GalleryImageVersionsClient) GetPreparer(ctx context.Context, resour
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -363,8 +363,8 @@ func (client GalleryImageVersionsClient) ListByGalleryImagePreparer(ctx context.
// ListByGalleryImageSender sends the ListByGalleryImage request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) ListByGalleryImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByGalleryImageResponder handles the response to the ListByGalleryImage request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/images.go b/services/compute/mgmt/2018-10-01/compute/images.go
index 4abbce04234b..421ea902bfec 100644
--- a/services/compute/mgmt/2018-10-01/compute/images.go
+++ b/services/compute/mgmt/2018-10-01/compute/images.go
@@ -97,9 +97,9 @@ func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceG
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -174,9 +174,9 @@ func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -260,8 +260,8 @@ func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -334,8 +334,8 @@ func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, err
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -447,8 +447,8 @@ func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, reso
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -558,9 +558,9 @@ func (client ImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) UpdateSender(req *http.Request) (future ImagesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-10-01/compute/loganalytics.go b/services/compute/mgmt/2018-10-01/compute/loganalytics.go
index 6d3a449b4382..f606e0f2f169 100644
--- a/services/compute/mgmt/2018-10-01/compute/loganalytics.go
+++ b/services/compute/mgmt/2018-10-01/compute/loganalytics.go
@@ -103,9 +103,9 @@ func (client LogAnalyticsClient) ExportRequestRateByIntervalPreparer(ctx context
// ExportRequestRateByIntervalSender sends the ExportRequestRateByInterval request. The method will close the
// http.Response Body if it receives an error.
func (client LogAnalyticsClient) ExportRequestRateByIntervalSender(req *http.Request) (future LogAnalyticsExportRequestRateByIntervalFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -188,9 +188,9 @@ func (client LogAnalyticsClient) ExportThrottledRequestsPreparer(ctx context.Con
// ExportThrottledRequestsSender sends the ExportThrottledRequests request. The method will close the
// http.Response Body if it receives an error.
func (client LogAnalyticsClient) ExportThrottledRequestsSender(req *http.Request) (future LogAnalyticsExportThrottledRequestsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-10-01/compute/operations.go b/services/compute/mgmt/2018-10-01/compute/operations.go
index 6f436a07189f..3e4e8b317018 100644
--- a/services/compute/mgmt/2018-10-01/compute/operations.go
+++ b/services/compute/mgmt/2018-10-01/compute/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/proximityplacementgroups.go b/services/compute/mgmt/2018-10-01/compute/proximityplacementgroups.go
index 41706958e61c..cc3a95d3716b 100644
--- a/services/compute/mgmt/2018-10-01/compute/proximityplacementgroups.go
+++ b/services/compute/mgmt/2018-10-01/compute/proximityplacementgroups.go
@@ -103,8 +103,8 @@ func (client ProximityPlacementGroupsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client ProximityPlacementGroupsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -256,8 +256,8 @@ func (client ProximityPlacementGroupsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -332,8 +332,8 @@ func (client ProximityPlacementGroupsClient) ListByResourceGroupPreparer(ctx con
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -442,8 +442,8 @@ func (client ProximityPlacementGroupsClient) ListBySubscriptionPreparer(ctx cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -559,8 +559,8 @@ func (client ProximityPlacementGroupsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/resourceskus.go b/services/compute/mgmt/2018-10-01/compute/resourceskus.go
index d378f643ff00..15b2a399d426 100644
--- a/services/compute/mgmt/2018-10-01/compute/resourceskus.go
+++ b/services/compute/mgmt/2018-10-01/compute/resourceskus.go
@@ -96,8 +96,8 @@ func (client ResourceSkusClient) ListPreparer(ctx context.Context) (*http.Reques
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/snapshots.go b/services/compute/mgmt/2018-10-01/compute/snapshots.go
index 85e27ce92dd2..53f86d2cac62 100644
--- a/services/compute/mgmt/2018-10-01/compute/snapshots.go
+++ b/services/compute/mgmt/2018-10-01/compute/snapshots.go
@@ -121,9 +121,9 @@ func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -199,9 +199,9 @@ func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,8 +282,8 @@ func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -363,9 +363,9 @@ func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceG
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -442,8 +442,8 @@ func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -555,8 +555,8 @@ func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -664,9 +664,9 @@ func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resource
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -744,9 +744,9 @@ func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-10-01/compute/usage.go b/services/compute/mgmt/2018-10-01/compute/usage.go
index 3741569c309c..15ae57dc150f 100644
--- a/services/compute/mgmt/2018-10-01/compute/usage.go
+++ b/services/compute/mgmt/2018-10-01/compute/usage.go
@@ -107,8 +107,8 @@ func (client UsageClient) ListPreparer(ctx context.Context, location string) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/virtualmachineextensionimages.go b/services/compute/mgmt/2018-10-01/compute/virtualmachineextensionimages.go
index 0393f39bec9e..95f439e1fcd1 100644
--- a/services/compute/mgmt/2018-10-01/compute/virtualmachineextensionimages.go
+++ b/services/compute/mgmt/2018-10-01/compute/virtualmachineextensionimages.go
@@ -102,8 +102,8 @@ func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Contex
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -178,8 +178,8 @@ func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.
// ListTypesSender sends the ListTypes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListTypesResponder handles the response to the ListTypes request. The method always
@@ -265,8 +265,8 @@ func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx conte
// ListVersionsSender sends the ListVersions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListVersionsResponder handles the response to the ListVersions request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/virtualmachineextensions.go b/services/compute/mgmt/2018-10-01/compute/virtualmachineextensions.go
index 5cf3d8413938..2f99154b4e3e 100644
--- a/services/compute/mgmt/2018-10-01/compute/virtualmachineextensions.go
+++ b/services/compute/mgmt/2018-10-01/compute/virtualmachineextensions.go
@@ -99,9 +99,9 @@ func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,9 +178,9 @@ func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -266,8 +266,8 @@ func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -347,8 +347,8 @@ func (client VirtualMachineExtensionsClient) ListPreparer(ctx context.Context, r
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -423,9 +423,9 @@ func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-10-01/compute/virtualmachineimages.go b/services/compute/mgmt/2018-10-01/compute/virtualmachineimages.go
index 90fa29d91032..5d8d460c58ab 100644
--- a/services/compute/mgmt/2018-10-01/compute/virtualmachineimages.go
+++ b/services/compute/mgmt/2018-10-01/compute/virtualmachineimages.go
@@ -106,8 +106,8 @@ func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, locati
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -197,8 +197,8 @@ func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, locat
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -274,8 +274,8 @@ func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context,
// ListOffersSender sends the ListOffers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOffersResponder handles the response to the ListOffers request. The method always
@@ -349,8 +349,8 @@ func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Cont
// ListPublishersSender sends the ListPublishers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPublishersResponder handles the response to the ListPublishers request. The method always
@@ -428,8 +428,8 @@ func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, l
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/virtualmachineruncommands.go b/services/compute/mgmt/2018-10-01/compute/virtualmachineruncommands.go
index 14a87185df5d..bafdbffe244c 100644
--- a/services/compute/mgmt/2018-10-01/compute/virtualmachineruncommands.go
+++ b/services/compute/mgmt/2018-10-01/compute/virtualmachineruncommands.go
@@ -107,8 +107,8 @@ func (client VirtualMachineRunCommandsClient) GetPreparer(ctx context.Context, l
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -189,8 +189,8 @@ func (client VirtualMachineRunCommandsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/virtualmachines.go b/services/compute/mgmt/2018-10-01/compute/virtualmachines.go
index 0332c48ad324..715a2683736b 100644
--- a/services/compute/mgmt/2018-10-01/compute/virtualmachines.go
+++ b/services/compute/mgmt/2018-10-01/compute/virtualmachines.go
@@ -107,9 +107,9 @@ func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourc
// CaptureSender sends the Capture request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -185,9 +185,9 @@ func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Co
// ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -286,9 +286,9 @@ func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -364,9 +364,9 @@ func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, reso
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -440,9 +440,9 @@ func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -522,8 +522,8 @@ func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, reso
// GeneralizeSender sends the Generalize request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GeneralizeResponder handles the response to the Generalize request. The method always
@@ -602,8 +602,8 @@ func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -679,8 +679,8 @@ func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, re
// InstanceViewSender sends the InstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// InstanceViewResponder handles the response to the InstanceView request. The method always
@@ -756,8 +756,8 @@ func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGr
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -867,8 +867,8 @@ func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -981,8 +981,8 @@ func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Conte
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -1063,8 +1063,8 @@ func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context,
// ListByLocationSender sends the ListByLocation request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListByLocationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByLocationResponder handles the response to the ListByLocation request. The method always
@@ -1171,9 +1171,9 @@ func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachinesPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1248,9 +1248,9 @@ func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resour
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1324,9 +1324,9 @@ func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resour
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1406,9 +1406,9 @@ func (client VirtualMachinesClient) ReimagePreparer(ctx context.Context, resourc
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ReimageSender(req *http.Request) (future VirtualMachinesReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1482,9 +1482,9 @@ func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1567,9 +1567,9 @@ func (client VirtualMachinesClient) RunCommandPreparer(ctx context.Context, reso
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (future VirtualMachinesRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1644,9 +1644,9 @@ func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceG
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1723,9 +1723,9 @@ func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resource
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) UpdateSender(req *http.Request) (future VirtualMachinesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetextensions.go b/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetextensions.go
index 1539dc27c27f..216c0fa52ec9 100644
--- a/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetextensions.go
+++ b/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetextensions.go
@@ -100,9 +100,9 @@ func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -179,9 +179,9 @@ func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -267,8 +267,8 @@ func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Con
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -345,8 +345,8 @@ func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Co
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetrollingupgrades.go b/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetrollingupgrades.go
index bd9bee6db648..cd103ee80094 100644
--- a/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetrollingupgrades.go
+++ b/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetrollingupgrades.go
@@ -96,9 +96,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx con
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,8 +178,8 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx
// GetLatestSender sends the GetLatest request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetLatestResponder handles the response to the GetLatest request. The method always
@@ -251,9 +251,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeP
// StartExtensionUpgradeSender sends the StartExtensionUpgrade request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -328,9 +328,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer
// StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesets.go b/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesets.go
index c430aa02bb64..78fb28af43d9 100644
--- a/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesets.go
+++ b/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesets.go
@@ -121,9 +121,9 @@ func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.C
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -205,9 +205,9 @@ func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Conte
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -281,9 +281,9 @@ func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -366,9 +366,9 @@ func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.
// DeleteInstancesSender sends the DeleteInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -451,8 +451,8 @@ func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUp
// ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender sends the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder handles the response to the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method always
@@ -528,8 +528,8 @@ func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -605,8 +605,8 @@ func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -683,8 +683,8 @@ func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer(ctx cont
// GetOSUpgradeHistorySender sends the GetOSUpgradeHistory request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetOSUpgradeHistoryResponder handles the response to the GetOSUpgradeHistory request. The method always
@@ -796,8 +796,8 @@ func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -908,8 +908,8 @@ func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context)
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -1024,8 +1024,8 @@ func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
@@ -1140,9 +1140,9 @@ func (client VirtualMachineScaleSetsClient) PerformMaintenancePreparer(ctx conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1223,9 +1223,9 @@ func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1305,9 +1305,9 @@ func (client VirtualMachineScaleSetsClient) RedeployPreparer(ctx context.Context
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1388,9 +1388,9 @@ func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context,
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1471,9 +1471,9 @@ func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Conte
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1553,9 +1553,9 @@ func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context,
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1635,9 +1635,9 @@ func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, r
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1714,9 +1714,9 @@ func (client VirtualMachineScaleSetsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1800,9 +1800,9 @@ func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.
// UpdateInstancesSender sends the UpdateInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetvms.go b/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetvms.go
index a01604aa3ebc..60eeef78643a 100644
--- a/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetvms.go
+++ b/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetvms.go
@@ -99,9 +99,9 @@ func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Con
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -177,9 +177,9 @@ func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -261,8 +261,8 @@ func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, r
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -340,8 +340,8 @@ func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx contex
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -430,8 +430,8 @@ func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -540,9 +540,9 @@ func (client VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer(ctx con
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -619,9 +619,9 @@ func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Conte
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -697,9 +697,9 @@ func (client VirtualMachineScaleSetVMsClient) RedeployPreparer(ctx context.Conte
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetVMsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -781,9 +781,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Contex
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -860,9 +860,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Con
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -938,9 +938,9 @@ func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Contex
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1025,9 +1025,9 @@ func (client VirtualMachineScaleSetVMsClient) RunCommandPreparer(ctx context.Con
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RunCommandSender(req *http.Request) (future VirtualMachineScaleSetVMsRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1104,9 +1104,9 @@ func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context,
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1210,9 +1210,9 @@ func (client VirtualMachineScaleSetVMsClient) UpdatePreparer(ctx context.Context
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2018-10-01/compute/virtualmachinesizes.go b/services/compute/mgmt/2018-10-01/compute/virtualmachinesizes.go
index 9bd70af21982..6039ddef61e0 100644
--- a/services/compute/mgmt/2018-10-01/compute/virtualmachinesizes.go
+++ b/services/compute/mgmt/2018-10-01/compute/virtualmachinesizes.go
@@ -106,8 +106,8 @@ func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/availabilitysets.go b/services/compute/mgmt/2019-03-01/compute/availabilitysets.go
index 3534239a018d..8a6bbaa4a195 100644
--- a/services/compute/mgmt/2019-03-01/compute/availabilitysets.go
+++ b/services/compute/mgmt/2019-03-01/compute/availabilitysets.go
@@ -103,8 +103,8 @@ func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourc
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -256,8 +256,8 @@ func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -332,8 +332,8 @@ func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceG
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -447,8 +447,8 @@ func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Cont
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -520,8 +520,8 @@ func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -637,8 +637,8 @@ func (client AvailabilitySetsClient) UpdatePreparer(ctx context.Context, resourc
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client AvailabilitySetsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/computeapi/interfaces.go b/services/compute/mgmt/2019-03-01/compute/computeapi/interfaces.go
index 668736597107..25b1f3f17e37 100644
--- a/services/compute/mgmt/2019-03-01/compute/computeapi/interfaces.go
+++ b/services/compute/mgmt/2019-03-01/compute/computeapi/interfaces.go
@@ -55,6 +55,29 @@ type ProximityPlacementGroupsClientAPI interface {
var _ ProximityPlacementGroupsClientAPI = (*compute.ProximityPlacementGroupsClient)(nil)
+// DedicatedHostGroupsClientAPI contains the set of methods on the DedicatedHostGroupsClient type.
+type DedicatedHostGroupsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, parameters compute.DedicatedHostGroup) (result compute.DedicatedHostGroup, err error)
+ Delete(ctx context.Context, resourceGroupName string, hostGroupName string) (result autorest.Response, err error)
+ Get(ctx context.Context, resourceGroupName string, hostGroupName string) (result compute.DedicatedHostGroup, err error)
+ ListByResourceGroup(ctx context.Context, resourceGroupName string) (result compute.DedicatedHostGroupListResultPage, err error)
+ ListBySubscription(ctx context.Context) (result compute.DedicatedHostGroupListResultPage, err error)
+ Update(ctx context.Context, resourceGroupName string, hostGroupName string, parameters compute.DedicatedHostGroupUpdate) (result compute.DedicatedHostGroup, err error)
+}
+
+var _ DedicatedHostGroupsClientAPI = (*compute.DedicatedHostGroupsClient)(nil)
+
+// DedicatedHostsClientAPI contains the set of methods on the DedicatedHostsClient type.
+type DedicatedHostsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters compute.DedicatedHost) (result compute.DedicatedHostsCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (result compute.DedicatedHostsDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand compute.InstanceViewTypes) (result compute.DedicatedHost, err error)
+ ListByHostGroup(ctx context.Context, resourceGroupName string, hostGroupName string) (result compute.DedicatedHostListResultPage, err error)
+ Update(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters compute.DedicatedHostUpdate) (result compute.DedicatedHostsUpdateFuture, err error)
+}
+
+var _ DedicatedHostsClientAPI = (*compute.DedicatedHostsClient)(nil)
+
// VirtualMachineExtensionImagesClientAPI contains the set of methods on the VirtualMachineExtensionImagesClient type.
type VirtualMachineExtensionImagesClientAPI interface {
Get(ctx context.Context, location string, publisherName string, typeParameter string, version string) (result compute.VirtualMachineExtensionImage, err error)
@@ -287,6 +310,26 @@ type GalleryImageVersionsClientAPI interface {
var _ GalleryImageVersionsClientAPI = (*compute.GalleryImageVersionsClient)(nil)
+// GalleryApplicationsClientAPI contains the set of methods on the GalleryApplicationsClient type.
+type GalleryApplicationsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication compute.GalleryApplication) (result compute.GalleryApplicationsCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result compute.GalleryApplicationsDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result compute.GalleryApplication, err error)
+ ListByGallery(ctx context.Context, resourceGroupName string, galleryName string) (result compute.GalleryApplicationListPage, err error)
+}
+
+var _ GalleryApplicationsClientAPI = (*compute.GalleryApplicationsClient)(nil)
+
+// GalleryApplicationVersionsClientAPI contains the set of methods on the GalleryApplicationVersionsClient type.
+type GalleryApplicationVersionsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion compute.GalleryApplicationVersion) (result compute.GalleryApplicationVersionsCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string) (result compute.GalleryApplicationVersionsDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, expand compute.ReplicationStatusTypes) (result compute.GalleryApplicationVersion, err error)
+ ListByGalleryApplication(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result compute.GalleryApplicationVersionListPage, err error)
+}
+
+var _ GalleryApplicationVersionsClientAPI = (*compute.GalleryApplicationVersionsClient)(nil)
+
// ContainerServicesClientAPI contains the set of methods on the ContainerServicesClient type.
type ContainerServicesClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, containerServiceName string, parameters compute.ContainerService) (result compute.ContainerServicesCreateOrUpdateFuture, err error)
diff --git a/services/compute/mgmt/2019-03-01/compute/containerservices.go b/services/compute/mgmt/2019-03-01/compute/containerservices.go
index 24fdc080165d..d3192f0de414 100644
--- a/services/compute/mgmt/2019-03-01/compute/containerservices.go
+++ b/services/compute/mgmt/2019-03-01/compute/containerservices.go
@@ -130,9 +130,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -210,9 +210,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -294,8 +294,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -368,8 +368,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -483,8 +483,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/dedicatedhostgroups.go b/services/compute/mgmt/2019-03-01/compute/dedicatedhostgroups.go
new file mode 100644
index 000000000000..77ec9da3137b
--- /dev/null
+++ b/services/compute/mgmt/2019-03-01/compute/dedicatedhostgroups.go
@@ -0,0 +1,592 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// DedicatedHostGroupsClient is the compute Client
+type DedicatedHostGroupsClient struct {
+ BaseClient
+}
+
+// NewDedicatedHostGroupsClient creates an instance of the DedicatedHostGroupsClient client.
+func NewDedicatedHostGroupsClient(subscriptionID string) DedicatedHostGroupsClient {
+ return NewDedicatedHostGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewDedicatedHostGroupsClientWithBaseURI creates an instance of the DedicatedHostGroupsClient client.
+func NewDedicatedHostGroupsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostGroupsClient {
+ return DedicatedHostGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups
+// please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596)
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// parameters - parameters supplied to the Create Dedicated Host Group.
+func (client DedicatedHostGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroup) (result DedicatedHostGroup, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.DedicatedHostGroupProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.DedicatedHostGroupProperties.PlatformFaultDomainCount", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "parameters.DedicatedHostGroupProperties.PlatformFaultDomainCount", Name: validation.InclusiveMaximum, Rule: int64(3), Chain: nil},
+ {Target: "parameters.DedicatedHostGroupProperties.PlatformFaultDomainCount", Name: validation.InclusiveMinimum, Rule: 1, Chain: nil},
+ }},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.DedicatedHostGroupsClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, hostGroupName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.CreateOrUpdateSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "CreateOrUpdate", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "CreateOrUpdate", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client DedicatedHostGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroup) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete a dedicated host group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+func (client DedicatedHostGroupsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string) (result autorest.Response, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response != nil {
+ sc = result.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, hostGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.DeleteSender(req)
+ if err != nil {
+ result.Response = resp
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Delete", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.DeleteResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Delete", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client DedicatedHostGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) 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
+ return
+}
+
+// Get retrieves information about a dedicated host group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+func (client DedicatedHostGroupsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostGroup, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, hostGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client DedicatedHostGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) GetResponder(resp *http.Response) (result DedicatedHostGroup, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListByResourceGroup lists all of the dedicated host groups in the specified resource group. Use the nextLink
+// property in the response to get the next page of dedicated host groups.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client DedicatedHostGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.dhglr.Response.Response != nil {
+ sc = result.dhglr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByResourceGroupNextResults
+ req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListByResourceGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.dhglr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListByResourceGroup", resp, "Failure sending request")
+ return
+ }
+
+ result.dhglr, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
+func (client DedicatedHostGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByResourceGroupNextResults retrieves the next set of results, if any.
+func (client DedicatedHostGroupsClient) listByResourceGroupNextResults(ctx context.Context, lastResults DedicatedHostGroupListResult) (result DedicatedHostGroupListResult, err error) {
+ req, err := lastResults.dedicatedHostGroupListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listByResourceGroupNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
+func (client DedicatedHostGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByResourceGroup(ctx, resourceGroupName)
+ return
+}
+
+// ListBySubscription lists all of the dedicated host groups in the subscription. Use the nextLink property in the
+// response to get the next page of dedicated host groups.
+func (client DedicatedHostGroupsClient) ListBySubscription(ctx context.Context) (result DedicatedHostGroupListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.ListBySubscription")
+ defer func() {
+ sc := -1
+ if result.dhglr.Response.Response != nil {
+ sc = result.dhglr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listBySubscriptionNextResults
+ req, err := client.ListBySubscriptionPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListBySubscription", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListBySubscriptionSender(req)
+ if err != nil {
+ result.dhglr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListBySubscription", resp, "Failure sending request")
+ return
+ }
+
+ result.dhglr, err = client.ListBySubscriptionResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListBySubscription", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListBySubscriptionPreparer prepares the ListBySubscription request.
+func (client DedicatedHostGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listBySubscriptionNextResults retrieves the next set of results, if any.
+func (client DedicatedHostGroupsClient) listBySubscriptionNextResults(ctx context.Context, lastResults DedicatedHostGroupListResult) (result DedicatedHostGroupListResult, err error) {
+ req, err := lastResults.dedicatedHostGroupListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listBySubscriptionNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListBySubscriptionSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listBySubscriptionNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListBySubscriptionResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listBySubscriptionNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
+func (client DedicatedHostGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result DedicatedHostGroupListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.ListBySubscription")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListBySubscription(ctx)
+ return
+}
+
+// Update update an dedicated host group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// parameters - parameters supplied to the Update Dedicated Host Group operation.
+func (client DedicatedHostGroupsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroupUpdate) (result DedicatedHostGroup, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, hostGroupName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.UpdateSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Update", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.UpdateResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Update", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client DedicatedHostGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroupUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) UpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-03-01/compute/dedicatedhosts.go b/services/compute/mgmt/2019-03-01/compute/dedicatedhosts.go
new file mode 100644
index 000000000000..31f8795d6fdd
--- /dev/null
+++ b/services/compute/mgmt/2019-03-01/compute/dedicatedhosts.go
@@ -0,0 +1,495 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// DedicatedHostsClient is the compute Client
+type DedicatedHostsClient struct {
+ BaseClient
+}
+
+// NewDedicatedHostsClient creates an instance of the DedicatedHostsClient client.
+func NewDedicatedHostsClient(subscriptionID string) DedicatedHostsClient {
+ return NewDedicatedHostsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewDedicatedHostsClientWithBaseURI creates an instance of the DedicatedHostsClient client.
+func NewDedicatedHostsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostsClient {
+ return DedicatedHostsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update a dedicated host .
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// hostName - the name of the dedicated host .
+// parameters - parameters supplied to the Create Dedicated Host.
+func (client DedicatedHostsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHost) (result DedicatedHostsCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.DedicatedHostProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.DedicatedHostProperties.PlatformFaultDomain", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.DedicatedHostProperties.PlatformFaultDomain", Name: validation.InclusiveMaximum, Rule: int64(2), Chain: nil},
+ {Target: "parameters.DedicatedHostProperties.PlatformFaultDomain", Name: validation.InclusiveMinimum, Rule: 0, Chain: nil},
+ }},
+ }},
+ {Target: "parameters.Sku", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.DedicatedHostsClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, hostGroupName, hostName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client DedicatedHostsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHost) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "hostName": autorest.Encode("path", hostName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostsClient) CreateOrUpdateSender(req *http.Request) (future DedicatedHostsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHost, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete a dedicated host.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// hostName - the name of the dedicated host.
+func (client DedicatedHostsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (result DedicatedHostsDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, hostGroupName, hostName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client DedicatedHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "hostName": autorest.Encode("path", hostName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostsClient) DeleteSender(req *http.Request) (future DedicatedHostsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get retrieves information about a dedicated host.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// hostName - the name of the dedicated host.
+// expand - the expand expression to apply on the operation.
+func (client DedicatedHostsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand InstanceViewTypes) (result DedicatedHost, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, hostGroupName, hostName, expand)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client DedicatedHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand InstanceViewTypes) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "hostName": autorest.Encode("path", hostName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(string(expand)) > 0 {
+ queryParameters["$expand"] = autorest.Encode("query", expand)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostsClient) GetResponder(resp *http.Response) (result DedicatedHost, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListByHostGroup lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in
+// the response to get the next page of dedicated hosts.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+func (client DedicatedHostsClient) ListByHostGroup(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.ListByHostGroup")
+ defer func() {
+ sc := -1
+ if result.dhlr.Response.Response != nil {
+ sc = result.dhlr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByHostGroupNextResults
+ req, err := client.ListByHostGroupPreparer(ctx, resourceGroupName, hostGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "ListByHostGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByHostGroupSender(req)
+ if err != nil {
+ result.dhlr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "ListByHostGroup", resp, "Failure sending request")
+ return
+ }
+
+ result.dhlr, err = client.ListByHostGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "ListByHostGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByHostGroupPreparer prepares the ListByHostGroup request.
+func (client DedicatedHostsClient) ListByHostGroupPreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByHostGroupSender sends the ListByHostGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostsClient) ListByHostGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByHostGroupResponder handles the response to the ListByHostGroup request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostsClient) ListByHostGroupResponder(resp *http.Response) (result DedicatedHostListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByHostGroupNextResults retrieves the next set of results, if any.
+func (client DedicatedHostsClient) listByHostGroupNextResults(ctx context.Context, lastResults DedicatedHostListResult) (result DedicatedHostListResult, err error) {
+ req, err := lastResults.dedicatedHostListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "listByHostGroupNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByHostGroupSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "listByHostGroupNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByHostGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "listByHostGroupNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByHostGroupComplete enumerates all values, automatically crossing page boundaries as required.
+func (client DedicatedHostsClient) ListByHostGroupComplete(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.ListByHostGroup")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByHostGroup(ctx, resourceGroupName, hostGroupName)
+ return
+}
+
+// Update update an dedicated host .
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// hostName - the name of the dedicated host .
+// parameters - parameters supplied to the Update Dedicated Host operation.
+func (client DedicatedHostsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHostUpdate) (result DedicatedHostsUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, hostGroupName, hostName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.UpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Update", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client DedicatedHostsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHostUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "hostName": autorest.Encode("path", hostName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostsClient) UpdateSender(req *http.Request) (future DedicatedHostsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostsClient) UpdateResponder(resp *http.Response) (result DedicatedHost, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-03-01/compute/disks.go b/services/compute/mgmt/2019-03-01/compute/disks.go
index b81821b47747..2dee9d74dad5 100644
--- a/services/compute/mgmt/2019-03-01/compute/disks.go
+++ b/services/compute/mgmt/2019-03-01/compute/disks.go
@@ -114,9 +114,9 @@ func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGr
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -193,9 +193,9 @@ func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -277,8 +277,8 @@ func (client DisksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -359,9 +359,9 @@ func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroup
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -438,8 +438,8 @@ func (client DisksClient) ListPreparer(ctx context.Context) (*http.Request, erro
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -551,8 +551,8 @@ func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resou
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -661,9 +661,9 @@ func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGrou
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -742,9 +742,9 @@ func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2019-03-01/compute/galleries.go b/services/compute/mgmt/2019-03-01/compute/galleries.go
index 3ab139470bb2..0eac41be052f 100644
--- a/services/compute/mgmt/2019-03-01/compute/galleries.go
+++ b/services/compute/mgmt/2019-03-01/compute/galleries.go
@@ -98,9 +98,9 @@ func (client GalleriesClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) CreateOrUpdateSender(req *http.Request) (future GalleriesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -175,9 +175,9 @@ func (client GalleriesClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) DeleteSender(req *http.Request) (future GalleriesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -257,8 +257,8 @@ func (client GalleriesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -330,8 +330,8 @@ func (client GalleriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -443,8 +443,8 @@ func (client GalleriesClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client GalleriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/galleryapplications.go b/services/compute/mgmt/2019-03-01/compute/galleryapplications.go
new file mode 100644
index 000000000000..58d54bd610c2
--- /dev/null
+++ b/services/compute/mgmt/2019-03-01/compute/galleryapplications.go
@@ -0,0 +1,401 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// GalleryApplicationsClient is the compute Client
+type GalleryApplicationsClient struct {
+ BaseClient
+}
+
+// NewGalleryApplicationsClient creates an instance of the GalleryApplicationsClient client.
+func NewGalleryApplicationsClient(subscriptionID string) GalleryApplicationsClient {
+ return NewGalleryApplicationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewGalleryApplicationsClientWithBaseURI creates an instance of the GalleryApplicationsClient client.
+func NewGalleryApplicationsClientWithBaseURI(baseURI string, subscriptionID string) GalleryApplicationsClient {
+ return GalleryApplicationsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update a gallery Application Definition.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Application Gallery in which the Application Definition is to be
+// created.
+// galleryApplicationName - the name of the gallery Application Definition to be created or updated. The
+// allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The
+// maximum length is 80 characters.
+// galleryApplication - parameters supplied to the create or update gallery Application operation.
+func (client GalleryApplicationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication GalleryApplication) (result GalleryApplicationsCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, galleryName, galleryApplicationName, galleryApplication)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client GalleryApplicationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication GalleryApplication) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryApplicationName": autorest.Encode("path", galleryApplicationName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", pathParameters),
+ autorest.WithJSON(galleryApplication),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryApplicationsClient) CreateOrUpdateSender(req *http.Request) (future GalleryApplicationsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client GalleryApplicationsClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryApplication, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete a gallery Application.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Application Gallery in which the Application Definition is to be
+// deleted.
+// galleryApplicationName - the name of the gallery Application Definition to be deleted.
+func (client GalleryApplicationsClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplicationsDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, galleryName, galleryApplicationName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client GalleryApplicationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryApplicationName": autorest.Encode("path", galleryApplicationName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryApplicationsClient) DeleteSender(req *http.Request) (future GalleryApplicationsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client GalleryApplicationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get retrieves information about a gallery Application Definition.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Application Gallery from which the Application Definitions are to be
+// retrieved.
+// galleryApplicationName - the name of the gallery Application Definition to be retrieved.
+func (client GalleryApplicationsClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplication, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, galleryName, galleryApplicationName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client GalleryApplicationsClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryApplicationName": autorest.Encode("path", galleryApplicationName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryApplicationsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client GalleryApplicationsClient) GetResponder(resp *http.Response) (result GalleryApplication, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListByGallery list gallery Application Definitions in a gallery.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Application Gallery from which Application Definitions are to be
+// listed.
+func (client GalleryApplicationsClient) ListByGallery(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryApplicationListPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationsClient.ListByGallery")
+ defer func() {
+ sc := -1
+ if result.gal.Response.Response != nil {
+ sc = result.gal.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByGalleryNextResults
+ req, err := client.ListByGalleryPreparer(ctx, resourceGroupName, galleryName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "ListByGallery", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByGallerySender(req)
+ if err != nil {
+ result.gal.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "ListByGallery", resp, "Failure sending request")
+ return
+ }
+
+ result.gal, err = client.ListByGalleryResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "ListByGallery", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByGalleryPreparer prepares the ListByGallery request.
+func (client GalleryApplicationsClient) ListByGalleryPreparer(ctx context.Context, resourceGroupName string, galleryName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByGallerySender sends the ListByGallery request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryApplicationsClient) ListByGallerySender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByGalleryResponder handles the response to the ListByGallery request. The method always
+// closes the http.Response Body.
+func (client GalleryApplicationsClient) ListByGalleryResponder(resp *http.Response) (result GalleryApplicationList, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByGalleryNextResults retrieves the next set of results, if any.
+func (client GalleryApplicationsClient) listByGalleryNextResults(ctx context.Context, lastResults GalleryApplicationList) (result GalleryApplicationList, err error) {
+ req, err := lastResults.galleryApplicationListPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "listByGalleryNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByGallerySender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "listByGalleryNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByGalleryResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsClient", "listByGalleryNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByGalleryComplete enumerates all values, automatically crossing page boundaries as required.
+func (client GalleryApplicationsClient) ListByGalleryComplete(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryApplicationListIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationsClient.ListByGallery")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByGallery(ctx, resourceGroupName, galleryName)
+ return
+}
diff --git a/services/compute/mgmt/2019-03-01/compute/galleryapplicationversions.go b/services/compute/mgmt/2019-03-01/compute/galleryapplicationversions.go
new file mode 100644
index 000000000000..305216d25f9c
--- /dev/null
+++ b/services/compute/mgmt/2019-03-01/compute/galleryapplicationversions.go
@@ -0,0 +1,428 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// GalleryApplicationVersionsClient is the compute Client
+type GalleryApplicationVersionsClient struct {
+ BaseClient
+}
+
+// NewGalleryApplicationVersionsClient creates an instance of the GalleryApplicationVersionsClient client.
+func NewGalleryApplicationVersionsClient(subscriptionID string) GalleryApplicationVersionsClient {
+ return NewGalleryApplicationVersionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewGalleryApplicationVersionsClientWithBaseURI creates an instance of the GalleryApplicationVersionsClient client.
+func NewGalleryApplicationVersionsClientWithBaseURI(baseURI string, subscriptionID string) GalleryApplicationVersionsClient {
+ return GalleryApplicationVersionsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update a gallery Application Version.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Application Gallery in which the Application Definition resides.
+// galleryApplicationName - the name of the gallery Application Definition in which the Application Version is
+// to be created.
+// galleryApplicationVersionName - the name of the gallery Application Version to be created. Needs to follow
+// semantic version name pattern: The allowed characters are digit and period. Digits must be within the range
+// of a 32-bit integer. Format: ..
+// galleryApplicationVersion - parameters supplied to the create or update gallery Application Version
+// operation.
+func (client GalleryApplicationVersionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion GalleryApplicationVersion) (result GalleryApplicationVersionsCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationVersionsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: galleryApplicationVersion,
+ Constraints: []validation.Constraint{{Target: "galleryApplicationVersion.GalleryApplicationVersionProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "galleryApplicationVersion.GalleryApplicationVersionProperties.PublishingProfile", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "galleryApplicationVersion.GalleryApplicationVersionProperties.PublishingProfile.Source", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "galleryApplicationVersion.GalleryApplicationVersionProperties.PublishingProfile.Source.FileName", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "galleryApplicationVersion.GalleryApplicationVersionProperties.PublishingProfile.Source.MediaLink", Name: validation.Null, Rule: true, Chain: nil},
+ }},
+ }},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.GalleryApplicationVersionsClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, galleryName, galleryApplicationName, galleryApplicationVersionName, galleryApplicationVersion)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client GalleryApplicationVersionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion GalleryApplicationVersion) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryApplicationName": autorest.Encode("path", galleryApplicationName),
+ "galleryApplicationVersionName": autorest.Encode("path", galleryApplicationVersionName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", pathParameters),
+ autorest.WithJSON(galleryApplicationVersion),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryApplicationVersionsClient) CreateOrUpdateSender(req *http.Request) (future GalleryApplicationVersionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client GalleryApplicationVersionsClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryApplicationVersion, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete a gallery Application Version.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Application Gallery in which the Application Definition resides.
+// galleryApplicationName - the name of the gallery Application Definition in which the Application Version
+// resides.
+// galleryApplicationVersionName - the name of the gallery Application Version to be deleted.
+func (client GalleryApplicationVersionsClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string) (result GalleryApplicationVersionsDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationVersionsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, galleryName, galleryApplicationName, galleryApplicationVersionName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client GalleryApplicationVersionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryApplicationName": autorest.Encode("path", galleryApplicationName),
+ "galleryApplicationVersionName": autorest.Encode("path", galleryApplicationVersionName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryApplicationVersionsClient) DeleteSender(req *http.Request) (future GalleryApplicationVersionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client GalleryApplicationVersionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get retrieves information about a gallery Application Version.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Application Gallery in which the Application Definition resides.
+// galleryApplicationName - the name of the gallery Application Definition in which the Application Version
+// resides.
+// galleryApplicationVersionName - the name of the gallery Application Version to be retrieved.
+// expand - the expand expression to apply on the operation.
+func (client GalleryApplicationVersionsClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, expand ReplicationStatusTypes) (result GalleryApplicationVersion, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationVersionsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, galleryName, galleryApplicationName, galleryApplicationVersionName, expand)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client GalleryApplicationVersionsClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, expand ReplicationStatusTypes) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryApplicationName": autorest.Encode("path", galleryApplicationName),
+ "galleryApplicationVersionName": autorest.Encode("path", galleryApplicationVersionName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(string(expand)) > 0 {
+ queryParameters["$expand"] = autorest.Encode("query", expand)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryApplicationVersionsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client GalleryApplicationVersionsClient) GetResponder(resp *http.Response) (result GalleryApplicationVersion, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListByGalleryApplication list gallery Application Versions in a gallery Application Definition.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Application Gallery in which the Application Definition resides.
+// galleryApplicationName - the name of the Shared Application Gallery Application Definition from which the
+// Application Versions are to be listed.
+func (client GalleryApplicationVersionsClient) ListByGalleryApplication(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplicationVersionListPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationVersionsClient.ListByGalleryApplication")
+ defer func() {
+ sc := -1
+ if result.gavl.Response.Response != nil {
+ sc = result.gavl.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByGalleryApplicationNextResults
+ req, err := client.ListByGalleryApplicationPreparer(ctx, resourceGroupName, galleryName, galleryApplicationName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "ListByGalleryApplication", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByGalleryApplicationSender(req)
+ if err != nil {
+ result.gavl.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "ListByGalleryApplication", resp, "Failure sending request")
+ return
+ }
+
+ result.gavl, err = client.ListByGalleryApplicationResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "ListByGalleryApplication", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByGalleryApplicationPreparer prepares the ListByGalleryApplication request.
+func (client GalleryApplicationVersionsClient) ListByGalleryApplicationPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryApplicationName": autorest.Encode("path", galleryApplicationName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByGalleryApplicationSender sends the ListByGalleryApplication request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryApplicationVersionsClient) ListByGalleryApplicationSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByGalleryApplicationResponder handles the response to the ListByGalleryApplication request. The method always
+// closes the http.Response Body.
+func (client GalleryApplicationVersionsClient) ListByGalleryApplicationResponder(resp *http.Response) (result GalleryApplicationVersionList, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByGalleryApplicationNextResults retrieves the next set of results, if any.
+func (client GalleryApplicationVersionsClient) listByGalleryApplicationNextResults(ctx context.Context, lastResults GalleryApplicationVersionList) (result GalleryApplicationVersionList, err error) {
+ req, err := lastResults.galleryApplicationVersionListPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "listByGalleryApplicationNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByGalleryApplicationSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "listByGalleryApplicationNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByGalleryApplicationResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsClient", "listByGalleryApplicationNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByGalleryApplicationComplete enumerates all values, automatically crossing page boundaries as required.
+func (client GalleryApplicationVersionsClient) ListByGalleryApplicationComplete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplicationVersionListIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationVersionsClient.ListByGalleryApplication")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByGalleryApplication(ctx, resourceGroupName, galleryName, galleryApplicationName)
+ return
+}
diff --git a/services/compute/mgmt/2019-03-01/compute/galleryimages.go b/services/compute/mgmt/2019-03-01/compute/galleryimages.go
index be0796dcac25..1d22a9d30a6f 100644
--- a/services/compute/mgmt/2019-03-01/compute/galleryimages.go
+++ b/services/compute/mgmt/2019-03-01/compute/galleryimages.go
@@ -114,9 +114,9 @@ func (client GalleryImagesClient) CreateOrUpdatePreparer(ctx context.Context, re
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) CreateOrUpdateSender(req *http.Request) (future GalleryImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -193,9 +193,9 @@ func (client GalleryImagesClient) DeletePreparer(ctx context.Context, resourceGr
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) DeleteSender(req *http.Request) (future GalleryImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -277,8 +277,8 @@ func (client GalleryImagesClient) GetPreparer(ctx context.Context, resourceGroup
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -355,8 +355,8 @@ func (client GalleryImagesClient) ListByGalleryPreparer(ctx context.Context, res
// ListByGallerySender sends the ListByGallery request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImagesClient) ListByGallerySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByGalleryResponder handles the response to the ListByGallery request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/galleryimageversions.go b/services/compute/mgmt/2019-03-01/compute/galleryimageversions.go
index 9bed4b798226..0e2d583a4414 100644
--- a/services/compute/mgmt/2019-03-01/compute/galleryimageversions.go
+++ b/services/compute/mgmt/2019-03-01/compute/galleryimageversions.go
@@ -64,7 +64,13 @@ func (client GalleryImageVersionsClient) CreateOrUpdate(ctx context.Context, res
if err := validation.Validate([]validation.Validation{
{TargetValue: galleryImageVersion,
Constraints: []validation.Constraint{{Target: "galleryImageVersion.GalleryImageVersionProperties", Name: validation.Null, Rule: false,
- Chain: []validation.Constraint{{Target: "galleryImageVersion.GalleryImageVersionProperties.PublishingProfile", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil {
+ Chain: []validation.Constraint{{Target: "galleryImageVersion.GalleryImageVersionProperties.PublishingProfile", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "galleryImageVersion.GalleryImageVersionProperties.PublishingProfile.Source", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "galleryImageVersion.GalleryImageVersionProperties.PublishingProfile.Source.ManagedImage", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "galleryImageVersion.GalleryImageVersionProperties.PublishingProfile.Source.ManagedImage.ID", Name: validation.Null, Rule: true, Chain: nil}}},
+ }},
+ }},
+ }}}}}); err != nil {
return result, validation.NewError("compute.GalleryImageVersionsClient", "CreateOrUpdate", err.Error())
}
@@ -111,9 +117,9 @@ func (client GalleryImageVersionsClient) CreateOrUpdatePreparer(ctx context.Cont
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) CreateOrUpdateSender(req *http.Request) (future GalleryImageVersionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -192,9 +198,9 @@ func (client GalleryImageVersionsClient) DeletePreparer(ctx context.Context, res
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) DeleteSender(req *http.Request) (future GalleryImageVersionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,8 +288,8 @@ func (client GalleryImageVersionsClient) GetPreparer(ctx context.Context, resour
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -363,8 +369,8 @@ func (client GalleryImageVersionsClient) ListByGalleryImagePreparer(ctx context.
// ListByGalleryImageSender sends the ListByGalleryImage request. The method will close the
// http.Response Body if it receives an error.
func (client GalleryImageVersionsClient) ListByGalleryImageSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByGalleryImageResponder handles the response to the ListByGalleryImage request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/images.go b/services/compute/mgmt/2019-03-01/compute/images.go
index d20fd4a7e21b..e15083ca448d 100644
--- a/services/compute/mgmt/2019-03-01/compute/images.go
+++ b/services/compute/mgmt/2019-03-01/compute/images.go
@@ -97,9 +97,9 @@ func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceG
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -174,9 +174,9 @@ func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -260,8 +260,8 @@ func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -334,8 +334,8 @@ func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, err
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -447,8 +447,8 @@ func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, reso
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -558,9 +558,9 @@ func (client ImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) UpdateSender(req *http.Request) (future ImagesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2019-03-01/compute/loganalytics.go b/services/compute/mgmt/2019-03-01/compute/loganalytics.go
index 5fec2f884935..8fa8c1b05416 100644
--- a/services/compute/mgmt/2019-03-01/compute/loganalytics.go
+++ b/services/compute/mgmt/2019-03-01/compute/loganalytics.go
@@ -103,9 +103,9 @@ func (client LogAnalyticsClient) ExportRequestRateByIntervalPreparer(ctx context
// ExportRequestRateByIntervalSender sends the ExportRequestRateByInterval request. The method will close the
// http.Response Body if it receives an error.
func (client LogAnalyticsClient) ExportRequestRateByIntervalSender(req *http.Request) (future LogAnalyticsExportRequestRateByIntervalFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -188,9 +188,9 @@ func (client LogAnalyticsClient) ExportThrottledRequestsPreparer(ctx context.Con
// ExportThrottledRequestsSender sends the ExportThrottledRequests request. The method will close the
// http.Response Body if it receives an error.
func (client LogAnalyticsClient) ExportThrottledRequestsSender(req *http.Request) (future LogAnalyticsExportThrottledRequestsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2019-03-01/compute/models.go b/services/compute/mgmt/2019-03-01/compute/models.go
index 660d9a861ea3..f231357f948e 100644
--- a/services/compute/mgmt/2019-03-01/compute/models.go
+++ b/services/compute/mgmt/2019-03-01/compute/models.go
@@ -236,6 +236,23 @@ func PossibleContainerServiceVMSizeTypesValues() []ContainerServiceVMSizeTypes {
return []ContainerServiceVMSizeTypes{StandardA0, StandardA1, StandardA10, StandardA11, StandardA2, StandardA3, StandardA4, StandardA5, StandardA6, StandardA7, StandardA8, StandardA9, StandardD1, StandardD11, StandardD11V2, StandardD12, StandardD12V2, StandardD13, StandardD13V2, StandardD14, StandardD14V2, StandardD1V2, StandardD2, StandardD2V2, StandardD3, StandardD3V2, StandardD4, StandardD4V2, StandardD5V2, StandardDS1, StandardDS11, StandardDS12, StandardDS13, StandardDS14, StandardDS2, StandardDS3, StandardDS4, StandardG1, StandardG2, StandardG3, StandardG4, StandardG5, StandardGS1, StandardGS2, StandardGS3, StandardGS4, StandardGS5}
}
+// DedicatedHostLicenseTypes enumerates the values for dedicated host license types.
+type DedicatedHostLicenseTypes string
+
+const (
+ // DedicatedHostLicenseTypesNone ...
+ DedicatedHostLicenseTypesNone DedicatedHostLicenseTypes = "None"
+ // DedicatedHostLicenseTypesWindowsServerHybrid ...
+ DedicatedHostLicenseTypesWindowsServerHybrid DedicatedHostLicenseTypes = "Windows_Server_Hybrid"
+ // DedicatedHostLicenseTypesWindowsServerPerpetual ...
+ DedicatedHostLicenseTypesWindowsServerPerpetual DedicatedHostLicenseTypes = "Windows_Server_Perpetual"
+)
+
+// PossibleDedicatedHostLicenseTypesValues returns an array of possible values for the DedicatedHostLicenseTypes const type.
+func PossibleDedicatedHostLicenseTypesValues() []DedicatedHostLicenseTypes {
+ return []DedicatedHostLicenseTypes{DedicatedHostLicenseTypesNone, DedicatedHostLicenseTypesWindowsServerHybrid, DedicatedHostLicenseTypesWindowsServerPerpetual}
+}
+
// DiffDiskOptions enumerates the values for diff disk options.
type DiffDiskOptions string
@@ -588,6 +605,29 @@ func PossibleProvisioningState2Values() []ProvisioningState2 {
return []ProvisioningState2{ProvisioningState2Creating, ProvisioningState2Deleting, ProvisioningState2Failed, ProvisioningState2Migrating, ProvisioningState2Succeeded, ProvisioningState2Updating}
}
+// ProvisioningState3 enumerates the values for provisioning state 3.
+type ProvisioningState3 string
+
+const (
+ // ProvisioningState3Creating ...
+ ProvisioningState3Creating ProvisioningState3 = "Creating"
+ // ProvisioningState3Deleting ...
+ ProvisioningState3Deleting ProvisioningState3 = "Deleting"
+ // ProvisioningState3Failed ...
+ ProvisioningState3Failed ProvisioningState3 = "Failed"
+ // ProvisioningState3Migrating ...
+ ProvisioningState3Migrating ProvisioningState3 = "Migrating"
+ // ProvisioningState3Succeeded ...
+ ProvisioningState3Succeeded ProvisioningState3 = "Succeeded"
+ // ProvisioningState3Updating ...
+ ProvisioningState3Updating ProvisioningState3 = "Updating"
+)
+
+// PossibleProvisioningState3Values returns an array of possible values for the ProvisioningState3 const type.
+func PossibleProvisioningState3Values() []ProvisioningState3 {
+ return []ProvisioningState3{ProvisioningState3Creating, ProvisioningState3Deleting, ProvisioningState3Failed, ProvisioningState3Migrating, ProvisioningState3Succeeded, ProvisioningState3Updating}
+}
+
// ProximityPlacementGroupType enumerates the values for proximity placement group type.
type ProximityPlacementGroupType string
@@ -2157,35 +2197,12 @@ type DataDiskImage struct {
Lun *int32 `json:"lun,omitempty"`
}
-// DiagnosticsProfile specifies the boot diagnostic settings state.
Minimum api-version:
-// 2015-06-15.
-type DiagnosticsProfile struct {
- // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
- BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
-}
-
-// DiffDiskSettings describes the parameters of ephemeral disk settings that can be specified for operating
-// system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.
-type DiffDiskSettings struct {
- // Option - Specifies the ephemeral disk settings for operating system disk. Possible values include: 'Local'
- Option DiffDiskOptions `json:"option,omitempty"`
-}
-
-// Disallowed describes the disallowed disk types.
-type Disallowed struct {
- // DiskTypes - A list of disk types.
- DiskTypes *[]string `json:"diskTypes,omitempty"`
-}
-
-// Disk disk resource.
-type Disk struct {
- autorest.Response `json:"-"`
- // ManagedBy - READ-ONLY; A relative URI containing the ID of the VM that has the disk attached.
- ManagedBy *string `json:"managedBy,omitempty"`
- Sku *DiskSku `json:"sku,omitempty"`
- // Zones - The Logical zone list for Disk.
- Zones *[]string `json:"zones,omitempty"`
- *DiskProperties `json:"properties,omitempty"`
+// DedicatedHost specifies information about the Dedicated host.
+type DedicatedHost struct {
+ autorest.Response `json:"-"`
+ *DedicatedHostProperties `json:"properties,omitempty"`
+ // Sku - SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.
+ Sku *Sku `json:"sku,omitempty"`
// ID - READ-ONLY; Resource Id
ID *string `json:"id,omitempty"`
// Name - READ-ONLY; Resource name
@@ -2198,29 +2215,26 @@ type Disk struct {
Tags map[string]*string `json:"tags"`
}
-// MarshalJSON is the custom marshaler for Disk.
-func (d Disk) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for DedicatedHost.
+func (dh DedicatedHost) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if d.Sku != nil {
- objectMap["sku"] = d.Sku
- }
- if d.Zones != nil {
- objectMap["zones"] = d.Zones
+ if dh.DedicatedHostProperties != nil {
+ objectMap["properties"] = dh.DedicatedHostProperties
}
- if d.DiskProperties != nil {
- objectMap["properties"] = d.DiskProperties
+ if dh.Sku != nil {
+ objectMap["sku"] = dh.Sku
}
- if d.Location != nil {
- objectMap["location"] = d.Location
+ if dh.Location != nil {
+ objectMap["location"] = dh.Location
}
- if d.Tags != nil {
- objectMap["tags"] = d.Tags
+ if dh.Tags != nil {
+ objectMap["tags"] = dh.Tags
}
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for Disk struct.
-func (d *Disk) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DedicatedHost struct.
+func (dh *DedicatedHost) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -2228,41 +2242,154 @@ func (d *Disk) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "managedBy":
+ case "properties":
if v != nil {
- var managedBy string
- err = json.Unmarshal(*v, &managedBy)
+ var dedicatedHostProperties DedicatedHostProperties
+ err = json.Unmarshal(*v, &dedicatedHostProperties)
if err != nil {
return err
}
- d.ManagedBy = &managedBy
+ dh.DedicatedHostProperties = &dedicatedHostProperties
}
case "sku":
if v != nil {
- var sku DiskSku
+ var sku Sku
err = json.Unmarshal(*v, &sku)
if err != nil {
return err
}
- d.Sku = &sku
+ dh.Sku = &sku
}
- case "zones":
+ case "id":
if v != nil {
- var zones []string
- err = json.Unmarshal(*v, &zones)
+ var ID string
+ err = json.Unmarshal(*v, &ID)
if err != nil {
return err
}
- d.Zones = &zones
+ dh.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ dh.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dh.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ dh.Location = &location
}
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ dh.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// DedicatedHostAllocatableVM represents the dedicated host unutilized capacity in terms of a specific VM
+// size.
+type DedicatedHostAllocatableVM struct {
+ // VMSize - VM size in terms of which the unutilized capacity is represented.
+ VMSize *string `json:"vmSize,omitempty"`
+ // Count - Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
+ Count *float64 `json:"count,omitempty"`
+}
+
+// DedicatedHostAvailableCapacity dedicated host unutilized capacity.
+type DedicatedHostAvailableCapacity struct {
+ // AllocatableVMs - The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
+ AllocatableVMs *[]DedicatedHostAllocatableVM `json:"allocatableVMs,omitempty"`
+}
+
+// DedicatedHostGroup specifies information about the dedicated host group that the dedicated hosts should
+// be assigned to.
Currently, a dedicated host can only be added to a dedicated host group at
+// creation time. An existing dedicated host cannot be added to another dedicated host group.
+type DedicatedHostGroup struct {
+ autorest.Response `json:"-"`
+ *DedicatedHostGroupProperties `json:"properties,omitempty"`
+ // Zones - Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.
+ Zones *[]string `json:"zones,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for DedicatedHostGroup.
+func (dhg DedicatedHostGroup) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dhg.DedicatedHostGroupProperties != nil {
+ objectMap["properties"] = dhg.DedicatedHostGroupProperties
+ }
+ if dhg.Zones != nil {
+ objectMap["zones"] = dhg.Zones
+ }
+ if dhg.Location != nil {
+ objectMap["location"] = dhg.Location
+ }
+ if dhg.Tags != nil {
+ objectMap["tags"] = dhg.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DedicatedHostGroup struct.
+func (dhg *DedicatedHostGroup) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
case "properties":
if v != nil {
- var diskProperties DiskProperties
- err = json.Unmarshal(*v, &diskProperties)
+ var dedicatedHostGroupProperties DedicatedHostGroupProperties
+ err = json.Unmarshal(*v, &dedicatedHostGroupProperties)
if err != nil {
return err
}
- d.DiskProperties = &diskProperties
+ dhg.DedicatedHostGroupProperties = &dedicatedHostGroupProperties
+ }
+ case "zones":
+ if v != nil {
+ var zones []string
+ err = json.Unmarshal(*v, &zones)
+ if err != nil {
+ return err
+ }
+ dhg.Zones = &zones
}
case "id":
if v != nil {
@@ -2271,7 +2398,7 @@ func (d *Disk) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.ID = &ID
+ dhg.ID = &ID
}
case "name":
if v != nil {
@@ -2280,7 +2407,7 @@ func (d *Disk) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Name = &name
+ dhg.Name = &name
}
case "type":
if v != nil {
@@ -2289,7 +2416,7 @@ func (d *Disk) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Type = &typeVar
+ dhg.Type = &typeVar
}
case "location":
if v != nil {
@@ -2298,7 +2425,7 @@ func (d *Disk) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Location = &location
+ dhg.Location = &location
}
case "tags":
if v != nil {
@@ -2307,7 +2434,7 @@ func (d *Disk) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Tags = tags
+ dhg.Tags = tags
}
}
}
@@ -2315,46 +2442,26 @@ func (d *Disk) UnmarshalJSON(body []byte) error {
return nil
}
-// DiskEncryptionSettings describes a Encryption Settings for a Disk
-type DiskEncryptionSettings struct {
- // DiskEncryptionKey - Specifies the location of the disk encryption key, which is a Key Vault Secret.
- DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"`
- // KeyEncryptionKey - Specifies the location of the key encryption key in Key Vault.
- KeyEncryptionKey *KeyVaultKeyReference `json:"keyEncryptionKey,omitempty"`
- // Enabled - Specifies whether disk encryption should be enabled on the virtual machine.
- Enabled *bool `json:"enabled,omitempty"`
-}
-
-// DiskInstanceView the instance view of the disk.
-type DiskInstanceView struct {
- // Name - The disk name.
- Name *string `json:"name,omitempty"`
- // EncryptionSettings - Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15
- EncryptionSettings *[]DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
- // Statuses - The resource status information.
- Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
-}
-
-// DiskList the List Disks operation response.
-type DiskList struct {
+// DedicatedHostGroupListResult the List Dedicated Host Group with resource group response.
+type DedicatedHostGroupListResult struct {
autorest.Response `json:"-"`
- // Value - A list of disks.
- Value *[]Disk `json:"value,omitempty"`
- // NextLink - The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks.
+ // Value - The list of dedicated host groups
+ Value *[]DedicatedHostGroup `json:"value,omitempty"`
+ // NextLink - The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups.
NextLink *string `json:"nextLink,omitempty"`
}
-// DiskListIterator provides access to a complete listing of Disk values.
-type DiskListIterator struct {
+// DedicatedHostGroupListResultIterator provides access to a complete listing of DedicatedHostGroup values.
+type DedicatedHostGroupListResultIterator struct {
i int
- page DiskListPage
+ page DedicatedHostGroupListResultPage
}
// NextWithContext advances to the next value. If there was an error making
// the request the iterator does not advance and the error is returned.
-func (iter *DiskListIterator) NextWithContext(ctx context.Context) (err error) {
+func (iter *DedicatedHostGroupListResultIterator) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/DiskListIterator.NextWithContext")
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupListResultIterator.NextWithContext")
defer func() {
sc := -1
if iter.Response().Response.Response != nil {
@@ -2379,62 +2486,62 @@ func (iter *DiskListIterator) NextWithContext(ctx context.Context) (err error) {
// Next advances to the next value. If there was an error making
// the request the iterator does not advance and the error is returned.
// Deprecated: Use NextWithContext() instead.
-func (iter *DiskListIterator) Next() error {
+func (iter *DedicatedHostGroupListResultIterator) Next() error {
return iter.NextWithContext(context.Background())
}
// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter DiskListIterator) NotDone() bool {
+func (iter DedicatedHostGroupListResultIterator) NotDone() bool {
return iter.page.NotDone() && iter.i < len(iter.page.Values())
}
// Response returns the raw server response from the last page request.
-func (iter DiskListIterator) Response() DiskList {
+func (iter DedicatedHostGroupListResultIterator) Response() DedicatedHostGroupListResult {
return iter.page.Response()
}
// Value returns the current value or a zero-initialized value if the
// iterator has advanced beyond the end of the collection.
-func (iter DiskListIterator) Value() Disk {
+func (iter DedicatedHostGroupListResultIterator) Value() DedicatedHostGroup {
if !iter.page.NotDone() {
- return Disk{}
+ return DedicatedHostGroup{}
}
return iter.page.Values()[iter.i]
}
-// Creates a new instance of the DiskListIterator type.
-func NewDiskListIterator(page DiskListPage) DiskListIterator {
- return DiskListIterator{page: page}
+// Creates a new instance of the DedicatedHostGroupListResultIterator type.
+func NewDedicatedHostGroupListResultIterator(page DedicatedHostGroupListResultPage) DedicatedHostGroupListResultIterator {
+ return DedicatedHostGroupListResultIterator{page: page}
}
// IsEmpty returns true if the ListResult contains no values.
-func (dl DiskList) IsEmpty() bool {
- return dl.Value == nil || len(*dl.Value) == 0
+func (dhglr DedicatedHostGroupListResult) IsEmpty() bool {
+ return dhglr.Value == nil || len(*dhglr.Value) == 0
}
-// diskListPreparer prepares a request to retrieve the next set of results.
+// dedicatedHostGroupListResultPreparer prepares a request to retrieve the next set of results.
// It returns nil if no more results exist.
-func (dl DiskList) diskListPreparer(ctx context.Context) (*http.Request, error) {
- if dl.NextLink == nil || len(to.String(dl.NextLink)) < 1 {
+func (dhglr DedicatedHostGroupListResult) dedicatedHostGroupListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if dhglr.NextLink == nil || len(to.String(dhglr.NextLink)) < 1 {
return nil, nil
}
return autorest.Prepare((&http.Request{}).WithContext(ctx),
autorest.AsJSON(),
autorest.AsGet(),
- autorest.WithBaseURL(to.String(dl.NextLink)))
+ autorest.WithBaseURL(to.String(dhglr.NextLink)))
}
-// DiskListPage contains a page of Disk values.
-type DiskListPage struct {
- fn func(context.Context, DiskList) (DiskList, error)
- dl DiskList
+// DedicatedHostGroupListResultPage contains a page of DedicatedHostGroup values.
+type DedicatedHostGroupListResultPage struct {
+ fn func(context.Context, DedicatedHostGroupListResult) (DedicatedHostGroupListResult, error)
+ dhglr DedicatedHostGroupListResult
}
// NextWithContext advances to the next page of values. If there was an error making
// the request the page does not advance and the error is returned.
-func (page *DiskListPage) NextWithContext(ctx context.Context) (err error) {
+func (page *DedicatedHostGroupListResultPage) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/DiskListPage.NextWithContext")
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupListResultPage.NextWithContext")
defer func() {
sc := -1
if page.Response().Response.Response != nil {
@@ -2443,232 +2550,398 @@ func (page *DiskListPage) NextWithContext(ctx context.Context) (err error) {
tracing.EndSpan(ctx, sc, err)
}()
}
- next, err := page.fn(ctx, page.dl)
+ next, err := page.fn(ctx, page.dhglr)
if err != nil {
return err
}
- page.dl = next
+ page.dhglr = next
return nil
}
// Next advances to the next page of values. If there was an error making
// the request the page does not advance and the error is returned.
// Deprecated: Use NextWithContext() instead.
-func (page *DiskListPage) Next() error {
+func (page *DedicatedHostGroupListResultPage) Next() error {
return page.NextWithContext(context.Background())
}
// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page DiskListPage) NotDone() bool {
- return !page.dl.IsEmpty()
+func (page DedicatedHostGroupListResultPage) NotDone() bool {
+ return !page.dhglr.IsEmpty()
}
// Response returns the raw server response from the last page request.
-func (page DiskListPage) Response() DiskList {
- return page.dl
+func (page DedicatedHostGroupListResultPage) Response() DedicatedHostGroupListResult {
+ return page.dhglr
}
// Values returns the slice of values for the current page or nil if there are no values.
-func (page DiskListPage) Values() []Disk {
- if page.dl.IsEmpty() {
+func (page DedicatedHostGroupListResultPage) Values() []DedicatedHostGroup {
+ if page.dhglr.IsEmpty() {
return nil
}
- return *page.dl.Value
+ return *page.dhglr.Value
}
-// Creates a new instance of the DiskListPage type.
-func NewDiskListPage(getNextPage func(context.Context, DiskList) (DiskList, error)) DiskListPage {
- return DiskListPage{fn: getNextPage}
+// Creates a new instance of the DedicatedHostGroupListResultPage type.
+func NewDedicatedHostGroupListResultPage(getNextPage func(context.Context, DedicatedHostGroupListResult) (DedicatedHostGroupListResult, error)) DedicatedHostGroupListResultPage {
+ return DedicatedHostGroupListResultPage{fn: getNextPage}
}
-// DiskProperties disk resource properties.
-type DiskProperties struct {
- // TimeCreated - READ-ONLY; The time when the disk was created.
- TimeCreated *date.Time `json:"timeCreated,omitempty"`
- // OsType - The Operating System type. Possible values include: 'Windows', 'Linux'
- OsType OperatingSystemTypes `json:"osType,omitempty"`
- // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'
- HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
- // CreationData - Disk source information. CreationData information cannot be changed after the disk has been created.
- CreationData *CreationData `json:"creationData,omitempty"`
- // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
- DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
- // EncryptionSettingsCollection - Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
- // ProvisioningState - READ-ONLY; The disk provisioning state.
- ProvisioningState *string `json:"provisioningState,omitempty"`
- // DiskIOPSReadWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"`
- // DiskMBpsReadWrite - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- DiskMBpsReadWrite *int32 `json:"diskMBpsReadWrite,omitempty"`
- // DiskState - READ-ONLY; The state of the disk. Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload'
- DiskState DiskState `json:"diskState,omitempty"`
+// DedicatedHostGroupProperties dedicated Host Group Properties.
+type DedicatedHostGroupProperties struct {
+ // PlatformFaultDomainCount - Number of fault domains that the host group can span.
+ PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"`
+ // Hosts - READ-ONLY; A list of references to all dedicated hosts in the dedicated host group.
+ Hosts *[]SubResourceReadOnly `json:"hosts,omitempty"`
}
-// DisksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type DisksCreateOrUpdateFuture struct {
- azure.Future
+// DedicatedHostGroupUpdate specifies information about the dedicated host group that the dedicated host
+// should be assigned to. Only tags may be updated.
+type DedicatedHostGroupUpdate struct {
+ *DedicatedHostGroupProperties `json:"properties,omitempty"`
+ // Zones - Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.
+ Zones *[]string `json:"zones,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
}
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *DisksCreateOrUpdateFuture) Result(client DisksClient) (d Disk, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "compute.DisksCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
- return
+// MarshalJSON is the custom marshaler for DedicatedHostGroupUpdate.
+func (dhgu DedicatedHostGroupUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dhgu.DedicatedHostGroupProperties != nil {
+ objectMap["properties"] = dhgu.DedicatedHostGroupProperties
}
- if !done {
- err = azure.NewAsyncOpIncompleteError("compute.DisksCreateOrUpdateFuture")
- return
+ if dhgu.Zones != nil {
+ objectMap["zones"] = dhgu.Zones
}
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if d.Response.Response, err = future.GetResult(sender); err == nil && d.Response.Response.StatusCode != http.StatusNoContent {
- d, err = client.CreateOrUpdateResponder(d.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "compute.DisksCreateOrUpdateFuture", "Result", d.Response.Response, "Failure responding to request")
+ if dhgu.Tags != nil {
+ objectMap["tags"] = dhgu.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DedicatedHostGroupUpdate struct.
+func (dhgu *DedicatedHostGroupUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var dedicatedHostGroupProperties DedicatedHostGroupProperties
+ err = json.Unmarshal(*v, &dedicatedHostGroupProperties)
+ if err != nil {
+ return err
+ }
+ dhgu.DedicatedHostGroupProperties = &dedicatedHostGroupProperties
+ }
+ case "zones":
+ if v != nil {
+ var zones []string
+ err = json.Unmarshal(*v, &zones)
+ if err != nil {
+ return err
+ }
+ dhgu.Zones = &zones
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ dhgu.Tags = tags
+ }
}
}
- return
+
+ return nil
}
-// DisksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
-type DisksDeleteFuture struct {
- azure.Future
+// DedicatedHostInstanceView the instance view of a dedicated host.
+type DedicatedHostInstanceView struct {
+ // AssetID - READ-ONLY; Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
+ AssetID *string `json:"assetId,omitempty"`
+ // AvailableCapacity - Unutilized capacity of the dedicated host.
+ AvailableCapacity *DedicatedHostAvailableCapacity `json:"availableCapacity,omitempty"`
+ // Statuses - The resource status information.
+ Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *DisksDeleteFuture) Result(client DisksClient) (ar autorest.Response, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
+// DedicatedHostListResult the list dedicated host operation response.
+type DedicatedHostListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of dedicated hosts
+ Value *[]DedicatedHost `json:"value,omitempty"`
+ // NextLink - The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// DedicatedHostListResultIterator provides access to a complete listing of DedicatedHost values.
+type DedicatedHostListResultIterator struct {
+ i int
+ page DedicatedHostListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *DedicatedHostListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
if err != nil {
- err = autorest.NewErrorWithError(err, "compute.DisksDeleteFuture", "Result", future.Response(), "Polling failure")
- return
+ iter.i--
+ return err
}
- if !done {
- err = azure.NewAsyncOpIncompleteError("compute.DisksDeleteFuture")
- return
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *DedicatedHostListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter DedicatedHostListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter DedicatedHostListResultIterator) Response() DedicatedHostListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter DedicatedHostListResultIterator) Value() DedicatedHost {
+ if !iter.page.NotDone() {
+ return DedicatedHost{}
}
- ar.Response = future.Response()
- return
+ return iter.page.Values()[iter.i]
}
-// DisksGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type DisksGrantAccessFuture struct {
+// Creates a new instance of the DedicatedHostListResultIterator type.
+func NewDedicatedHostListResultIterator(page DedicatedHostListResultPage) DedicatedHostListResultIterator {
+ return DedicatedHostListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (dhlr DedicatedHostListResult) IsEmpty() bool {
+ return dhlr.Value == nil || len(*dhlr.Value) == 0
+}
+
+// dedicatedHostListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (dhlr DedicatedHostListResult) dedicatedHostListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if dhlr.NextLink == nil || len(to.String(dhlr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(dhlr.NextLink)))
+}
+
+// DedicatedHostListResultPage contains a page of DedicatedHost values.
+type DedicatedHostListResultPage struct {
+ fn func(context.Context, DedicatedHostListResult) (DedicatedHostListResult, error)
+ dhlr DedicatedHostListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *DedicatedHostListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.dhlr)
+ if err != nil {
+ return err
+ }
+ page.dhlr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *DedicatedHostListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page DedicatedHostListResultPage) NotDone() bool {
+ return !page.dhlr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page DedicatedHostListResultPage) Response() DedicatedHostListResult {
+ return page.dhlr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page DedicatedHostListResultPage) Values() []DedicatedHost {
+ if page.dhlr.IsEmpty() {
+ return nil
+ }
+ return *page.dhlr.Value
+}
+
+// Creates a new instance of the DedicatedHostListResultPage type.
+func NewDedicatedHostListResultPage(getNextPage func(context.Context, DedicatedHostListResult) (DedicatedHostListResult, error)) DedicatedHostListResultPage {
+ return DedicatedHostListResultPage{fn: getNextPage}
+}
+
+// DedicatedHostProperties properties of the dedicated host.
+type DedicatedHostProperties struct {
+ // PlatformFaultDomain - Fault domain of the dedicated host within a dedicated host group.
+ PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"`
+ // AutoReplaceOnFailure - Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
+ AutoReplaceOnFailure *bool `json:"autoReplaceOnFailure,omitempty"`
+ // HostID - READ-ONLY; A unique id generated and assigned to the dedicated host by the platform.
Does not change throughout the lifetime of the host.
+ HostID *string `json:"hostId,omitempty"`
+ // VirtualMachines - READ-ONLY; A list of references to all virtual machines in the Dedicated Host.
+ VirtualMachines *[]SubResourceReadOnly `json:"virtualMachines,omitempty"`
+ // LicenseType - Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**. Possible values include: 'DedicatedHostLicenseTypesNone', 'DedicatedHostLicenseTypesWindowsServerHybrid', 'DedicatedHostLicenseTypesWindowsServerPerpetual'
+ LicenseType DedicatedHostLicenseTypes `json:"licenseType,omitempty"`
+ // ProvisioningTime - READ-ONLY; The date when the host was first provisioned.
+ ProvisioningTime *date.Time `json:"provisioningTime,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // InstanceView - READ-ONLY; The dedicated host instance view.
+ InstanceView *DedicatedHostInstanceView `json:"instanceView,omitempty"`
+}
+
+// DedicatedHostsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type DedicatedHostsCreateOrUpdateFuture struct {
azure.Future
}
// Result returns the result of the asynchronous operation.
// If the operation has not completed it will return an error.
-func (future *DisksGrantAccessFuture) Result(client DisksClient) (au AccessURI, err error) {
+func (future *DedicatedHostsCreateOrUpdateFuture) Result(client DedicatedHostsClient) (dh DedicatedHost, err error) {
var done bool
done, err = future.DoneWithContext(context.Background(), client)
if err != nil {
- err = autorest.NewErrorWithError(err, "compute.DisksGrantAccessFuture", "Result", future.Response(), "Polling failure")
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
return
}
if !done {
- err = azure.NewAsyncOpIncompleteError("compute.DisksGrantAccessFuture")
+ err = azure.NewAsyncOpIncompleteError("compute.DedicatedHostsCreateOrUpdateFuture")
return
}
sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if au.Response.Response, err = future.GetResult(sender); err == nil && au.Response.Response.StatusCode != http.StatusNoContent {
- au, err = client.GrantAccessResponder(au.Response.Response)
+ if dh.Response.Response, err = future.GetResult(sender); err == nil && dh.Response.Response.StatusCode != http.StatusNoContent {
+ dh, err = client.CreateOrUpdateResponder(dh.Response.Response)
if err != nil {
- err = autorest.NewErrorWithError(err, "compute.DisksGrantAccessFuture", "Result", au.Response.Response, "Failure responding to request")
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsCreateOrUpdateFuture", "Result", dh.Response.Response, "Failure responding to request")
}
}
return
}
-// DiskSku the disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.
-type DiskSku struct {
- // Name - The sku name. Possible values include: 'StandardLRS', 'PremiumLRS', 'StandardSSDLRS', 'UltraSSDLRS'
- Name DiskStorageAccountTypes `json:"name,omitempty"`
- // Tier - READ-ONLY; The sku tier.
- Tier *string `json:"tier,omitempty"`
-}
-
-// DisksRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running
+// DedicatedHostsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
// operation.
-type DisksRevokeAccessFuture struct {
+type DedicatedHostsDeleteFuture struct {
azure.Future
}
// Result returns the result of the asynchronous operation.
// If the operation has not completed it will return an error.
-func (future *DisksRevokeAccessFuture) Result(client DisksClient) (ar autorest.Response, err error) {
+func (future *DedicatedHostsDeleteFuture) Result(client DedicatedHostsClient) (ar autorest.Response, err error) {
var done bool
done, err = future.DoneWithContext(context.Background(), client)
if err != nil {
- err = autorest.NewErrorWithError(err, "compute.DisksRevokeAccessFuture", "Result", future.Response(), "Polling failure")
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsDeleteFuture", "Result", future.Response(), "Polling failure")
return
}
if !done {
- err = azure.NewAsyncOpIncompleteError("compute.DisksRevokeAccessFuture")
+ err = azure.NewAsyncOpIncompleteError("compute.DedicatedHostsDeleteFuture")
return
}
ar.Response = future.Response()
return
}
-// DisksUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
-type DisksUpdateFuture struct {
+// DedicatedHostsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type DedicatedHostsUpdateFuture struct {
azure.Future
}
// Result returns the result of the asynchronous operation.
// If the operation has not completed it will return an error.
-func (future *DisksUpdateFuture) Result(client DisksClient) (d Disk, err error) {
+func (future *DedicatedHostsUpdateFuture) Result(client DedicatedHostsClient) (dh DedicatedHost, err error) {
var done bool
done, err = future.DoneWithContext(context.Background(), client)
if err != nil {
- err = autorest.NewErrorWithError(err, "compute.DisksUpdateFuture", "Result", future.Response(), "Polling failure")
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsUpdateFuture", "Result", future.Response(), "Polling failure")
return
}
if !done {
- err = azure.NewAsyncOpIncompleteError("compute.DisksUpdateFuture")
+ err = azure.NewAsyncOpIncompleteError("compute.DedicatedHostsUpdateFuture")
return
}
sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if d.Response.Response, err = future.GetResult(sender); err == nil && d.Response.Response.StatusCode != http.StatusNoContent {
- d, err = client.UpdateResponder(d.Response.Response)
+ if dh.Response.Response, err = future.GetResult(sender); err == nil && dh.Response.Response.StatusCode != http.StatusNoContent {
+ dh, err = client.UpdateResponder(dh.Response.Response)
if err != nil {
- err = autorest.NewErrorWithError(err, "compute.DisksUpdateFuture", "Result", d.Response.Response, "Failure responding to request")
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsUpdateFuture", "Result", dh.Response.Response, "Failure responding to request")
}
}
return
}
-// DiskUpdate disk update resource.
-type DiskUpdate struct {
- *DiskUpdateProperties `json:"properties,omitempty"`
+// DedicatedHostUpdate specifies information about the dedicated host. Only tags, autoReplaceOnFailure and
+// licenseType may be updated.
+type DedicatedHostUpdate struct {
+ *DedicatedHostProperties `json:"properties,omitempty"`
// Tags - Resource tags
Tags map[string]*string `json:"tags"`
- Sku *DiskSku `json:"sku,omitempty"`
}
-// MarshalJSON is the custom marshaler for DiskUpdate.
-func (du DiskUpdate) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for DedicatedHostUpdate.
+func (dhu DedicatedHostUpdate) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if du.DiskUpdateProperties != nil {
- objectMap["properties"] = du.DiskUpdateProperties
+ if dhu.DedicatedHostProperties != nil {
+ objectMap["properties"] = dhu.DedicatedHostProperties
}
- if du.Tags != nil {
- objectMap["tags"] = du.Tags
- }
- if du.Sku != nil {
- objectMap["sku"] = du.Sku
+ if dhu.Tags != nil {
+ objectMap["tags"] = dhu.Tags
}
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for DiskUpdate struct.
-func (du *DiskUpdate) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DedicatedHostUpdate struct.
+func (dhu *DedicatedHostUpdate) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -2678,12 +2951,12 @@ func (du *DiskUpdate) UnmarshalJSON(body []byte) error {
switch k {
case "properties":
if v != nil {
- var diskUpdateProperties DiskUpdateProperties
- err = json.Unmarshal(*v, &diskUpdateProperties)
+ var dedicatedHostProperties DedicatedHostProperties
+ err = json.Unmarshal(*v, &dedicatedHostProperties)
if err != nil {
return err
}
- du.DiskUpdateProperties = &diskUpdateProperties
+ dhu.DedicatedHostProperties = &dedicatedHostProperties
}
case "tags":
if v != nil {
@@ -2692,16 +2965,7 @@ func (du *DiskUpdate) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- du.Tags = tags
- }
- case "sku":
- if v != nil {
- var sku DiskSku
- err = json.Unmarshal(*v, &sku)
- if err != nil {
- return err
- }
- du.Sku = &sku
+ dhu.Tags = tags
}
}
}
@@ -2709,92 +2973,1060 @@ func (du *DiskUpdate) UnmarshalJSON(body []byte) error {
return nil
}
-// DiskUpdateProperties disk resource update properties.
-type DiskUpdateProperties struct {
- // OsType - the Operating System type. Possible values include: 'Windows', 'Linux'
- OsType OperatingSystemTypes `json:"osType,omitempty"`
- // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
- DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
- // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
- // DiskIOPSReadWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"`
- // DiskMBpsReadWrite - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- DiskMBpsReadWrite *int32 `json:"diskMBpsReadWrite,omitempty"`
+// DiagnosticsProfile specifies the boot diagnostic settings state.
Minimum api-version:
+// 2015-06-15.
+type DiagnosticsProfile struct {
+ // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
+ BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
+}
+
+// DiffDiskSettings describes the parameters of ephemeral disk settings that can be specified for operating
+// system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.
+type DiffDiskSettings struct {
+ // Option - Specifies the ephemeral disk settings for operating system disk. Possible values include: 'Local'
+ Option DiffDiskOptions `json:"option,omitempty"`
+}
+
+// Disallowed describes the disallowed disk types.
+type Disallowed struct {
+ // DiskTypes - A list of disk types.
+ DiskTypes *[]string `json:"diskTypes,omitempty"`
+}
+
+// Disk disk resource.
+type Disk struct {
+ autorest.Response `json:"-"`
+ // ManagedBy - READ-ONLY; A relative URI containing the ID of the VM that has the disk attached.
+ ManagedBy *string `json:"managedBy,omitempty"`
+ Sku *DiskSku `json:"sku,omitempty"`
+ // Zones - The Logical zone list for Disk.
+ Zones *[]string `json:"zones,omitempty"`
+ *DiskProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for Disk.
+func (d Disk) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if d.Sku != nil {
+ objectMap["sku"] = d.Sku
+ }
+ if d.Zones != nil {
+ objectMap["zones"] = d.Zones
+ }
+ if d.DiskProperties != nil {
+ objectMap["properties"] = d.DiskProperties
+ }
+ if d.Location != nil {
+ objectMap["location"] = d.Location
+ }
+ if d.Tags != nil {
+ objectMap["tags"] = d.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for Disk struct.
+func (d *Disk) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "managedBy":
+ if v != nil {
+ var managedBy string
+ err = json.Unmarshal(*v, &managedBy)
+ if err != nil {
+ return err
+ }
+ d.ManagedBy = &managedBy
+ }
+ case "sku":
+ if v != nil {
+ var sku DiskSku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ d.Sku = &sku
+ }
+ case "zones":
+ if v != nil {
+ var zones []string
+ err = json.Unmarshal(*v, &zones)
+ if err != nil {
+ return err
+ }
+ d.Zones = &zones
+ }
+ case "properties":
+ if v != nil {
+ var diskProperties DiskProperties
+ err = json.Unmarshal(*v, &diskProperties)
+ if err != nil {
+ return err
+ }
+ d.DiskProperties = &diskProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ d.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ d.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ d.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ d.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ d.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// DiskEncryptionSettings describes a Encryption Settings for a Disk
+type DiskEncryptionSettings struct {
+ // DiskEncryptionKey - Specifies the location of the disk encryption key, which is a Key Vault Secret.
+ DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"`
+ // KeyEncryptionKey - Specifies the location of the key encryption key in Key Vault.
+ KeyEncryptionKey *KeyVaultKeyReference `json:"keyEncryptionKey,omitempty"`
+ // Enabled - Specifies whether disk encryption should be enabled on the virtual machine.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// DiskInstanceView the instance view of the disk.
+type DiskInstanceView struct {
+ // Name - The disk name.
+ Name *string `json:"name,omitempty"`
+ // EncryptionSettings - Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15
+ EncryptionSettings *[]DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
+ // Statuses - The resource status information.
+ Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
+}
+
+// DiskList the List Disks operation response.
+type DiskList struct {
+ autorest.Response `json:"-"`
+ // Value - A list of disks.
+ Value *[]Disk `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// DiskListIterator provides access to a complete listing of Disk values.
+type DiskListIterator struct {
+ i int
+ page DiskListPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *DiskListIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DiskListIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *DiskListIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter DiskListIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter DiskListIterator) Response() DiskList {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter DiskListIterator) Value() Disk {
+ if !iter.page.NotDone() {
+ return Disk{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the DiskListIterator type.
+func NewDiskListIterator(page DiskListPage) DiskListIterator {
+ return DiskListIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (dl DiskList) IsEmpty() bool {
+ return dl.Value == nil || len(*dl.Value) == 0
+}
+
+// diskListPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (dl DiskList) diskListPreparer(ctx context.Context) (*http.Request, error) {
+ if dl.NextLink == nil || len(to.String(dl.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(dl.NextLink)))
+}
+
+// DiskListPage contains a page of Disk values.
+type DiskListPage struct {
+ fn func(context.Context, DiskList) (DiskList, error)
+ dl DiskList
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *DiskListPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DiskListPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.dl)
+ if err != nil {
+ return err
+ }
+ page.dl = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *DiskListPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page DiskListPage) NotDone() bool {
+ return !page.dl.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page DiskListPage) Response() DiskList {
+ return page.dl
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page DiskListPage) Values() []Disk {
+ if page.dl.IsEmpty() {
+ return nil
+ }
+ return *page.dl.Value
+}
+
+// Creates a new instance of the DiskListPage type.
+func NewDiskListPage(getNextPage func(context.Context, DiskList) (DiskList, error)) DiskListPage {
+ return DiskListPage{fn: getNextPage}
+}
+
+// DiskProperties disk resource properties.
+type DiskProperties struct {
+ // TimeCreated - READ-ONLY; The time when the disk was created.
+ TimeCreated *date.Time `json:"timeCreated,omitempty"`
+ // OsType - The Operating System type. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'
+ HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
+ // CreationData - Disk source information. CreationData information cannot be changed after the disk has been created.
+ CreationData *CreationData `json:"creationData,omitempty"`
+ // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // EncryptionSettingsCollection - Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
+ EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
+ // ProvisioningState - READ-ONLY; The disk provisioning state.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // DiskIOPSReadWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
+ DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"`
+ // DiskMBpsReadWrite - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
+ DiskMBpsReadWrite *int32 `json:"diskMBpsReadWrite,omitempty"`
+ // DiskState - READ-ONLY; The state of the disk. Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload'
+ DiskState DiskState `json:"diskState,omitempty"`
+}
+
+// DisksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type DisksCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DisksCreateOrUpdateFuture) Result(client DisksClient) (d Disk, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DisksCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if d.Response.Response, err = future.GetResult(sender); err == nil && d.Response.Response.StatusCode != http.StatusNoContent {
+ d, err = client.CreateOrUpdateResponder(d.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksCreateOrUpdateFuture", "Result", d.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// DisksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+type DisksDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DisksDeleteFuture) Result(client DisksClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DisksDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// DisksGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type DisksGrantAccessFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DisksGrantAccessFuture) Result(client DisksClient) (au AccessURI, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksGrantAccessFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DisksGrantAccessFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if au.Response.Response, err = future.GetResult(sender); err == nil && au.Response.Response.StatusCode != http.StatusNoContent {
+ au, err = client.GrantAccessResponder(au.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksGrantAccessFuture", "Result", au.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// DiskSku the disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.
+type DiskSku struct {
+ // Name - The sku name. Possible values include: 'StandardLRS', 'PremiumLRS', 'StandardSSDLRS', 'UltraSSDLRS'
+ Name DiskStorageAccountTypes `json:"name,omitempty"`
+ // Tier - READ-ONLY; The sku tier.
+ Tier *string `json:"tier,omitempty"`
+}
+
+// DisksRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type DisksRevokeAccessFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DisksRevokeAccessFuture) Result(client DisksClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksRevokeAccessFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DisksRevokeAccessFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// DisksUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+type DisksUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DisksUpdateFuture) Result(client DisksClient) (d Disk, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DisksUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if d.Response.Response, err = future.GetResult(sender); err == nil && d.Response.Response.StatusCode != http.StatusNoContent {
+ d, err = client.UpdateResponder(d.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksUpdateFuture", "Result", d.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// DiskUpdate disk update resource.
+type DiskUpdate struct {
+ *DiskUpdateProperties `json:"properties,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+ Sku *DiskSku `json:"sku,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DiskUpdate.
+func (du DiskUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if du.DiskUpdateProperties != nil {
+ objectMap["properties"] = du.DiskUpdateProperties
+ }
+ if du.Tags != nil {
+ objectMap["tags"] = du.Tags
+ }
+ if du.Sku != nil {
+ objectMap["sku"] = du.Sku
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DiskUpdate struct.
+func (du *DiskUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var diskUpdateProperties DiskUpdateProperties
+ err = json.Unmarshal(*v, &diskUpdateProperties)
+ if err != nil {
+ return err
+ }
+ du.DiskUpdateProperties = &diskUpdateProperties
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ du.Tags = tags
+ }
+ case "sku":
+ if v != nil {
+ var sku DiskSku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ du.Sku = &sku
+ }
+ }
+ }
+
+ return nil
+}
+
+// DiskUpdateProperties disk resource update properties.
+type DiskUpdateProperties struct {
+ // OsType - the Operating System type. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
+ EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
+ // DiskIOPSReadWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
+ DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"`
+ // DiskMBpsReadWrite - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
+ DiskMBpsReadWrite *int32 `json:"diskMBpsReadWrite,omitempty"`
+}
+
+// EncryptionSettingsCollection encryption settings for disk or snapshot
+type EncryptionSettingsCollection struct {
+ // Enabled - Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
+ Enabled *bool `json:"enabled,omitempty"`
+ // EncryptionSettings - A collection of encryption settings, one for each disk volume.
+ EncryptionSettings *[]EncryptionSettingsElement `json:"encryptionSettings,omitempty"`
+}
+
+// EncryptionSettingsElement encryption settings for one disk volume.
+type EncryptionSettingsElement struct {
+ // DiskEncryptionKey - Key Vault Secret Url and vault id of the disk encryption key
+ DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"`
+ // KeyEncryptionKey - Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.
+ KeyEncryptionKey *KeyVaultAndKeyReference `json:"keyEncryptionKey,omitempty"`
+}
+
+// GalleriesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type GalleriesCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *GalleriesCreateOrUpdateFuture) Result(client GalleriesClient) (g Gallery, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.GalleriesCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if g.Response.Response, err = future.GetResult(sender); err == nil && g.Response.Response.StatusCode != http.StatusNoContent {
+ g, err = client.CreateOrUpdateResponder(g.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesCreateOrUpdateFuture", "Result", g.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// GalleriesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type GalleriesDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *GalleriesDeleteFuture) Result(client GalleriesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.GalleriesDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// Gallery specifies information about the Shared Image Gallery that you want to create or update.
+type Gallery struct {
+ autorest.Response `json:"-"`
+ *GalleryProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for Gallery.
+func (g Gallery) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if g.GalleryProperties != nil {
+ objectMap["properties"] = g.GalleryProperties
+ }
+ if g.Location != nil {
+ objectMap["location"] = g.Location
+ }
+ if g.Tags != nil {
+ objectMap["tags"] = g.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for Gallery struct.
+func (g *Gallery) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var galleryProperties GalleryProperties
+ err = json.Unmarshal(*v, &galleryProperties)
+ if err != nil {
+ return err
+ }
+ g.GalleryProperties = &galleryProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ g.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ g.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ g.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ g.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ g.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// GalleryApplication specifies information about the gallery Application Definition that you want to
+// create or update.
+type GalleryApplication struct {
+ autorest.Response `json:"-"`
+ *GalleryApplicationProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for GalleryApplication.
+func (ga GalleryApplication) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if ga.GalleryApplicationProperties != nil {
+ objectMap["properties"] = ga.GalleryApplicationProperties
+ }
+ if ga.Location != nil {
+ objectMap["location"] = ga.Location
+ }
+ if ga.Tags != nil {
+ objectMap["tags"] = ga.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for GalleryApplication struct.
+func (ga *GalleryApplication) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var galleryApplicationProperties GalleryApplicationProperties
+ err = json.Unmarshal(*v, &galleryApplicationProperties)
+ if err != nil {
+ return err
+ }
+ ga.GalleryApplicationProperties = &galleryApplicationProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ ga.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ ga.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ga.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ ga.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ ga.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// GalleryApplicationList the List Gallery Applications operation response.
+type GalleryApplicationList struct {
+ autorest.Response `json:"-"`
+ // Value - A list of Gallery Applications.
+ Value *[]GalleryApplication `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// GalleryApplicationListIterator provides access to a complete listing of GalleryApplication values.
+type GalleryApplicationListIterator struct {
+ i int
+ page GalleryApplicationListPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *GalleryApplicationListIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationListIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *GalleryApplicationListIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter GalleryApplicationListIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter GalleryApplicationListIterator) Response() GalleryApplicationList {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter GalleryApplicationListIterator) Value() GalleryApplication {
+ if !iter.page.NotDone() {
+ return GalleryApplication{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the GalleryApplicationListIterator type.
+func NewGalleryApplicationListIterator(page GalleryApplicationListPage) GalleryApplicationListIterator {
+ return GalleryApplicationListIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (gal GalleryApplicationList) IsEmpty() bool {
+ return gal.Value == nil || len(*gal.Value) == 0
+}
+
+// galleryApplicationListPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (gal GalleryApplicationList) galleryApplicationListPreparer(ctx context.Context) (*http.Request, error) {
+ if gal.NextLink == nil || len(to.String(gal.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(gal.NextLink)))
+}
+
+// GalleryApplicationListPage contains a page of GalleryApplication values.
+type GalleryApplicationListPage struct {
+ fn func(context.Context, GalleryApplicationList) (GalleryApplicationList, error)
+ gal GalleryApplicationList
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *GalleryApplicationListPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationListPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.gal)
+ if err != nil {
+ return err
+ }
+ page.gal = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *GalleryApplicationListPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page GalleryApplicationListPage) NotDone() bool {
+ return !page.gal.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page GalleryApplicationListPage) Response() GalleryApplicationList {
+ return page.gal
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page GalleryApplicationListPage) Values() []GalleryApplication {
+ if page.gal.IsEmpty() {
+ return nil
+ }
+ return *page.gal.Value
}
-// EncryptionSettingsCollection encryption settings for disk or snapshot
-type EncryptionSettingsCollection struct {
- // Enabled - Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
- Enabled *bool `json:"enabled,omitempty"`
- // EncryptionSettings - A collection of encryption settings, one for each disk volume.
- EncryptionSettings *[]EncryptionSettingsElement `json:"encryptionSettings,omitempty"`
+// Creates a new instance of the GalleryApplicationListPage type.
+func NewGalleryApplicationListPage(getNextPage func(context.Context, GalleryApplicationList) (GalleryApplicationList, error)) GalleryApplicationListPage {
+ return GalleryApplicationListPage{fn: getNextPage}
}
-// EncryptionSettingsElement encryption settings for one disk volume.
-type EncryptionSettingsElement struct {
- // DiskEncryptionKey - Key Vault Secret Url and vault id of the disk encryption key
- DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"`
- // KeyEncryptionKey - Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.
- KeyEncryptionKey *KeyVaultAndKeyReference `json:"keyEncryptionKey,omitempty"`
+// GalleryApplicationProperties describes the properties of a gallery Application Definition.
+type GalleryApplicationProperties struct {
+ // Description - The description of this gallery Application Definition resource. This property is updatable.
+ Description *string `json:"description,omitempty"`
+ // Eula - The Eula agreement for the gallery Application Definition.
+ Eula *string `json:"eula,omitempty"`
+ // PrivacyStatementURI - The privacy statement uri.
+ PrivacyStatementURI *string `json:"privacyStatementUri,omitempty"`
+ // ReleaseNoteURI - The release note uri.
+ ReleaseNoteURI *string `json:"releaseNoteUri,omitempty"`
+ // EndOfLifeDate - The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
+ EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
+ // SupportedOSType - This property allows you to specify the supported type of the OS that application is built for.
Possible values are:
**Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ SupportedOSType OperatingSystemTypes `json:"supportedOSType,omitempty"`
}
-// GalleriesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type GalleriesCreateOrUpdateFuture struct {
+// GalleryApplicationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type GalleryApplicationsCreateOrUpdateFuture struct {
azure.Future
}
// Result returns the result of the asynchronous operation.
// If the operation has not completed it will return an error.
-func (future *GalleriesCreateOrUpdateFuture) Result(client GalleriesClient) (g Gallery, err error) {
+func (future *GalleryApplicationsCreateOrUpdateFuture) Result(client GalleryApplicationsClient) (ga GalleryApplication, err error) {
var done bool
done, err = future.DoneWithContext(context.Background(), client)
if err != nil {
- err = autorest.NewErrorWithError(err, "compute.GalleriesCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
return
}
if !done {
- err = azure.NewAsyncOpIncompleteError("compute.GalleriesCreateOrUpdateFuture")
+ err = azure.NewAsyncOpIncompleteError("compute.GalleryApplicationsCreateOrUpdateFuture")
return
}
sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if g.Response.Response, err = future.GetResult(sender); err == nil && g.Response.Response.StatusCode != http.StatusNoContent {
- g, err = client.CreateOrUpdateResponder(g.Response.Response)
+ if ga.Response.Response, err = future.GetResult(sender); err == nil && ga.Response.Response.StatusCode != http.StatusNoContent {
+ ga, err = client.CreateOrUpdateResponder(ga.Response.Response)
if err != nil {
- err = autorest.NewErrorWithError(err, "compute.GalleriesCreateOrUpdateFuture", "Result", g.Response.Response, "Failure responding to request")
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsCreateOrUpdateFuture", "Result", ga.Response.Response, "Failure responding to request")
}
}
return
}
-// GalleriesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type GalleriesDeleteFuture struct {
+// GalleryApplicationsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type GalleryApplicationsDeleteFuture struct {
azure.Future
}
// Result returns the result of the asynchronous operation.
// If the operation has not completed it will return an error.
-func (future *GalleriesDeleteFuture) Result(client GalleriesClient) (ar autorest.Response, err error) {
+func (future *GalleryApplicationsDeleteFuture) Result(client GalleryApplicationsClient) (ar autorest.Response, err error) {
var done bool
done, err = future.DoneWithContext(context.Background(), client)
if err != nil {
- err = autorest.NewErrorWithError(err, "compute.GalleriesDeleteFuture", "Result", future.Response(), "Polling failure")
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationsDeleteFuture", "Result", future.Response(), "Polling failure")
return
}
if !done {
- err = azure.NewAsyncOpIncompleteError("compute.GalleriesDeleteFuture")
+ err = azure.NewAsyncOpIncompleteError("compute.GalleryApplicationsDeleteFuture")
return
}
ar.Response = future.Response()
return
}
-// Gallery specifies information about the Shared Image Gallery that you want to create or update.
-type Gallery struct {
- autorest.Response `json:"-"`
- *GalleryProperties `json:"properties,omitempty"`
+// GalleryApplicationVersion specifies information about the gallery Application Version that you want to
+// create or update.
+type GalleryApplicationVersion struct {
+ autorest.Response `json:"-"`
+ *GalleryApplicationVersionProperties `json:"properties,omitempty"`
// ID - READ-ONLY; Resource Id
ID *string `json:"id,omitempty"`
// Name - READ-ONLY; Resource name
@@ -2807,23 +4039,23 @@ type Gallery struct {
Tags map[string]*string `json:"tags"`
}
-// MarshalJSON is the custom marshaler for Gallery.
-func (g Gallery) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for GalleryApplicationVersion.
+func (gav GalleryApplicationVersion) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if g.GalleryProperties != nil {
- objectMap["properties"] = g.GalleryProperties
+ if gav.GalleryApplicationVersionProperties != nil {
+ objectMap["properties"] = gav.GalleryApplicationVersionProperties
}
- if g.Location != nil {
- objectMap["location"] = g.Location
+ if gav.Location != nil {
+ objectMap["location"] = gav.Location
}
- if g.Tags != nil {
- objectMap["tags"] = g.Tags
+ if gav.Tags != nil {
+ objectMap["tags"] = gav.Tags
}
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for Gallery struct.
-func (g *Gallery) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for GalleryApplicationVersion struct.
+func (gav *GalleryApplicationVersion) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -2833,12 +4065,12 @@ func (g *Gallery) UnmarshalJSON(body []byte) error {
switch k {
case "properties":
if v != nil {
- var galleryProperties GalleryProperties
- err = json.Unmarshal(*v, &galleryProperties)
+ var galleryApplicationVersionProperties GalleryApplicationVersionProperties
+ err = json.Unmarshal(*v, &galleryApplicationVersionProperties)
if err != nil {
return err
}
- g.GalleryProperties = &galleryProperties
+ gav.GalleryApplicationVersionProperties = &galleryApplicationVersionProperties
}
case "id":
if v != nil {
@@ -2847,7 +4079,7 @@ func (g *Gallery) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- g.ID = &ID
+ gav.ID = &ID
}
case "name":
if v != nil {
@@ -2856,7 +4088,7 @@ func (g *Gallery) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- g.Name = &name
+ gav.Name = &name
}
case "type":
if v != nil {
@@ -2865,7 +4097,7 @@ func (g *Gallery) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- g.Type = &typeVar
+ gav.Type = &typeVar
}
case "location":
if v != nil {
@@ -2874,7 +4106,7 @@ func (g *Gallery) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- g.Location = &location
+ gav.Location = &location
}
case "tags":
if v != nil {
@@ -2883,7 +4115,7 @@ func (g *Gallery) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- g.Tags = tags
+ gav.Tags = tags
}
}
}
@@ -2891,11 +4123,249 @@ func (g *Gallery) UnmarshalJSON(body []byte) error {
return nil
}
+// GalleryApplicationVersionList the List Gallery Application version operation response.
+type GalleryApplicationVersionList struct {
+ autorest.Response `json:"-"`
+ // Value - A list of gallery Application Versions.
+ Value *[]GalleryApplicationVersion `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// GalleryApplicationVersionListIterator provides access to a complete listing of GalleryApplicationVersion
+// values.
+type GalleryApplicationVersionListIterator struct {
+ i int
+ page GalleryApplicationVersionListPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *GalleryApplicationVersionListIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationVersionListIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *GalleryApplicationVersionListIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter GalleryApplicationVersionListIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter GalleryApplicationVersionListIterator) Response() GalleryApplicationVersionList {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter GalleryApplicationVersionListIterator) Value() GalleryApplicationVersion {
+ if !iter.page.NotDone() {
+ return GalleryApplicationVersion{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the GalleryApplicationVersionListIterator type.
+func NewGalleryApplicationVersionListIterator(page GalleryApplicationVersionListPage) GalleryApplicationVersionListIterator {
+ return GalleryApplicationVersionListIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (gavl GalleryApplicationVersionList) IsEmpty() bool {
+ return gavl.Value == nil || len(*gavl.Value) == 0
+}
+
+// galleryApplicationVersionListPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (gavl GalleryApplicationVersionList) galleryApplicationVersionListPreparer(ctx context.Context) (*http.Request, error) {
+ if gavl.NextLink == nil || len(to.String(gavl.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(gavl.NextLink)))
+}
+
+// GalleryApplicationVersionListPage contains a page of GalleryApplicationVersion values.
+type GalleryApplicationVersionListPage struct {
+ fn func(context.Context, GalleryApplicationVersionList) (GalleryApplicationVersionList, error)
+ gavl GalleryApplicationVersionList
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *GalleryApplicationVersionListPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryApplicationVersionListPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.gavl)
+ if err != nil {
+ return err
+ }
+ page.gavl = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *GalleryApplicationVersionListPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page GalleryApplicationVersionListPage) NotDone() bool {
+ return !page.gavl.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page GalleryApplicationVersionListPage) Response() GalleryApplicationVersionList {
+ return page.gavl
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page GalleryApplicationVersionListPage) Values() []GalleryApplicationVersion {
+ if page.gavl.IsEmpty() {
+ return nil
+ }
+ return *page.gavl.Value
+}
+
+// Creates a new instance of the GalleryApplicationVersionListPage type.
+func NewGalleryApplicationVersionListPage(getNextPage func(context.Context, GalleryApplicationVersionList) (GalleryApplicationVersionList, error)) GalleryApplicationVersionListPage {
+ return GalleryApplicationVersionListPage{fn: getNextPage}
+}
+
+// GalleryApplicationVersionProperties describes the properties of a gallery Image Version.
+type GalleryApplicationVersionProperties struct {
+ PublishingProfile *GalleryApplicationVersionPublishingProfile `json:"publishingProfile,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState1Creating', 'ProvisioningState1Updating', 'ProvisioningState1Failed', 'ProvisioningState1Succeeded', 'ProvisioningState1Deleting', 'ProvisioningState1Migrating'
+ ProvisioningState ProvisioningState1 `json:"provisioningState,omitempty"`
+ // ReplicationStatus - READ-ONLY
+ ReplicationStatus *ReplicationStatus `json:"replicationStatus,omitempty"`
+}
+
+// GalleryApplicationVersionPublishingProfile the publishing profile of a gallery Image Version.
+type GalleryApplicationVersionPublishingProfile struct {
+ Source *UserArtifactSource `json:"source,omitempty"`
+ // ContentType - Optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc.
+ ContentType *string `json:"contentType,omitempty"`
+ // EnableHealthCheck - Optional. Whether or not this application reports health.
+ EnableHealthCheck *bool `json:"enableHealthCheck,omitempty"`
+ // TargetRegions - The target regions where the Image Version is going to be replicated to. This property is updatable.
+ TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"`
+ // ReplicaCount - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
+ ReplicaCount *int32 `json:"replicaCount,omitempty"`
+ // ExcludeFromLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
+ ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"`
+ // PublishedDate - READ-ONLY; The timestamp for when the gallery Image Version is published.
+ PublishedDate *date.Time `json:"publishedDate,omitempty"`
+ // EndOfLifeDate - The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.
+ EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
+ // StorageAccountType - Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'StorageAccountTypeStandardLRS', 'StorageAccountTypeStandardZRS'
+ StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
+}
+
+// GalleryApplicationVersionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
+type GalleryApplicationVersionsCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *GalleryApplicationVersionsCreateOrUpdateFuture) Result(client GalleryApplicationVersionsClient) (gav GalleryApplicationVersion, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.GalleryApplicationVersionsCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if gav.Response.Response, err = future.GetResult(sender); err == nil && gav.Response.Response.StatusCode != http.StatusNoContent {
+ gav, err = client.CreateOrUpdateResponder(gav.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsCreateOrUpdateFuture", "Result", gav.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// GalleryApplicationVersionsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type GalleryApplicationVersionsDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *GalleryApplicationVersionsDeleteFuture) Result(client GalleryApplicationVersionsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryApplicationVersionsDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.GalleryApplicationVersionsDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
// GalleryArtifactPublishingProfileBase describes the basic gallery artifact publishing profile.
type GalleryArtifactPublishingProfileBase struct {
// TargetRegions - The target regions where the Image Version is going to be replicated to. This property is updatable.
- TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"`
- Source *GalleryArtifactSource `json:"source,omitempty"`
+ TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"`
+ // ReplicaCount - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
+ ReplicaCount *int32 `json:"replicaCount,omitempty"`
+ // ExcludeFromLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
+ ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"`
+ // PublishedDate - READ-ONLY; The timestamp for when the gallery Image Version is published.
+ PublishedDate *date.Time `json:"publishedDate,omitempty"`
+ // EndOfLifeDate - The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.
+ EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
+ // StorageAccountType - Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'StorageAccountTypeStandardLRS', 'StorageAccountTypeStandardZRS'
+ StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
}
// GalleryArtifactSource the source image from which the Image Version is going to be created.
@@ -3203,8 +4673,8 @@ type GalleryImageProperties struct {
Recommended *RecommendedMachineConfiguration `json:"recommended,omitempty"`
Disallowed *Disallowed `json:"disallowed,omitempty"`
PurchasePlan *ImagePurchasePlan `json:"purchasePlan,omitempty"`
- // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState1Creating', 'ProvisioningState1Updating', 'ProvisioningState1Failed', 'ProvisioningState1Succeeded', 'ProvisioningState1Deleting', 'ProvisioningState1Migrating'
- ProvisioningState ProvisioningState1 `json:"provisioningState,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState2Creating', 'ProvisioningState2Updating', 'ProvisioningState2Failed', 'ProvisioningState2Succeeded', 'ProvisioningState2Deleting', 'ProvisioningState2Migrating'
+ ProvisioningState ProvisioningState2 `json:"provisioningState,omitempty"`
}
// GalleryImagesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
@@ -3509,8 +4979,8 @@ func NewGalleryImageVersionListPage(getNextPage func(context.Context, GalleryIma
// GalleryImageVersionProperties describes the properties of a gallery Image Version.
type GalleryImageVersionProperties struct {
PublishingProfile *GalleryImageVersionPublishingProfile `json:"publishingProfile,omitempty"`
- // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState2Creating', 'ProvisioningState2Updating', 'ProvisioningState2Failed', 'ProvisioningState2Succeeded', 'ProvisioningState2Deleting', 'ProvisioningState2Migrating'
- ProvisioningState ProvisioningState2 `json:"provisioningState,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState3Creating', 'ProvisioningState3Updating', 'ProvisioningState3Failed', 'ProvisioningState3Succeeded', 'ProvisioningState3Deleting', 'ProvisioningState3Migrating'
+ ProvisioningState ProvisioningState3 `json:"provisioningState,omitempty"`
// StorageProfile - READ-ONLY
StorageProfile *GalleryImageVersionStorageProfile `json:"storageProfile,omitempty"`
// ReplicationStatus - READ-ONLY
@@ -3519,6 +4989,9 @@ type GalleryImageVersionProperties struct {
// GalleryImageVersionPublishingProfile the publishing profile of a gallery Image Version.
type GalleryImageVersionPublishingProfile struct {
+ Source *GalleryArtifactSource `json:"source,omitempty"`
+ // TargetRegions - The target regions where the Image Version is going to be replicated to. This property is updatable.
+ TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"`
// ReplicaCount - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
ReplicaCount *int32 `json:"replicaCount,omitempty"`
// ExcludeFromLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
@@ -3529,9 +5002,6 @@ type GalleryImageVersionPublishingProfile struct {
EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
// StorageAccountType - Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'StorageAccountTypeStandardLRS', 'StorageAccountTypeStandardZRS'
StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
- // TargetRegions - The target regions where the Image Version is going to be replicated to. This property is updatable.
- TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"`
- Source *GalleryArtifactSource `json:"source,omitempty"`
}
// GalleryImageVersionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
@@ -6463,6 +7933,14 @@ type UsageName struct {
LocalizedValue *string `json:"localizedValue,omitempty"`
}
+// UserArtifactSource the source image from which the Image Version is going to be created.
+type UserArtifactSource struct {
+ // FileName - Required. The fileName of the artifact.
+ FileName *string `json:"fileName,omitempty"`
+ // MediaLink - Required. The mediaLink of the artifact, must be a readable storage blob.
+ MediaLink *string `json:"mediaLink,omitempty"`
+}
+
// VaultCertificate describes a single certificate reference in a Key Vault, and where the certificate
// should reside on the VM.
type VaultCertificate struct {
@@ -7458,6 +8936,8 @@ type VirtualMachineProperties struct {
AvailabilitySet *SubResource `json:"availabilitySet,omitempty"`
// ProximityPlacementGroup - Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.
ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"`
+ // Host - Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.
+ Host *SubResource `json:"host,omitempty"`
// ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
ProvisioningState *string `json:"provisioningState,omitempty"`
// InstanceView - READ-ONLY; The virtual machine instance view.
diff --git a/services/compute/mgmt/2019-03-01/compute/operations.go b/services/compute/mgmt/2019-03-01/compute/operations.go
index 63d91871b800..c19b7567d7dd 100644
--- a/services/compute/mgmt/2019-03-01/compute/operations.go
+++ b/services/compute/mgmt/2019-03-01/compute/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/proximityplacementgroups.go b/services/compute/mgmt/2019-03-01/compute/proximityplacementgroups.go
index d549979a389f..a85c1640cd43 100644
--- a/services/compute/mgmt/2019-03-01/compute/proximityplacementgroups.go
+++ b/services/compute/mgmt/2019-03-01/compute/proximityplacementgroups.go
@@ -103,8 +103,8 @@ func (client ProximityPlacementGroupsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -180,8 +180,8 @@ func (client ProximityPlacementGroupsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -256,8 +256,8 @@ func (client ProximityPlacementGroupsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -332,8 +332,8 @@ func (client ProximityPlacementGroupsClient) ListByResourceGroupPreparer(ctx con
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -442,8 +442,8 @@ func (client ProximityPlacementGroupsClient) ListBySubscriptionPreparer(ctx cont
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -559,8 +559,8 @@ func (client ProximityPlacementGroupsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ProximityPlacementGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/resourceskus.go b/services/compute/mgmt/2019-03-01/compute/resourceskus.go
index 91e3cd42ecb2..dade057a45fe 100644
--- a/services/compute/mgmt/2019-03-01/compute/resourceskus.go
+++ b/services/compute/mgmt/2019-03-01/compute/resourceskus.go
@@ -96,8 +96,8 @@ func (client ResourceSkusClient) ListPreparer(ctx context.Context) (*http.Reques
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/snapshots.go b/services/compute/mgmt/2019-03-01/compute/snapshots.go
index 214585b28c48..dc153b65164e 100644
--- a/services/compute/mgmt/2019-03-01/compute/snapshots.go
+++ b/services/compute/mgmt/2019-03-01/compute/snapshots.go
@@ -113,9 +113,9 @@ func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -191,9 +191,9 @@ func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -274,8 +274,8 @@ func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -355,9 +355,9 @@ func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceG
// GrantAccessSender sends the GrantAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -434,8 +434,8 @@ func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -547,8 +547,8 @@ func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -656,9 +656,9 @@ func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resource
// RevokeAccessSender sends the RevokeAccess request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -736,9 +736,9 @@ func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2019-03-01/compute/usage.go b/services/compute/mgmt/2019-03-01/compute/usage.go
index 03d5908663f4..36565c1a55c7 100644
--- a/services/compute/mgmt/2019-03-01/compute/usage.go
+++ b/services/compute/mgmt/2019-03-01/compute/usage.go
@@ -107,8 +107,8 @@ func (client UsageClient) ListPreparer(ctx context.Context, location string) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/virtualmachineextensionimages.go b/services/compute/mgmt/2019-03-01/compute/virtualmachineextensionimages.go
index 5c53eeb95d00..94adf706bf31 100644
--- a/services/compute/mgmt/2019-03-01/compute/virtualmachineextensionimages.go
+++ b/services/compute/mgmt/2019-03-01/compute/virtualmachineextensionimages.go
@@ -102,8 +102,8 @@ func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Contex
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -178,8 +178,8 @@ func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.
// ListTypesSender sends the ListTypes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListTypesResponder handles the response to the ListTypes request. The method always
@@ -265,8 +265,8 @@ func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx conte
// ListVersionsSender sends the ListVersions request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListVersionsResponder handles the response to the ListVersions request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/virtualmachineextensions.go b/services/compute/mgmt/2019-03-01/compute/virtualmachineextensions.go
index 327f6270334c..bb80694c6340 100644
--- a/services/compute/mgmt/2019-03-01/compute/virtualmachineextensions.go
+++ b/services/compute/mgmt/2019-03-01/compute/virtualmachineextensions.go
@@ -99,9 +99,9 @@ func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,9 +178,9 @@ func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -266,8 +266,8 @@ func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -347,8 +347,8 @@ func (client VirtualMachineExtensionsClient) ListPreparer(ctx context.Context, r
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -423,9 +423,9 @@ func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2019-03-01/compute/virtualmachineimages.go b/services/compute/mgmt/2019-03-01/compute/virtualmachineimages.go
index 3eb40a1fabf0..2843539d6a81 100644
--- a/services/compute/mgmt/2019-03-01/compute/virtualmachineimages.go
+++ b/services/compute/mgmt/2019-03-01/compute/virtualmachineimages.go
@@ -106,8 +106,8 @@ func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, locati
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -197,8 +197,8 @@ func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, locat
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -274,8 +274,8 @@ func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context,
// ListOffersSender sends the ListOffers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOffersResponder handles the response to the ListOffers request. The method always
@@ -349,8 +349,8 @@ func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Cont
// ListPublishersSender sends the ListPublishers request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPublishersResponder handles the response to the ListPublishers request. The method always
@@ -428,8 +428,8 @@ func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, l
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/virtualmachineruncommands.go b/services/compute/mgmt/2019-03-01/compute/virtualmachineruncommands.go
index 995414d5b9c5..e2b53b704796 100644
--- a/services/compute/mgmt/2019-03-01/compute/virtualmachineruncommands.go
+++ b/services/compute/mgmt/2019-03-01/compute/virtualmachineruncommands.go
@@ -107,8 +107,8 @@ func (client VirtualMachineRunCommandsClient) GetPreparer(ctx context.Context, l
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -189,8 +189,8 @@ func (client VirtualMachineRunCommandsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/virtualmachines.go b/services/compute/mgmt/2019-03-01/compute/virtualmachines.go
index eced919b1024..dedeebb8deb9 100644
--- a/services/compute/mgmt/2019-03-01/compute/virtualmachines.go
+++ b/services/compute/mgmt/2019-03-01/compute/virtualmachines.go
@@ -107,9 +107,9 @@ func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourc
// CaptureSender sends the Capture request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -185,9 +185,9 @@ func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Co
// ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -286,9 +286,9 @@ func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -364,9 +364,9 @@ func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, reso
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -440,9 +440,9 @@ func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -522,8 +522,8 @@ func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, reso
// GeneralizeSender sends the Generalize request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GeneralizeResponder handles the response to the Generalize request. The method always
@@ -602,8 +602,8 @@ func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -679,8 +679,8 @@ func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, re
// InstanceViewSender sends the InstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// InstanceViewResponder handles the response to the InstanceView request. The method always
@@ -756,8 +756,8 @@ func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGr
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -867,8 +867,8 @@ func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -981,8 +981,8 @@ func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Conte
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@@ -1063,8 +1063,8 @@ func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context,
// ListByLocationSender sends the ListByLocation request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ListByLocationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByLocationResponder handles the response to the ListByLocation request. The method always
@@ -1171,9 +1171,9 @@ func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachinesPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1256,9 +1256,9 @@ func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resour
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1332,9 +1332,9 @@ func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resour
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1414,9 +1414,9 @@ func (client VirtualMachinesClient) ReimagePreparer(ctx context.Context, resourc
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) ReimageSender(req *http.Request) (future VirtualMachinesReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1490,9 +1490,9 @@ func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1575,9 +1575,9 @@ func (client VirtualMachinesClient) RunCommandPreparer(ctx context.Context, reso
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (future VirtualMachinesRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1652,9 +1652,9 @@ func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceG
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1731,9 +1731,9 @@ func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resource
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachinesClient) UpdateSender(req *http.Request) (future VirtualMachinesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetextensions.go b/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetextensions.go
index ed59389b187d..041df6980553 100644
--- a/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetextensions.go
+++ b/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetextensions.go
@@ -100,9 +100,9 @@ func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -179,9 +179,9 @@ func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -267,8 +267,8 @@ func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Con
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -345,8 +345,8 @@ func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Co
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetrollingupgrades.go b/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetrollingupgrades.go
index 7f5538a13be3..6bdc9f2b3224 100644
--- a/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetrollingupgrades.go
+++ b/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetrollingupgrades.go
@@ -96,9 +96,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx con
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -178,8 +178,8 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx
// GetLatestSender sends the GetLatest request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetLatestResponder handles the response to the GetLatest request. The method always
@@ -251,9 +251,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeP
// StartExtensionUpgradeSender sends the StartExtensionUpgrade request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -328,9 +328,9 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer
// StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesets.go b/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesets.go
index 87814616795b..97916d2125d0 100644
--- a/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesets.go
+++ b/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesets.go
@@ -99,8 +99,8 @@ func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupPrepare
// ConvertToSinglePlacementGroupSender sends the ConvertToSinglePlacementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ConvertToSinglePlacementGroupResponder handles the response to the ConvertToSinglePlacementGroup request. The method always
@@ -195,9 +195,9 @@ func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.C
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -279,9 +279,9 @@ func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Conte
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -355,9 +355,9 @@ func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -440,9 +440,9 @@ func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.
// DeleteInstancesSender sends the DeleteInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -525,8 +525,8 @@ func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUp
// ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender sends the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder handles the response to the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method always
@@ -602,8 +602,8 @@ func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -679,8 +679,8 @@ func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -757,8 +757,8 @@ func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer(ctx cont
// GetOSUpgradeHistorySender sends the GetOSUpgradeHistory request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetOSUpgradeHistoryResponder handles the response to the GetOSUpgradeHistory request. The method always
@@ -870,8 +870,8 @@ func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -982,8 +982,8 @@ func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context)
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAllResponder handles the response to the ListAll request. The method always
@@ -1098,8 +1098,8 @@ func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context
// ListSkusSender sends the ListSkus request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSkusResponder handles the response to the ListSkus request. The method always
@@ -1214,9 +1214,9 @@ func (client VirtualMachineScaleSetsClient) PerformMaintenancePreparer(ctx conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1305,9 +1305,9 @@ func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1387,9 +1387,9 @@ func (client VirtualMachineScaleSetsClient) RedeployPreparer(ctx context.Context
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1470,9 +1470,9 @@ func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context,
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1553,9 +1553,9 @@ func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Conte
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1635,9 +1635,9 @@ func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context,
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1717,9 +1717,9 @@ func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, r
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1796,9 +1796,9 @@ func (client VirtualMachineScaleSetsClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1882,9 +1882,9 @@ func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.
// UpdateInstancesSender sends the UpdateInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetvms.go b/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetvms.go
index e96f0c9b6cda..bf227197eb48 100644
--- a/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetvms.go
+++ b/services/compute/mgmt/2019-03-01/compute/virtualmachinescalesetvms.go
@@ -99,9 +99,9 @@ func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Con
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -177,9 +177,9 @@ func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -261,8 +261,8 @@ func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, r
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -340,8 +340,8 @@ func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx contex
// GetInstanceViewSender sends the GetInstanceView request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
@@ -430,8 +430,8 @@ func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -540,9 +540,9 @@ func (client VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer(ctx con
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -627,9 +627,9 @@ func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Conte
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -705,9 +705,9 @@ func (client VirtualMachineScaleSetVMsClient) RedeployPreparer(ctx context.Conte
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetVMsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -789,9 +789,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Contex
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -868,9 +868,9 @@ func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Con
// ReimageAllSender sends the ReimageAll request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -946,9 +946,9 @@ func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Contex
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1033,9 +1033,9 @@ func (client VirtualMachineScaleSetVMsClient) RunCommandPreparer(ctx context.Con
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) RunCommandSender(req *http.Request) (future VirtualMachineScaleSetVMsRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1112,9 +1112,9 @@ func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context,
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1218,9 +1218,9 @@ func (client VirtualMachineScaleSetVMsClient) UpdatePreparer(ctx context.Context
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/compute/mgmt/2019-03-01/compute/virtualmachinesizes.go b/services/compute/mgmt/2019-03-01/compute/virtualmachinesizes.go
index ae030fa7bc72..04bcbb0490d4 100644
--- a/services/compute/mgmt/2019-03-01/compute/virtualmachinesizes.go
+++ b/services/compute/mgmt/2019-03-01/compute/virtualmachinesizes.go
@@ -106,8 +106,8 @@ func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/compute/mgmt/2019-07-01/compute/availabilitysets.go b/services/compute/mgmt/2019-07-01/compute/availabilitysets.go
new file mode 100644
index 000000000000..8a6bbaa4a195
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/availabilitysets.go
@@ -0,0 +1,655 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// AvailabilitySetsClient is the compute Client
+type AvailabilitySetsClient struct {
+ BaseClient
+}
+
+// NewAvailabilitySetsClient creates an instance of the AvailabilitySetsClient client.
+func NewAvailabilitySetsClient(subscriptionID string) AvailabilitySetsClient {
+ return NewAvailabilitySetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewAvailabilitySetsClientWithBaseURI creates an instance of the AvailabilitySetsClient client.
+func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsClient {
+ return AvailabilitySetsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update an availability set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// availabilitySetName - the name of the availability set.
+// parameters - parameters supplied to the Create Availability Set operation.
+func (client AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (result AvailabilitySet, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, availabilitySetName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.CreateOrUpdateSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "CreateOrUpdate", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "CreateOrUpdate", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "availabilitySetName": autorest.Encode("path", availabilitySetName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client AvailabilitySetsClient) CreateOrUpdateResponder(resp *http.Response) (result AvailabilitySet, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete an availability set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// availabilitySetName - the name of the availability set.
+func (client AvailabilitySetsClient) Delete(ctx context.Context, resourceGroupName string, availabilitySetName string) (result autorest.Response, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response != nil {
+ sc = result.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, availabilitySetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.DeleteSender(req)
+ if err != nil {
+ result.Response = resp
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Delete", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.DeleteResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Delete", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "availabilitySetName": autorest.Encode("path", availabilitySetName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client AvailabilitySetsClient) 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
+ return
+}
+
+// Get retrieves information about an availability set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// availabilitySetName - the name of the availability set.
+func (client AvailabilitySetsClient) Get(ctx context.Context, resourceGroupName string, availabilitySetName string) (result AvailabilitySet, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, availabilitySetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "availabilitySetName": autorest.Encode("path", availabilitySetName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client AvailabilitySetsClient) GetResponder(resp *http.Response) (result AvailabilitySet, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List lists all availability sets in a resource group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client AvailabilitySetsClient) List(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetsClient.List")
+ defer func() {
+ sc := -1
+ if result.aslr.Response.Response != nil {
+ sc = result.aslr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.aslr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.aslr, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client AvailabilitySetsClient) ListResponder(resp *http.Response) (result AvailabilitySetListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client AvailabilitySetsClient) listNextResults(ctx context.Context, lastResults AvailabilitySetListResult) (result AvailabilitySetListResult, err error) {
+ req, err := lastResults.availabilitySetListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client AvailabilitySetsClient) ListComplete(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetsClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx, resourceGroupName)
+ return
+}
+
+// ListAvailableSizes lists all available virtual machine sizes that can be used to create a new virtual machine in an
+// existing availability set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// availabilitySetName - the name of the availability set.
+func (client AvailabilitySetsClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, availabilitySetName string) (result VirtualMachineSizeListResult, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetsClient.ListAvailableSizes")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListAvailableSizesPreparer(ctx, resourceGroupName, availabilitySetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "ListAvailableSizes", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListAvailableSizesSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "ListAvailableSizes", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListAvailableSizesResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "ListAvailableSizes", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListAvailableSizesPreparer prepares the ListAvailableSizes request.
+func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "availabilitySetName": autorest.Encode("path", availabilitySetName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
+// http.Response Body if it receives an error.
+func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
+// closes the http.Response Body.
+func (client AvailabilitySetsClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListBySubscription lists all availability sets in a subscription.
+func (client AvailabilitySetsClient) ListBySubscription(ctx context.Context) (result AvailabilitySetListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetsClient.ListBySubscription")
+ defer func() {
+ sc := -1
+ if result.aslr.Response.Response != nil {
+ sc = result.aslr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listBySubscriptionNextResults
+ req, err := client.ListBySubscriptionPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "ListBySubscription", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListBySubscriptionSender(req)
+ if err != nil {
+ result.aslr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "ListBySubscription", resp, "Failure sending request")
+ return
+ }
+
+ result.aslr, err = client.ListBySubscriptionResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "ListBySubscription", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListBySubscriptionPreparer prepares the ListBySubscription request.
+func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
+// http.Response Body if it receives an error.
+func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
+// closes the http.Response Body.
+func (client AvailabilitySetsClient) ListBySubscriptionResponder(resp *http.Response) (result AvailabilitySetListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listBySubscriptionNextResults retrieves the next set of results, if any.
+func (client AvailabilitySetsClient) listBySubscriptionNextResults(ctx context.Context, lastResults AvailabilitySetListResult) (result AvailabilitySetListResult, err error) {
+ req, err := lastResults.availabilitySetListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "listBySubscriptionNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListBySubscriptionSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "listBySubscriptionNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListBySubscriptionResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "listBySubscriptionNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
+func (client AvailabilitySetsClient) ListBySubscriptionComplete(ctx context.Context) (result AvailabilitySetListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetsClient.ListBySubscription")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListBySubscription(ctx)
+ return
+}
+
+// Update update an availability set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// availabilitySetName - the name of the availability set.
+// parameters - parameters supplied to the Update Availability Set operation.
+func (client AvailabilitySetsClient) Update(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySetUpdate) (result AvailabilitySet, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetsClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, availabilitySetName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.UpdateSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Update", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.UpdateResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Update", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client AvailabilitySetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySetUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "availabilitySetName": autorest.Encode("path", availabilitySetName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client AvailabilitySetsClient) UpdateSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client AvailabilitySetsClient) UpdateResponder(resp *http.Response) (result AvailabilitySet, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/client.go b/services/compute/mgmt/2019-07-01/compute/client.go
new file mode 100644
index 000000000000..b23c9ca74268
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/client.go
@@ -0,0 +1,51 @@
+// Package compute implements the Azure ARM Compute service API version .
+//
+// Compute Client
+package compute
+
+// 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.
+
+import (
+ "github.com/Azure/go-autorest/autorest"
+)
+
+const (
+ // DefaultBaseURI is the default URI used for the service Compute
+ DefaultBaseURI = "https://management.azure.com"
+)
+
+// BaseClient is the base client for Compute.
+type BaseClient struct {
+ autorest.Client
+ BaseURI string
+ SubscriptionID string
+}
+
+// New creates an instance of the BaseClient client.
+func New(subscriptionID string) BaseClient {
+ return NewWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewWithBaseURI creates an instance of the BaseClient client.
+func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
+ return BaseClient{
+ Client: autorest.NewClientWithUserAgent(UserAgent()),
+ BaseURI: baseURI,
+ SubscriptionID: subscriptionID,
+ }
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/computeapi/interfaces.go b/services/compute/mgmt/2019-07-01/compute/computeapi/interfaces.go
new file mode 100644
index 000000000000..64b28db0171d
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/computeapi/interfaces.go
@@ -0,0 +1,322 @@
+package computeapi
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
+ "github.com/Azure/go-autorest/autorest"
+)
+
+// OperationsClientAPI contains the set of methods on the OperationsClient type.
+type OperationsClientAPI interface {
+ List(ctx context.Context) (result compute.OperationListResult, err error)
+}
+
+var _ OperationsClientAPI = (*compute.OperationsClient)(nil)
+
+// AvailabilitySetsClientAPI contains the set of methods on the AvailabilitySetsClient type.
+type AvailabilitySetsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters compute.AvailabilitySet) (result compute.AvailabilitySet, err error)
+ Delete(ctx context.Context, resourceGroupName string, availabilitySetName string) (result autorest.Response, err error)
+ Get(ctx context.Context, resourceGroupName string, availabilitySetName string) (result compute.AvailabilitySet, err error)
+ List(ctx context.Context, resourceGroupName string) (result compute.AvailabilitySetListResultPage, err error)
+ ListAvailableSizes(ctx context.Context, resourceGroupName string, availabilitySetName string) (result compute.VirtualMachineSizeListResult, err error)
+ ListBySubscription(ctx context.Context) (result compute.AvailabilitySetListResultPage, err error)
+ Update(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters compute.AvailabilitySetUpdate) (result compute.AvailabilitySet, err error)
+}
+
+var _ AvailabilitySetsClientAPI = (*compute.AvailabilitySetsClient)(nil)
+
+// ProximityPlacementGroupsClientAPI contains the set of methods on the ProximityPlacementGroupsClient type.
+type ProximityPlacementGroupsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters compute.ProximityPlacementGroup) (result compute.ProximityPlacementGroup, err error)
+ Delete(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (result autorest.Response, err error)
+ Get(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (result compute.ProximityPlacementGroup, err error)
+ ListByResourceGroup(ctx context.Context, resourceGroupName string) (result compute.ProximityPlacementGroupListResultPage, err error)
+ ListBySubscription(ctx context.Context) (result compute.ProximityPlacementGroupListResultPage, err error)
+ Update(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters compute.ProximityPlacementGroupUpdate) (result compute.ProximityPlacementGroup, err error)
+}
+
+var _ ProximityPlacementGroupsClientAPI = (*compute.ProximityPlacementGroupsClient)(nil)
+
+// DedicatedHostGroupsClientAPI contains the set of methods on the DedicatedHostGroupsClient type.
+type DedicatedHostGroupsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, parameters compute.DedicatedHostGroup) (result compute.DedicatedHostGroup, err error)
+ Delete(ctx context.Context, resourceGroupName string, hostGroupName string) (result autorest.Response, err error)
+ Get(ctx context.Context, resourceGroupName string, hostGroupName string) (result compute.DedicatedHostGroup, err error)
+ ListByResourceGroup(ctx context.Context, resourceGroupName string) (result compute.DedicatedHostGroupListResultPage, err error)
+ ListBySubscription(ctx context.Context) (result compute.DedicatedHostGroupListResultPage, err error)
+ Update(ctx context.Context, resourceGroupName string, hostGroupName string, parameters compute.DedicatedHostGroupUpdate) (result compute.DedicatedHostGroup, err error)
+}
+
+var _ DedicatedHostGroupsClientAPI = (*compute.DedicatedHostGroupsClient)(nil)
+
+// DedicatedHostsClientAPI contains the set of methods on the DedicatedHostsClient type.
+type DedicatedHostsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters compute.DedicatedHost) (result compute.DedicatedHostsCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (result compute.DedicatedHostsDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand compute.InstanceViewTypes) (result compute.DedicatedHost, err error)
+ ListByHostGroup(ctx context.Context, resourceGroupName string, hostGroupName string) (result compute.DedicatedHostListResultPage, err error)
+ Update(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters compute.DedicatedHostUpdate) (result compute.DedicatedHostsUpdateFuture, err error)
+}
+
+var _ DedicatedHostsClientAPI = (*compute.DedicatedHostsClient)(nil)
+
+// VirtualMachineExtensionImagesClientAPI contains the set of methods on the VirtualMachineExtensionImagesClient type.
+type VirtualMachineExtensionImagesClientAPI interface {
+ Get(ctx context.Context, location string, publisherName string, typeParameter string, version string) (result compute.VirtualMachineExtensionImage, err error)
+ ListTypes(ctx context.Context, location string, publisherName string) (result compute.ListVirtualMachineExtensionImage, err error)
+ ListVersions(ctx context.Context, location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (result compute.ListVirtualMachineExtensionImage, err error)
+}
+
+var _ VirtualMachineExtensionImagesClientAPI = (*compute.VirtualMachineExtensionImagesClient)(nil)
+
+// VirtualMachineExtensionsClientAPI contains the set of methods on the VirtualMachineExtensionsClient type.
+type VirtualMachineExtensionsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters compute.VirtualMachineExtension) (result compute.VirtualMachineExtensionsCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (result compute.VirtualMachineExtensionsDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (result compute.VirtualMachineExtension, err error)
+ List(ctx context.Context, resourceGroupName string, VMName string, expand string) (result compute.VirtualMachineExtensionsListResult, err error)
+ Update(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters compute.VirtualMachineExtensionUpdate) (result compute.VirtualMachineExtensionsUpdateFuture, err error)
+}
+
+var _ VirtualMachineExtensionsClientAPI = (*compute.VirtualMachineExtensionsClient)(nil)
+
+// VirtualMachineImagesClientAPI contains the set of methods on the VirtualMachineImagesClient type.
+type VirtualMachineImagesClientAPI interface {
+ Get(ctx context.Context, location string, publisherName string, offer string, skus string, version string) (result compute.VirtualMachineImage, err error)
+ List(ctx context.Context, location string, publisherName string, offer string, skus string, filter string, top *int32, orderby string) (result compute.ListVirtualMachineImageResource, err error)
+ ListOffers(ctx context.Context, location string, publisherName string) (result compute.ListVirtualMachineImageResource, err error)
+ ListPublishers(ctx context.Context, location string) (result compute.ListVirtualMachineImageResource, err error)
+ ListSkus(ctx context.Context, location string, publisherName string, offer string) (result compute.ListVirtualMachineImageResource, err error)
+}
+
+var _ VirtualMachineImagesClientAPI = (*compute.VirtualMachineImagesClient)(nil)
+
+// UsageClientAPI contains the set of methods on the UsageClient type.
+type UsageClientAPI interface {
+ List(ctx context.Context, location string) (result compute.ListUsagesResultPage, err error)
+}
+
+var _ UsageClientAPI = (*compute.UsageClient)(nil)
+
+// VirtualMachinesClientAPI contains the set of methods on the VirtualMachinesClient type.
+type VirtualMachinesClientAPI interface {
+ Capture(ctx context.Context, resourceGroupName string, VMName string, parameters compute.VirtualMachineCaptureParameters) (result compute.VirtualMachinesCaptureFuture, err error)
+ ConvertToManagedDisks(ctx context.Context, resourceGroupName string, VMName string) (result compute.VirtualMachinesConvertToManagedDisksFuture, err error)
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, parameters compute.VirtualMachine) (result compute.VirtualMachinesCreateOrUpdateFuture, err error)
+ Deallocate(ctx context.Context, resourceGroupName string, VMName string) (result compute.VirtualMachinesDeallocateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, VMName string) (result compute.VirtualMachinesDeleteFuture, err error)
+ Generalize(ctx context.Context, resourceGroupName string, VMName string) (result autorest.Response, err error)
+ Get(ctx context.Context, resourceGroupName string, VMName string, expand compute.InstanceViewTypes) (result compute.VirtualMachine, err error)
+ InstanceView(ctx context.Context, resourceGroupName string, VMName string) (result compute.VirtualMachineInstanceView, err error)
+ List(ctx context.Context, resourceGroupName string) (result compute.VirtualMachineListResultPage, err error)
+ ListAll(ctx context.Context) (result compute.VirtualMachineListResultPage, err error)
+ ListAvailableSizes(ctx context.Context, resourceGroupName string, VMName string) (result compute.VirtualMachineSizeListResult, err error)
+ ListByLocation(ctx context.Context, location string) (result compute.VirtualMachineListResultPage, err error)
+ PerformMaintenance(ctx context.Context, resourceGroupName string, VMName string) (result compute.VirtualMachinesPerformMaintenanceFuture, err error)
+ PowerOff(ctx context.Context, resourceGroupName string, VMName string, skipShutdown *bool) (result compute.VirtualMachinesPowerOffFuture, err error)
+ Redeploy(ctx context.Context, resourceGroupName string, VMName string) (result compute.VirtualMachinesRedeployFuture, err error)
+ Reimage(ctx context.Context, resourceGroupName string, VMName string, parameters *compute.VirtualMachineReimageParameters) (result compute.VirtualMachinesReimageFuture, err error)
+ Restart(ctx context.Context, resourceGroupName string, VMName string) (result compute.VirtualMachinesRestartFuture, err error)
+ RunCommand(ctx context.Context, resourceGroupName string, VMName string, parameters compute.RunCommandInput) (result compute.VirtualMachinesRunCommandFuture, err error)
+ Start(ctx context.Context, resourceGroupName string, VMName string) (result compute.VirtualMachinesStartFuture, err error)
+ Update(ctx context.Context, resourceGroupName string, VMName string, parameters compute.VirtualMachineUpdate) (result compute.VirtualMachinesUpdateFuture, err error)
+}
+
+var _ VirtualMachinesClientAPI = (*compute.VirtualMachinesClient)(nil)
+
+// VirtualMachineSizesClientAPI contains the set of methods on the VirtualMachineSizesClient type.
+type VirtualMachineSizesClientAPI interface {
+ List(ctx context.Context, location string) (result compute.VirtualMachineSizeListResult, err error)
+}
+
+var _ VirtualMachineSizesClientAPI = (*compute.VirtualMachineSizesClient)(nil)
+
+// ImagesClientAPI contains the set of methods on the ImagesClient type.
+type ImagesClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, imageName string, parameters compute.Image) (result compute.ImagesCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, imageName string) (result compute.ImagesDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, imageName string, expand string) (result compute.Image, err error)
+ List(ctx context.Context) (result compute.ImageListResultPage, err error)
+ ListByResourceGroup(ctx context.Context, resourceGroupName string) (result compute.ImageListResultPage, err error)
+ Update(ctx context.Context, resourceGroupName string, imageName string, parameters compute.ImageUpdate) (result compute.ImagesUpdateFuture, err error)
+}
+
+var _ ImagesClientAPI = (*compute.ImagesClient)(nil)
+
+// VirtualMachineScaleSetsClientAPI contains the set of methods on the VirtualMachineScaleSetsClient type.
+type VirtualMachineScaleSetsClientAPI interface {
+ ConvertToSinglePlacementGroup(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters compute.VMScaleSetConvertToSinglePlacementGroupInput) (result autorest.Response, err error)
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters compute.VirtualMachineScaleSet) (result compute.VirtualMachineScaleSetsCreateOrUpdateFuture, err error)
+ Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *compute.VirtualMachineScaleSetVMInstanceIDs) (result compute.VirtualMachineScaleSetsDeallocateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSetsDeleteFuture, err error)
+ DeleteInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs compute.VirtualMachineScaleSetVMInstanceRequiredIDs) (result compute.VirtualMachineScaleSetsDeleteInstancesFuture, err error)
+ ForceRecoveryServiceFabricPlatformUpdateDomainWalk(ctx context.Context, resourceGroupName string, VMScaleSetName string, platformUpdateDomain int32) (result compute.RecoveryWalkResponse, err error)
+ Get(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSet, err error)
+ GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSetInstanceView, err error)
+ GetOSUpgradeHistory(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSetListOSUpgradeHistoryPage, err error)
+ List(ctx context.Context, resourceGroupName string) (result compute.VirtualMachineScaleSetListResultPage, err error)
+ ListAll(ctx context.Context) (result compute.VirtualMachineScaleSetListWithLinkResultPage, err error)
+ ListSkus(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSetListSkusResultPage, err error)
+ PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *compute.VirtualMachineScaleSetVMInstanceIDs) (result compute.VirtualMachineScaleSetsPerformMaintenanceFuture, err error)
+ PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *compute.VirtualMachineScaleSetVMInstanceIDs, skipShutdown *bool) (result compute.VirtualMachineScaleSetsPowerOffFuture, err error)
+ Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *compute.VirtualMachineScaleSetVMInstanceIDs) (result compute.VirtualMachineScaleSetsRedeployFuture, err error)
+ Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMScaleSetReimageInput *compute.VirtualMachineScaleSetReimageParameters) (result compute.VirtualMachineScaleSetsReimageFuture, err error)
+ ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *compute.VirtualMachineScaleSetVMInstanceIDs) (result compute.VirtualMachineScaleSetsReimageAllFuture, err error)
+ Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *compute.VirtualMachineScaleSetVMInstanceIDs) (result compute.VirtualMachineScaleSetsRestartFuture, err error)
+ Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *compute.VirtualMachineScaleSetVMInstanceIDs) (result compute.VirtualMachineScaleSetsStartFuture, err error)
+ Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters compute.VirtualMachineScaleSetUpdate) (result compute.VirtualMachineScaleSetsUpdateFuture, err error)
+ UpdateInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs compute.VirtualMachineScaleSetVMInstanceRequiredIDs) (result compute.VirtualMachineScaleSetsUpdateInstancesFuture, err error)
+}
+
+var _ VirtualMachineScaleSetsClientAPI = (*compute.VirtualMachineScaleSetsClient)(nil)
+
+// VirtualMachineScaleSetExtensionsClientAPI contains the set of methods on the VirtualMachineScaleSetExtensionsClient type.
+type VirtualMachineScaleSetExtensionsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters compute.VirtualMachineScaleSetExtension) (result compute.VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string) (result compute.VirtualMachineScaleSetExtensionsDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (result compute.VirtualMachineScaleSetExtension, err error)
+ List(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSetExtensionListResultPage, err error)
+}
+
+var _ VirtualMachineScaleSetExtensionsClientAPI = (*compute.VirtualMachineScaleSetExtensionsClient)(nil)
+
+// VirtualMachineScaleSetRollingUpgradesClientAPI contains the set of methods on the VirtualMachineScaleSetRollingUpgradesClient type.
+type VirtualMachineScaleSetRollingUpgradesClientAPI interface {
+ Cancel(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSetRollingUpgradesCancelFuture, err error)
+ GetLatest(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.RollingUpgradeStatusInfo, err error)
+ StartExtensionUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error)
+ StartOSUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error)
+}
+
+var _ VirtualMachineScaleSetRollingUpgradesClientAPI = (*compute.VirtualMachineScaleSetRollingUpgradesClient)(nil)
+
+// VirtualMachineScaleSetVMsClientAPI contains the set of methods on the VirtualMachineScaleSetVMsClient type.
+type VirtualMachineScaleSetVMsClientAPI interface {
+ Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result compute.VirtualMachineScaleSetVMsDeallocateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result compute.VirtualMachineScaleSetVMsDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result compute.VirtualMachineScaleSetVM, err error)
+ GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result compute.VirtualMachineScaleSetVMInstanceView, err error)
+ List(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result compute.VirtualMachineScaleSetVMListResultPage, err error)
+ PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result compute.VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error)
+ PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, skipShutdown *bool) (result compute.VirtualMachineScaleSetVMsPowerOffFuture, err error)
+ Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result compute.VirtualMachineScaleSetVMsRedeployFuture, err error)
+ Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMScaleSetVMReimageInput *compute.VirtualMachineScaleSetVMReimageParameters) (result compute.VirtualMachineScaleSetVMsReimageFuture, err error)
+ ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result compute.VirtualMachineScaleSetVMsReimageAllFuture, err error)
+ Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result compute.VirtualMachineScaleSetVMsRestartFuture, err error)
+ RunCommand(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters compute.RunCommandInput) (result compute.VirtualMachineScaleSetVMsRunCommandFuture, err error)
+ Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result compute.VirtualMachineScaleSetVMsStartFuture, err error)
+ Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters compute.VirtualMachineScaleSetVM) (result compute.VirtualMachineScaleSetVMsUpdateFuture, err error)
+}
+
+var _ VirtualMachineScaleSetVMsClientAPI = (*compute.VirtualMachineScaleSetVMsClient)(nil)
+
+// LogAnalyticsClientAPI contains the set of methods on the LogAnalyticsClient type.
+type LogAnalyticsClientAPI interface {
+ ExportRequestRateByInterval(ctx context.Context, parameters compute.RequestRateByIntervalInput, location string) (result compute.LogAnalyticsExportRequestRateByIntervalFuture, err error)
+ ExportThrottledRequests(ctx context.Context, parameters compute.ThrottledRequestsInput, location string) (result compute.LogAnalyticsExportThrottledRequestsFuture, err error)
+}
+
+var _ LogAnalyticsClientAPI = (*compute.LogAnalyticsClient)(nil)
+
+// VirtualMachineRunCommandsClientAPI contains the set of methods on the VirtualMachineRunCommandsClient type.
+type VirtualMachineRunCommandsClientAPI interface {
+ Get(ctx context.Context, location string, commandID string) (result compute.RunCommandDocument, err error)
+ List(ctx context.Context, location string) (result compute.RunCommandListResultPage, err error)
+}
+
+var _ VirtualMachineRunCommandsClientAPI = (*compute.VirtualMachineRunCommandsClient)(nil)
+
+// ResourceSkusClientAPI contains the set of methods on the ResourceSkusClient type.
+type ResourceSkusClientAPI interface {
+ List(ctx context.Context) (result compute.ResourceSkusResultPage, err error)
+}
+
+var _ ResourceSkusClientAPI = (*compute.ResourceSkusClient)(nil)
+
+// DisksClientAPI contains the set of methods on the DisksClient type.
+type DisksClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, diskName string, disk compute.Disk) (result compute.DisksCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, diskName string) (result compute.DisksDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, diskName string) (result compute.Disk, err error)
+ GrantAccess(ctx context.Context, resourceGroupName string, diskName string, grantAccessData compute.GrantAccessData) (result compute.DisksGrantAccessFuture, err error)
+ List(ctx context.Context) (result compute.DiskListPage, err error)
+ ListByResourceGroup(ctx context.Context, resourceGroupName string) (result compute.DiskListPage, err error)
+ RevokeAccess(ctx context.Context, resourceGroupName string, diskName string) (result compute.DisksRevokeAccessFuture, err error)
+ Update(ctx context.Context, resourceGroupName string, diskName string, disk compute.DiskUpdate) (result compute.DisksUpdateFuture, err error)
+}
+
+var _ DisksClientAPI = (*compute.DisksClient)(nil)
+
+// SnapshotsClientAPI contains the set of methods on the SnapshotsClient type.
+type SnapshotsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, snapshotName string, snapshot compute.Snapshot) (result compute.SnapshotsCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, snapshotName string) (result compute.SnapshotsDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, snapshotName string) (result compute.Snapshot, err error)
+ GrantAccess(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData compute.GrantAccessData) (result compute.SnapshotsGrantAccessFuture, err error)
+ List(ctx context.Context) (result compute.SnapshotListPage, err error)
+ ListByResourceGroup(ctx context.Context, resourceGroupName string) (result compute.SnapshotListPage, err error)
+ RevokeAccess(ctx context.Context, resourceGroupName string, snapshotName string) (result compute.SnapshotsRevokeAccessFuture, err error)
+ Update(ctx context.Context, resourceGroupName string, snapshotName string, snapshot compute.SnapshotUpdate) (result compute.SnapshotsUpdateFuture, err error)
+}
+
+var _ SnapshotsClientAPI = (*compute.SnapshotsClient)(nil)
+
+// GalleriesClientAPI contains the set of methods on the GalleriesClient type.
+type GalleriesClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, gallery compute.Gallery) (result compute.GalleriesCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, galleryName string) (result compute.GalleriesDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, galleryName string) (result compute.Gallery, err error)
+ List(ctx context.Context) (result compute.GalleryListPage, err error)
+ ListByResourceGroup(ctx context.Context, resourceGroupName string) (result compute.GalleryListPage, err error)
+}
+
+var _ GalleriesClientAPI = (*compute.GalleriesClient)(nil)
+
+// GalleryImagesClientAPI contains the set of methods on the GalleryImagesClient type.
+type GalleryImagesClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage compute.GalleryImage) (result compute.GalleryImagesCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result compute.GalleryImagesDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result compute.GalleryImage, err error)
+ ListByGallery(ctx context.Context, resourceGroupName string, galleryName string) (result compute.GalleryImageListPage, err error)
+}
+
+var _ GalleryImagesClientAPI = (*compute.GalleryImagesClient)(nil)
+
+// GalleryImageVersionsClientAPI contains the set of methods on the GalleryImageVersionsClient type.
+type GalleryImageVersionsClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion compute.GalleryImageVersion) (result compute.GalleryImageVersionsCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string) (result compute.GalleryImageVersionsDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, expand compute.ReplicationStatusTypes) (result compute.GalleryImageVersion, err error)
+ ListByGalleryImage(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result compute.GalleryImageVersionListPage, err error)
+}
+
+var _ GalleryImageVersionsClientAPI = (*compute.GalleryImageVersionsClient)(nil)
+
+// ContainerServicesClientAPI contains the set of methods on the ContainerServicesClient type.
+type ContainerServicesClientAPI interface {
+ CreateOrUpdate(ctx context.Context, resourceGroupName string, containerServiceName string, parameters compute.ContainerService) (result compute.ContainerServicesCreateOrUpdateFuture, err error)
+ Delete(ctx context.Context, resourceGroupName string, containerServiceName string) (result compute.ContainerServicesDeleteFuture, err error)
+ Get(ctx context.Context, resourceGroupName string, containerServiceName string) (result compute.ContainerService, err error)
+ List(ctx context.Context) (result compute.ContainerServiceListResultPage, err error)
+ ListByResourceGroup(ctx context.Context, resourceGroupName string) (result compute.ContainerServiceListResultPage, err error)
+}
+
+var _ ContainerServicesClientAPI = (*compute.ContainerServicesClient)(nil)
diff --git a/services/compute/mgmt/2019-07-01/compute/containerservices.go b/services/compute/mgmt/2019-07-01/compute/containerservices.go
new file mode 100644
index 000000000000..d3192f0de414
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/containerservices.go
@@ -0,0 +1,538 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// ContainerServicesClient is the compute Client
+type ContainerServicesClient struct {
+ BaseClient
+}
+
+// NewContainerServicesClient creates an instance of the ContainerServicesClient client.
+func NewContainerServicesClient(subscriptionID string) ContainerServicesClient {
+ return NewContainerServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewContainerServicesClientWithBaseURI creates an instance of the ContainerServicesClient client.
+func NewContainerServicesClientWithBaseURI(baseURI string, subscriptionID string) ContainerServicesClient {
+ return ContainerServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate creates or updates a container service with the specified configuration of orchestrator, masters, and
+// agents.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// containerServiceName - the name of the container service in the specified subscription and resource group.
+// parameters - parameters supplied to the Create or Update a Container Service operation.
+func (client ContainerServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, containerServiceName string, parameters ContainerService) (result ContainerServicesCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ContainerServicesClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.ContainerServiceProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.CustomProfile", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.CustomProfile.Orchestrator", Name: validation.Null, Rule: true, Chain: nil}}},
+ {Target: "parameters.ContainerServiceProperties.ServicePrincipalProfile", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.ServicePrincipalProfile.ClientID", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "parameters.ContainerServiceProperties.ServicePrincipalProfile.Secret", Name: validation.Null, Rule: true, Chain: nil},
+ }},
+ {Target: "parameters.ContainerServiceProperties.MasterProfile", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.MasterProfile.DNSPrefix", Name: validation.Null, Rule: true, Chain: nil}}},
+ {Target: "parameters.ContainerServiceProperties.AgentPoolProfiles", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "parameters.ContainerServiceProperties.WindowsProfile", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.WindowsProfile.AdminUsername", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.WindowsProfile.AdminUsername", Name: validation.Pattern, Rule: `^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$`, Chain: nil}}},
+ {Target: "parameters.ContainerServiceProperties.WindowsProfile.AdminPassword", Name: validation.Null, Rule: true, Chain: nil},
+ }},
+ {Target: "parameters.ContainerServiceProperties.LinuxProfile", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.LinuxProfile.AdminUsername", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.LinuxProfile.AdminUsername", Name: validation.Pattern, Rule: `^[a-z][a-z0-9_-]*$`, Chain: nil}}},
+ {Target: "parameters.ContainerServiceProperties.LinuxProfile.SSH", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.LinuxProfile.SSH.PublicKeys", Name: validation.Null, Rule: true, Chain: nil}}},
+ }},
+ {Target: "parameters.ContainerServiceProperties.DiagnosticsProfile", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.DiagnosticsProfile.VMDiagnostics", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "parameters.ContainerServiceProperties.DiagnosticsProfile.VMDiagnostics.Enabled", Name: validation.Null, Rule: true, Chain: nil}}},
+ }},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.ContainerServicesClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, containerServiceName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, containerServiceName string, parameters ContainerService) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "containerServiceName": autorest.Encode("path", containerServiceName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2017-01-31"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client ContainerServicesClient) CreateOrUpdateResponder(resp *http.Response) (result ContainerService, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete deletes the specified container service in the specified subscription and resource group. The operation does
+// not delete other resources created as part of creating a container service, including storage accounts, VMs, and
+// availability sets. All the other resources created with the container service are part of the same resource group
+// and can be deleted individually.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// containerServiceName - the name of the container service in the specified subscription and resource group.
+func (client ContainerServicesClient) Delete(ctx context.Context, resourceGroupName string, containerServiceName string) (result ContainerServicesDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ContainerServicesClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, containerServiceName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, containerServiceName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "containerServiceName": autorest.Encode("path", containerServiceName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2017-01-31"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client ContainerServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get gets the properties of the specified container service in the specified subscription and resource group. The
+// operation returns the properties including state, orchestrator, number of masters and agents, and FQDNs of masters
+// and agents.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// containerServiceName - the name of the container service in the specified subscription and resource group.
+func (client ContainerServicesClient) Get(ctx context.Context, resourceGroupName string, containerServiceName string) (result ContainerService, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ContainerServicesClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, containerServiceName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, containerServiceName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "containerServiceName": autorest.Encode("path", containerServiceName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2017-01-31"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client ContainerServicesClient) GetResponder(resp *http.Response) (result ContainerService, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List gets a list of container services in the specified subscription. The operation returns properties of each
+// container service including state, orchestrator, number of masters and agents, and FQDNs of masters and agents.
+func (client ContainerServicesClient) List(ctx context.Context) (result ContainerServiceListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ContainerServicesClient.List")
+ defer func() {
+ sc := -1
+ if result.cslr.Response.Response != nil {
+ sc = result.cslr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.cslr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.cslr, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2017-01-31"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/containerServices", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client ContainerServicesClient) ListResponder(resp *http.Response) (result ContainerServiceListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client ContainerServicesClient) listNextResults(ctx context.Context, lastResults ContainerServiceListResult) (result ContainerServiceListResult, err error) {
+ req, err := lastResults.containerServiceListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client ContainerServicesClient) ListComplete(ctx context.Context) (result ContainerServiceListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ContainerServicesClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx)
+ return
+}
+
+// ListByResourceGroup gets a list of container services in the specified subscription and resource group. The
+// operation returns properties of each container service including state, orchestrator, number of masters and agents,
+// and FQDNs of masters and agents.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client ContainerServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ContainerServiceListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ContainerServicesClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.cslr.Response.Response != nil {
+ sc = result.cslr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByResourceGroupNextResults
+ req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "ListByResourceGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.cslr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "ListByResourceGroup", resp, "Failure sending request")
+ return
+ }
+
+ result.cslr, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "ListByResourceGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
+func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2017-01-31"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
+// closes the http.Response Body.
+func (client ContainerServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ContainerServiceListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByResourceGroupNextResults retrieves the next set of results, if any.
+func (client ContainerServicesClient) listByResourceGroupNextResults(ctx context.Context, lastResults ContainerServiceListResult) (result ContainerServiceListResult, err error) {
+ req, err := lastResults.containerServiceListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "listByResourceGroupNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
+func (client ContainerServicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ContainerServiceListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ContainerServicesClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByResourceGroup(ctx, resourceGroupName)
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/dedicatedhostgroups.go b/services/compute/mgmt/2019-07-01/compute/dedicatedhostgroups.go
new file mode 100644
index 000000000000..77ec9da3137b
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/dedicatedhostgroups.go
@@ -0,0 +1,592 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// DedicatedHostGroupsClient is the compute Client
+type DedicatedHostGroupsClient struct {
+ BaseClient
+}
+
+// NewDedicatedHostGroupsClient creates an instance of the DedicatedHostGroupsClient client.
+func NewDedicatedHostGroupsClient(subscriptionID string) DedicatedHostGroupsClient {
+ return NewDedicatedHostGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewDedicatedHostGroupsClientWithBaseURI creates an instance of the DedicatedHostGroupsClient client.
+func NewDedicatedHostGroupsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostGroupsClient {
+ return DedicatedHostGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups
+// please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596)
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// parameters - parameters supplied to the Create Dedicated Host Group.
+func (client DedicatedHostGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroup) (result DedicatedHostGroup, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.DedicatedHostGroupProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.DedicatedHostGroupProperties.PlatformFaultDomainCount", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "parameters.DedicatedHostGroupProperties.PlatformFaultDomainCount", Name: validation.InclusiveMaximum, Rule: int64(3), Chain: nil},
+ {Target: "parameters.DedicatedHostGroupProperties.PlatformFaultDomainCount", Name: validation.InclusiveMinimum, Rule: 1, Chain: nil},
+ }},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.DedicatedHostGroupsClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, hostGroupName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.CreateOrUpdateSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "CreateOrUpdate", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "CreateOrUpdate", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client DedicatedHostGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroup) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete a dedicated host group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+func (client DedicatedHostGroupsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string) (result autorest.Response, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response != nil {
+ sc = result.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, hostGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.DeleteSender(req)
+ if err != nil {
+ result.Response = resp
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Delete", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.DeleteResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Delete", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client DedicatedHostGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) 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
+ return
+}
+
+// Get retrieves information about a dedicated host group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+func (client DedicatedHostGroupsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostGroup, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, hostGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client DedicatedHostGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) GetResponder(resp *http.Response) (result DedicatedHostGroup, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListByResourceGroup lists all of the dedicated host groups in the specified resource group. Use the nextLink
+// property in the response to get the next page of dedicated host groups.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client DedicatedHostGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.dhglr.Response.Response != nil {
+ sc = result.dhglr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByResourceGroupNextResults
+ req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListByResourceGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.dhglr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListByResourceGroup", resp, "Failure sending request")
+ return
+ }
+
+ result.dhglr, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
+func (client DedicatedHostGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByResourceGroupNextResults retrieves the next set of results, if any.
+func (client DedicatedHostGroupsClient) listByResourceGroupNextResults(ctx context.Context, lastResults DedicatedHostGroupListResult) (result DedicatedHostGroupListResult, err error) {
+ req, err := lastResults.dedicatedHostGroupListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listByResourceGroupNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
+func (client DedicatedHostGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByResourceGroup(ctx, resourceGroupName)
+ return
+}
+
+// ListBySubscription lists all of the dedicated host groups in the subscription. Use the nextLink property in the
+// response to get the next page of dedicated host groups.
+func (client DedicatedHostGroupsClient) ListBySubscription(ctx context.Context) (result DedicatedHostGroupListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.ListBySubscription")
+ defer func() {
+ sc := -1
+ if result.dhglr.Response.Response != nil {
+ sc = result.dhglr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listBySubscriptionNextResults
+ req, err := client.ListBySubscriptionPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListBySubscription", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListBySubscriptionSender(req)
+ if err != nil {
+ result.dhglr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListBySubscription", resp, "Failure sending request")
+ return
+ }
+
+ result.dhglr, err = client.ListBySubscriptionResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "ListBySubscription", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListBySubscriptionPreparer prepares the ListBySubscription request.
+func (client DedicatedHostGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listBySubscriptionNextResults retrieves the next set of results, if any.
+func (client DedicatedHostGroupsClient) listBySubscriptionNextResults(ctx context.Context, lastResults DedicatedHostGroupListResult) (result DedicatedHostGroupListResult, err error) {
+ req, err := lastResults.dedicatedHostGroupListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listBySubscriptionNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListBySubscriptionSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listBySubscriptionNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListBySubscriptionResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "listBySubscriptionNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
+func (client DedicatedHostGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result DedicatedHostGroupListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.ListBySubscription")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListBySubscription(ctx)
+ return
+}
+
+// Update update an dedicated host group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// parameters - parameters supplied to the Update Dedicated Host Group operation.
+func (client DedicatedHostGroupsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroupUpdate) (result DedicatedHostGroup, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupsClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, hostGroupName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.UpdateSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Update", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.UpdateResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostGroupsClient", "Update", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client DedicatedHostGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroupUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostGroupsClient) UpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/dedicatedhosts.go b/services/compute/mgmt/2019-07-01/compute/dedicatedhosts.go
new file mode 100644
index 000000000000..31f8795d6fdd
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/dedicatedhosts.go
@@ -0,0 +1,495 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// DedicatedHostsClient is the compute Client
+type DedicatedHostsClient struct {
+ BaseClient
+}
+
+// NewDedicatedHostsClient creates an instance of the DedicatedHostsClient client.
+func NewDedicatedHostsClient(subscriptionID string) DedicatedHostsClient {
+ return NewDedicatedHostsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewDedicatedHostsClientWithBaseURI creates an instance of the DedicatedHostsClient client.
+func NewDedicatedHostsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostsClient {
+ return DedicatedHostsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update a dedicated host .
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// hostName - the name of the dedicated host .
+// parameters - parameters supplied to the Create Dedicated Host.
+func (client DedicatedHostsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHost) (result DedicatedHostsCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.DedicatedHostProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.DedicatedHostProperties.PlatformFaultDomain", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.DedicatedHostProperties.PlatformFaultDomain", Name: validation.InclusiveMaximum, Rule: int64(2), Chain: nil},
+ {Target: "parameters.DedicatedHostProperties.PlatformFaultDomain", Name: validation.InclusiveMinimum, Rule: 0, Chain: nil},
+ }},
+ }},
+ {Target: "parameters.Sku", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.DedicatedHostsClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, hostGroupName, hostName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client DedicatedHostsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHost) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "hostName": autorest.Encode("path", hostName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostsClient) CreateOrUpdateSender(req *http.Request) (future DedicatedHostsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHost, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete a dedicated host.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// hostName - the name of the dedicated host.
+func (client DedicatedHostsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (result DedicatedHostsDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, hostGroupName, hostName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client DedicatedHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "hostName": autorest.Encode("path", hostName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostsClient) DeleteSender(req *http.Request) (future DedicatedHostsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get retrieves information about a dedicated host.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// hostName - the name of the dedicated host.
+// expand - the expand expression to apply on the operation.
+func (client DedicatedHostsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand InstanceViewTypes) (result DedicatedHost, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, hostGroupName, hostName, expand)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client DedicatedHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand InstanceViewTypes) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "hostName": autorest.Encode("path", hostName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(string(expand)) > 0 {
+ queryParameters["$expand"] = autorest.Encode("query", expand)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostsClient) GetResponder(resp *http.Response) (result DedicatedHost, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListByHostGroup lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in
+// the response to get the next page of dedicated hosts.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+func (client DedicatedHostsClient) ListByHostGroup(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.ListByHostGroup")
+ defer func() {
+ sc := -1
+ if result.dhlr.Response.Response != nil {
+ sc = result.dhlr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByHostGroupNextResults
+ req, err := client.ListByHostGroupPreparer(ctx, resourceGroupName, hostGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "ListByHostGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByHostGroupSender(req)
+ if err != nil {
+ result.dhlr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "ListByHostGroup", resp, "Failure sending request")
+ return
+ }
+
+ result.dhlr, err = client.ListByHostGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "ListByHostGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByHostGroupPreparer prepares the ListByHostGroup request.
+func (client DedicatedHostsClient) ListByHostGroupPreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByHostGroupSender sends the ListByHostGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostsClient) ListByHostGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByHostGroupResponder handles the response to the ListByHostGroup request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostsClient) ListByHostGroupResponder(resp *http.Response) (result DedicatedHostListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByHostGroupNextResults retrieves the next set of results, if any.
+func (client DedicatedHostsClient) listByHostGroupNextResults(ctx context.Context, lastResults DedicatedHostListResult) (result DedicatedHostListResult, err error) {
+ req, err := lastResults.dedicatedHostListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "listByHostGroupNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByHostGroupSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "listByHostGroupNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByHostGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "listByHostGroupNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByHostGroupComplete enumerates all values, automatically crossing page boundaries as required.
+func (client DedicatedHostsClient) ListByHostGroupComplete(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.ListByHostGroup")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByHostGroup(ctx, resourceGroupName, hostGroupName)
+ return
+}
+
+// Update update an dedicated host .
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// hostGroupName - the name of the dedicated host group.
+// hostName - the name of the dedicated host .
+// parameters - parameters supplied to the Update Dedicated Host operation.
+func (client DedicatedHostsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHostUpdate) (result DedicatedHostsUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostsClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, hostGroupName, hostName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.UpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsClient", "Update", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client DedicatedHostsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHostUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "hostGroupName": autorest.Encode("path", hostGroupName),
+ "hostName": autorest.Encode("path", hostName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client DedicatedHostsClient) UpdateSender(req *http.Request) (future DedicatedHostsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client DedicatedHostsClient) UpdateResponder(resp *http.Response) (result DedicatedHost, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/disks.go b/services/compute/mgmt/2019-07-01/compute/disks.go
new file mode 100644
index 000000000000..2dee9d74dad5
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/disks.go
@@ -0,0 +1,766 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// DisksClient is the compute Client
+type DisksClient struct {
+ BaseClient
+}
+
+// NewDisksClient creates an instance of the DisksClient client.
+func NewDisksClient(subscriptionID string) DisksClient {
+ return NewDisksClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewDisksClientWithBaseURI creates an instance of the DisksClient client.
+func NewDisksClientWithBaseURI(baseURI string, subscriptionID string) DisksClient {
+ return DisksClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate creates or updates a disk.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// diskName - the name of the managed disk that is being created. The name can't be changed after the disk is
+// created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80
+// characters.
+// disk - disk object supplied in the body of the Put disk operation.
+func (client DisksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (result DisksCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DisksClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: disk,
+ Constraints: []validation.Constraint{{Target: "disk.DiskProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "disk.DiskProperties.CreationData", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "disk.DiskProperties.CreationData.ImageReference", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "disk.DiskProperties.CreationData.ImageReference.ID", Name: validation.Null, Rule: true, Chain: nil}}},
+ }},
+ {Target: "disk.DiskProperties.EncryptionSettingsCollection", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "disk.DiskProperties.EncryptionSettingsCollection.Enabled", Name: validation.Null, Rule: true, Chain: nil}}},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.DisksClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, diskName, disk)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "diskName": autorest.Encode("path", diskName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ disk.ManagedBy = nil
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", pathParameters),
+ autorest.WithJSON(disk),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client DisksClient) CreateOrUpdateResponder(resp *http.Response) (result Disk, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete deletes a disk.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// diskName - the name of the managed disk that is being created. The name can't be changed after the disk is
+// created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80
+// characters.
+func (client DisksClient) Delete(ctx context.Context, resourceGroupName string, diskName string) (result DisksDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DisksClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, diskName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "diskName": autorest.Encode("path", diskName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client DisksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get gets information about a disk.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// diskName - the name of the managed disk that is being created. The name can't be changed after the disk is
+// created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80
+// characters.
+func (client DisksClient) Get(ctx context.Context, resourceGroupName string, diskName string) (result Disk, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DisksClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, diskName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client DisksClient) GetPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "diskName": autorest.Encode("path", diskName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client DisksClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client DisksClient) GetResponder(resp *http.Response) (result Disk, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// GrantAccess grants access to a disk.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// diskName - the name of the managed disk that is being created. The name can't be changed after the disk is
+// created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80
+// characters.
+// grantAccessData - access data object supplied in the body of the get disk access operation.
+func (client DisksClient) GrantAccess(ctx context.Context, resourceGroupName string, diskName string, grantAccessData GrantAccessData) (result DisksGrantAccessFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DisksClient.GrantAccess")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: grantAccessData,
+ Constraints: []validation.Constraint{{Target: "grantAccessData.DurationInSeconds", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.DisksClient", "GrantAccess", err.Error())
+ }
+
+ req, err := client.GrantAccessPreparer(ctx, resourceGroupName, diskName, grantAccessData)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "GrantAccess", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.GrantAccessSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "GrantAccess", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// GrantAccessPreparer prepares the GrantAccess request.
+func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, diskName string, grantAccessData GrantAccessData) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "diskName": autorest.Encode("path", diskName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess", pathParameters),
+ autorest.WithJSON(grantAccessData),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GrantAccessSender sends the GrantAccess request. The method will close the
+// http.Response Body if it receives an error.
+func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// GrantAccessResponder handles the response to the GrantAccess request. The method always
+// closes the http.Response Body.
+func (client DisksClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List lists all the disks under a subscription.
+func (client DisksClient) List(ctx context.Context) (result DiskListPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DisksClient.List")
+ defer func() {
+ sc := -1
+ if result.dl.Response.Response != nil {
+ sc = result.dl.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.dl.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.dl, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client DisksClient) ListPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client DisksClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client DisksClient) ListResponder(resp *http.Response) (result DiskList, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client DisksClient) listNextResults(ctx context.Context, lastResults DiskList) (result DiskList, err error) {
+ req, err := lastResults.diskListPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.DisksClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.DisksClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client DisksClient) ListComplete(ctx context.Context) (result DiskListIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DisksClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx)
+ return
+}
+
+// ListByResourceGroup lists all the disks under a resource group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client DisksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskListPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DisksClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.dl.Response.Response != nil {
+ sc = result.dl.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByResourceGroupNextResults
+ req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "ListByResourceGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.dl.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "ListByResourceGroup", resp, "Failure sending request")
+ return
+ }
+
+ result.dl, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "ListByResourceGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
+func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
+// closes the http.Response Body.
+func (client DisksClient) ListByResourceGroupResponder(resp *http.Response) (result DiskList, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByResourceGroupNextResults retrieves the next set of results, if any.
+func (client DisksClient) listByResourceGroupNextResults(ctx context.Context, lastResults DiskList) (result DiskList, err error) {
+ req, err := lastResults.diskListPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.DisksClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.DisksClient", "listByResourceGroupNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
+func (client DisksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskListIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DisksClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByResourceGroup(ctx, resourceGroupName)
+ return
+}
+
+// RevokeAccess revokes access to a disk.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// diskName - the name of the managed disk that is being created. The name can't be changed after the disk is
+// created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80
+// characters.
+func (client DisksClient) RevokeAccess(ctx context.Context, resourceGroupName string, diskName string) (result DisksRevokeAccessFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DisksClient.RevokeAccess")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.RevokeAccessPreparer(ctx, resourceGroupName, diskName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "RevokeAccess", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.RevokeAccessSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "RevokeAccess", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// RevokeAccessPreparer prepares the RevokeAccess request.
+func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "diskName": autorest.Encode("path", diskName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// RevokeAccessSender sends the RevokeAccess request. The method will close the
+// http.Response Body if it receives an error.
+func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// RevokeAccessResponder handles the response to the RevokeAccess request. The method always
+// closes the http.Response Body.
+func (client DisksClient) RevokeAccessResponder(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
+ return
+}
+
+// Update updates (patches) a disk.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// diskName - the name of the managed disk that is being created. The name can't be changed after the disk is
+// created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80
+// characters.
+// disk - disk object supplied in the body of the Patch disk operation.
+func (client DisksClient) Update(ctx context.Context, resourceGroupName string, diskName string, disk DiskUpdate) (result DisksUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DisksClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, diskName, disk)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.UpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksClient", "Update", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk DiskUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "diskName": autorest.Encode("path", diskName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}", pathParameters),
+ autorest.WithJSON(disk),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client DisksClient) UpdateResponder(resp *http.Response) (result Disk, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/galleries.go b/services/compute/mgmt/2019-07-01/compute/galleries.go
new file mode 100644
index 000000000000..553defda18ea
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/galleries.go
@@ -0,0 +1,498 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// GalleriesClient is the compute Client
+type GalleriesClient struct {
+ BaseClient
+}
+
+// NewGalleriesClient creates an instance of the GalleriesClient client.
+func NewGalleriesClient(subscriptionID string) GalleriesClient {
+ return NewGalleriesClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewGalleriesClientWithBaseURI creates an instance of the GalleriesClient client.
+func NewGalleriesClientWithBaseURI(baseURI string, subscriptionID string) GalleriesClient {
+ return GalleriesClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update a Shared Image Gallery.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery. The allowed characters are alphabets and numbers with
+// dots and periods allowed in the middle. The maximum length is 80 characters.
+// gallery - parameters supplied to the create or update Shared Image Gallery operation.
+func (client GalleriesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, gallery Gallery) (result GalleriesCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleriesClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, galleryName, gallery)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client GalleriesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, gallery Gallery) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", pathParameters),
+ autorest.WithJSON(gallery),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleriesClient) CreateOrUpdateSender(req *http.Request) (future GalleriesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client GalleriesClient) CreateOrUpdateResponder(resp *http.Response) (result Gallery, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete a Shared Image Gallery.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery to be deleted.
+func (client GalleriesClient) Delete(ctx context.Context, resourceGroupName string, galleryName string) (result GalleriesDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleriesClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, galleryName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client GalleriesClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleriesClient) DeleteSender(req *http.Request) (future GalleriesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client GalleriesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get retrieves information about a Shared Image Gallery.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery.
+func (client GalleriesClient) Get(ctx context.Context, resourceGroupName string, galleryName string) (result Gallery, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleriesClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, galleryName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client GalleriesClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleriesClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client GalleriesClient) GetResponder(resp *http.Response) (result Gallery, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List list galleries under a subscription.
+func (client GalleriesClient) List(ctx context.Context) (result GalleryListPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleriesClient.List")
+ defer func() {
+ sc := -1
+ if result.gl.Response.Response != nil {
+ sc = result.gl.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.gl.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.gl, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client GalleriesClient) ListPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleriesClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client GalleriesClient) ListResponder(resp *http.Response) (result GalleryList, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client GalleriesClient) listNextResults(ctx context.Context, lastResults GalleryList) (result GalleryList, err error) {
+ req, err := lastResults.galleryListPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.GalleriesClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.GalleriesClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client GalleriesClient) ListComplete(ctx context.Context) (result GalleryListIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleriesClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx)
+ return
+}
+
+// ListByResourceGroup list galleries under a resource group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client GalleriesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result GalleryListPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleriesClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.gl.Response.Response != nil {
+ sc = result.gl.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByResourceGroupNextResults
+ req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "ListByResourceGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.gl.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "ListByResourceGroup", resp, "Failure sending request")
+ return
+ }
+
+ result.gl, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "ListByResourceGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
+func (client GalleriesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
+// closes the http.Response Body.
+func (client GalleriesClient) ListByResourceGroupResponder(resp *http.Response) (result GalleryList, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByResourceGroupNextResults retrieves the next set of results, if any.
+func (client GalleriesClient) listByResourceGroupNextResults(ctx context.Context, lastResults GalleryList) (result GalleryList, err error) {
+ req, err := lastResults.galleryListPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.GalleriesClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.GalleriesClient", "listByResourceGroupNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
+func (client GalleriesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result GalleryListIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleriesClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByResourceGroup(ctx, resourceGroupName)
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/galleryimages.go b/services/compute/mgmt/2019-07-01/compute/galleryimages.go
new file mode 100644
index 000000000000..c4c78e5706bb
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/galleryimages.go
@@ -0,0 +1,410 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// GalleryImagesClient is the compute Client
+type GalleryImagesClient struct {
+ BaseClient
+}
+
+// NewGalleryImagesClient creates an instance of the GalleryImagesClient client.
+func NewGalleryImagesClient(subscriptionID string) GalleryImagesClient {
+ return NewGalleryImagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewGalleryImagesClientWithBaseURI creates an instance of the GalleryImagesClient client.
+func NewGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) GalleryImagesClient {
+ return GalleryImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update a gallery Image Definition.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery in which the Image Definition is to be created.
+// galleryImageName - the name of the gallery Image Definition to be created or updated. The allowed characters
+// are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80
+// characters.
+// galleryImage - parameters supplied to the create or update gallery image operation.
+func (client GalleryImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage GalleryImage) (result GalleryImagesCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImagesClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: galleryImage,
+ Constraints: []validation.Constraint{{Target: "galleryImage.GalleryImageProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "galleryImage.GalleryImageProperties.Identifier", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "galleryImage.GalleryImageProperties.Identifier.Publisher", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "galleryImage.GalleryImageProperties.Identifier.Offer", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "galleryImage.GalleryImageProperties.Identifier.Sku", Name: validation.Null, Rule: true, Chain: nil},
+ }},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.GalleryImagesClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, galleryName, galleryImageName, galleryImage)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client GalleryImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage GalleryImage) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryImageName": autorest.Encode("path", galleryImageName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", pathParameters),
+ autorest.WithJSON(galleryImage),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryImagesClient) CreateOrUpdateSender(req *http.Request) (future GalleryImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client GalleryImagesClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryImage, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete a gallery image.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery in which the Image Definition is to be deleted.
+// galleryImageName - the name of the gallery Image Definition to be deleted.
+func (client GalleryImagesClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImagesDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImagesClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, galleryName, galleryImageName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client GalleryImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryImageName": autorest.Encode("path", galleryImageName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryImagesClient) DeleteSender(req *http.Request) (future GalleryImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client GalleryImagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get retrieves information about a gallery Image Definition.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery from which the Image Definitions are to be retrieved.
+// galleryImageName - the name of the gallery Image Definition to be retrieved.
+func (client GalleryImagesClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImagesClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, galleryName, galleryImageName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client GalleryImagesClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryImageName": autorest.Encode("path", galleryImageName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryImagesClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client GalleryImagesClient) GetResponder(resp *http.Response) (result GalleryImage, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListByGallery list gallery Image Definitions in a gallery.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery from which Image Definitions are to be listed.
+func (client GalleryImagesClient) ListByGallery(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryImageListPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImagesClient.ListByGallery")
+ defer func() {
+ sc := -1
+ if result.gil.Response.Response != nil {
+ sc = result.gil.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByGalleryNextResults
+ req, err := client.ListByGalleryPreparer(ctx, resourceGroupName, galleryName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "ListByGallery", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByGallerySender(req)
+ if err != nil {
+ result.gil.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "ListByGallery", resp, "Failure sending request")
+ return
+ }
+
+ result.gil, err = client.ListByGalleryResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "ListByGallery", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByGalleryPreparer prepares the ListByGallery request.
+func (client GalleryImagesClient) ListByGalleryPreparer(ctx context.Context, resourceGroupName string, galleryName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByGallerySender sends the ListByGallery request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryImagesClient) ListByGallerySender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByGalleryResponder handles the response to the ListByGallery request. The method always
+// closes the http.Response Body.
+func (client GalleryImagesClient) ListByGalleryResponder(resp *http.Response) (result GalleryImageList, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByGalleryNextResults retrieves the next set of results, if any.
+func (client GalleryImagesClient) listByGalleryNextResults(ctx context.Context, lastResults GalleryImageList) (result GalleryImageList, err error) {
+ req, err := lastResults.galleryImageListPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "listByGalleryNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByGallerySender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "listByGalleryNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByGalleryResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "listByGalleryNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByGalleryComplete enumerates all values, automatically crossing page boundaries as required.
+func (client GalleryImagesClient) ListByGalleryComplete(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryImageListIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImagesClient.ListByGallery")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByGallery(ctx, resourceGroupName, galleryName)
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/galleryimageversions.go b/services/compute/mgmt/2019-07-01/compute/galleryimageversions.go
new file mode 100644
index 000000000000..658da5864e04
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/galleryimageversions.go
@@ -0,0 +1,422 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// GalleryImageVersionsClient is the compute Client
+type GalleryImageVersionsClient struct {
+ BaseClient
+}
+
+// NewGalleryImageVersionsClient creates an instance of the GalleryImageVersionsClient client.
+func NewGalleryImageVersionsClient(subscriptionID string) GalleryImageVersionsClient {
+ return NewGalleryImageVersionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewGalleryImageVersionsClientWithBaseURI creates an instance of the GalleryImageVersionsClient client.
+func NewGalleryImageVersionsClientWithBaseURI(baseURI string, subscriptionID string) GalleryImageVersionsClient {
+ return GalleryImageVersionsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update a gallery Image Version.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery in which the Image Definition resides.
+// galleryImageName - the name of the gallery Image Definition in which the Image Version is to be created.
+// galleryImageVersionName - the name of the gallery Image Version to be created. Needs to follow semantic
+// version name pattern: The allowed characters are digit and period. Digits must be within the range of a
+// 32-bit integer. Format: ..
+// galleryImageVersion - parameters supplied to the create or update gallery Image Version operation.
+func (client GalleryImageVersionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion GalleryImageVersion) (result GalleryImageVersionsCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImageVersionsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: galleryImageVersion,
+ Constraints: []validation.Constraint{{Target: "galleryImageVersion.GalleryImageVersionProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "galleryImageVersion.GalleryImageVersionProperties.StorageProfile", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "galleryImageVersion.GalleryImageVersionProperties.StorageProfile.Source", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "galleryImageVersion.GalleryImageVersionProperties.StorageProfile.Source.ID", Name: validation.Null, Rule: true, Chain: nil}}},
+ }},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.GalleryImageVersionsClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, galleryName, galleryImageName, galleryImageVersionName, galleryImageVersion)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client GalleryImageVersionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion GalleryImageVersion) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryImageName": autorest.Encode("path", galleryImageName),
+ "galleryImageVersionName": autorest.Encode("path", galleryImageVersionName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", pathParameters),
+ autorest.WithJSON(galleryImageVersion),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryImageVersionsClient) CreateOrUpdateSender(req *http.Request) (future GalleryImageVersionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client GalleryImageVersionsClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryImageVersion, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete a gallery Image Version.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery in which the Image Definition resides.
+// galleryImageName - the name of the gallery Image Definition in which the Image Version resides.
+// galleryImageVersionName - the name of the gallery Image Version to be deleted.
+func (client GalleryImageVersionsClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string) (result GalleryImageVersionsDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImageVersionsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, galleryName, galleryImageName, galleryImageVersionName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client GalleryImageVersionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryImageName": autorest.Encode("path", galleryImageName),
+ "galleryImageVersionName": autorest.Encode("path", galleryImageVersionName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryImageVersionsClient) DeleteSender(req *http.Request) (future GalleryImageVersionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client GalleryImageVersionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get retrieves information about a gallery Image Version.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery in which the Image Definition resides.
+// galleryImageName - the name of the gallery Image Definition in which the Image Version resides.
+// galleryImageVersionName - the name of the gallery Image Version to be retrieved.
+// expand - the expand expression to apply on the operation.
+func (client GalleryImageVersionsClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, expand ReplicationStatusTypes) (result GalleryImageVersion, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImageVersionsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, galleryName, galleryImageName, galleryImageVersionName, expand)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client GalleryImageVersionsClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, expand ReplicationStatusTypes) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryImageName": autorest.Encode("path", galleryImageName),
+ "galleryImageVersionName": autorest.Encode("path", galleryImageVersionName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(string(expand)) > 0 {
+ queryParameters["$expand"] = autorest.Encode("query", expand)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryImageVersionsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client GalleryImageVersionsClient) GetResponder(resp *http.Response) (result GalleryImageVersion, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListByGalleryImage list gallery Image Versions in a gallery Image Definition.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// galleryName - the name of the Shared Image Gallery in which the Image Definition resides.
+// galleryImageName - the name of the Shared Image Gallery Image Definition from which the Image Versions are
+// to be listed.
+func (client GalleryImageVersionsClient) ListByGalleryImage(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImageVersionListPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImageVersionsClient.ListByGalleryImage")
+ defer func() {
+ sc := -1
+ if result.givl.Response.Response != nil {
+ sc = result.givl.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByGalleryImageNextResults
+ req, err := client.ListByGalleryImagePreparer(ctx, resourceGroupName, galleryName, galleryImageName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "ListByGalleryImage", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByGalleryImageSender(req)
+ if err != nil {
+ result.givl.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "ListByGalleryImage", resp, "Failure sending request")
+ return
+ }
+
+ result.givl, err = client.ListByGalleryImageResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "ListByGalleryImage", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByGalleryImagePreparer prepares the ListByGalleryImage request.
+func (client GalleryImageVersionsClient) ListByGalleryImagePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "galleryImageName": autorest.Encode("path", galleryImageName),
+ "galleryName": autorest.Encode("path", galleryName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-07-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByGalleryImageSender sends the ListByGalleryImage request. The method will close the
+// http.Response Body if it receives an error.
+func (client GalleryImageVersionsClient) ListByGalleryImageSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByGalleryImageResponder handles the response to the ListByGalleryImage request. The method always
+// closes the http.Response Body.
+func (client GalleryImageVersionsClient) ListByGalleryImageResponder(resp *http.Response) (result GalleryImageVersionList, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByGalleryImageNextResults retrieves the next set of results, if any.
+func (client GalleryImageVersionsClient) listByGalleryImageNextResults(ctx context.Context, lastResults GalleryImageVersionList) (result GalleryImageVersionList, err error) {
+ req, err := lastResults.galleryImageVersionListPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "listByGalleryImageNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByGalleryImageSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "listByGalleryImageNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByGalleryImageResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "listByGalleryImageNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByGalleryImageComplete enumerates all values, automatically crossing page boundaries as required.
+func (client GalleryImageVersionsClient) ListByGalleryImageComplete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImageVersionListIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImageVersionsClient.ListByGalleryImage")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByGalleryImage(ctx, resourceGroupName, galleryName, galleryImageName)
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/images.go b/services/compute/mgmt/2019-07-01/compute/images.go
new file mode 100644
index 000000000000..e15083ca448d
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/images.go
@@ -0,0 +1,582 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// ImagesClient is the compute Client
+type ImagesClient struct {
+ BaseClient
+}
+
+// NewImagesClient creates an instance of the ImagesClient client.
+func NewImagesClient(subscriptionID string) ImagesClient {
+ return NewImagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewImagesClientWithBaseURI creates an instance of the ImagesClient client.
+func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient {
+ return ImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update an image.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// imageName - the name of the image.
+// parameters - parameters supplied to the Create Image operation.
+func (client ImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, imageName string, parameters Image) (result ImagesCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ImagesClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, imageName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, parameters Image) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "imageName": autorest.Encode("path", imageName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result Image, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete deletes an Image.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// imageName - the name of the image.
+func (client ImagesClient) Delete(ctx context.Context, resourceGroupName string, imageName string) (result ImagesDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ImagesClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, imageName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, imageName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "imageName": autorest.Encode("path", imageName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client ImagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get gets an image.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// imageName - the name of the image.
+// expand - the expand expression to apply on the operation.
+func (client ImagesClient) Get(ctx context.Context, resourceGroupName string, imageName string, expand string) (result Image, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ImagesClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, imageName, expand)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName string, imageName string, expand string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "imageName": autorest.Encode("path", imageName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(expand) > 0 {
+ queryParameters["$expand"] = autorest.Encode("query", expand)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client ImagesClient) GetResponder(resp *http.Response) (result Image, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List gets the list of Images in the subscription. Use nextLink property in the response to get the next page of
+// Images. Do this till nextLink is null to fetch all the Images.
+func (client ImagesClient) List(ctx context.Context) (result ImageListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ImagesClient.List")
+ defer func() {
+ sc := -1
+ if result.ilr.Response.Response != nil {
+ sc = result.ilr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.ilr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.ilr, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client ImagesClient) ListResponder(resp *http.Response) (result ImageListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client ImagesClient) listNextResults(ctx context.Context, lastResults ImageListResult) (result ImageListResult, err error) {
+ req, err := lastResults.imageListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client ImagesClient) ListComplete(ctx context.Context) (result ImageListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ImagesClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx)
+ return
+}
+
+// ListByResourceGroup gets the list of images under a resource group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client ImagesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ImageListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ImagesClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.ilr.Response.Response != nil {
+ sc = result.ilr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByResourceGroupNextResults
+ req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "ListByResourceGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.ilr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "ListByResourceGroup", resp, "Failure sending request")
+ return
+ }
+
+ result.ilr, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "ListByResourceGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
+func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
+// closes the http.Response Body.
+func (client ImagesClient) ListByResourceGroupResponder(resp *http.Response) (result ImageListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByResourceGroupNextResults retrieves the next set of results, if any.
+func (client ImagesClient) listByResourceGroupNextResults(ctx context.Context, lastResults ImageListResult) (result ImageListResult, err error) {
+ req, err := lastResults.imageListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "listByResourceGroupNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
+func (client ImagesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ImageListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ImagesClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByResourceGroup(ctx, resourceGroupName)
+ return
+}
+
+// Update update an image.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// imageName - the name of the image.
+// parameters - parameters supplied to the Update Image operation.
+func (client ImagesClient) Update(ctx context.Context, resourceGroupName string, imageName string, parameters ImageUpdate) (result ImagesUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ImagesClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, imageName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.UpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesClient", "Update", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client ImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, parameters ImageUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "imageName": autorest.Encode("path", imageName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client ImagesClient) UpdateSender(req *http.Request) (future ImagesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client ImagesClient) UpdateResponder(resp *http.Response) (result Image, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/loganalytics.go b/services/compute/mgmt/2019-07-01/compute/loganalytics.go
new file mode 100644
index 000000000000..8fa8c1b05416
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/loganalytics.go
@@ -0,0 +1,212 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// LogAnalyticsClient is the compute Client
+type LogAnalyticsClient struct {
+ BaseClient
+}
+
+// NewLogAnalyticsClient creates an instance of the LogAnalyticsClient client.
+func NewLogAnalyticsClient(subscriptionID string) LogAnalyticsClient {
+ return NewLogAnalyticsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewLogAnalyticsClientWithBaseURI creates an instance of the LogAnalyticsClient client.
+func NewLogAnalyticsClientWithBaseURI(baseURI string, subscriptionID string) LogAnalyticsClient {
+ return LogAnalyticsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// ExportRequestRateByInterval export logs that show Api requests made by this subscription in the given time window to
+// show throttling activities.
+// Parameters:
+// parameters - parameters supplied to the LogAnalytics getRequestRateByInterval Api.
+// location - the location upon which virtual-machine-sizes is queried.
+func (client LogAnalyticsClient) ExportRequestRateByInterval(ctx context.Context, parameters RequestRateByIntervalInput, location string) (result LogAnalyticsExportRequestRateByIntervalFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/LogAnalyticsClient.ExportRequestRateByInterval")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: location,
+ Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.LogAnalyticsClient", "ExportRequestRateByInterval", err.Error())
+ }
+
+ req, err := client.ExportRequestRateByIntervalPreparer(ctx, parameters, location)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.LogAnalyticsClient", "ExportRequestRateByInterval", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.ExportRequestRateByIntervalSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.LogAnalyticsClient", "ExportRequestRateByInterval", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// ExportRequestRateByIntervalPreparer prepares the ExportRequestRateByInterval request.
+func (client LogAnalyticsClient) ExportRequestRateByIntervalPreparer(ctx context.Context, parameters RequestRateByIntervalInput, location string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ExportRequestRateByIntervalSender sends the ExportRequestRateByInterval request. The method will close the
+// http.Response Body if it receives an error.
+func (client LogAnalyticsClient) ExportRequestRateByIntervalSender(req *http.Request) (future LogAnalyticsExportRequestRateByIntervalFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// ExportRequestRateByIntervalResponder handles the response to the ExportRequestRateByInterval request. The method always
+// closes the http.Response Body.
+func (client LogAnalyticsClient) ExportRequestRateByIntervalResponder(resp *http.Response) (result LogAnalyticsOperationResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ExportThrottledRequests export logs that show total throttled Api requests for this subscription in the given time
+// window.
+// Parameters:
+// parameters - parameters supplied to the LogAnalytics getThrottledRequests Api.
+// location - the location upon which virtual-machine-sizes is queried.
+func (client LogAnalyticsClient) ExportThrottledRequests(ctx context.Context, parameters ThrottledRequestsInput, location string) (result LogAnalyticsExportThrottledRequestsFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/LogAnalyticsClient.ExportThrottledRequests")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: location,
+ Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.LogAnalyticsClient", "ExportThrottledRequests", err.Error())
+ }
+
+ req, err := client.ExportThrottledRequestsPreparer(ctx, parameters, location)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.LogAnalyticsClient", "ExportThrottledRequests", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.ExportThrottledRequestsSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.LogAnalyticsClient", "ExportThrottledRequests", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// ExportThrottledRequestsPreparer prepares the ExportThrottledRequests request.
+func (client LogAnalyticsClient) ExportThrottledRequestsPreparer(ctx context.Context, parameters ThrottledRequestsInput, location string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ExportThrottledRequestsSender sends the ExportThrottledRequests request. The method will close the
+// http.Response Body if it receives an error.
+func (client LogAnalyticsClient) ExportThrottledRequestsSender(req *http.Request) (future LogAnalyticsExportThrottledRequestsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// ExportThrottledRequestsResponder handles the response to the ExportThrottledRequests request. The method always
+// closes the http.Response Body.
+func (client LogAnalyticsClient) ExportThrottledRequestsResponder(resp *http.Response) (result LogAnalyticsOperationResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/models.go b/services/compute/mgmt/2019-07-01/compute/models.go
new file mode 100644
index 000000000000..b56b2ae1e597
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/models.go
@@ -0,0 +1,11719 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "encoding/json"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/date"
+ "github.com/Azure/go-autorest/autorest/to"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// The package's fully qualified name.
+const fqdn = "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
+
+// AccessLevel enumerates the values for access level.
+type AccessLevel string
+
+const (
+ // None ...
+ None AccessLevel = "None"
+ // Read ...
+ Read AccessLevel = "Read"
+ // Write ...
+ Write AccessLevel = "Write"
+)
+
+// PossibleAccessLevelValues returns an array of possible values for the AccessLevel const type.
+func PossibleAccessLevelValues() []AccessLevel {
+ return []AccessLevel{None, Read, Write}
+}
+
+// AggregatedReplicationState enumerates the values for aggregated replication state.
+type AggregatedReplicationState string
+
+const (
+ // Completed ...
+ Completed AggregatedReplicationState = "Completed"
+ // Failed ...
+ Failed AggregatedReplicationState = "Failed"
+ // InProgress ...
+ InProgress AggregatedReplicationState = "InProgress"
+ // Unknown ...
+ Unknown AggregatedReplicationState = "Unknown"
+)
+
+// PossibleAggregatedReplicationStateValues returns an array of possible values for the AggregatedReplicationState const type.
+func PossibleAggregatedReplicationStateValues() []AggregatedReplicationState {
+ return []AggregatedReplicationState{Completed, Failed, InProgress, Unknown}
+}
+
+// AvailabilitySetSkuTypes enumerates the values for availability set sku types.
+type AvailabilitySetSkuTypes string
+
+const (
+ // Aligned ...
+ Aligned AvailabilitySetSkuTypes = "Aligned"
+ // Classic ...
+ Classic AvailabilitySetSkuTypes = "Classic"
+)
+
+// PossibleAvailabilitySetSkuTypesValues returns an array of possible values for the AvailabilitySetSkuTypes const type.
+func PossibleAvailabilitySetSkuTypesValues() []AvailabilitySetSkuTypes {
+ return []AvailabilitySetSkuTypes{Aligned, Classic}
+}
+
+// CachingTypes enumerates the values for caching types.
+type CachingTypes string
+
+const (
+ // CachingTypesNone ...
+ CachingTypesNone CachingTypes = "None"
+ // CachingTypesReadOnly ...
+ CachingTypesReadOnly CachingTypes = "ReadOnly"
+ // CachingTypesReadWrite ...
+ CachingTypesReadWrite CachingTypes = "ReadWrite"
+)
+
+// PossibleCachingTypesValues returns an array of possible values for the CachingTypes const type.
+func PossibleCachingTypesValues() []CachingTypes {
+ return []CachingTypes{CachingTypesNone, CachingTypesReadOnly, CachingTypesReadWrite}
+}
+
+// ComponentNames enumerates the values for component names.
+type ComponentNames string
+
+const (
+ // MicrosoftWindowsShellSetup ...
+ MicrosoftWindowsShellSetup ComponentNames = "Microsoft-Windows-Shell-Setup"
+)
+
+// PossibleComponentNamesValues returns an array of possible values for the ComponentNames const type.
+func PossibleComponentNamesValues() []ComponentNames {
+ return []ComponentNames{MicrosoftWindowsShellSetup}
+}
+
+// ContainerServiceOrchestratorTypes enumerates the values for container service orchestrator types.
+type ContainerServiceOrchestratorTypes string
+
+const (
+ // Custom ...
+ Custom ContainerServiceOrchestratorTypes = "Custom"
+ // DCOS ...
+ DCOS ContainerServiceOrchestratorTypes = "DCOS"
+ // Kubernetes ...
+ Kubernetes ContainerServiceOrchestratorTypes = "Kubernetes"
+ // Swarm ...
+ Swarm ContainerServiceOrchestratorTypes = "Swarm"
+)
+
+// PossibleContainerServiceOrchestratorTypesValues returns an array of possible values for the ContainerServiceOrchestratorTypes const type.
+func PossibleContainerServiceOrchestratorTypesValues() []ContainerServiceOrchestratorTypes {
+ return []ContainerServiceOrchestratorTypes{Custom, DCOS, Kubernetes, Swarm}
+}
+
+// ContainerServiceVMSizeTypes enumerates the values for container service vm size types.
+type ContainerServiceVMSizeTypes string
+
+const (
+ // StandardA0 ...
+ StandardA0 ContainerServiceVMSizeTypes = "Standard_A0"
+ // StandardA1 ...
+ StandardA1 ContainerServiceVMSizeTypes = "Standard_A1"
+ // StandardA10 ...
+ StandardA10 ContainerServiceVMSizeTypes = "Standard_A10"
+ // StandardA11 ...
+ StandardA11 ContainerServiceVMSizeTypes = "Standard_A11"
+ // StandardA2 ...
+ StandardA2 ContainerServiceVMSizeTypes = "Standard_A2"
+ // StandardA3 ...
+ StandardA3 ContainerServiceVMSizeTypes = "Standard_A3"
+ // StandardA4 ...
+ StandardA4 ContainerServiceVMSizeTypes = "Standard_A4"
+ // StandardA5 ...
+ StandardA5 ContainerServiceVMSizeTypes = "Standard_A5"
+ // StandardA6 ...
+ StandardA6 ContainerServiceVMSizeTypes = "Standard_A6"
+ // StandardA7 ...
+ StandardA7 ContainerServiceVMSizeTypes = "Standard_A7"
+ // StandardA8 ...
+ StandardA8 ContainerServiceVMSizeTypes = "Standard_A8"
+ // StandardA9 ...
+ StandardA9 ContainerServiceVMSizeTypes = "Standard_A9"
+ // StandardD1 ...
+ StandardD1 ContainerServiceVMSizeTypes = "Standard_D1"
+ // StandardD11 ...
+ StandardD11 ContainerServiceVMSizeTypes = "Standard_D11"
+ // StandardD11V2 ...
+ StandardD11V2 ContainerServiceVMSizeTypes = "Standard_D11_v2"
+ // StandardD12 ...
+ StandardD12 ContainerServiceVMSizeTypes = "Standard_D12"
+ // StandardD12V2 ...
+ StandardD12V2 ContainerServiceVMSizeTypes = "Standard_D12_v2"
+ // StandardD13 ...
+ StandardD13 ContainerServiceVMSizeTypes = "Standard_D13"
+ // StandardD13V2 ...
+ StandardD13V2 ContainerServiceVMSizeTypes = "Standard_D13_v2"
+ // StandardD14 ...
+ StandardD14 ContainerServiceVMSizeTypes = "Standard_D14"
+ // StandardD14V2 ...
+ StandardD14V2 ContainerServiceVMSizeTypes = "Standard_D14_v2"
+ // StandardD1V2 ...
+ StandardD1V2 ContainerServiceVMSizeTypes = "Standard_D1_v2"
+ // StandardD2 ...
+ StandardD2 ContainerServiceVMSizeTypes = "Standard_D2"
+ // StandardD2V2 ...
+ StandardD2V2 ContainerServiceVMSizeTypes = "Standard_D2_v2"
+ // StandardD3 ...
+ StandardD3 ContainerServiceVMSizeTypes = "Standard_D3"
+ // StandardD3V2 ...
+ StandardD3V2 ContainerServiceVMSizeTypes = "Standard_D3_v2"
+ // StandardD4 ...
+ StandardD4 ContainerServiceVMSizeTypes = "Standard_D4"
+ // StandardD4V2 ...
+ StandardD4V2 ContainerServiceVMSizeTypes = "Standard_D4_v2"
+ // StandardD5V2 ...
+ StandardD5V2 ContainerServiceVMSizeTypes = "Standard_D5_v2"
+ // StandardDS1 ...
+ StandardDS1 ContainerServiceVMSizeTypes = "Standard_DS1"
+ // StandardDS11 ...
+ StandardDS11 ContainerServiceVMSizeTypes = "Standard_DS11"
+ // StandardDS12 ...
+ StandardDS12 ContainerServiceVMSizeTypes = "Standard_DS12"
+ // StandardDS13 ...
+ StandardDS13 ContainerServiceVMSizeTypes = "Standard_DS13"
+ // StandardDS14 ...
+ StandardDS14 ContainerServiceVMSizeTypes = "Standard_DS14"
+ // StandardDS2 ...
+ StandardDS2 ContainerServiceVMSizeTypes = "Standard_DS2"
+ // StandardDS3 ...
+ StandardDS3 ContainerServiceVMSizeTypes = "Standard_DS3"
+ // StandardDS4 ...
+ StandardDS4 ContainerServiceVMSizeTypes = "Standard_DS4"
+ // StandardG1 ...
+ StandardG1 ContainerServiceVMSizeTypes = "Standard_G1"
+ // StandardG2 ...
+ StandardG2 ContainerServiceVMSizeTypes = "Standard_G2"
+ // StandardG3 ...
+ StandardG3 ContainerServiceVMSizeTypes = "Standard_G3"
+ // StandardG4 ...
+ StandardG4 ContainerServiceVMSizeTypes = "Standard_G4"
+ // StandardG5 ...
+ StandardG5 ContainerServiceVMSizeTypes = "Standard_G5"
+ // StandardGS1 ...
+ StandardGS1 ContainerServiceVMSizeTypes = "Standard_GS1"
+ // StandardGS2 ...
+ StandardGS2 ContainerServiceVMSizeTypes = "Standard_GS2"
+ // StandardGS3 ...
+ StandardGS3 ContainerServiceVMSizeTypes = "Standard_GS3"
+ // StandardGS4 ...
+ StandardGS4 ContainerServiceVMSizeTypes = "Standard_GS4"
+ // StandardGS5 ...
+ StandardGS5 ContainerServiceVMSizeTypes = "Standard_GS5"
+)
+
+// PossibleContainerServiceVMSizeTypesValues returns an array of possible values for the ContainerServiceVMSizeTypes const type.
+func PossibleContainerServiceVMSizeTypesValues() []ContainerServiceVMSizeTypes {
+ return []ContainerServiceVMSizeTypes{StandardA0, StandardA1, StandardA10, StandardA11, StandardA2, StandardA3, StandardA4, StandardA5, StandardA6, StandardA7, StandardA8, StandardA9, StandardD1, StandardD11, StandardD11V2, StandardD12, StandardD12V2, StandardD13, StandardD13V2, StandardD14, StandardD14V2, StandardD1V2, StandardD2, StandardD2V2, StandardD3, StandardD3V2, StandardD4, StandardD4V2, StandardD5V2, StandardDS1, StandardDS11, StandardDS12, StandardDS13, StandardDS14, StandardDS2, StandardDS3, StandardDS4, StandardG1, StandardG2, StandardG3, StandardG4, StandardG5, StandardGS1, StandardGS2, StandardGS3, StandardGS4, StandardGS5}
+}
+
+// DedicatedHostLicenseTypes enumerates the values for dedicated host license types.
+type DedicatedHostLicenseTypes string
+
+const (
+ // DedicatedHostLicenseTypesNone ...
+ DedicatedHostLicenseTypesNone DedicatedHostLicenseTypes = "None"
+ // DedicatedHostLicenseTypesWindowsServerHybrid ...
+ DedicatedHostLicenseTypesWindowsServerHybrid DedicatedHostLicenseTypes = "Windows_Server_Hybrid"
+ // DedicatedHostLicenseTypesWindowsServerPerpetual ...
+ DedicatedHostLicenseTypesWindowsServerPerpetual DedicatedHostLicenseTypes = "Windows_Server_Perpetual"
+)
+
+// PossibleDedicatedHostLicenseTypesValues returns an array of possible values for the DedicatedHostLicenseTypes const type.
+func PossibleDedicatedHostLicenseTypesValues() []DedicatedHostLicenseTypes {
+ return []DedicatedHostLicenseTypes{DedicatedHostLicenseTypesNone, DedicatedHostLicenseTypesWindowsServerHybrid, DedicatedHostLicenseTypesWindowsServerPerpetual}
+}
+
+// DiffDiskOptions enumerates the values for diff disk options.
+type DiffDiskOptions string
+
+const (
+ // Local ...
+ Local DiffDiskOptions = "Local"
+)
+
+// PossibleDiffDiskOptionsValues returns an array of possible values for the DiffDiskOptions const type.
+func PossibleDiffDiskOptionsValues() []DiffDiskOptions {
+ return []DiffDiskOptions{Local}
+}
+
+// DiskCreateOption enumerates the values for disk create option.
+type DiskCreateOption string
+
+const (
+ // Attach ...
+ Attach DiskCreateOption = "Attach"
+ // Copy ...
+ Copy DiskCreateOption = "Copy"
+ // Empty ...
+ Empty DiskCreateOption = "Empty"
+ // FromImage ...
+ FromImage DiskCreateOption = "FromImage"
+ // Import ...
+ Import DiskCreateOption = "Import"
+ // Restore ...
+ Restore DiskCreateOption = "Restore"
+ // Upload ...
+ Upload DiskCreateOption = "Upload"
+)
+
+// PossibleDiskCreateOptionValues returns an array of possible values for the DiskCreateOption const type.
+func PossibleDiskCreateOptionValues() []DiskCreateOption {
+ return []DiskCreateOption{Attach, Copy, Empty, FromImage, Import, Restore, Upload}
+}
+
+// DiskCreateOptionTypes enumerates the values for disk create option types.
+type DiskCreateOptionTypes string
+
+const (
+ // DiskCreateOptionTypesAttach ...
+ DiskCreateOptionTypesAttach DiskCreateOptionTypes = "Attach"
+ // DiskCreateOptionTypesEmpty ...
+ DiskCreateOptionTypesEmpty DiskCreateOptionTypes = "Empty"
+ // DiskCreateOptionTypesFromImage ...
+ DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage"
+)
+
+// PossibleDiskCreateOptionTypesValues returns an array of possible values for the DiskCreateOptionTypes const type.
+func PossibleDiskCreateOptionTypesValues() []DiskCreateOptionTypes {
+ return []DiskCreateOptionTypes{DiskCreateOptionTypesAttach, DiskCreateOptionTypesEmpty, DiskCreateOptionTypesFromImage}
+}
+
+// DiskState enumerates the values for disk state.
+type DiskState string
+
+const (
+ // ActiveSAS ...
+ ActiveSAS DiskState = "ActiveSAS"
+ // ActiveUpload ...
+ ActiveUpload DiskState = "ActiveUpload"
+ // Attached ...
+ Attached DiskState = "Attached"
+ // ReadyToUpload ...
+ ReadyToUpload DiskState = "ReadyToUpload"
+ // Reserved ...
+ Reserved DiskState = "Reserved"
+ // Unattached ...
+ Unattached DiskState = "Unattached"
+)
+
+// PossibleDiskStateValues returns an array of possible values for the DiskState const type.
+func PossibleDiskStateValues() []DiskState {
+ return []DiskState{ActiveSAS, ActiveUpload, Attached, ReadyToUpload, Reserved, Unattached}
+}
+
+// DiskStorageAccountTypes enumerates the values for disk storage account types.
+type DiskStorageAccountTypes string
+
+const (
+ // PremiumLRS ...
+ PremiumLRS DiskStorageAccountTypes = "Premium_LRS"
+ // StandardLRS ...
+ StandardLRS DiskStorageAccountTypes = "Standard_LRS"
+ // StandardSSDLRS ...
+ StandardSSDLRS DiskStorageAccountTypes = "StandardSSD_LRS"
+ // UltraSSDLRS ...
+ UltraSSDLRS DiskStorageAccountTypes = "UltraSSD_LRS"
+)
+
+// PossibleDiskStorageAccountTypesValues returns an array of possible values for the DiskStorageAccountTypes const type.
+func PossibleDiskStorageAccountTypesValues() []DiskStorageAccountTypes {
+ return []DiskStorageAccountTypes{PremiumLRS, StandardLRS, StandardSSDLRS, UltraSSDLRS}
+}
+
+// HostCaching enumerates the values for host caching.
+type HostCaching string
+
+const (
+ // HostCachingNone ...
+ HostCachingNone HostCaching = "None"
+ // HostCachingReadOnly ...
+ HostCachingReadOnly HostCaching = "ReadOnly"
+ // HostCachingReadWrite ...
+ HostCachingReadWrite HostCaching = "ReadWrite"
+)
+
+// PossibleHostCachingValues returns an array of possible values for the HostCaching const type.
+func PossibleHostCachingValues() []HostCaching {
+ return []HostCaching{HostCachingNone, HostCachingReadOnly, HostCachingReadWrite}
+}
+
+// HyperVGeneration enumerates the values for hyper v generation.
+type HyperVGeneration string
+
+const (
+ // V1 ...
+ V1 HyperVGeneration = "V1"
+ // V2 ...
+ V2 HyperVGeneration = "V2"
+)
+
+// PossibleHyperVGenerationValues returns an array of possible values for the HyperVGeneration const type.
+func PossibleHyperVGenerationValues() []HyperVGeneration {
+ return []HyperVGeneration{V1, V2}
+}
+
+// HyperVGenerationType enumerates the values for hyper v generation type.
+type HyperVGenerationType string
+
+const (
+ // HyperVGenerationTypeV1 ...
+ HyperVGenerationTypeV1 HyperVGenerationType = "V1"
+ // HyperVGenerationTypeV2 ...
+ HyperVGenerationTypeV2 HyperVGenerationType = "V2"
+)
+
+// PossibleHyperVGenerationTypeValues returns an array of possible values for the HyperVGenerationType const type.
+func PossibleHyperVGenerationTypeValues() []HyperVGenerationType {
+ return []HyperVGenerationType{HyperVGenerationTypeV1, HyperVGenerationTypeV2}
+}
+
+// HyperVGenerationTypes enumerates the values for hyper v generation types.
+type HyperVGenerationTypes string
+
+const (
+ // HyperVGenerationTypesV1 ...
+ HyperVGenerationTypesV1 HyperVGenerationTypes = "V1"
+ // HyperVGenerationTypesV2 ...
+ HyperVGenerationTypesV2 HyperVGenerationTypes = "V2"
+)
+
+// PossibleHyperVGenerationTypesValues returns an array of possible values for the HyperVGenerationTypes const type.
+func PossibleHyperVGenerationTypesValues() []HyperVGenerationTypes {
+ return []HyperVGenerationTypes{HyperVGenerationTypesV1, HyperVGenerationTypesV2}
+}
+
+// InstanceViewTypes enumerates the values for instance view types.
+type InstanceViewTypes string
+
+const (
+ // InstanceView ...
+ InstanceView InstanceViewTypes = "instanceView"
+)
+
+// PossibleInstanceViewTypesValues returns an array of possible values for the InstanceViewTypes const type.
+func PossibleInstanceViewTypesValues() []InstanceViewTypes {
+ return []InstanceViewTypes{InstanceView}
+}
+
+// IntervalInMins enumerates the values for interval in mins.
+type IntervalInMins string
+
+const (
+ // FiveMins ...
+ FiveMins IntervalInMins = "FiveMins"
+ // SixtyMins ...
+ SixtyMins IntervalInMins = "SixtyMins"
+ // ThirtyMins ...
+ ThirtyMins IntervalInMins = "ThirtyMins"
+ // ThreeMins ...
+ ThreeMins IntervalInMins = "ThreeMins"
+)
+
+// PossibleIntervalInMinsValues returns an array of possible values for the IntervalInMins const type.
+func PossibleIntervalInMinsValues() []IntervalInMins {
+ return []IntervalInMins{FiveMins, SixtyMins, ThirtyMins, ThreeMins}
+}
+
+// IPVersion enumerates the values for ip version.
+type IPVersion string
+
+const (
+ // IPv4 ...
+ IPv4 IPVersion = "IPv4"
+ // IPv6 ...
+ IPv6 IPVersion = "IPv6"
+)
+
+// PossibleIPVersionValues returns an array of possible values for the IPVersion const type.
+func PossibleIPVersionValues() []IPVersion {
+ return []IPVersion{IPv4, IPv6}
+}
+
+// MaintenanceOperationResultCodeTypes enumerates the values for maintenance operation result code types.
+type MaintenanceOperationResultCodeTypes string
+
+const (
+ // MaintenanceOperationResultCodeTypesMaintenanceAborted ...
+ MaintenanceOperationResultCodeTypesMaintenanceAborted MaintenanceOperationResultCodeTypes = "MaintenanceAborted"
+ // MaintenanceOperationResultCodeTypesMaintenanceCompleted ...
+ MaintenanceOperationResultCodeTypesMaintenanceCompleted MaintenanceOperationResultCodeTypes = "MaintenanceCompleted"
+ // MaintenanceOperationResultCodeTypesNone ...
+ MaintenanceOperationResultCodeTypesNone MaintenanceOperationResultCodeTypes = "None"
+ // MaintenanceOperationResultCodeTypesRetryLater ...
+ MaintenanceOperationResultCodeTypesRetryLater MaintenanceOperationResultCodeTypes = "RetryLater"
+)
+
+// PossibleMaintenanceOperationResultCodeTypesValues returns an array of possible values for the MaintenanceOperationResultCodeTypes const type.
+func PossibleMaintenanceOperationResultCodeTypesValues() []MaintenanceOperationResultCodeTypes {
+ return []MaintenanceOperationResultCodeTypes{MaintenanceOperationResultCodeTypesMaintenanceAborted, MaintenanceOperationResultCodeTypesMaintenanceCompleted, MaintenanceOperationResultCodeTypesNone, MaintenanceOperationResultCodeTypesRetryLater}
+}
+
+// OperatingSystemStateTypes enumerates the values for operating system state types.
+type OperatingSystemStateTypes string
+
+const (
+ // Generalized ...
+ Generalized OperatingSystemStateTypes = "Generalized"
+ // Specialized ...
+ Specialized OperatingSystemStateTypes = "Specialized"
+)
+
+// PossibleOperatingSystemStateTypesValues returns an array of possible values for the OperatingSystemStateTypes const type.
+func PossibleOperatingSystemStateTypesValues() []OperatingSystemStateTypes {
+ return []OperatingSystemStateTypes{Generalized, Specialized}
+}
+
+// OperatingSystemTypes enumerates the values for operating system types.
+type OperatingSystemTypes string
+
+const (
+ // Linux ...
+ Linux OperatingSystemTypes = "Linux"
+ // Windows ...
+ Windows OperatingSystemTypes = "Windows"
+)
+
+// PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.
+func PossibleOperatingSystemTypesValues() []OperatingSystemTypes {
+ return []OperatingSystemTypes{Linux, Windows}
+}
+
+// PassNames enumerates the values for pass names.
+type PassNames string
+
+const (
+ // OobeSystem ...
+ OobeSystem PassNames = "OobeSystem"
+)
+
+// PossiblePassNamesValues returns an array of possible values for the PassNames const type.
+func PossiblePassNamesValues() []PassNames {
+ return []PassNames{OobeSystem}
+}
+
+// ProtocolTypes enumerates the values for protocol types.
+type ProtocolTypes string
+
+const (
+ // HTTP ...
+ HTTP ProtocolTypes = "Http"
+ // HTTPS ...
+ HTTPS ProtocolTypes = "Https"
+)
+
+// PossibleProtocolTypesValues returns an array of possible values for the ProtocolTypes const type.
+func PossibleProtocolTypesValues() []ProtocolTypes {
+ return []ProtocolTypes{HTTP, HTTPS}
+}
+
+// ProvisioningState enumerates the values for provisioning state.
+type ProvisioningState string
+
+const (
+ // ProvisioningStateCreating ...
+ ProvisioningStateCreating ProvisioningState = "Creating"
+ // ProvisioningStateDeleting ...
+ ProvisioningStateDeleting ProvisioningState = "Deleting"
+ // ProvisioningStateFailed ...
+ ProvisioningStateFailed ProvisioningState = "Failed"
+ // ProvisioningStateMigrating ...
+ ProvisioningStateMigrating ProvisioningState = "Migrating"
+ // ProvisioningStateSucceeded ...
+ ProvisioningStateSucceeded ProvisioningState = "Succeeded"
+ // ProvisioningStateUpdating ...
+ ProvisioningStateUpdating ProvisioningState = "Updating"
+)
+
+// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
+func PossibleProvisioningStateValues() []ProvisioningState {
+ return []ProvisioningState{ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateMigrating, ProvisioningStateSucceeded, ProvisioningStateUpdating}
+}
+
+// ProvisioningState1 enumerates the values for provisioning state 1.
+type ProvisioningState1 string
+
+const (
+ // ProvisioningState1Creating ...
+ ProvisioningState1Creating ProvisioningState1 = "Creating"
+ // ProvisioningState1Deleting ...
+ ProvisioningState1Deleting ProvisioningState1 = "Deleting"
+ // ProvisioningState1Failed ...
+ ProvisioningState1Failed ProvisioningState1 = "Failed"
+ // ProvisioningState1Migrating ...
+ ProvisioningState1Migrating ProvisioningState1 = "Migrating"
+ // ProvisioningState1Succeeded ...
+ ProvisioningState1Succeeded ProvisioningState1 = "Succeeded"
+ // ProvisioningState1Updating ...
+ ProvisioningState1Updating ProvisioningState1 = "Updating"
+)
+
+// PossibleProvisioningState1Values returns an array of possible values for the ProvisioningState1 const type.
+func PossibleProvisioningState1Values() []ProvisioningState1 {
+ return []ProvisioningState1{ProvisioningState1Creating, ProvisioningState1Deleting, ProvisioningState1Failed, ProvisioningState1Migrating, ProvisioningState1Succeeded, ProvisioningState1Updating}
+}
+
+// ProvisioningState2 enumerates the values for provisioning state 2.
+type ProvisioningState2 string
+
+const (
+ // ProvisioningState2Creating ...
+ ProvisioningState2Creating ProvisioningState2 = "Creating"
+ // ProvisioningState2Deleting ...
+ ProvisioningState2Deleting ProvisioningState2 = "Deleting"
+ // ProvisioningState2Failed ...
+ ProvisioningState2Failed ProvisioningState2 = "Failed"
+ // ProvisioningState2Migrating ...
+ ProvisioningState2Migrating ProvisioningState2 = "Migrating"
+ // ProvisioningState2Succeeded ...
+ ProvisioningState2Succeeded ProvisioningState2 = "Succeeded"
+ // ProvisioningState2Updating ...
+ ProvisioningState2Updating ProvisioningState2 = "Updating"
+)
+
+// PossibleProvisioningState2Values returns an array of possible values for the ProvisioningState2 const type.
+func PossibleProvisioningState2Values() []ProvisioningState2 {
+ return []ProvisioningState2{ProvisioningState2Creating, ProvisioningState2Deleting, ProvisioningState2Failed, ProvisioningState2Migrating, ProvisioningState2Succeeded, ProvisioningState2Updating}
+}
+
+// ProximityPlacementGroupType enumerates the values for proximity placement group type.
+type ProximityPlacementGroupType string
+
+const (
+ // Standard ...
+ Standard ProximityPlacementGroupType = "Standard"
+ // Ultra ...
+ Ultra ProximityPlacementGroupType = "Ultra"
+)
+
+// PossibleProximityPlacementGroupTypeValues returns an array of possible values for the ProximityPlacementGroupType const type.
+func PossibleProximityPlacementGroupTypeValues() []ProximityPlacementGroupType {
+ return []ProximityPlacementGroupType{Standard, Ultra}
+}
+
+// ReplicationState enumerates the values for replication state.
+type ReplicationState string
+
+const (
+ // ReplicationStateCompleted ...
+ ReplicationStateCompleted ReplicationState = "Completed"
+ // ReplicationStateFailed ...
+ ReplicationStateFailed ReplicationState = "Failed"
+ // ReplicationStateReplicating ...
+ ReplicationStateReplicating ReplicationState = "Replicating"
+ // ReplicationStateUnknown ...
+ ReplicationStateUnknown ReplicationState = "Unknown"
+)
+
+// PossibleReplicationStateValues returns an array of possible values for the ReplicationState const type.
+func PossibleReplicationStateValues() []ReplicationState {
+ return []ReplicationState{ReplicationStateCompleted, ReplicationStateFailed, ReplicationStateReplicating, ReplicationStateUnknown}
+}
+
+// ReplicationStatusTypes enumerates the values for replication status types.
+type ReplicationStatusTypes string
+
+const (
+ // ReplicationStatusTypesReplicationStatus ...
+ ReplicationStatusTypesReplicationStatus ReplicationStatusTypes = "ReplicationStatus"
+)
+
+// PossibleReplicationStatusTypesValues returns an array of possible values for the ReplicationStatusTypes const type.
+func PossibleReplicationStatusTypesValues() []ReplicationStatusTypes {
+ return []ReplicationStatusTypes{ReplicationStatusTypesReplicationStatus}
+}
+
+// ResourceIdentityType enumerates the values for resource identity type.
+type ResourceIdentityType string
+
+const (
+ // ResourceIdentityTypeNone ...
+ ResourceIdentityTypeNone ResourceIdentityType = "None"
+ // ResourceIdentityTypeSystemAssigned ...
+ ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
+ // ResourceIdentityTypeSystemAssignedUserAssigned ...
+ ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned"
+ // ResourceIdentityTypeUserAssigned ...
+ ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
+)
+
+// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
+func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
+ return []ResourceIdentityType{ResourceIdentityTypeNone, ResourceIdentityTypeSystemAssigned, ResourceIdentityTypeSystemAssignedUserAssigned, ResourceIdentityTypeUserAssigned}
+}
+
+// ResourceSkuCapacityScaleType enumerates the values for resource sku capacity scale type.
+type ResourceSkuCapacityScaleType string
+
+const (
+ // ResourceSkuCapacityScaleTypeAutomatic ...
+ ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "Automatic"
+ // ResourceSkuCapacityScaleTypeManual ...
+ ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "Manual"
+ // ResourceSkuCapacityScaleTypeNone ...
+ ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "None"
+)
+
+// PossibleResourceSkuCapacityScaleTypeValues returns an array of possible values for the ResourceSkuCapacityScaleType const type.
+func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType {
+ return []ResourceSkuCapacityScaleType{ResourceSkuCapacityScaleTypeAutomatic, ResourceSkuCapacityScaleTypeManual, ResourceSkuCapacityScaleTypeNone}
+}
+
+// ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.
+type ResourceSkuRestrictionsReasonCode string
+
+const (
+ // NotAvailableForSubscription ...
+ NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
+ // QuotaID ...
+ QuotaID ResourceSkuRestrictionsReasonCode = "QuotaId"
+)
+
+// PossibleResourceSkuRestrictionsReasonCodeValues returns an array of possible values for the ResourceSkuRestrictionsReasonCode const type.
+func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode {
+ return []ResourceSkuRestrictionsReasonCode{NotAvailableForSubscription, QuotaID}
+}
+
+// ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.
+type ResourceSkuRestrictionsType string
+
+const (
+ // Location ...
+ Location ResourceSkuRestrictionsType = "Location"
+ // Zone ...
+ Zone ResourceSkuRestrictionsType = "Zone"
+)
+
+// PossibleResourceSkuRestrictionsTypeValues returns an array of possible values for the ResourceSkuRestrictionsType const type.
+func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType {
+ return []ResourceSkuRestrictionsType{Location, Zone}
+}
+
+// RollingUpgradeActionType enumerates the values for rolling upgrade action type.
+type RollingUpgradeActionType string
+
+const (
+ // Cancel ...
+ Cancel RollingUpgradeActionType = "Cancel"
+ // Start ...
+ Start RollingUpgradeActionType = "Start"
+)
+
+// PossibleRollingUpgradeActionTypeValues returns an array of possible values for the RollingUpgradeActionType const type.
+func PossibleRollingUpgradeActionTypeValues() []RollingUpgradeActionType {
+ return []RollingUpgradeActionType{Cancel, Start}
+}
+
+// RollingUpgradeStatusCode enumerates the values for rolling upgrade status code.
+type RollingUpgradeStatusCode string
+
+const (
+ // RollingUpgradeStatusCodeCancelled ...
+ RollingUpgradeStatusCodeCancelled RollingUpgradeStatusCode = "Cancelled"
+ // RollingUpgradeStatusCodeCompleted ...
+ RollingUpgradeStatusCodeCompleted RollingUpgradeStatusCode = "Completed"
+ // RollingUpgradeStatusCodeFaulted ...
+ RollingUpgradeStatusCodeFaulted RollingUpgradeStatusCode = "Faulted"
+ // RollingUpgradeStatusCodeRollingForward ...
+ RollingUpgradeStatusCodeRollingForward RollingUpgradeStatusCode = "RollingForward"
+)
+
+// PossibleRollingUpgradeStatusCodeValues returns an array of possible values for the RollingUpgradeStatusCode const type.
+func PossibleRollingUpgradeStatusCodeValues() []RollingUpgradeStatusCode {
+ return []RollingUpgradeStatusCode{RollingUpgradeStatusCodeCancelled, RollingUpgradeStatusCodeCompleted, RollingUpgradeStatusCodeFaulted, RollingUpgradeStatusCodeRollingForward}
+}
+
+// SettingNames enumerates the values for setting names.
+type SettingNames string
+
+const (
+ // AutoLogon ...
+ AutoLogon SettingNames = "AutoLogon"
+ // FirstLogonCommands ...
+ FirstLogonCommands SettingNames = "FirstLogonCommands"
+)
+
+// PossibleSettingNamesValues returns an array of possible values for the SettingNames const type.
+func PossibleSettingNamesValues() []SettingNames {
+ return []SettingNames{AutoLogon, FirstLogonCommands}
+}
+
+// SnapshotStorageAccountTypes enumerates the values for snapshot storage account types.
+type SnapshotStorageAccountTypes string
+
+const (
+ // SnapshotStorageAccountTypesPremiumLRS ...
+ SnapshotStorageAccountTypesPremiumLRS SnapshotStorageAccountTypes = "Premium_LRS"
+ // SnapshotStorageAccountTypesStandardLRS ...
+ SnapshotStorageAccountTypesStandardLRS SnapshotStorageAccountTypes = "Standard_LRS"
+ // SnapshotStorageAccountTypesStandardZRS ...
+ SnapshotStorageAccountTypesStandardZRS SnapshotStorageAccountTypes = "Standard_ZRS"
+)
+
+// PossibleSnapshotStorageAccountTypesValues returns an array of possible values for the SnapshotStorageAccountTypes const type.
+func PossibleSnapshotStorageAccountTypesValues() []SnapshotStorageAccountTypes {
+ return []SnapshotStorageAccountTypes{SnapshotStorageAccountTypesPremiumLRS, SnapshotStorageAccountTypesStandardLRS, SnapshotStorageAccountTypesStandardZRS}
+}
+
+// StatusLevelTypes enumerates the values for status level types.
+type StatusLevelTypes string
+
+const (
+ // Error ...
+ Error StatusLevelTypes = "Error"
+ // Info ...
+ Info StatusLevelTypes = "Info"
+ // Warning ...
+ Warning StatusLevelTypes = "Warning"
+)
+
+// PossibleStatusLevelTypesValues returns an array of possible values for the StatusLevelTypes const type.
+func PossibleStatusLevelTypesValues() []StatusLevelTypes {
+ return []StatusLevelTypes{Error, Info, Warning}
+}
+
+// StorageAccountType enumerates the values for storage account type.
+type StorageAccountType string
+
+const (
+ // StorageAccountTypeStandardLRS ...
+ StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS"
+ // StorageAccountTypeStandardZRS ...
+ StorageAccountTypeStandardZRS StorageAccountType = "Standard_ZRS"
+)
+
+// PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type.
+func PossibleStorageAccountTypeValues() []StorageAccountType {
+ return []StorageAccountType{StorageAccountTypeStandardLRS, StorageAccountTypeStandardZRS}
+}
+
+// StorageAccountTypes enumerates the values for storage account types.
+type StorageAccountTypes string
+
+const (
+ // StorageAccountTypesPremiumLRS ...
+ StorageAccountTypesPremiumLRS StorageAccountTypes = "Premium_LRS"
+ // StorageAccountTypesStandardLRS ...
+ StorageAccountTypesStandardLRS StorageAccountTypes = "Standard_LRS"
+ // StorageAccountTypesStandardSSDLRS ...
+ StorageAccountTypesStandardSSDLRS StorageAccountTypes = "StandardSSD_LRS"
+ // StorageAccountTypesUltraSSDLRS ...
+ StorageAccountTypesUltraSSDLRS StorageAccountTypes = "UltraSSD_LRS"
+)
+
+// PossibleStorageAccountTypesValues returns an array of possible values for the StorageAccountTypes const type.
+func PossibleStorageAccountTypesValues() []StorageAccountTypes {
+ return []StorageAccountTypes{StorageAccountTypesPremiumLRS, StorageAccountTypesStandardLRS, StorageAccountTypesStandardSSDLRS, StorageAccountTypesUltraSSDLRS}
+}
+
+// UpgradeMode enumerates the values for upgrade mode.
+type UpgradeMode string
+
+const (
+ // Automatic ...
+ Automatic UpgradeMode = "Automatic"
+ // Manual ...
+ Manual UpgradeMode = "Manual"
+ // Rolling ...
+ Rolling UpgradeMode = "Rolling"
+)
+
+// PossibleUpgradeModeValues returns an array of possible values for the UpgradeMode const type.
+func PossibleUpgradeModeValues() []UpgradeMode {
+ return []UpgradeMode{Automatic, Manual, Rolling}
+}
+
+// UpgradeOperationInvoker enumerates the values for upgrade operation invoker.
+type UpgradeOperationInvoker string
+
+const (
+ // UpgradeOperationInvokerPlatform ...
+ UpgradeOperationInvokerPlatform UpgradeOperationInvoker = "Platform"
+ // UpgradeOperationInvokerUnknown ...
+ UpgradeOperationInvokerUnknown UpgradeOperationInvoker = "Unknown"
+ // UpgradeOperationInvokerUser ...
+ UpgradeOperationInvokerUser UpgradeOperationInvoker = "User"
+)
+
+// PossibleUpgradeOperationInvokerValues returns an array of possible values for the UpgradeOperationInvoker const type.
+func PossibleUpgradeOperationInvokerValues() []UpgradeOperationInvoker {
+ return []UpgradeOperationInvoker{UpgradeOperationInvokerPlatform, UpgradeOperationInvokerUnknown, UpgradeOperationInvokerUser}
+}
+
+// UpgradeState enumerates the values for upgrade state.
+type UpgradeState string
+
+const (
+ // UpgradeStateCancelled ...
+ UpgradeStateCancelled UpgradeState = "Cancelled"
+ // UpgradeStateCompleted ...
+ UpgradeStateCompleted UpgradeState = "Completed"
+ // UpgradeStateFaulted ...
+ UpgradeStateFaulted UpgradeState = "Faulted"
+ // UpgradeStateRollingForward ...
+ UpgradeStateRollingForward UpgradeState = "RollingForward"
+)
+
+// PossibleUpgradeStateValues returns an array of possible values for the UpgradeState const type.
+func PossibleUpgradeStateValues() []UpgradeState {
+ return []UpgradeState{UpgradeStateCancelled, UpgradeStateCompleted, UpgradeStateFaulted, UpgradeStateRollingForward}
+}
+
+// VirtualMachineEvictionPolicyTypes enumerates the values for virtual machine eviction policy types.
+type VirtualMachineEvictionPolicyTypes string
+
+const (
+ // Deallocate ...
+ Deallocate VirtualMachineEvictionPolicyTypes = "Deallocate"
+ // Delete ...
+ Delete VirtualMachineEvictionPolicyTypes = "Delete"
+)
+
+// PossibleVirtualMachineEvictionPolicyTypesValues returns an array of possible values for the VirtualMachineEvictionPolicyTypes const type.
+func PossibleVirtualMachineEvictionPolicyTypesValues() []VirtualMachineEvictionPolicyTypes {
+ return []VirtualMachineEvictionPolicyTypes{Deallocate, Delete}
+}
+
+// VirtualMachinePriorityTypes enumerates the values for virtual machine priority types.
+type VirtualMachinePriorityTypes string
+
+const (
+ // Low ...
+ Low VirtualMachinePriorityTypes = "Low"
+ // Regular ...
+ Regular VirtualMachinePriorityTypes = "Regular"
+)
+
+// PossibleVirtualMachinePriorityTypesValues returns an array of possible values for the VirtualMachinePriorityTypes const type.
+func PossibleVirtualMachinePriorityTypesValues() []VirtualMachinePriorityTypes {
+ return []VirtualMachinePriorityTypes{Low, Regular}
+}
+
+// VirtualMachineScaleSetSkuScaleType enumerates the values for virtual machine scale set sku scale type.
+type VirtualMachineScaleSetSkuScaleType string
+
+const (
+ // VirtualMachineScaleSetSkuScaleTypeAutomatic ...
+ VirtualMachineScaleSetSkuScaleTypeAutomatic VirtualMachineScaleSetSkuScaleType = "Automatic"
+ // VirtualMachineScaleSetSkuScaleTypeNone ...
+ VirtualMachineScaleSetSkuScaleTypeNone VirtualMachineScaleSetSkuScaleType = "None"
+)
+
+// PossibleVirtualMachineScaleSetSkuScaleTypeValues returns an array of possible values for the VirtualMachineScaleSetSkuScaleType const type.
+func PossibleVirtualMachineScaleSetSkuScaleTypeValues() []VirtualMachineScaleSetSkuScaleType {
+ return []VirtualMachineScaleSetSkuScaleType{VirtualMachineScaleSetSkuScaleTypeAutomatic, VirtualMachineScaleSetSkuScaleTypeNone}
+}
+
+// VirtualMachineSizeTypes enumerates the values for virtual machine size types.
+type VirtualMachineSizeTypes string
+
+const (
+ // VirtualMachineSizeTypesBasicA0 ...
+ VirtualMachineSizeTypesBasicA0 VirtualMachineSizeTypes = "Basic_A0"
+ // VirtualMachineSizeTypesBasicA1 ...
+ VirtualMachineSizeTypesBasicA1 VirtualMachineSizeTypes = "Basic_A1"
+ // VirtualMachineSizeTypesBasicA2 ...
+ VirtualMachineSizeTypesBasicA2 VirtualMachineSizeTypes = "Basic_A2"
+ // VirtualMachineSizeTypesBasicA3 ...
+ VirtualMachineSizeTypesBasicA3 VirtualMachineSizeTypes = "Basic_A3"
+ // VirtualMachineSizeTypesBasicA4 ...
+ VirtualMachineSizeTypesBasicA4 VirtualMachineSizeTypes = "Basic_A4"
+ // VirtualMachineSizeTypesStandardA0 ...
+ VirtualMachineSizeTypesStandardA0 VirtualMachineSizeTypes = "Standard_A0"
+ // VirtualMachineSizeTypesStandardA1 ...
+ VirtualMachineSizeTypesStandardA1 VirtualMachineSizeTypes = "Standard_A1"
+ // VirtualMachineSizeTypesStandardA10 ...
+ VirtualMachineSizeTypesStandardA10 VirtualMachineSizeTypes = "Standard_A10"
+ // VirtualMachineSizeTypesStandardA11 ...
+ VirtualMachineSizeTypesStandardA11 VirtualMachineSizeTypes = "Standard_A11"
+ // VirtualMachineSizeTypesStandardA1V2 ...
+ VirtualMachineSizeTypesStandardA1V2 VirtualMachineSizeTypes = "Standard_A1_v2"
+ // VirtualMachineSizeTypesStandardA2 ...
+ VirtualMachineSizeTypesStandardA2 VirtualMachineSizeTypes = "Standard_A2"
+ // VirtualMachineSizeTypesStandardA2mV2 ...
+ VirtualMachineSizeTypesStandardA2mV2 VirtualMachineSizeTypes = "Standard_A2m_v2"
+ // VirtualMachineSizeTypesStandardA2V2 ...
+ VirtualMachineSizeTypesStandardA2V2 VirtualMachineSizeTypes = "Standard_A2_v2"
+ // VirtualMachineSizeTypesStandardA3 ...
+ VirtualMachineSizeTypesStandardA3 VirtualMachineSizeTypes = "Standard_A3"
+ // VirtualMachineSizeTypesStandardA4 ...
+ VirtualMachineSizeTypesStandardA4 VirtualMachineSizeTypes = "Standard_A4"
+ // VirtualMachineSizeTypesStandardA4mV2 ...
+ VirtualMachineSizeTypesStandardA4mV2 VirtualMachineSizeTypes = "Standard_A4m_v2"
+ // VirtualMachineSizeTypesStandardA4V2 ...
+ VirtualMachineSizeTypesStandardA4V2 VirtualMachineSizeTypes = "Standard_A4_v2"
+ // VirtualMachineSizeTypesStandardA5 ...
+ VirtualMachineSizeTypesStandardA5 VirtualMachineSizeTypes = "Standard_A5"
+ // VirtualMachineSizeTypesStandardA6 ...
+ VirtualMachineSizeTypesStandardA6 VirtualMachineSizeTypes = "Standard_A6"
+ // VirtualMachineSizeTypesStandardA7 ...
+ VirtualMachineSizeTypesStandardA7 VirtualMachineSizeTypes = "Standard_A7"
+ // VirtualMachineSizeTypesStandardA8 ...
+ VirtualMachineSizeTypesStandardA8 VirtualMachineSizeTypes = "Standard_A8"
+ // VirtualMachineSizeTypesStandardA8mV2 ...
+ VirtualMachineSizeTypesStandardA8mV2 VirtualMachineSizeTypes = "Standard_A8m_v2"
+ // VirtualMachineSizeTypesStandardA8V2 ...
+ VirtualMachineSizeTypesStandardA8V2 VirtualMachineSizeTypes = "Standard_A8_v2"
+ // VirtualMachineSizeTypesStandardA9 ...
+ VirtualMachineSizeTypesStandardA9 VirtualMachineSizeTypes = "Standard_A9"
+ // VirtualMachineSizeTypesStandardB1ms ...
+ VirtualMachineSizeTypesStandardB1ms VirtualMachineSizeTypes = "Standard_B1ms"
+ // VirtualMachineSizeTypesStandardB1s ...
+ VirtualMachineSizeTypesStandardB1s VirtualMachineSizeTypes = "Standard_B1s"
+ // VirtualMachineSizeTypesStandardB2ms ...
+ VirtualMachineSizeTypesStandardB2ms VirtualMachineSizeTypes = "Standard_B2ms"
+ // VirtualMachineSizeTypesStandardB2s ...
+ VirtualMachineSizeTypesStandardB2s VirtualMachineSizeTypes = "Standard_B2s"
+ // VirtualMachineSizeTypesStandardB4ms ...
+ VirtualMachineSizeTypesStandardB4ms VirtualMachineSizeTypes = "Standard_B4ms"
+ // VirtualMachineSizeTypesStandardB8ms ...
+ VirtualMachineSizeTypesStandardB8ms VirtualMachineSizeTypes = "Standard_B8ms"
+ // VirtualMachineSizeTypesStandardD1 ...
+ VirtualMachineSizeTypesStandardD1 VirtualMachineSizeTypes = "Standard_D1"
+ // VirtualMachineSizeTypesStandardD11 ...
+ VirtualMachineSizeTypesStandardD11 VirtualMachineSizeTypes = "Standard_D11"
+ // VirtualMachineSizeTypesStandardD11V2 ...
+ VirtualMachineSizeTypesStandardD11V2 VirtualMachineSizeTypes = "Standard_D11_v2"
+ // VirtualMachineSizeTypesStandardD12 ...
+ VirtualMachineSizeTypesStandardD12 VirtualMachineSizeTypes = "Standard_D12"
+ // VirtualMachineSizeTypesStandardD12V2 ...
+ VirtualMachineSizeTypesStandardD12V2 VirtualMachineSizeTypes = "Standard_D12_v2"
+ // VirtualMachineSizeTypesStandardD13 ...
+ VirtualMachineSizeTypesStandardD13 VirtualMachineSizeTypes = "Standard_D13"
+ // VirtualMachineSizeTypesStandardD13V2 ...
+ VirtualMachineSizeTypesStandardD13V2 VirtualMachineSizeTypes = "Standard_D13_v2"
+ // VirtualMachineSizeTypesStandardD14 ...
+ VirtualMachineSizeTypesStandardD14 VirtualMachineSizeTypes = "Standard_D14"
+ // VirtualMachineSizeTypesStandardD14V2 ...
+ VirtualMachineSizeTypesStandardD14V2 VirtualMachineSizeTypes = "Standard_D14_v2"
+ // VirtualMachineSizeTypesStandardD15V2 ...
+ VirtualMachineSizeTypesStandardD15V2 VirtualMachineSizeTypes = "Standard_D15_v2"
+ // VirtualMachineSizeTypesStandardD16sV3 ...
+ VirtualMachineSizeTypesStandardD16sV3 VirtualMachineSizeTypes = "Standard_D16s_v3"
+ // VirtualMachineSizeTypesStandardD16V3 ...
+ VirtualMachineSizeTypesStandardD16V3 VirtualMachineSizeTypes = "Standard_D16_v3"
+ // VirtualMachineSizeTypesStandardD1V2 ...
+ VirtualMachineSizeTypesStandardD1V2 VirtualMachineSizeTypes = "Standard_D1_v2"
+ // VirtualMachineSizeTypesStandardD2 ...
+ VirtualMachineSizeTypesStandardD2 VirtualMachineSizeTypes = "Standard_D2"
+ // VirtualMachineSizeTypesStandardD2sV3 ...
+ VirtualMachineSizeTypesStandardD2sV3 VirtualMachineSizeTypes = "Standard_D2s_v3"
+ // VirtualMachineSizeTypesStandardD2V2 ...
+ VirtualMachineSizeTypesStandardD2V2 VirtualMachineSizeTypes = "Standard_D2_v2"
+ // VirtualMachineSizeTypesStandardD2V3 ...
+ VirtualMachineSizeTypesStandardD2V3 VirtualMachineSizeTypes = "Standard_D2_v3"
+ // VirtualMachineSizeTypesStandardD3 ...
+ VirtualMachineSizeTypesStandardD3 VirtualMachineSizeTypes = "Standard_D3"
+ // VirtualMachineSizeTypesStandardD32sV3 ...
+ VirtualMachineSizeTypesStandardD32sV3 VirtualMachineSizeTypes = "Standard_D32s_v3"
+ // VirtualMachineSizeTypesStandardD32V3 ...
+ VirtualMachineSizeTypesStandardD32V3 VirtualMachineSizeTypes = "Standard_D32_v3"
+ // VirtualMachineSizeTypesStandardD3V2 ...
+ VirtualMachineSizeTypesStandardD3V2 VirtualMachineSizeTypes = "Standard_D3_v2"
+ // VirtualMachineSizeTypesStandardD4 ...
+ VirtualMachineSizeTypesStandardD4 VirtualMachineSizeTypes = "Standard_D4"
+ // VirtualMachineSizeTypesStandardD4sV3 ...
+ VirtualMachineSizeTypesStandardD4sV3 VirtualMachineSizeTypes = "Standard_D4s_v3"
+ // VirtualMachineSizeTypesStandardD4V2 ...
+ VirtualMachineSizeTypesStandardD4V2 VirtualMachineSizeTypes = "Standard_D4_v2"
+ // VirtualMachineSizeTypesStandardD4V3 ...
+ VirtualMachineSizeTypesStandardD4V3 VirtualMachineSizeTypes = "Standard_D4_v3"
+ // VirtualMachineSizeTypesStandardD5V2 ...
+ VirtualMachineSizeTypesStandardD5V2 VirtualMachineSizeTypes = "Standard_D5_v2"
+ // VirtualMachineSizeTypesStandardD64sV3 ...
+ VirtualMachineSizeTypesStandardD64sV3 VirtualMachineSizeTypes = "Standard_D64s_v3"
+ // VirtualMachineSizeTypesStandardD64V3 ...
+ VirtualMachineSizeTypesStandardD64V3 VirtualMachineSizeTypes = "Standard_D64_v3"
+ // VirtualMachineSizeTypesStandardD8sV3 ...
+ VirtualMachineSizeTypesStandardD8sV3 VirtualMachineSizeTypes = "Standard_D8s_v3"
+ // VirtualMachineSizeTypesStandardD8V3 ...
+ VirtualMachineSizeTypesStandardD8V3 VirtualMachineSizeTypes = "Standard_D8_v3"
+ // VirtualMachineSizeTypesStandardDS1 ...
+ VirtualMachineSizeTypesStandardDS1 VirtualMachineSizeTypes = "Standard_DS1"
+ // VirtualMachineSizeTypesStandardDS11 ...
+ VirtualMachineSizeTypesStandardDS11 VirtualMachineSizeTypes = "Standard_DS11"
+ // VirtualMachineSizeTypesStandardDS11V2 ...
+ VirtualMachineSizeTypesStandardDS11V2 VirtualMachineSizeTypes = "Standard_DS11_v2"
+ // VirtualMachineSizeTypesStandardDS12 ...
+ VirtualMachineSizeTypesStandardDS12 VirtualMachineSizeTypes = "Standard_DS12"
+ // VirtualMachineSizeTypesStandardDS12V2 ...
+ VirtualMachineSizeTypesStandardDS12V2 VirtualMachineSizeTypes = "Standard_DS12_v2"
+ // VirtualMachineSizeTypesStandardDS13 ...
+ VirtualMachineSizeTypesStandardDS13 VirtualMachineSizeTypes = "Standard_DS13"
+ // VirtualMachineSizeTypesStandardDS132V2 ...
+ VirtualMachineSizeTypesStandardDS132V2 VirtualMachineSizeTypes = "Standard_DS13-2_v2"
+ // VirtualMachineSizeTypesStandardDS134V2 ...
+ VirtualMachineSizeTypesStandardDS134V2 VirtualMachineSizeTypes = "Standard_DS13-4_v2"
+ // VirtualMachineSizeTypesStandardDS13V2 ...
+ VirtualMachineSizeTypesStandardDS13V2 VirtualMachineSizeTypes = "Standard_DS13_v2"
+ // VirtualMachineSizeTypesStandardDS14 ...
+ VirtualMachineSizeTypesStandardDS14 VirtualMachineSizeTypes = "Standard_DS14"
+ // VirtualMachineSizeTypesStandardDS144V2 ...
+ VirtualMachineSizeTypesStandardDS144V2 VirtualMachineSizeTypes = "Standard_DS14-4_v2"
+ // VirtualMachineSizeTypesStandardDS148V2 ...
+ VirtualMachineSizeTypesStandardDS148V2 VirtualMachineSizeTypes = "Standard_DS14-8_v2"
+ // VirtualMachineSizeTypesStandardDS14V2 ...
+ VirtualMachineSizeTypesStandardDS14V2 VirtualMachineSizeTypes = "Standard_DS14_v2"
+ // VirtualMachineSizeTypesStandardDS15V2 ...
+ VirtualMachineSizeTypesStandardDS15V2 VirtualMachineSizeTypes = "Standard_DS15_v2"
+ // VirtualMachineSizeTypesStandardDS1V2 ...
+ VirtualMachineSizeTypesStandardDS1V2 VirtualMachineSizeTypes = "Standard_DS1_v2"
+ // VirtualMachineSizeTypesStandardDS2 ...
+ VirtualMachineSizeTypesStandardDS2 VirtualMachineSizeTypes = "Standard_DS2"
+ // VirtualMachineSizeTypesStandardDS2V2 ...
+ VirtualMachineSizeTypesStandardDS2V2 VirtualMachineSizeTypes = "Standard_DS2_v2"
+ // VirtualMachineSizeTypesStandardDS3 ...
+ VirtualMachineSizeTypesStandardDS3 VirtualMachineSizeTypes = "Standard_DS3"
+ // VirtualMachineSizeTypesStandardDS3V2 ...
+ VirtualMachineSizeTypesStandardDS3V2 VirtualMachineSizeTypes = "Standard_DS3_v2"
+ // VirtualMachineSizeTypesStandardDS4 ...
+ VirtualMachineSizeTypesStandardDS4 VirtualMachineSizeTypes = "Standard_DS4"
+ // VirtualMachineSizeTypesStandardDS4V2 ...
+ VirtualMachineSizeTypesStandardDS4V2 VirtualMachineSizeTypes = "Standard_DS4_v2"
+ // VirtualMachineSizeTypesStandardDS5V2 ...
+ VirtualMachineSizeTypesStandardDS5V2 VirtualMachineSizeTypes = "Standard_DS5_v2"
+ // VirtualMachineSizeTypesStandardE16sV3 ...
+ VirtualMachineSizeTypesStandardE16sV3 VirtualMachineSizeTypes = "Standard_E16s_v3"
+ // VirtualMachineSizeTypesStandardE16V3 ...
+ VirtualMachineSizeTypesStandardE16V3 VirtualMachineSizeTypes = "Standard_E16_v3"
+ // VirtualMachineSizeTypesStandardE2sV3 ...
+ VirtualMachineSizeTypesStandardE2sV3 VirtualMachineSizeTypes = "Standard_E2s_v3"
+ // VirtualMachineSizeTypesStandardE2V3 ...
+ VirtualMachineSizeTypesStandardE2V3 VirtualMachineSizeTypes = "Standard_E2_v3"
+ // VirtualMachineSizeTypesStandardE3216V3 ...
+ VirtualMachineSizeTypesStandardE3216V3 VirtualMachineSizeTypes = "Standard_E32-16_v3"
+ // VirtualMachineSizeTypesStandardE328sV3 ...
+ VirtualMachineSizeTypesStandardE328sV3 VirtualMachineSizeTypes = "Standard_E32-8s_v3"
+ // VirtualMachineSizeTypesStandardE32sV3 ...
+ VirtualMachineSizeTypesStandardE32sV3 VirtualMachineSizeTypes = "Standard_E32s_v3"
+ // VirtualMachineSizeTypesStandardE32V3 ...
+ VirtualMachineSizeTypesStandardE32V3 VirtualMachineSizeTypes = "Standard_E32_v3"
+ // VirtualMachineSizeTypesStandardE4sV3 ...
+ VirtualMachineSizeTypesStandardE4sV3 VirtualMachineSizeTypes = "Standard_E4s_v3"
+ // VirtualMachineSizeTypesStandardE4V3 ...
+ VirtualMachineSizeTypesStandardE4V3 VirtualMachineSizeTypes = "Standard_E4_v3"
+ // VirtualMachineSizeTypesStandardE6416sV3 ...
+ VirtualMachineSizeTypesStandardE6416sV3 VirtualMachineSizeTypes = "Standard_E64-16s_v3"
+ // VirtualMachineSizeTypesStandardE6432sV3 ...
+ VirtualMachineSizeTypesStandardE6432sV3 VirtualMachineSizeTypes = "Standard_E64-32s_v3"
+ // VirtualMachineSizeTypesStandardE64sV3 ...
+ VirtualMachineSizeTypesStandardE64sV3 VirtualMachineSizeTypes = "Standard_E64s_v3"
+ // VirtualMachineSizeTypesStandardE64V3 ...
+ VirtualMachineSizeTypesStandardE64V3 VirtualMachineSizeTypes = "Standard_E64_v3"
+ // VirtualMachineSizeTypesStandardE8sV3 ...
+ VirtualMachineSizeTypesStandardE8sV3 VirtualMachineSizeTypes = "Standard_E8s_v3"
+ // VirtualMachineSizeTypesStandardE8V3 ...
+ VirtualMachineSizeTypesStandardE8V3 VirtualMachineSizeTypes = "Standard_E8_v3"
+ // VirtualMachineSizeTypesStandardF1 ...
+ VirtualMachineSizeTypesStandardF1 VirtualMachineSizeTypes = "Standard_F1"
+ // VirtualMachineSizeTypesStandardF16 ...
+ VirtualMachineSizeTypesStandardF16 VirtualMachineSizeTypes = "Standard_F16"
+ // VirtualMachineSizeTypesStandardF16s ...
+ VirtualMachineSizeTypesStandardF16s VirtualMachineSizeTypes = "Standard_F16s"
+ // VirtualMachineSizeTypesStandardF16sV2 ...
+ VirtualMachineSizeTypesStandardF16sV2 VirtualMachineSizeTypes = "Standard_F16s_v2"
+ // VirtualMachineSizeTypesStandardF1s ...
+ VirtualMachineSizeTypesStandardF1s VirtualMachineSizeTypes = "Standard_F1s"
+ // VirtualMachineSizeTypesStandardF2 ...
+ VirtualMachineSizeTypesStandardF2 VirtualMachineSizeTypes = "Standard_F2"
+ // VirtualMachineSizeTypesStandardF2s ...
+ VirtualMachineSizeTypesStandardF2s VirtualMachineSizeTypes = "Standard_F2s"
+ // VirtualMachineSizeTypesStandardF2sV2 ...
+ VirtualMachineSizeTypesStandardF2sV2 VirtualMachineSizeTypes = "Standard_F2s_v2"
+ // VirtualMachineSizeTypesStandardF32sV2 ...
+ VirtualMachineSizeTypesStandardF32sV2 VirtualMachineSizeTypes = "Standard_F32s_v2"
+ // VirtualMachineSizeTypesStandardF4 ...
+ VirtualMachineSizeTypesStandardF4 VirtualMachineSizeTypes = "Standard_F4"
+ // VirtualMachineSizeTypesStandardF4s ...
+ VirtualMachineSizeTypesStandardF4s VirtualMachineSizeTypes = "Standard_F4s"
+ // VirtualMachineSizeTypesStandardF4sV2 ...
+ VirtualMachineSizeTypesStandardF4sV2 VirtualMachineSizeTypes = "Standard_F4s_v2"
+ // VirtualMachineSizeTypesStandardF64sV2 ...
+ VirtualMachineSizeTypesStandardF64sV2 VirtualMachineSizeTypes = "Standard_F64s_v2"
+ // VirtualMachineSizeTypesStandardF72sV2 ...
+ VirtualMachineSizeTypesStandardF72sV2 VirtualMachineSizeTypes = "Standard_F72s_v2"
+ // VirtualMachineSizeTypesStandardF8 ...
+ VirtualMachineSizeTypesStandardF8 VirtualMachineSizeTypes = "Standard_F8"
+ // VirtualMachineSizeTypesStandardF8s ...
+ VirtualMachineSizeTypesStandardF8s VirtualMachineSizeTypes = "Standard_F8s"
+ // VirtualMachineSizeTypesStandardF8sV2 ...
+ VirtualMachineSizeTypesStandardF8sV2 VirtualMachineSizeTypes = "Standard_F8s_v2"
+ // VirtualMachineSizeTypesStandardG1 ...
+ VirtualMachineSizeTypesStandardG1 VirtualMachineSizeTypes = "Standard_G1"
+ // VirtualMachineSizeTypesStandardG2 ...
+ VirtualMachineSizeTypesStandardG2 VirtualMachineSizeTypes = "Standard_G2"
+ // VirtualMachineSizeTypesStandardG3 ...
+ VirtualMachineSizeTypesStandardG3 VirtualMachineSizeTypes = "Standard_G3"
+ // VirtualMachineSizeTypesStandardG4 ...
+ VirtualMachineSizeTypesStandardG4 VirtualMachineSizeTypes = "Standard_G4"
+ // VirtualMachineSizeTypesStandardG5 ...
+ VirtualMachineSizeTypesStandardG5 VirtualMachineSizeTypes = "Standard_G5"
+ // VirtualMachineSizeTypesStandardGS1 ...
+ VirtualMachineSizeTypesStandardGS1 VirtualMachineSizeTypes = "Standard_GS1"
+ // VirtualMachineSizeTypesStandardGS2 ...
+ VirtualMachineSizeTypesStandardGS2 VirtualMachineSizeTypes = "Standard_GS2"
+ // VirtualMachineSizeTypesStandardGS3 ...
+ VirtualMachineSizeTypesStandardGS3 VirtualMachineSizeTypes = "Standard_GS3"
+ // VirtualMachineSizeTypesStandardGS4 ...
+ VirtualMachineSizeTypesStandardGS4 VirtualMachineSizeTypes = "Standard_GS4"
+ // VirtualMachineSizeTypesStandardGS44 ...
+ VirtualMachineSizeTypesStandardGS44 VirtualMachineSizeTypes = "Standard_GS4-4"
+ // VirtualMachineSizeTypesStandardGS48 ...
+ VirtualMachineSizeTypesStandardGS48 VirtualMachineSizeTypes = "Standard_GS4-8"
+ // VirtualMachineSizeTypesStandardGS5 ...
+ VirtualMachineSizeTypesStandardGS5 VirtualMachineSizeTypes = "Standard_GS5"
+ // VirtualMachineSizeTypesStandardGS516 ...
+ VirtualMachineSizeTypesStandardGS516 VirtualMachineSizeTypes = "Standard_GS5-16"
+ // VirtualMachineSizeTypesStandardGS58 ...
+ VirtualMachineSizeTypesStandardGS58 VirtualMachineSizeTypes = "Standard_GS5-8"
+ // VirtualMachineSizeTypesStandardH16 ...
+ VirtualMachineSizeTypesStandardH16 VirtualMachineSizeTypes = "Standard_H16"
+ // VirtualMachineSizeTypesStandardH16m ...
+ VirtualMachineSizeTypesStandardH16m VirtualMachineSizeTypes = "Standard_H16m"
+ // VirtualMachineSizeTypesStandardH16mr ...
+ VirtualMachineSizeTypesStandardH16mr VirtualMachineSizeTypes = "Standard_H16mr"
+ // VirtualMachineSizeTypesStandardH16r ...
+ VirtualMachineSizeTypesStandardH16r VirtualMachineSizeTypes = "Standard_H16r"
+ // VirtualMachineSizeTypesStandardH8 ...
+ VirtualMachineSizeTypesStandardH8 VirtualMachineSizeTypes = "Standard_H8"
+ // VirtualMachineSizeTypesStandardH8m ...
+ VirtualMachineSizeTypesStandardH8m VirtualMachineSizeTypes = "Standard_H8m"
+ // VirtualMachineSizeTypesStandardL16s ...
+ VirtualMachineSizeTypesStandardL16s VirtualMachineSizeTypes = "Standard_L16s"
+ // VirtualMachineSizeTypesStandardL32s ...
+ VirtualMachineSizeTypesStandardL32s VirtualMachineSizeTypes = "Standard_L32s"
+ // VirtualMachineSizeTypesStandardL4s ...
+ VirtualMachineSizeTypesStandardL4s VirtualMachineSizeTypes = "Standard_L4s"
+ // VirtualMachineSizeTypesStandardL8s ...
+ VirtualMachineSizeTypesStandardL8s VirtualMachineSizeTypes = "Standard_L8s"
+ // VirtualMachineSizeTypesStandardM12832ms ...
+ VirtualMachineSizeTypesStandardM12832ms VirtualMachineSizeTypes = "Standard_M128-32ms"
+ // VirtualMachineSizeTypesStandardM12864ms ...
+ VirtualMachineSizeTypesStandardM12864ms VirtualMachineSizeTypes = "Standard_M128-64ms"
+ // VirtualMachineSizeTypesStandardM128ms ...
+ VirtualMachineSizeTypesStandardM128ms VirtualMachineSizeTypes = "Standard_M128ms"
+ // VirtualMachineSizeTypesStandardM128s ...
+ VirtualMachineSizeTypesStandardM128s VirtualMachineSizeTypes = "Standard_M128s"
+ // VirtualMachineSizeTypesStandardM6416ms ...
+ VirtualMachineSizeTypesStandardM6416ms VirtualMachineSizeTypes = "Standard_M64-16ms"
+ // VirtualMachineSizeTypesStandardM6432ms ...
+ VirtualMachineSizeTypesStandardM6432ms VirtualMachineSizeTypes = "Standard_M64-32ms"
+ // VirtualMachineSizeTypesStandardM64ms ...
+ VirtualMachineSizeTypesStandardM64ms VirtualMachineSizeTypes = "Standard_M64ms"
+ // VirtualMachineSizeTypesStandardM64s ...
+ VirtualMachineSizeTypesStandardM64s VirtualMachineSizeTypes = "Standard_M64s"
+ // VirtualMachineSizeTypesStandardNC12 ...
+ VirtualMachineSizeTypesStandardNC12 VirtualMachineSizeTypes = "Standard_NC12"
+ // VirtualMachineSizeTypesStandardNC12sV2 ...
+ VirtualMachineSizeTypesStandardNC12sV2 VirtualMachineSizeTypes = "Standard_NC12s_v2"
+ // VirtualMachineSizeTypesStandardNC12sV3 ...
+ VirtualMachineSizeTypesStandardNC12sV3 VirtualMachineSizeTypes = "Standard_NC12s_v3"
+ // VirtualMachineSizeTypesStandardNC24 ...
+ VirtualMachineSizeTypesStandardNC24 VirtualMachineSizeTypes = "Standard_NC24"
+ // VirtualMachineSizeTypesStandardNC24r ...
+ VirtualMachineSizeTypesStandardNC24r VirtualMachineSizeTypes = "Standard_NC24r"
+ // VirtualMachineSizeTypesStandardNC24rsV2 ...
+ VirtualMachineSizeTypesStandardNC24rsV2 VirtualMachineSizeTypes = "Standard_NC24rs_v2"
+ // VirtualMachineSizeTypesStandardNC24rsV3 ...
+ VirtualMachineSizeTypesStandardNC24rsV3 VirtualMachineSizeTypes = "Standard_NC24rs_v3"
+ // VirtualMachineSizeTypesStandardNC24sV2 ...
+ VirtualMachineSizeTypesStandardNC24sV2 VirtualMachineSizeTypes = "Standard_NC24s_v2"
+ // VirtualMachineSizeTypesStandardNC24sV3 ...
+ VirtualMachineSizeTypesStandardNC24sV3 VirtualMachineSizeTypes = "Standard_NC24s_v3"
+ // VirtualMachineSizeTypesStandardNC6 ...
+ VirtualMachineSizeTypesStandardNC6 VirtualMachineSizeTypes = "Standard_NC6"
+ // VirtualMachineSizeTypesStandardNC6sV2 ...
+ VirtualMachineSizeTypesStandardNC6sV2 VirtualMachineSizeTypes = "Standard_NC6s_v2"
+ // VirtualMachineSizeTypesStandardNC6sV3 ...
+ VirtualMachineSizeTypesStandardNC6sV3 VirtualMachineSizeTypes = "Standard_NC6s_v3"
+ // VirtualMachineSizeTypesStandardND12s ...
+ VirtualMachineSizeTypesStandardND12s VirtualMachineSizeTypes = "Standard_ND12s"
+ // VirtualMachineSizeTypesStandardND24rs ...
+ VirtualMachineSizeTypesStandardND24rs VirtualMachineSizeTypes = "Standard_ND24rs"
+ // VirtualMachineSizeTypesStandardND24s ...
+ VirtualMachineSizeTypesStandardND24s VirtualMachineSizeTypes = "Standard_ND24s"
+ // VirtualMachineSizeTypesStandardND6s ...
+ VirtualMachineSizeTypesStandardND6s VirtualMachineSizeTypes = "Standard_ND6s"
+ // VirtualMachineSizeTypesStandardNV12 ...
+ VirtualMachineSizeTypesStandardNV12 VirtualMachineSizeTypes = "Standard_NV12"
+ // VirtualMachineSizeTypesStandardNV24 ...
+ VirtualMachineSizeTypesStandardNV24 VirtualMachineSizeTypes = "Standard_NV24"
+ // VirtualMachineSizeTypesStandardNV6 ...
+ VirtualMachineSizeTypesStandardNV6 VirtualMachineSizeTypes = "Standard_NV6"
+)
+
+// PossibleVirtualMachineSizeTypesValues returns an array of possible values for the VirtualMachineSizeTypes const type.
+func PossibleVirtualMachineSizeTypesValues() []VirtualMachineSizeTypes {
+ return []VirtualMachineSizeTypes{VirtualMachineSizeTypesBasicA0, VirtualMachineSizeTypesBasicA1, VirtualMachineSizeTypesBasicA2, VirtualMachineSizeTypesBasicA3, VirtualMachineSizeTypesBasicA4, VirtualMachineSizeTypesStandardA0, VirtualMachineSizeTypesStandardA1, VirtualMachineSizeTypesStandardA10, VirtualMachineSizeTypesStandardA11, VirtualMachineSizeTypesStandardA1V2, VirtualMachineSizeTypesStandardA2, VirtualMachineSizeTypesStandardA2mV2, VirtualMachineSizeTypesStandardA2V2, VirtualMachineSizeTypesStandardA3, VirtualMachineSizeTypesStandardA4, VirtualMachineSizeTypesStandardA4mV2, VirtualMachineSizeTypesStandardA4V2, VirtualMachineSizeTypesStandardA5, VirtualMachineSizeTypesStandardA6, VirtualMachineSizeTypesStandardA7, VirtualMachineSizeTypesStandardA8, VirtualMachineSizeTypesStandardA8mV2, VirtualMachineSizeTypesStandardA8V2, VirtualMachineSizeTypesStandardA9, VirtualMachineSizeTypesStandardB1ms, VirtualMachineSizeTypesStandardB1s, VirtualMachineSizeTypesStandardB2ms, VirtualMachineSizeTypesStandardB2s, VirtualMachineSizeTypesStandardB4ms, VirtualMachineSizeTypesStandardB8ms, VirtualMachineSizeTypesStandardD1, VirtualMachineSizeTypesStandardD11, VirtualMachineSizeTypesStandardD11V2, VirtualMachineSizeTypesStandardD12, VirtualMachineSizeTypesStandardD12V2, VirtualMachineSizeTypesStandardD13, VirtualMachineSizeTypesStandardD13V2, VirtualMachineSizeTypesStandardD14, VirtualMachineSizeTypesStandardD14V2, VirtualMachineSizeTypesStandardD15V2, VirtualMachineSizeTypesStandardD16sV3, VirtualMachineSizeTypesStandardD16V3, VirtualMachineSizeTypesStandardD1V2, VirtualMachineSizeTypesStandardD2, VirtualMachineSizeTypesStandardD2sV3, VirtualMachineSizeTypesStandardD2V2, VirtualMachineSizeTypesStandardD2V3, VirtualMachineSizeTypesStandardD3, VirtualMachineSizeTypesStandardD32sV3, VirtualMachineSizeTypesStandardD32V3, VirtualMachineSizeTypesStandardD3V2, VirtualMachineSizeTypesStandardD4, VirtualMachineSizeTypesStandardD4sV3, VirtualMachineSizeTypesStandardD4V2, VirtualMachineSizeTypesStandardD4V3, VirtualMachineSizeTypesStandardD5V2, VirtualMachineSizeTypesStandardD64sV3, VirtualMachineSizeTypesStandardD64V3, VirtualMachineSizeTypesStandardD8sV3, VirtualMachineSizeTypesStandardD8V3, VirtualMachineSizeTypesStandardDS1, VirtualMachineSizeTypesStandardDS11, VirtualMachineSizeTypesStandardDS11V2, VirtualMachineSizeTypesStandardDS12, VirtualMachineSizeTypesStandardDS12V2, VirtualMachineSizeTypesStandardDS13, VirtualMachineSizeTypesStandardDS132V2, VirtualMachineSizeTypesStandardDS134V2, VirtualMachineSizeTypesStandardDS13V2, VirtualMachineSizeTypesStandardDS14, VirtualMachineSizeTypesStandardDS144V2, VirtualMachineSizeTypesStandardDS148V2, VirtualMachineSizeTypesStandardDS14V2, VirtualMachineSizeTypesStandardDS15V2, VirtualMachineSizeTypesStandardDS1V2, VirtualMachineSizeTypesStandardDS2, VirtualMachineSizeTypesStandardDS2V2, VirtualMachineSizeTypesStandardDS3, VirtualMachineSizeTypesStandardDS3V2, VirtualMachineSizeTypesStandardDS4, VirtualMachineSizeTypesStandardDS4V2, VirtualMachineSizeTypesStandardDS5V2, VirtualMachineSizeTypesStandardE16sV3, VirtualMachineSizeTypesStandardE16V3, VirtualMachineSizeTypesStandardE2sV3, VirtualMachineSizeTypesStandardE2V3, VirtualMachineSizeTypesStandardE3216V3, VirtualMachineSizeTypesStandardE328sV3, VirtualMachineSizeTypesStandardE32sV3, VirtualMachineSizeTypesStandardE32V3, VirtualMachineSizeTypesStandardE4sV3, VirtualMachineSizeTypesStandardE4V3, VirtualMachineSizeTypesStandardE6416sV3, VirtualMachineSizeTypesStandardE6432sV3, VirtualMachineSizeTypesStandardE64sV3, VirtualMachineSizeTypesStandardE64V3, VirtualMachineSizeTypesStandardE8sV3, VirtualMachineSizeTypesStandardE8V3, VirtualMachineSizeTypesStandardF1, VirtualMachineSizeTypesStandardF16, VirtualMachineSizeTypesStandardF16s, VirtualMachineSizeTypesStandardF16sV2, VirtualMachineSizeTypesStandardF1s, VirtualMachineSizeTypesStandardF2, VirtualMachineSizeTypesStandardF2s, VirtualMachineSizeTypesStandardF2sV2, VirtualMachineSizeTypesStandardF32sV2, VirtualMachineSizeTypesStandardF4, VirtualMachineSizeTypesStandardF4s, VirtualMachineSizeTypesStandardF4sV2, VirtualMachineSizeTypesStandardF64sV2, VirtualMachineSizeTypesStandardF72sV2, VirtualMachineSizeTypesStandardF8, VirtualMachineSizeTypesStandardF8s, VirtualMachineSizeTypesStandardF8sV2, VirtualMachineSizeTypesStandardG1, VirtualMachineSizeTypesStandardG2, VirtualMachineSizeTypesStandardG3, VirtualMachineSizeTypesStandardG4, VirtualMachineSizeTypesStandardG5, VirtualMachineSizeTypesStandardGS1, VirtualMachineSizeTypesStandardGS2, VirtualMachineSizeTypesStandardGS3, VirtualMachineSizeTypesStandardGS4, VirtualMachineSizeTypesStandardGS44, VirtualMachineSizeTypesStandardGS48, VirtualMachineSizeTypesStandardGS5, VirtualMachineSizeTypesStandardGS516, VirtualMachineSizeTypesStandardGS58, VirtualMachineSizeTypesStandardH16, VirtualMachineSizeTypesStandardH16m, VirtualMachineSizeTypesStandardH16mr, VirtualMachineSizeTypesStandardH16r, VirtualMachineSizeTypesStandardH8, VirtualMachineSizeTypesStandardH8m, VirtualMachineSizeTypesStandardL16s, VirtualMachineSizeTypesStandardL32s, VirtualMachineSizeTypesStandardL4s, VirtualMachineSizeTypesStandardL8s, VirtualMachineSizeTypesStandardM12832ms, VirtualMachineSizeTypesStandardM12864ms, VirtualMachineSizeTypesStandardM128ms, VirtualMachineSizeTypesStandardM128s, VirtualMachineSizeTypesStandardM6416ms, VirtualMachineSizeTypesStandardM6432ms, VirtualMachineSizeTypesStandardM64ms, VirtualMachineSizeTypesStandardM64s, VirtualMachineSizeTypesStandardNC12, VirtualMachineSizeTypesStandardNC12sV2, VirtualMachineSizeTypesStandardNC12sV3, VirtualMachineSizeTypesStandardNC24, VirtualMachineSizeTypesStandardNC24r, VirtualMachineSizeTypesStandardNC24rsV2, VirtualMachineSizeTypesStandardNC24rsV3, VirtualMachineSizeTypesStandardNC24sV2, VirtualMachineSizeTypesStandardNC24sV3, VirtualMachineSizeTypesStandardNC6, VirtualMachineSizeTypesStandardNC6sV2, VirtualMachineSizeTypesStandardNC6sV3, VirtualMachineSizeTypesStandardND12s, VirtualMachineSizeTypesStandardND24rs, VirtualMachineSizeTypesStandardND24s, VirtualMachineSizeTypesStandardND6s, VirtualMachineSizeTypesStandardNV12, VirtualMachineSizeTypesStandardNV24, VirtualMachineSizeTypesStandardNV6}
+}
+
+// AccessURI a disk access SAS uri.
+type AccessURI struct {
+ autorest.Response `json:"-"`
+ // AccessSAS - READ-ONLY; A SAS uri for accessing a disk.
+ AccessSAS *string `json:"accessSAS,omitempty"`
+}
+
+// AdditionalCapabilities enables or disables a capability on the virtual machine or virtual machine scale
+// set.
+type AdditionalCapabilities struct {
+ // UltraSSDEnabled - The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
+ UltraSSDEnabled *bool `json:"ultraSSDEnabled,omitempty"`
+}
+
+// AdditionalUnattendContent specifies additional XML formatted information that can be included in the
+// Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name,
+// and the pass in which the content is applied.
+type AdditionalUnattendContent struct {
+ // PassName - The pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'
+ PassName PassNames `json:"passName,omitempty"`
+ // ComponentName - The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'MicrosoftWindowsShellSetup'
+ ComponentName ComponentNames `json:"componentName,omitempty"`
+ // SettingName - Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'
+ SettingName SettingNames `json:"settingName,omitempty"`
+ // Content - Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
+ Content *string `json:"content,omitempty"`
+}
+
+// APIEntityReference the API entity reference.
+type APIEntityReference struct {
+ // ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
+ ID *string `json:"id,omitempty"`
+}
+
+// APIError api error.
+type APIError struct {
+ // Details - The Api error details
+ Details *[]APIErrorBase `json:"details,omitempty"`
+ // Innererror - The Api inner error
+ Innererror *InnerError `json:"innererror,omitempty"`
+ // Code - The error code.
+ Code *string `json:"code,omitempty"`
+ // Target - The target of the particular error.
+ Target *string `json:"target,omitempty"`
+ // Message - The error message.
+ Message *string `json:"message,omitempty"`
+}
+
+// APIErrorBase api error base.
+type APIErrorBase struct {
+ // Code - The error code.
+ Code *string `json:"code,omitempty"`
+ // Target - The target of the particular error.
+ Target *string `json:"target,omitempty"`
+ // Message - The error message.
+ Message *string `json:"message,omitempty"`
+}
+
+// AutomaticOSUpgradePolicy the configuration parameters used for performing automatic OS upgrade.
+type AutomaticOSUpgradePolicy struct {
+ // EnableAutomaticOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.
+ EnableAutomaticOSUpgrade *bool `json:"enableAutomaticOSUpgrade,omitempty"`
+ // DisableAutomaticRollback - Whether OS image rollback feature should be disabled. Default value is false.
+ DisableAutomaticRollback *bool `json:"disableAutomaticRollback,omitempty"`
+}
+
+// AutomaticOSUpgradeProperties describes automatic OS upgrade properties on the image.
+type AutomaticOSUpgradeProperties struct {
+ // AutomaticOSUpgradeSupported - Specifies whether automatic OS upgrade is supported on the image.
+ AutomaticOSUpgradeSupported *bool `json:"automaticOSUpgradeSupported,omitempty"`
+}
+
+// AvailabilitySet specifies information about the availability set that the virtual machine should be
+// assigned to. Virtual machines specified in the same availability set are allocated to different nodes to
+// maximize availability. For more information about availability sets, see [Manage the availability of
+// virtual
+// machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+//
For more information on Azure planned maintenance, see [Planned maintenance for virtual
+// machines in
+// Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
+//
Currently, a VM can only be added to availability set at creation time. An existing VM cannot
+// be added to an availability set.
+type AvailabilitySet struct {
+ autorest.Response `json:"-"`
+ *AvailabilitySetProperties `json:"properties,omitempty"`
+ // Sku - Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.
+ Sku *Sku `json:"sku,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for AvailabilitySet.
+func (as AvailabilitySet) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if as.AvailabilitySetProperties != nil {
+ objectMap["properties"] = as.AvailabilitySetProperties
+ }
+ if as.Sku != nil {
+ objectMap["sku"] = as.Sku
+ }
+ if as.Location != nil {
+ objectMap["location"] = as.Location
+ }
+ if as.Tags != nil {
+ objectMap["tags"] = as.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for AvailabilitySet struct.
+func (as *AvailabilitySet) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var availabilitySetProperties AvailabilitySetProperties
+ err = json.Unmarshal(*v, &availabilitySetProperties)
+ if err != nil {
+ return err
+ }
+ as.AvailabilitySetProperties = &availabilitySetProperties
+ }
+ case "sku":
+ if v != nil {
+ var sku Sku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ as.Sku = &sku
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ as.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ as.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ as.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ as.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ as.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// AvailabilitySetListResult the List Availability Set operation response.
+type AvailabilitySetListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of availability sets
+ Value *[]AvailabilitySet `json:"value,omitempty"`
+ // NextLink - The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the next page of AvailabilitySets.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// AvailabilitySetListResultIterator provides access to a complete listing of AvailabilitySet values.
+type AvailabilitySetListResultIterator struct {
+ i int
+ page AvailabilitySetListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *AvailabilitySetListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *AvailabilitySetListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter AvailabilitySetListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter AvailabilitySetListResultIterator) Response() AvailabilitySetListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter AvailabilitySetListResultIterator) Value() AvailabilitySet {
+ if !iter.page.NotDone() {
+ return AvailabilitySet{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the AvailabilitySetListResultIterator type.
+func NewAvailabilitySetListResultIterator(page AvailabilitySetListResultPage) AvailabilitySetListResultIterator {
+ return AvailabilitySetListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (aslr AvailabilitySetListResult) IsEmpty() bool {
+ return aslr.Value == nil || len(*aslr.Value) == 0
+}
+
+// availabilitySetListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (aslr AvailabilitySetListResult) availabilitySetListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if aslr.NextLink == nil || len(to.String(aslr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(aslr.NextLink)))
+}
+
+// AvailabilitySetListResultPage contains a page of AvailabilitySet values.
+type AvailabilitySetListResultPage struct {
+ fn func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error)
+ aslr AvailabilitySetListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *AvailabilitySetListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/AvailabilitySetListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.aslr)
+ if err != nil {
+ return err
+ }
+ page.aslr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *AvailabilitySetListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page AvailabilitySetListResultPage) NotDone() bool {
+ return !page.aslr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page AvailabilitySetListResultPage) Response() AvailabilitySetListResult {
+ return page.aslr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page AvailabilitySetListResultPage) Values() []AvailabilitySet {
+ if page.aslr.IsEmpty() {
+ return nil
+ }
+ return *page.aslr.Value
+}
+
+// Creates a new instance of the AvailabilitySetListResultPage type.
+func NewAvailabilitySetListResultPage(getNextPage func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error)) AvailabilitySetListResultPage {
+ return AvailabilitySetListResultPage{fn: getNextPage}
+}
+
+// AvailabilitySetProperties the instance view of a resource.
+type AvailabilitySetProperties struct {
+ // PlatformUpdateDomainCount - Update Domain count.
+ PlatformUpdateDomainCount *int32 `json:"platformUpdateDomainCount,omitempty"`
+ // PlatformFaultDomainCount - Fault Domain count.
+ PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"`
+ // VirtualMachines - A list of references to all virtual machines in the availability set.
+ VirtualMachines *[]SubResource `json:"virtualMachines,omitempty"`
+ // ProximityPlacementGroup - Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01.
+ ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"`
+ // Statuses - READ-ONLY; The resource status information.
+ Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
+}
+
+// AvailabilitySetUpdate specifies information about the availability set that the virtual machine should
+// be assigned to. Only tags may be updated.
+type AvailabilitySetUpdate struct {
+ *AvailabilitySetProperties `json:"properties,omitempty"`
+ // Sku - Sku of the availability set
+ Sku *Sku `json:"sku,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for AvailabilitySetUpdate.
+func (asu AvailabilitySetUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if asu.AvailabilitySetProperties != nil {
+ objectMap["properties"] = asu.AvailabilitySetProperties
+ }
+ if asu.Sku != nil {
+ objectMap["sku"] = asu.Sku
+ }
+ if asu.Tags != nil {
+ objectMap["tags"] = asu.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for AvailabilitySetUpdate struct.
+func (asu *AvailabilitySetUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var availabilitySetProperties AvailabilitySetProperties
+ err = json.Unmarshal(*v, &availabilitySetProperties)
+ if err != nil {
+ return err
+ }
+ asu.AvailabilitySetProperties = &availabilitySetProperties
+ }
+ case "sku":
+ if v != nil {
+ var sku Sku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ asu.Sku = &sku
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ asu.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// BootDiagnostics boot Diagnostics is a debugging feature which allows you to view Console Output and
+// Screenshot to diagnose VM status.
You can easily view the output of your console log.
+// Azure also enables you to see a screenshot of the VM from the hypervisor.
+type BootDiagnostics struct {
+ // Enabled - Whether boot diagnostics should be enabled on the Virtual Machine.
+ Enabled *bool `json:"enabled,omitempty"`
+ // StorageURI - Uri of the storage account to use for placing the console output and screenshot.
+ StorageURI *string `json:"storageUri,omitempty"`
+}
+
+// BootDiagnosticsInstanceView the instance view of a virtual machine boot diagnostics.
+type BootDiagnosticsInstanceView struct {
+ // ConsoleScreenshotBlobURI - READ-ONLY; The console screenshot blob URI.
+ ConsoleScreenshotBlobURI *string `json:"consoleScreenshotBlobUri,omitempty"`
+ // SerialConsoleLogBlobURI - READ-ONLY; The Linux serial console log blob Uri.
+ SerialConsoleLogBlobURI *string `json:"serialConsoleLogBlobUri,omitempty"`
+ // Status - READ-ONLY; The boot diagnostics status information for the VM.
NOTE: It will be set only if there are errors encountered in enabling boot diagnostics.
+ Status *InstanceViewStatus `json:"status,omitempty"`
+}
+
+// CloudError an error response from the Gallery service.
+type CloudError struct {
+ Error *APIError `json:"error,omitempty"`
+}
+
+// ContainerService container service.
+type ContainerService struct {
+ autorest.Response `json:"-"`
+ *ContainerServiceProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for ContainerService.
+func (cs ContainerService) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if cs.ContainerServiceProperties != nil {
+ objectMap["properties"] = cs.ContainerServiceProperties
+ }
+ if cs.Location != nil {
+ objectMap["location"] = cs.Location
+ }
+ if cs.Tags != nil {
+ objectMap["tags"] = cs.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for ContainerService struct.
+func (cs *ContainerService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var containerServiceProperties ContainerServiceProperties
+ err = json.Unmarshal(*v, &containerServiceProperties)
+ if err != nil {
+ return err
+ }
+ cs.ContainerServiceProperties = &containerServiceProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ cs.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ cs.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ cs.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ cs.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ cs.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// ContainerServiceAgentPoolProfile profile for the container service agent pool.
+type ContainerServiceAgentPoolProfile struct {
+ // Name - Unique name of the agent pool profile in the context of the subscription and resource group.
+ Name *string `json:"name,omitempty"`
+ // Count - Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
+ Count *int32 `json:"count,omitempty"`
+ // VMSize - Size of agent VMs. Possible values include: 'StandardA0', 'StandardA1', 'StandardA2', 'StandardA3', 'StandardA4', 'StandardA5', 'StandardA6', 'StandardA7', 'StandardA8', 'StandardA9', 'StandardA10', 'StandardA11', 'StandardD1', 'StandardD2', 'StandardD3', 'StandardD4', 'StandardD11', 'StandardD12', 'StandardD13', 'StandardD14', 'StandardD1V2', 'StandardD2V2', 'StandardD3V2', 'StandardD4V2', 'StandardD5V2', 'StandardD11V2', 'StandardD12V2', 'StandardD13V2', 'StandardD14V2', 'StandardG1', 'StandardG2', 'StandardG3', 'StandardG4', 'StandardG5', 'StandardDS1', 'StandardDS2', 'StandardDS3', 'StandardDS4', 'StandardDS11', 'StandardDS12', 'StandardDS13', 'StandardDS14', 'StandardGS1', 'StandardGS2', 'StandardGS3', 'StandardGS4', 'StandardGS5'
+ VMSize ContainerServiceVMSizeTypes `json:"vmSize,omitempty"`
+ // DNSPrefix - DNS prefix to be used to create the FQDN for the agent pool.
+ DNSPrefix *string `json:"dnsPrefix,omitempty"`
+ // Fqdn - READ-ONLY; FQDN for the agent pool.
+ Fqdn *string `json:"fqdn,omitempty"`
+}
+
+// ContainerServiceCustomProfile properties to configure a custom container service cluster.
+type ContainerServiceCustomProfile struct {
+ // Orchestrator - The name of the custom orchestrator to use.
+ Orchestrator *string `json:"orchestrator,omitempty"`
+}
+
+// ContainerServiceDiagnosticsProfile ...
+type ContainerServiceDiagnosticsProfile struct {
+ // VMDiagnostics - Profile for the container service VM diagnostic agent.
+ VMDiagnostics *ContainerServiceVMDiagnostics `json:"vmDiagnostics,omitempty"`
+}
+
+// ContainerServiceLinuxProfile profile for Linux VMs in the container service cluster.
+type ContainerServiceLinuxProfile struct {
+ // AdminUsername - The administrator username to use for Linux VMs.
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ // SSH - The ssh key configuration for Linux VMs.
+ SSH *ContainerServiceSSHConfiguration `json:"ssh,omitempty"`
+}
+
+// ContainerServiceListResult the response from the List Container Services operation.
+type ContainerServiceListResult struct {
+ autorest.Response `json:"-"`
+ // Value - the list of container services.
+ Value *[]ContainerService `json:"value,omitempty"`
+ // NextLink - The URL to get the next set of container service results.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// ContainerServiceListResultIterator provides access to a complete listing of ContainerService values.
+type ContainerServiceListResultIterator struct {
+ i int
+ page ContainerServiceListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *ContainerServiceListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ContainerServiceListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *ContainerServiceListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter ContainerServiceListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter ContainerServiceListResultIterator) Response() ContainerServiceListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter ContainerServiceListResultIterator) Value() ContainerService {
+ if !iter.page.NotDone() {
+ return ContainerService{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the ContainerServiceListResultIterator type.
+func NewContainerServiceListResultIterator(page ContainerServiceListResultPage) ContainerServiceListResultIterator {
+ return ContainerServiceListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (cslr ContainerServiceListResult) IsEmpty() bool {
+ return cslr.Value == nil || len(*cslr.Value) == 0
+}
+
+// containerServiceListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (cslr ContainerServiceListResult) containerServiceListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if cslr.NextLink == nil || len(to.String(cslr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(cslr.NextLink)))
+}
+
+// ContainerServiceListResultPage contains a page of ContainerService values.
+type ContainerServiceListResultPage struct {
+ fn func(context.Context, ContainerServiceListResult) (ContainerServiceListResult, error)
+ cslr ContainerServiceListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *ContainerServiceListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ContainerServiceListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.cslr)
+ if err != nil {
+ return err
+ }
+ page.cslr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *ContainerServiceListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page ContainerServiceListResultPage) NotDone() bool {
+ return !page.cslr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page ContainerServiceListResultPage) Response() ContainerServiceListResult {
+ return page.cslr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page ContainerServiceListResultPage) Values() []ContainerService {
+ if page.cslr.IsEmpty() {
+ return nil
+ }
+ return *page.cslr.Value
+}
+
+// Creates a new instance of the ContainerServiceListResultPage type.
+func NewContainerServiceListResultPage(getNextPage func(context.Context, ContainerServiceListResult) (ContainerServiceListResult, error)) ContainerServiceListResultPage {
+ return ContainerServiceListResultPage{fn: getNextPage}
+}
+
+// ContainerServiceMasterProfile profile for the container service master.
+type ContainerServiceMasterProfile struct {
+ // Count - Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1.
+ Count *int32 `json:"count,omitempty"`
+ // DNSPrefix - DNS prefix to be used to create the FQDN for master.
+ DNSPrefix *string `json:"dnsPrefix,omitempty"`
+ // Fqdn - READ-ONLY; FQDN for the master.
+ Fqdn *string `json:"fqdn,omitempty"`
+}
+
+// ContainerServiceOrchestratorProfile profile for the container service orchestrator.
+type ContainerServiceOrchestratorProfile struct {
+ // OrchestratorType - The orchestrator to use to manage container service cluster resources. Valid values are Swarm, DCOS, and Custom. Possible values include: 'Swarm', 'DCOS', 'Custom', 'Kubernetes'
+ OrchestratorType ContainerServiceOrchestratorTypes `json:"orchestratorType,omitempty"`
+}
+
+// ContainerServiceProperties properties of the container service.
+type ContainerServiceProperties struct {
+ // ProvisioningState - READ-ONLY; the current deployment or provisioning state, which only appears in the response.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // OrchestratorProfile - Properties of the orchestrator.
+ OrchestratorProfile *ContainerServiceOrchestratorProfile `json:"orchestratorProfile,omitempty"`
+ // CustomProfile - Properties for custom clusters.
+ CustomProfile *ContainerServiceCustomProfile `json:"customProfile,omitempty"`
+ // ServicePrincipalProfile - Properties for cluster service principals.
+ ServicePrincipalProfile *ContainerServiceServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"`
+ // MasterProfile - Properties of master agents.
+ MasterProfile *ContainerServiceMasterProfile `json:"masterProfile,omitempty"`
+ // AgentPoolProfiles - Properties of the agent pool.
+ AgentPoolProfiles *[]ContainerServiceAgentPoolProfile `json:"agentPoolProfiles,omitempty"`
+ // WindowsProfile - Properties of Windows VMs.
+ WindowsProfile *ContainerServiceWindowsProfile `json:"windowsProfile,omitempty"`
+ // LinuxProfile - Properties of Linux VMs.
+ LinuxProfile *ContainerServiceLinuxProfile `json:"linuxProfile,omitempty"`
+ // DiagnosticsProfile - Properties of the diagnostic agent.
+ DiagnosticsProfile *ContainerServiceDiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
+}
+
+// ContainerServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type ContainerServicesCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *ContainerServicesCreateOrUpdateFuture) Result(client ContainerServicesClient) (cs ContainerService, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.ContainerServicesCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if cs.Response.Response, err = future.GetResult(sender); err == nil && cs.Response.Response.StatusCode != http.StatusNoContent {
+ cs, err = client.CreateOrUpdateResponder(cs.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesCreateOrUpdateFuture", "Result", cs.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// ContainerServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type ContainerServicesDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *ContainerServicesDeleteFuture) Result(client ContainerServicesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ContainerServicesDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.ContainerServicesDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// ContainerServiceServicePrincipalProfile information about a service principal identity for the cluster
+// to use for manipulating Azure APIs.
+type ContainerServiceServicePrincipalProfile struct {
+ // ClientID - The ID for the service principal.
+ ClientID *string `json:"clientId,omitempty"`
+ // Secret - The secret password associated with the service principal.
+ Secret *string `json:"secret,omitempty"`
+}
+
+// ContainerServiceSSHConfiguration SSH configuration for Linux-based VMs running on Azure.
+type ContainerServiceSSHConfiguration struct {
+ // PublicKeys - the list of SSH public keys used to authenticate with Linux-based VMs.
+ PublicKeys *[]ContainerServiceSSHPublicKey `json:"publicKeys,omitempty"`
+}
+
+// ContainerServiceSSHPublicKey contains information about SSH certificate public key data.
+type ContainerServiceSSHPublicKey struct {
+ // KeyData - Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
+ KeyData *string `json:"keyData,omitempty"`
+}
+
+// ContainerServiceVMDiagnostics profile for diagnostics on the container service VMs.
+type ContainerServiceVMDiagnostics struct {
+ // Enabled - Whether the VM diagnostic agent is provisioned on the VM.
+ Enabled *bool `json:"enabled,omitempty"`
+ // StorageURI - READ-ONLY; The URI of the storage account where diagnostics are stored.
+ StorageURI *string `json:"storageUri,omitempty"`
+}
+
+// ContainerServiceWindowsProfile profile for Windows VMs in the container service cluster.
+type ContainerServiceWindowsProfile struct {
+ // AdminUsername - The administrator username to use for Windows VMs.
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ // AdminPassword - The administrator password to use for Windows VMs.
+ AdminPassword *string `json:"adminPassword,omitempty"`
+}
+
+// CreationData data used when creating a disk.
+type CreationData struct {
+ // CreateOption - This enumerates the possible sources of a disk's creation. Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload'
+ CreateOption DiskCreateOption `json:"createOption,omitempty"`
+ // StorageAccountID - If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription
+ StorageAccountID *string `json:"storageAccountId,omitempty"`
+ // ImageReference - Disk source information.
+ ImageReference *ImageDiskReference `json:"imageReference,omitempty"`
+ // SourceURI - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
+ SourceURI *string `json:"sourceUri,omitempty"`
+ // SourceResourceID - If createOption is Copy, this is the ARM id of the source snapshot or disk.
+ SourceResourceID *string `json:"sourceResourceId,omitempty"`
+}
+
+// DataDisk describes a data disk.
+type DataDisk struct {
+ // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
+ Lun *int32 `json:"lun,omitempty"`
+ // Name - The disk name.
+ Name *string `json:"name,omitempty"`
+ // Vhd - The virtual hard disk.
+ Vhd *VirtualHardDisk `json:"vhd,omitempty"`
+ // Image - The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
+ Image *VirtualHardDisk `json:"image,omitempty"`
+ // Caching - Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
+ Caching CachingTypes `json:"caching,omitempty"`
+ // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
+ WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"`
+ // CreateOption - Specifies how the virtual machine should be created.
Possible values are:
**Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach'
+ CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
+ // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // ManagedDisk - The managed disk parameters.
+ ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"`
+ // ToBeDetached - Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset
+ ToBeDetached *bool `json:"toBeDetached,omitempty"`
+}
+
+// DataDiskImage contains the data disk images information.
+type DataDiskImage struct {
+ // Lun - READ-ONLY; Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
+ Lun *int32 `json:"lun,omitempty"`
+}
+
+// DedicatedHost specifies information about the Dedicated host.
+type DedicatedHost struct {
+ autorest.Response `json:"-"`
+ *DedicatedHostProperties `json:"properties,omitempty"`
+ // Sku - SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.
+ Sku *Sku `json:"sku,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for DedicatedHost.
+func (dh DedicatedHost) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dh.DedicatedHostProperties != nil {
+ objectMap["properties"] = dh.DedicatedHostProperties
+ }
+ if dh.Sku != nil {
+ objectMap["sku"] = dh.Sku
+ }
+ if dh.Location != nil {
+ objectMap["location"] = dh.Location
+ }
+ if dh.Tags != nil {
+ objectMap["tags"] = dh.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DedicatedHost struct.
+func (dh *DedicatedHost) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var dedicatedHostProperties DedicatedHostProperties
+ err = json.Unmarshal(*v, &dedicatedHostProperties)
+ if err != nil {
+ return err
+ }
+ dh.DedicatedHostProperties = &dedicatedHostProperties
+ }
+ case "sku":
+ if v != nil {
+ var sku Sku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ dh.Sku = &sku
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ dh.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ dh.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dh.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ dh.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ dh.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// DedicatedHostAllocatableVM represents the dedicated host unutilized capacity in terms of a specific VM
+// size.
+type DedicatedHostAllocatableVM struct {
+ // VMSize - VM size in terms of which the unutilized capacity is represented.
+ VMSize *string `json:"vmSize,omitempty"`
+ // Count - Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
+ Count *float64 `json:"count,omitempty"`
+}
+
+// DedicatedHostAvailableCapacity dedicated host unutilized capacity.
+type DedicatedHostAvailableCapacity struct {
+ // AllocatableVMs - The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
+ AllocatableVMs *[]DedicatedHostAllocatableVM `json:"allocatableVMs,omitempty"`
+}
+
+// DedicatedHostGroup specifies information about the dedicated host group that the dedicated hosts should
+// be assigned to.
Currently, a dedicated host can only be added to a dedicated host group at
+// creation time. An existing dedicated host cannot be added to another dedicated host group.
+type DedicatedHostGroup struct {
+ autorest.Response `json:"-"`
+ *DedicatedHostGroupProperties `json:"properties,omitempty"`
+ // Zones - Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.
+ Zones *[]string `json:"zones,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for DedicatedHostGroup.
+func (dhg DedicatedHostGroup) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dhg.DedicatedHostGroupProperties != nil {
+ objectMap["properties"] = dhg.DedicatedHostGroupProperties
+ }
+ if dhg.Zones != nil {
+ objectMap["zones"] = dhg.Zones
+ }
+ if dhg.Location != nil {
+ objectMap["location"] = dhg.Location
+ }
+ if dhg.Tags != nil {
+ objectMap["tags"] = dhg.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DedicatedHostGroup struct.
+func (dhg *DedicatedHostGroup) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var dedicatedHostGroupProperties DedicatedHostGroupProperties
+ err = json.Unmarshal(*v, &dedicatedHostGroupProperties)
+ if err != nil {
+ return err
+ }
+ dhg.DedicatedHostGroupProperties = &dedicatedHostGroupProperties
+ }
+ case "zones":
+ if v != nil {
+ var zones []string
+ err = json.Unmarshal(*v, &zones)
+ if err != nil {
+ return err
+ }
+ dhg.Zones = &zones
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ dhg.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ dhg.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dhg.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ dhg.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ dhg.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// DedicatedHostGroupListResult the List Dedicated Host Group with resource group response.
+type DedicatedHostGroupListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of dedicated host groups
+ Value *[]DedicatedHostGroup `json:"value,omitempty"`
+ // NextLink - The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// DedicatedHostGroupListResultIterator provides access to a complete listing of DedicatedHostGroup values.
+type DedicatedHostGroupListResultIterator struct {
+ i int
+ page DedicatedHostGroupListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *DedicatedHostGroupListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *DedicatedHostGroupListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter DedicatedHostGroupListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter DedicatedHostGroupListResultIterator) Response() DedicatedHostGroupListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter DedicatedHostGroupListResultIterator) Value() DedicatedHostGroup {
+ if !iter.page.NotDone() {
+ return DedicatedHostGroup{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the DedicatedHostGroupListResultIterator type.
+func NewDedicatedHostGroupListResultIterator(page DedicatedHostGroupListResultPage) DedicatedHostGroupListResultIterator {
+ return DedicatedHostGroupListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (dhglr DedicatedHostGroupListResult) IsEmpty() bool {
+ return dhglr.Value == nil || len(*dhglr.Value) == 0
+}
+
+// dedicatedHostGroupListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (dhglr DedicatedHostGroupListResult) dedicatedHostGroupListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if dhglr.NextLink == nil || len(to.String(dhglr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(dhglr.NextLink)))
+}
+
+// DedicatedHostGroupListResultPage contains a page of DedicatedHostGroup values.
+type DedicatedHostGroupListResultPage struct {
+ fn func(context.Context, DedicatedHostGroupListResult) (DedicatedHostGroupListResult, error)
+ dhglr DedicatedHostGroupListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *DedicatedHostGroupListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostGroupListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.dhglr)
+ if err != nil {
+ return err
+ }
+ page.dhglr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *DedicatedHostGroupListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page DedicatedHostGroupListResultPage) NotDone() bool {
+ return !page.dhglr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page DedicatedHostGroupListResultPage) Response() DedicatedHostGroupListResult {
+ return page.dhglr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page DedicatedHostGroupListResultPage) Values() []DedicatedHostGroup {
+ if page.dhglr.IsEmpty() {
+ return nil
+ }
+ return *page.dhglr.Value
+}
+
+// Creates a new instance of the DedicatedHostGroupListResultPage type.
+func NewDedicatedHostGroupListResultPage(getNextPage func(context.Context, DedicatedHostGroupListResult) (DedicatedHostGroupListResult, error)) DedicatedHostGroupListResultPage {
+ return DedicatedHostGroupListResultPage{fn: getNextPage}
+}
+
+// DedicatedHostGroupProperties dedicated Host Group Properties.
+type DedicatedHostGroupProperties struct {
+ // PlatformFaultDomainCount - Number of fault domains that the host group can span.
+ PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"`
+ // Hosts - READ-ONLY; A list of references to all dedicated hosts in the dedicated host group.
+ Hosts *[]SubResourceReadOnly `json:"hosts,omitempty"`
+}
+
+// DedicatedHostGroupUpdate specifies information about the dedicated host group that the dedicated host
+// should be assigned to. Only tags may be updated.
+type DedicatedHostGroupUpdate struct {
+ *DedicatedHostGroupProperties `json:"properties,omitempty"`
+ // Zones - Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.
+ Zones *[]string `json:"zones,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for DedicatedHostGroupUpdate.
+func (dhgu DedicatedHostGroupUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dhgu.DedicatedHostGroupProperties != nil {
+ objectMap["properties"] = dhgu.DedicatedHostGroupProperties
+ }
+ if dhgu.Zones != nil {
+ objectMap["zones"] = dhgu.Zones
+ }
+ if dhgu.Tags != nil {
+ objectMap["tags"] = dhgu.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DedicatedHostGroupUpdate struct.
+func (dhgu *DedicatedHostGroupUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var dedicatedHostGroupProperties DedicatedHostGroupProperties
+ err = json.Unmarshal(*v, &dedicatedHostGroupProperties)
+ if err != nil {
+ return err
+ }
+ dhgu.DedicatedHostGroupProperties = &dedicatedHostGroupProperties
+ }
+ case "zones":
+ if v != nil {
+ var zones []string
+ err = json.Unmarshal(*v, &zones)
+ if err != nil {
+ return err
+ }
+ dhgu.Zones = &zones
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ dhgu.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// DedicatedHostInstanceView the instance view of a dedicated host.
+type DedicatedHostInstanceView struct {
+ // AssetID - READ-ONLY; Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
+ AssetID *string `json:"assetId,omitempty"`
+ // AvailableCapacity - Unutilized capacity of the dedicated host.
+ AvailableCapacity *DedicatedHostAvailableCapacity `json:"availableCapacity,omitempty"`
+ // Statuses - The resource status information.
+ Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
+}
+
+// DedicatedHostListResult the list dedicated host operation response.
+type DedicatedHostListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of dedicated hosts
+ Value *[]DedicatedHost `json:"value,omitempty"`
+ // NextLink - The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// DedicatedHostListResultIterator provides access to a complete listing of DedicatedHost values.
+type DedicatedHostListResultIterator struct {
+ i int
+ page DedicatedHostListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *DedicatedHostListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *DedicatedHostListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter DedicatedHostListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter DedicatedHostListResultIterator) Response() DedicatedHostListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter DedicatedHostListResultIterator) Value() DedicatedHost {
+ if !iter.page.NotDone() {
+ return DedicatedHost{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the DedicatedHostListResultIterator type.
+func NewDedicatedHostListResultIterator(page DedicatedHostListResultPage) DedicatedHostListResultIterator {
+ return DedicatedHostListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (dhlr DedicatedHostListResult) IsEmpty() bool {
+ return dhlr.Value == nil || len(*dhlr.Value) == 0
+}
+
+// dedicatedHostListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (dhlr DedicatedHostListResult) dedicatedHostListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if dhlr.NextLink == nil || len(to.String(dhlr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(dhlr.NextLink)))
+}
+
+// DedicatedHostListResultPage contains a page of DedicatedHost values.
+type DedicatedHostListResultPage struct {
+ fn func(context.Context, DedicatedHostListResult) (DedicatedHostListResult, error)
+ dhlr DedicatedHostListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *DedicatedHostListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DedicatedHostListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.dhlr)
+ if err != nil {
+ return err
+ }
+ page.dhlr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *DedicatedHostListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page DedicatedHostListResultPage) NotDone() bool {
+ return !page.dhlr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page DedicatedHostListResultPage) Response() DedicatedHostListResult {
+ return page.dhlr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page DedicatedHostListResultPage) Values() []DedicatedHost {
+ if page.dhlr.IsEmpty() {
+ return nil
+ }
+ return *page.dhlr.Value
+}
+
+// Creates a new instance of the DedicatedHostListResultPage type.
+func NewDedicatedHostListResultPage(getNextPage func(context.Context, DedicatedHostListResult) (DedicatedHostListResult, error)) DedicatedHostListResultPage {
+ return DedicatedHostListResultPage{fn: getNextPage}
+}
+
+// DedicatedHostProperties properties of the dedicated host.
+type DedicatedHostProperties struct {
+ // PlatformFaultDomain - Fault domain of the dedicated host within a dedicated host group.
+ PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"`
+ // AutoReplaceOnFailure - Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
+ AutoReplaceOnFailure *bool `json:"autoReplaceOnFailure,omitempty"`
+ // HostID - READ-ONLY; A unique id generated and assigned to the dedicated host by the platform.
Does not change throughout the lifetime of the host.
+ HostID *string `json:"hostId,omitempty"`
+ // VirtualMachines - READ-ONLY; A list of references to all virtual machines in the Dedicated Host.
+ VirtualMachines *[]SubResourceReadOnly `json:"virtualMachines,omitempty"`
+ // LicenseType - Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**. Possible values include: 'DedicatedHostLicenseTypesNone', 'DedicatedHostLicenseTypesWindowsServerHybrid', 'DedicatedHostLicenseTypesWindowsServerPerpetual'
+ LicenseType DedicatedHostLicenseTypes `json:"licenseType,omitempty"`
+ // ProvisioningTime - READ-ONLY; The date when the host was first provisioned.
+ ProvisioningTime *date.Time `json:"provisioningTime,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // InstanceView - READ-ONLY; The dedicated host instance view.
+ InstanceView *DedicatedHostInstanceView `json:"instanceView,omitempty"`
+}
+
+// DedicatedHostsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type DedicatedHostsCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DedicatedHostsCreateOrUpdateFuture) Result(client DedicatedHostsClient) (dh DedicatedHost, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DedicatedHostsCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if dh.Response.Response, err = future.GetResult(sender); err == nil && dh.Response.Response.StatusCode != http.StatusNoContent {
+ dh, err = client.CreateOrUpdateResponder(dh.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsCreateOrUpdateFuture", "Result", dh.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// DedicatedHostsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type DedicatedHostsDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DedicatedHostsDeleteFuture) Result(client DedicatedHostsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DedicatedHostsDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// DedicatedHostsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type DedicatedHostsUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DedicatedHostsUpdateFuture) Result(client DedicatedHostsClient) (dh DedicatedHost, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DedicatedHostsUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if dh.Response.Response, err = future.GetResult(sender); err == nil && dh.Response.Response.StatusCode != http.StatusNoContent {
+ dh, err = client.UpdateResponder(dh.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DedicatedHostsUpdateFuture", "Result", dh.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// DedicatedHostUpdate specifies information about the dedicated host. Only tags, autoReplaceOnFailure and
+// licenseType may be updated.
+type DedicatedHostUpdate struct {
+ *DedicatedHostProperties `json:"properties,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for DedicatedHostUpdate.
+func (dhu DedicatedHostUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dhu.DedicatedHostProperties != nil {
+ objectMap["properties"] = dhu.DedicatedHostProperties
+ }
+ if dhu.Tags != nil {
+ objectMap["tags"] = dhu.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DedicatedHostUpdate struct.
+func (dhu *DedicatedHostUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var dedicatedHostProperties DedicatedHostProperties
+ err = json.Unmarshal(*v, &dedicatedHostProperties)
+ if err != nil {
+ return err
+ }
+ dhu.DedicatedHostProperties = &dedicatedHostProperties
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ dhu.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// DiagnosticsProfile specifies the boot diagnostic settings state.
Minimum api-version:
+// 2015-06-15.
+type DiagnosticsProfile struct {
+ // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
+ BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
+}
+
+// DiffDiskSettings describes the parameters of ephemeral disk settings that can be specified for operating
+// system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk.
+type DiffDiskSettings struct {
+ // Option - Specifies the ephemeral disk settings for operating system disk. Possible values include: 'Local'
+ Option DiffDiskOptions `json:"option,omitempty"`
+}
+
+// Disallowed describes the disallowed disk types.
+type Disallowed struct {
+ // DiskTypes - A list of disk types.
+ DiskTypes *[]string `json:"diskTypes,omitempty"`
+}
+
+// Disk disk resource.
+type Disk struct {
+ autorest.Response `json:"-"`
+ // ManagedBy - READ-ONLY; A relative URI containing the ID of the VM that has the disk attached.
+ ManagedBy *string `json:"managedBy,omitempty"`
+ Sku *DiskSku `json:"sku,omitempty"`
+ // Zones - The Logical zone list for Disk.
+ Zones *[]string `json:"zones,omitempty"`
+ *DiskProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for Disk.
+func (d Disk) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if d.Sku != nil {
+ objectMap["sku"] = d.Sku
+ }
+ if d.Zones != nil {
+ objectMap["zones"] = d.Zones
+ }
+ if d.DiskProperties != nil {
+ objectMap["properties"] = d.DiskProperties
+ }
+ if d.Location != nil {
+ objectMap["location"] = d.Location
+ }
+ if d.Tags != nil {
+ objectMap["tags"] = d.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for Disk struct.
+func (d *Disk) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "managedBy":
+ if v != nil {
+ var managedBy string
+ err = json.Unmarshal(*v, &managedBy)
+ if err != nil {
+ return err
+ }
+ d.ManagedBy = &managedBy
+ }
+ case "sku":
+ if v != nil {
+ var sku DiskSku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ d.Sku = &sku
+ }
+ case "zones":
+ if v != nil {
+ var zones []string
+ err = json.Unmarshal(*v, &zones)
+ if err != nil {
+ return err
+ }
+ d.Zones = &zones
+ }
+ case "properties":
+ if v != nil {
+ var diskProperties DiskProperties
+ err = json.Unmarshal(*v, &diskProperties)
+ if err != nil {
+ return err
+ }
+ d.DiskProperties = &diskProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ d.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ d.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ d.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ d.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ d.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// DiskEncryptionSettings describes a Encryption Settings for a Disk
+type DiskEncryptionSettings struct {
+ // DiskEncryptionKey - Specifies the location of the disk encryption key, which is a Key Vault Secret.
+ DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"`
+ // KeyEncryptionKey - Specifies the location of the key encryption key in Key Vault.
+ KeyEncryptionKey *KeyVaultKeyReference `json:"keyEncryptionKey,omitempty"`
+ // Enabled - Specifies whether disk encryption should be enabled on the virtual machine.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// DiskInstanceView the instance view of the disk.
+type DiskInstanceView struct {
+ // Name - The disk name.
+ Name *string `json:"name,omitempty"`
+ // EncryptionSettings - Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15
+ EncryptionSettings *[]DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
+ // Statuses - The resource status information.
+ Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
+}
+
+// DiskList the List Disks operation response.
+type DiskList struct {
+ autorest.Response `json:"-"`
+ // Value - A list of disks.
+ Value *[]Disk `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// DiskListIterator provides access to a complete listing of Disk values.
+type DiskListIterator struct {
+ i int
+ page DiskListPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *DiskListIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DiskListIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *DiskListIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter DiskListIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter DiskListIterator) Response() DiskList {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter DiskListIterator) Value() Disk {
+ if !iter.page.NotDone() {
+ return Disk{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the DiskListIterator type.
+func NewDiskListIterator(page DiskListPage) DiskListIterator {
+ return DiskListIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (dl DiskList) IsEmpty() bool {
+ return dl.Value == nil || len(*dl.Value) == 0
+}
+
+// diskListPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (dl DiskList) diskListPreparer(ctx context.Context) (*http.Request, error) {
+ if dl.NextLink == nil || len(to.String(dl.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(dl.NextLink)))
+}
+
+// DiskListPage contains a page of Disk values.
+type DiskListPage struct {
+ fn func(context.Context, DiskList) (DiskList, error)
+ dl DiskList
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *DiskListPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DiskListPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.dl)
+ if err != nil {
+ return err
+ }
+ page.dl = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *DiskListPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page DiskListPage) NotDone() bool {
+ return !page.dl.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page DiskListPage) Response() DiskList {
+ return page.dl
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page DiskListPage) Values() []Disk {
+ if page.dl.IsEmpty() {
+ return nil
+ }
+ return *page.dl.Value
+}
+
+// Creates a new instance of the DiskListPage type.
+func NewDiskListPage(getNextPage func(context.Context, DiskList) (DiskList, error)) DiskListPage {
+ return DiskListPage{fn: getNextPage}
+}
+
+// DiskProperties disk resource properties.
+type DiskProperties struct {
+ // TimeCreated - READ-ONLY; The time when the disk was created.
+ TimeCreated *date.Time `json:"timeCreated,omitempty"`
+ // OsType - The Operating System type. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'
+ HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
+ // CreationData - Disk source information. CreationData information cannot be changed after the disk has been created.
+ CreationData *CreationData `json:"creationData,omitempty"`
+ // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // EncryptionSettingsCollection - Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
+ EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
+ // ProvisioningState - READ-ONLY; The disk provisioning state.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // DiskIOPSReadWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
+ DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"`
+ // DiskMBpsReadWrite - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
+ DiskMBpsReadWrite *int32 `json:"diskMBpsReadWrite,omitempty"`
+ // DiskState - READ-ONLY; The state of the disk. Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload'
+ DiskState DiskState `json:"diskState,omitempty"`
+}
+
+// DisksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type DisksCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DisksCreateOrUpdateFuture) Result(client DisksClient) (d Disk, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DisksCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if d.Response.Response, err = future.GetResult(sender); err == nil && d.Response.Response.StatusCode != http.StatusNoContent {
+ d, err = client.CreateOrUpdateResponder(d.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksCreateOrUpdateFuture", "Result", d.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// DisksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+type DisksDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DisksDeleteFuture) Result(client DisksClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DisksDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// DisksGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type DisksGrantAccessFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DisksGrantAccessFuture) Result(client DisksClient) (au AccessURI, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksGrantAccessFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DisksGrantAccessFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if au.Response.Response, err = future.GetResult(sender); err == nil && au.Response.Response.StatusCode != http.StatusNoContent {
+ au, err = client.GrantAccessResponder(au.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksGrantAccessFuture", "Result", au.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// DiskSku the disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.
+type DiskSku struct {
+ // Name - The sku name. Possible values include: 'StandardLRS', 'PremiumLRS', 'StandardSSDLRS', 'UltraSSDLRS'
+ Name DiskStorageAccountTypes `json:"name,omitempty"`
+ // Tier - READ-ONLY; The sku tier.
+ Tier *string `json:"tier,omitempty"`
+}
+
+// DisksRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type DisksRevokeAccessFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DisksRevokeAccessFuture) Result(client DisksClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksRevokeAccessFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DisksRevokeAccessFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// DisksUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+type DisksUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *DisksUpdateFuture) Result(client DisksClient) (d Disk, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.DisksUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if d.Response.Response, err = future.GetResult(sender); err == nil && d.Response.Response.StatusCode != http.StatusNoContent {
+ d, err = client.UpdateResponder(d.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.DisksUpdateFuture", "Result", d.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// DiskUpdate disk update resource.
+type DiskUpdate struct {
+ *DiskUpdateProperties `json:"properties,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+ Sku *DiskSku `json:"sku,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DiskUpdate.
+func (du DiskUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if du.DiskUpdateProperties != nil {
+ objectMap["properties"] = du.DiskUpdateProperties
+ }
+ if du.Tags != nil {
+ objectMap["tags"] = du.Tags
+ }
+ if du.Sku != nil {
+ objectMap["sku"] = du.Sku
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DiskUpdate struct.
+func (du *DiskUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var diskUpdateProperties DiskUpdateProperties
+ err = json.Unmarshal(*v, &diskUpdateProperties)
+ if err != nil {
+ return err
+ }
+ du.DiskUpdateProperties = &diskUpdateProperties
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ du.Tags = tags
+ }
+ case "sku":
+ if v != nil {
+ var sku DiskSku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ du.Sku = &sku
+ }
+ }
+ }
+
+ return nil
+}
+
+// DiskUpdateProperties disk resource update properties.
+type DiskUpdateProperties struct {
+ // OsType - the Operating System type. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
+ EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
+ // DiskIOPSReadWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
+ DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"`
+ // DiskMBpsReadWrite - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
+ DiskMBpsReadWrite *int32 `json:"diskMBpsReadWrite,omitempty"`
+}
+
+// EncryptionSettingsCollection encryption settings for disk or snapshot
+type EncryptionSettingsCollection struct {
+ // Enabled - Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
+ Enabled *bool `json:"enabled,omitempty"`
+ // EncryptionSettings - A collection of encryption settings, one for each disk volume.
+ EncryptionSettings *[]EncryptionSettingsElement `json:"encryptionSettings,omitempty"`
+}
+
+// EncryptionSettingsElement encryption settings for one disk volume.
+type EncryptionSettingsElement struct {
+ // DiskEncryptionKey - Key Vault Secret Url and vault id of the disk encryption key
+ DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"`
+ // KeyEncryptionKey - Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.
+ KeyEncryptionKey *KeyVaultAndKeyReference `json:"keyEncryptionKey,omitempty"`
+}
+
+// GalleriesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type GalleriesCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *GalleriesCreateOrUpdateFuture) Result(client GalleriesClient) (g Gallery, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.GalleriesCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if g.Response.Response, err = future.GetResult(sender); err == nil && g.Response.Response.StatusCode != http.StatusNoContent {
+ g, err = client.CreateOrUpdateResponder(g.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesCreateOrUpdateFuture", "Result", g.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// GalleriesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type GalleriesDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *GalleriesDeleteFuture) Result(client GalleriesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleriesDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.GalleriesDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// Gallery specifies information about the Shared Image Gallery that you want to create or update.
+type Gallery struct {
+ autorest.Response `json:"-"`
+ *GalleryProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for Gallery.
+func (g Gallery) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if g.GalleryProperties != nil {
+ objectMap["properties"] = g.GalleryProperties
+ }
+ if g.Location != nil {
+ objectMap["location"] = g.Location
+ }
+ if g.Tags != nil {
+ objectMap["tags"] = g.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for Gallery struct.
+func (g *Gallery) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var galleryProperties GalleryProperties
+ err = json.Unmarshal(*v, &galleryProperties)
+ if err != nil {
+ return err
+ }
+ g.GalleryProperties = &galleryProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ g.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ g.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ g.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ g.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ g.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// GalleryArtifactPublishingProfileBase describes the basic gallery artifact publishing profile.
+type GalleryArtifactPublishingProfileBase struct {
+ // TargetRegions - The target regions where the Image Version is going to be replicated to. This property is updatable.
+ TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"`
+}
+
+// GalleryArtifactVersionSource the gallery artifact version source.
+type GalleryArtifactVersionSource struct {
+ // ID - The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user image.
+ ID *string `json:"id,omitempty"`
+}
+
+// GalleryDataDiskImage this is the data disk image.
+type GalleryDataDiskImage struct {
+ // Lun - This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
+ Lun *int32 `json:"lun,omitempty"`
+ // SizeInGB - READ-ONLY; This property indicates the size of the VHD to be created.
+ SizeInGB *int32 `json:"sizeInGB,omitempty"`
+ // HostCaching - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'HostCachingNone', 'HostCachingReadOnly', 'HostCachingReadWrite'
+ HostCaching HostCaching `json:"hostCaching,omitempty"`
+ Source *GalleryArtifactVersionSource `json:"source,omitempty"`
+}
+
+// GalleryDiskImage this is the disk image base class.
+type GalleryDiskImage struct {
+ // SizeInGB - READ-ONLY; This property indicates the size of the VHD to be created.
+ SizeInGB *int32 `json:"sizeInGB,omitempty"`
+ // HostCaching - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'HostCachingNone', 'HostCachingReadOnly', 'HostCachingReadWrite'
+ HostCaching HostCaching `json:"hostCaching,omitempty"`
+ Source *GalleryArtifactVersionSource `json:"source,omitempty"`
+}
+
+// GalleryIdentifier describes the gallery unique name.
+type GalleryIdentifier struct {
+ // UniqueName - READ-ONLY; The unique name of the Shared Image Gallery. This name is generated automatically by Azure.
+ UniqueName *string `json:"uniqueName,omitempty"`
+}
+
+// GalleryImage specifies information about the gallery Image Definition that you want to create or update.
+type GalleryImage struct {
+ autorest.Response `json:"-"`
+ *GalleryImageProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for GalleryImage.
+func (gi GalleryImage) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if gi.GalleryImageProperties != nil {
+ objectMap["properties"] = gi.GalleryImageProperties
+ }
+ if gi.Location != nil {
+ objectMap["location"] = gi.Location
+ }
+ if gi.Tags != nil {
+ objectMap["tags"] = gi.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for GalleryImage struct.
+func (gi *GalleryImage) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var galleryImageProperties GalleryImageProperties
+ err = json.Unmarshal(*v, &galleryImageProperties)
+ if err != nil {
+ return err
+ }
+ gi.GalleryImageProperties = &galleryImageProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ gi.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ gi.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ gi.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ gi.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ gi.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// GalleryImageIdentifier this is the gallery Image Definition identifier.
+type GalleryImageIdentifier struct {
+ // Publisher - The name of the gallery Image Definition publisher.
+ Publisher *string `json:"publisher,omitempty"`
+ // Offer - The name of the gallery Image Definition offer.
+ Offer *string `json:"offer,omitempty"`
+ // Sku - The name of the gallery Image Definition SKU.
+ Sku *string `json:"sku,omitempty"`
+}
+
+// GalleryImageList the List Gallery Images operation response.
+type GalleryImageList struct {
+ autorest.Response `json:"-"`
+ // Value - A list of Shared Image Gallery images.
+ Value *[]GalleryImage `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery Image Definitions.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// GalleryImageListIterator provides access to a complete listing of GalleryImage values.
+type GalleryImageListIterator struct {
+ i int
+ page GalleryImageListPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *GalleryImageListIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImageListIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *GalleryImageListIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter GalleryImageListIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter GalleryImageListIterator) Response() GalleryImageList {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter GalleryImageListIterator) Value() GalleryImage {
+ if !iter.page.NotDone() {
+ return GalleryImage{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the GalleryImageListIterator type.
+func NewGalleryImageListIterator(page GalleryImageListPage) GalleryImageListIterator {
+ return GalleryImageListIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (gil GalleryImageList) IsEmpty() bool {
+ return gil.Value == nil || len(*gil.Value) == 0
+}
+
+// galleryImageListPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (gil GalleryImageList) galleryImageListPreparer(ctx context.Context) (*http.Request, error) {
+ if gil.NextLink == nil || len(to.String(gil.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(gil.NextLink)))
+}
+
+// GalleryImageListPage contains a page of GalleryImage values.
+type GalleryImageListPage struct {
+ fn func(context.Context, GalleryImageList) (GalleryImageList, error)
+ gil GalleryImageList
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *GalleryImageListPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImageListPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.gil)
+ if err != nil {
+ return err
+ }
+ page.gil = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *GalleryImageListPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page GalleryImageListPage) NotDone() bool {
+ return !page.gil.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page GalleryImageListPage) Response() GalleryImageList {
+ return page.gil
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page GalleryImageListPage) Values() []GalleryImage {
+ if page.gil.IsEmpty() {
+ return nil
+ }
+ return *page.gil.Value
+}
+
+// Creates a new instance of the GalleryImageListPage type.
+func NewGalleryImageListPage(getNextPage func(context.Context, GalleryImageList) (GalleryImageList, error)) GalleryImageListPage {
+ return GalleryImageListPage{fn: getNextPage}
+}
+
+// GalleryImageProperties describes the properties of a gallery Image Definition.
+type GalleryImageProperties struct {
+ // Description - The description of this gallery Image Definition resource. This property is updatable.
+ Description *string `json:"description,omitempty"`
+ // Eula - The Eula agreement for the gallery Image Definition.
+ Eula *string `json:"eula,omitempty"`
+ // PrivacyStatementURI - The privacy statement uri.
+ PrivacyStatementURI *string `json:"privacyStatementUri,omitempty"`
+ // ReleaseNoteURI - The release note uri.
+ ReleaseNoteURI *string `json:"releaseNoteUri,omitempty"`
+ // OsType - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // OsState - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized'
+ OsState OperatingSystemStateTypes `json:"osState,omitempty"`
+ // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'
+ HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
+ // EndOfLifeDate - The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable.
+ EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
+ Identifier *GalleryImageIdentifier `json:"identifier,omitempty"`
+ Recommended *RecommendedMachineConfiguration `json:"recommended,omitempty"`
+ Disallowed *Disallowed `json:"disallowed,omitempty"`
+ PurchasePlan *ImagePurchasePlan `json:"purchasePlan,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState1Creating', 'ProvisioningState1Updating', 'ProvisioningState1Failed', 'ProvisioningState1Succeeded', 'ProvisioningState1Deleting', 'ProvisioningState1Migrating'
+ ProvisioningState ProvisioningState1 `json:"provisioningState,omitempty"`
+}
+
+// GalleryImagesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type GalleryImagesCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *GalleryImagesCreateOrUpdateFuture) Result(client GalleryImagesClient) (gi GalleryImage, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.GalleryImagesCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if gi.Response.Response, err = future.GetResult(sender); err == nil && gi.Response.Response.StatusCode != http.StatusNoContent {
+ gi, err = client.CreateOrUpdateResponder(gi.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesCreateOrUpdateFuture", "Result", gi.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// GalleryImagesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type GalleryImagesDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *GalleryImagesDeleteFuture) Result(client GalleryImagesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImagesDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.GalleryImagesDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// GalleryImageVersion specifies information about the gallery Image Version that you want to create or
+// update.
+type GalleryImageVersion struct {
+ autorest.Response `json:"-"`
+ *GalleryImageVersionProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for GalleryImageVersion.
+func (giv GalleryImageVersion) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if giv.GalleryImageVersionProperties != nil {
+ objectMap["properties"] = giv.GalleryImageVersionProperties
+ }
+ if giv.Location != nil {
+ objectMap["location"] = giv.Location
+ }
+ if giv.Tags != nil {
+ objectMap["tags"] = giv.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for GalleryImageVersion struct.
+func (giv *GalleryImageVersion) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var galleryImageVersionProperties GalleryImageVersionProperties
+ err = json.Unmarshal(*v, &galleryImageVersionProperties)
+ if err != nil {
+ return err
+ }
+ giv.GalleryImageVersionProperties = &galleryImageVersionProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ giv.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ giv.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ giv.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ giv.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ giv.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// GalleryImageVersionList the List Gallery Image version operation response.
+type GalleryImageVersionList struct {
+ autorest.Response `json:"-"`
+ // Value - A list of gallery Image Versions.
+ Value *[]GalleryImageVersion `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of gallery Image Versions. Call ListNext() with this to fetch the next page of gallery Image Versions.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// GalleryImageVersionListIterator provides access to a complete listing of GalleryImageVersion values.
+type GalleryImageVersionListIterator struct {
+ i int
+ page GalleryImageVersionListPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *GalleryImageVersionListIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImageVersionListIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *GalleryImageVersionListIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter GalleryImageVersionListIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter GalleryImageVersionListIterator) Response() GalleryImageVersionList {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter GalleryImageVersionListIterator) Value() GalleryImageVersion {
+ if !iter.page.NotDone() {
+ return GalleryImageVersion{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the GalleryImageVersionListIterator type.
+func NewGalleryImageVersionListIterator(page GalleryImageVersionListPage) GalleryImageVersionListIterator {
+ return GalleryImageVersionListIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (givl GalleryImageVersionList) IsEmpty() bool {
+ return givl.Value == nil || len(*givl.Value) == 0
+}
+
+// galleryImageVersionListPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (givl GalleryImageVersionList) galleryImageVersionListPreparer(ctx context.Context) (*http.Request, error) {
+ if givl.NextLink == nil || len(to.String(givl.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(givl.NextLink)))
+}
+
+// GalleryImageVersionListPage contains a page of GalleryImageVersion values.
+type GalleryImageVersionListPage struct {
+ fn func(context.Context, GalleryImageVersionList) (GalleryImageVersionList, error)
+ givl GalleryImageVersionList
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *GalleryImageVersionListPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryImageVersionListPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.givl)
+ if err != nil {
+ return err
+ }
+ page.givl = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *GalleryImageVersionListPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page GalleryImageVersionListPage) NotDone() bool {
+ return !page.givl.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page GalleryImageVersionListPage) Response() GalleryImageVersionList {
+ return page.givl
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page GalleryImageVersionListPage) Values() []GalleryImageVersion {
+ if page.givl.IsEmpty() {
+ return nil
+ }
+ return *page.givl.Value
+}
+
+// Creates a new instance of the GalleryImageVersionListPage type.
+func NewGalleryImageVersionListPage(getNextPage func(context.Context, GalleryImageVersionList) (GalleryImageVersionList, error)) GalleryImageVersionListPage {
+ return GalleryImageVersionListPage{fn: getNextPage}
+}
+
+// GalleryImageVersionProperties describes the properties of a gallery Image Version.
+type GalleryImageVersionProperties struct {
+ PublishingProfile *GalleryImageVersionPublishingProfile `json:"publishingProfile,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState2Creating', 'ProvisioningState2Updating', 'ProvisioningState2Failed', 'ProvisioningState2Succeeded', 'ProvisioningState2Deleting', 'ProvisioningState2Migrating'
+ ProvisioningState ProvisioningState2 `json:"provisioningState,omitempty"`
+ StorageProfile *GalleryImageVersionStorageProfile `json:"storageProfile,omitempty"`
+ // ReplicationStatus - READ-ONLY
+ ReplicationStatus *ReplicationStatus `json:"replicationStatus,omitempty"`
+}
+
+// GalleryImageVersionPublishingProfile the publishing profile of a gallery Image Version.
+type GalleryImageVersionPublishingProfile struct {
+ // ReplicaCount - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
+ ReplicaCount *int32 `json:"replicaCount,omitempty"`
+ // ExcludeFromLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
+ ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"`
+ // PublishedDate - READ-ONLY; The timestamp for when the gallery Image Version is published.
+ PublishedDate *date.Time `json:"publishedDate,omitempty"`
+ // EndOfLifeDate - The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.
+ EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
+ // StorageAccountType - Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'StorageAccountTypeStandardLRS', 'StorageAccountTypeStandardZRS'
+ StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
+ // TargetRegions - The target regions where the Image Version is going to be replicated to. This property is updatable.
+ TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"`
+}
+
+// GalleryImageVersionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type GalleryImageVersionsCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *GalleryImageVersionsCreateOrUpdateFuture) Result(client GalleryImageVersionsClient) (giv GalleryImageVersion, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.GalleryImageVersionsCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if giv.Response.Response, err = future.GetResult(sender); err == nil && giv.Response.Response.StatusCode != http.StatusNoContent {
+ giv, err = client.CreateOrUpdateResponder(giv.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsCreateOrUpdateFuture", "Result", giv.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// GalleryImageVersionsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type GalleryImageVersionsDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *GalleryImageVersionsDeleteFuture) Result(client GalleryImageVersionsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.GalleryImageVersionsDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// GalleryImageVersionStorageProfile this is the storage profile of a Gallery Image Version.
+type GalleryImageVersionStorageProfile struct {
+ Source *GalleryArtifactVersionSource `json:"source,omitempty"`
+ OsDiskImage *GalleryOSDiskImage `json:"osDiskImage,omitempty"`
+ // DataDiskImages - A list of data disk images.
+ DataDiskImages *[]GalleryDataDiskImage `json:"dataDiskImages,omitempty"`
+}
+
+// GalleryList the List Galleries operation response.
+type GalleryList struct {
+ autorest.Response `json:"-"`
+ // Value - A list of galleries.
+ Value *[]Gallery `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// GalleryListIterator provides access to a complete listing of Gallery values.
+type GalleryListIterator struct {
+ i int
+ page GalleryListPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *GalleryListIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryListIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *GalleryListIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter GalleryListIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter GalleryListIterator) Response() GalleryList {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter GalleryListIterator) Value() Gallery {
+ if !iter.page.NotDone() {
+ return Gallery{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the GalleryListIterator type.
+func NewGalleryListIterator(page GalleryListPage) GalleryListIterator {
+ return GalleryListIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (gl GalleryList) IsEmpty() bool {
+ return gl.Value == nil || len(*gl.Value) == 0
+}
+
+// galleryListPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (gl GalleryList) galleryListPreparer(ctx context.Context) (*http.Request, error) {
+ if gl.NextLink == nil || len(to.String(gl.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(gl.NextLink)))
+}
+
+// GalleryListPage contains a page of Gallery values.
+type GalleryListPage struct {
+ fn func(context.Context, GalleryList) (GalleryList, error)
+ gl GalleryList
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *GalleryListPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/GalleryListPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.gl)
+ if err != nil {
+ return err
+ }
+ page.gl = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *GalleryListPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page GalleryListPage) NotDone() bool {
+ return !page.gl.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page GalleryListPage) Response() GalleryList {
+ return page.gl
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page GalleryListPage) Values() []Gallery {
+ if page.gl.IsEmpty() {
+ return nil
+ }
+ return *page.gl.Value
+}
+
+// Creates a new instance of the GalleryListPage type.
+func NewGalleryListPage(getNextPage func(context.Context, GalleryList) (GalleryList, error)) GalleryListPage {
+ return GalleryListPage{fn: getNextPage}
+}
+
+// GalleryOSDiskImage this is the OS disk image.
+type GalleryOSDiskImage struct {
+ // SizeInGB - READ-ONLY; This property indicates the size of the VHD to be created.
+ SizeInGB *int32 `json:"sizeInGB,omitempty"`
+ // HostCaching - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'HostCachingNone', 'HostCachingReadOnly', 'HostCachingReadWrite'
+ HostCaching HostCaching `json:"hostCaching,omitempty"`
+ Source *GalleryArtifactVersionSource `json:"source,omitempty"`
+}
+
+// GalleryProperties describes the properties of a Shared Image Gallery.
+type GalleryProperties struct {
+ // Description - The description of this Shared Image Gallery resource. This property is updatable.
+ Description *string `json:"description,omitempty"`
+ Identifier *GalleryIdentifier `json:"identifier,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateFailed', 'ProvisioningStateSucceeded', 'ProvisioningStateDeleting', 'ProvisioningStateMigrating'
+ ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
+}
+
+// GrantAccessData data used for requesting a SAS.
+type GrantAccessData struct {
+ // Access - Possible values include: 'None', 'Read', 'Write'
+ Access AccessLevel `json:"access,omitempty"`
+ // DurationInSeconds - Time duration in seconds until the SAS access expires.
+ DurationInSeconds *int32 `json:"durationInSeconds,omitempty"`
+}
+
+// HardwareProfile specifies the hardware settings for the virtual machine.
+type HardwareProfile struct {
+ // VMSize - Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). Possible values include: 'VirtualMachineSizeTypesBasicA0', 'VirtualMachineSizeTypesBasicA1', 'VirtualMachineSizeTypesBasicA2', 'VirtualMachineSizeTypesBasicA3', 'VirtualMachineSizeTypesBasicA4', 'VirtualMachineSizeTypesStandardA0', 'VirtualMachineSizeTypesStandardA1', 'VirtualMachineSizeTypesStandardA2', 'VirtualMachineSizeTypesStandardA3', 'VirtualMachineSizeTypesStandardA4', 'VirtualMachineSizeTypesStandardA5', 'VirtualMachineSizeTypesStandardA6', 'VirtualMachineSizeTypesStandardA7', 'VirtualMachineSizeTypesStandardA8', 'VirtualMachineSizeTypesStandardA9', 'VirtualMachineSizeTypesStandardA10', 'VirtualMachineSizeTypesStandardA11', 'VirtualMachineSizeTypesStandardA1V2', 'VirtualMachineSizeTypesStandardA2V2', 'VirtualMachineSizeTypesStandardA4V2', 'VirtualMachineSizeTypesStandardA8V2', 'VirtualMachineSizeTypesStandardA2mV2', 'VirtualMachineSizeTypesStandardA4mV2', 'VirtualMachineSizeTypesStandardA8mV2', 'VirtualMachineSizeTypesStandardB1s', 'VirtualMachineSizeTypesStandardB1ms', 'VirtualMachineSizeTypesStandardB2s', 'VirtualMachineSizeTypesStandardB2ms', 'VirtualMachineSizeTypesStandardB4ms', 'VirtualMachineSizeTypesStandardB8ms', 'VirtualMachineSizeTypesStandardD1', 'VirtualMachineSizeTypesStandardD2', 'VirtualMachineSizeTypesStandardD3', 'VirtualMachineSizeTypesStandardD4', 'VirtualMachineSizeTypesStandardD11', 'VirtualMachineSizeTypesStandardD12', 'VirtualMachineSizeTypesStandardD13', 'VirtualMachineSizeTypesStandardD14', 'VirtualMachineSizeTypesStandardD1V2', 'VirtualMachineSizeTypesStandardD2V2', 'VirtualMachineSizeTypesStandardD3V2', 'VirtualMachineSizeTypesStandardD4V2', 'VirtualMachineSizeTypesStandardD5V2', 'VirtualMachineSizeTypesStandardD2V3', 'VirtualMachineSizeTypesStandardD4V3', 'VirtualMachineSizeTypesStandardD8V3', 'VirtualMachineSizeTypesStandardD16V3', 'VirtualMachineSizeTypesStandardD32V3', 'VirtualMachineSizeTypesStandardD64V3', 'VirtualMachineSizeTypesStandardD2sV3', 'VirtualMachineSizeTypesStandardD4sV3', 'VirtualMachineSizeTypesStandardD8sV3', 'VirtualMachineSizeTypesStandardD16sV3', 'VirtualMachineSizeTypesStandardD32sV3', 'VirtualMachineSizeTypesStandardD64sV3', 'VirtualMachineSizeTypesStandardD11V2', 'VirtualMachineSizeTypesStandardD12V2', 'VirtualMachineSizeTypesStandardD13V2', 'VirtualMachineSizeTypesStandardD14V2', 'VirtualMachineSizeTypesStandardD15V2', 'VirtualMachineSizeTypesStandardDS1', 'VirtualMachineSizeTypesStandardDS2', 'VirtualMachineSizeTypesStandardDS3', 'VirtualMachineSizeTypesStandardDS4', 'VirtualMachineSizeTypesStandardDS11', 'VirtualMachineSizeTypesStandardDS12', 'VirtualMachineSizeTypesStandardDS13', 'VirtualMachineSizeTypesStandardDS14', 'VirtualMachineSizeTypesStandardDS1V2', 'VirtualMachineSizeTypesStandardDS2V2', 'VirtualMachineSizeTypesStandardDS3V2', 'VirtualMachineSizeTypesStandardDS4V2', 'VirtualMachineSizeTypesStandardDS5V2', 'VirtualMachineSizeTypesStandardDS11V2', 'VirtualMachineSizeTypesStandardDS12V2', 'VirtualMachineSizeTypesStandardDS13V2', 'VirtualMachineSizeTypesStandardDS14V2', 'VirtualMachineSizeTypesStandardDS15V2', 'VirtualMachineSizeTypesStandardDS134V2', 'VirtualMachineSizeTypesStandardDS132V2', 'VirtualMachineSizeTypesStandardDS148V2', 'VirtualMachineSizeTypesStandardDS144V2', 'VirtualMachineSizeTypesStandardE2V3', 'VirtualMachineSizeTypesStandardE4V3', 'VirtualMachineSizeTypesStandardE8V3', 'VirtualMachineSizeTypesStandardE16V3', 'VirtualMachineSizeTypesStandardE32V3', 'VirtualMachineSizeTypesStandardE64V3', 'VirtualMachineSizeTypesStandardE2sV3', 'VirtualMachineSizeTypesStandardE4sV3', 'VirtualMachineSizeTypesStandardE8sV3', 'VirtualMachineSizeTypesStandardE16sV3', 'VirtualMachineSizeTypesStandardE32sV3', 'VirtualMachineSizeTypesStandardE64sV3', 'VirtualMachineSizeTypesStandardE3216V3', 'VirtualMachineSizeTypesStandardE328sV3', 'VirtualMachineSizeTypesStandardE6432sV3', 'VirtualMachineSizeTypesStandardE6416sV3', 'VirtualMachineSizeTypesStandardF1', 'VirtualMachineSizeTypesStandardF2', 'VirtualMachineSizeTypesStandardF4', 'VirtualMachineSizeTypesStandardF8', 'VirtualMachineSizeTypesStandardF16', 'VirtualMachineSizeTypesStandardF1s', 'VirtualMachineSizeTypesStandardF2s', 'VirtualMachineSizeTypesStandardF4s', 'VirtualMachineSizeTypesStandardF8s', 'VirtualMachineSizeTypesStandardF16s', 'VirtualMachineSizeTypesStandardF2sV2', 'VirtualMachineSizeTypesStandardF4sV2', 'VirtualMachineSizeTypesStandardF8sV2', 'VirtualMachineSizeTypesStandardF16sV2', 'VirtualMachineSizeTypesStandardF32sV2', 'VirtualMachineSizeTypesStandardF64sV2', 'VirtualMachineSizeTypesStandardF72sV2', 'VirtualMachineSizeTypesStandardG1', 'VirtualMachineSizeTypesStandardG2', 'VirtualMachineSizeTypesStandardG3', 'VirtualMachineSizeTypesStandardG4', 'VirtualMachineSizeTypesStandardG5', 'VirtualMachineSizeTypesStandardGS1', 'VirtualMachineSizeTypesStandardGS2', 'VirtualMachineSizeTypesStandardGS3', 'VirtualMachineSizeTypesStandardGS4', 'VirtualMachineSizeTypesStandardGS5', 'VirtualMachineSizeTypesStandardGS48', 'VirtualMachineSizeTypesStandardGS44', 'VirtualMachineSizeTypesStandardGS516', 'VirtualMachineSizeTypesStandardGS58', 'VirtualMachineSizeTypesStandardH8', 'VirtualMachineSizeTypesStandardH16', 'VirtualMachineSizeTypesStandardH8m', 'VirtualMachineSizeTypesStandardH16m', 'VirtualMachineSizeTypesStandardH16r', 'VirtualMachineSizeTypesStandardH16mr', 'VirtualMachineSizeTypesStandardL4s', 'VirtualMachineSizeTypesStandardL8s', 'VirtualMachineSizeTypesStandardL16s', 'VirtualMachineSizeTypesStandardL32s', 'VirtualMachineSizeTypesStandardM64s', 'VirtualMachineSizeTypesStandardM64ms', 'VirtualMachineSizeTypesStandardM128s', 'VirtualMachineSizeTypesStandardM128ms', 'VirtualMachineSizeTypesStandardM6432ms', 'VirtualMachineSizeTypesStandardM6416ms', 'VirtualMachineSizeTypesStandardM12864ms', 'VirtualMachineSizeTypesStandardM12832ms', 'VirtualMachineSizeTypesStandardNC6', 'VirtualMachineSizeTypesStandardNC12', 'VirtualMachineSizeTypesStandardNC24', 'VirtualMachineSizeTypesStandardNC24r', 'VirtualMachineSizeTypesStandardNC6sV2', 'VirtualMachineSizeTypesStandardNC12sV2', 'VirtualMachineSizeTypesStandardNC24sV2', 'VirtualMachineSizeTypesStandardNC24rsV2', 'VirtualMachineSizeTypesStandardNC6sV3', 'VirtualMachineSizeTypesStandardNC12sV3', 'VirtualMachineSizeTypesStandardNC24sV3', 'VirtualMachineSizeTypesStandardNC24rsV3', 'VirtualMachineSizeTypesStandardND6s', 'VirtualMachineSizeTypesStandardND12s', 'VirtualMachineSizeTypesStandardND24s', 'VirtualMachineSizeTypesStandardND24rs', 'VirtualMachineSizeTypesStandardNV6', 'VirtualMachineSizeTypesStandardNV12', 'VirtualMachineSizeTypesStandardNV24'
+ VMSize VirtualMachineSizeTypes `json:"vmSize,omitempty"`
+}
+
+// Image the source user image virtual hard disk. The virtual hard disk will be copied before being
+// attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not
+// exist.
+type Image struct {
+ autorest.Response `json:"-"`
+ *ImageProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for Image.
+func (i Image) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if i.ImageProperties != nil {
+ objectMap["properties"] = i.ImageProperties
+ }
+ if i.Location != nil {
+ objectMap["location"] = i.Location
+ }
+ if i.Tags != nil {
+ objectMap["tags"] = i.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for Image struct.
+func (i *Image) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var imageProperties ImageProperties
+ err = json.Unmarshal(*v, &imageProperties)
+ if err != nil {
+ return err
+ }
+ i.ImageProperties = &imageProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ i.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ i.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ i.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ i.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ i.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// ImageDataDisk describes a data disk.
+type ImageDataDisk struct {
+ // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
+ Lun *int32 `json:"lun,omitempty"`
+ // Snapshot - The snapshot.
+ Snapshot *SubResource `json:"snapshot,omitempty"`
+ // ManagedDisk - The managedDisk.
+ ManagedDisk *SubResource `json:"managedDisk,omitempty"`
+ // BlobURI - The Virtual Hard Disk.
+ BlobURI *string `json:"blobUri,omitempty"`
+ // Caching - Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
+ Caching CachingTypes `json:"caching,omitempty"`
+ // DiskSizeGB - Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS'
+ StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
+}
+
+// ImageDiskReference the source image used for creating the disk.
+type ImageDiskReference struct {
+ // ID - A relative uri containing either a Platform Image Repository or user image reference.
+ ID *string `json:"id,omitempty"`
+ // Lun - If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
+ Lun *int32 `json:"lun,omitempty"`
+}
+
+// ImageListResult the List Image operation response.
+type ImageListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of Images.
+ Value *[]Image `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of Images.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// ImageListResultIterator provides access to a complete listing of Image values.
+type ImageListResultIterator struct {
+ i int
+ page ImageListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *ImageListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ImageListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *ImageListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter ImageListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter ImageListResultIterator) Response() ImageListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter ImageListResultIterator) Value() Image {
+ if !iter.page.NotDone() {
+ return Image{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the ImageListResultIterator type.
+func NewImageListResultIterator(page ImageListResultPage) ImageListResultIterator {
+ return ImageListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (ilr ImageListResult) IsEmpty() bool {
+ return ilr.Value == nil || len(*ilr.Value) == 0
+}
+
+// imageListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (ilr ImageListResult) imageListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if ilr.NextLink == nil || len(to.String(ilr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(ilr.NextLink)))
+}
+
+// ImageListResultPage contains a page of Image values.
+type ImageListResultPage struct {
+ fn func(context.Context, ImageListResult) (ImageListResult, error)
+ ilr ImageListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *ImageListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ImageListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.ilr)
+ if err != nil {
+ return err
+ }
+ page.ilr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *ImageListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page ImageListResultPage) NotDone() bool {
+ return !page.ilr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page ImageListResultPage) Response() ImageListResult {
+ return page.ilr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page ImageListResultPage) Values() []Image {
+ if page.ilr.IsEmpty() {
+ return nil
+ }
+ return *page.ilr.Value
+}
+
+// Creates a new instance of the ImageListResultPage type.
+func NewImageListResultPage(getNextPage func(context.Context, ImageListResult) (ImageListResult, error)) ImageListResultPage {
+ return ImageListResultPage{fn: getNextPage}
+}
+
+// ImageOSDisk describes an Operating System disk.
+type ImageOSDisk struct {
+ // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // OsState - The OS State. Possible values include: 'Generalized', 'Specialized'
+ OsState OperatingSystemStateTypes `json:"osState,omitempty"`
+ // Snapshot - The snapshot.
+ Snapshot *SubResource `json:"snapshot,omitempty"`
+ // ManagedDisk - The managedDisk.
+ ManagedDisk *SubResource `json:"managedDisk,omitempty"`
+ // BlobURI - The Virtual Hard Disk.
+ BlobURI *string `json:"blobUri,omitempty"`
+ // Caching - Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
+ Caching CachingTypes `json:"caching,omitempty"`
+ // DiskSizeGB - Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // StorageAccountType - Specifies the storage account type for the managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS'
+ StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
+}
+
+// ImageProperties describes the properties of an Image.
+type ImageProperties struct {
+ // SourceVirtualMachine - The source virtual machine from which Image is created.
+ SourceVirtualMachine *SubResource `json:"sourceVirtualMachine,omitempty"`
+ // StorageProfile - Specifies the storage settings for the virtual machine disks.
+ StorageProfile *ImageStorageProfile `json:"storageProfile,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // HyperVGeneration - Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values include: 'HyperVGenerationTypesV1', 'HyperVGenerationTypesV2'
+ HyperVGeneration HyperVGenerationTypes `json:"hyperVGeneration,omitempty"`
+}
+
+// ImagePurchasePlan describes the gallery Image Definition purchase plan. This is used by marketplace
+// images.
+type ImagePurchasePlan struct {
+ // Name - The plan ID.
+ Name *string `json:"name,omitempty"`
+ // Publisher - The publisher ID.
+ Publisher *string `json:"publisher,omitempty"`
+ // Product - The product ID.
+ Product *string `json:"product,omitempty"`
+}
+
+// ImageReference specifies information about the image to use. You can specify information about platform
+// images, marketplace images, or virtual machine images. This element is required when you want to use a
+// platform image, marketplace image, or virtual machine image, but is not used in other creation
+// operations.
+type ImageReference struct {
+ // Publisher - The image publisher.
+ Publisher *string `json:"publisher,omitempty"`
+ // Offer - Specifies the offer of the platform image or marketplace image used to create the virtual machine.
+ Offer *string `json:"offer,omitempty"`
+ // Sku - The image SKU.
+ Sku *string `json:"sku,omitempty"`
+ // Version - Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
+ Version *string `json:"version,omitempty"`
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// ImagesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type ImagesCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *ImagesCreateOrUpdateFuture) Result(client ImagesClient) (i Image, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.ImagesCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if i.Response.Response, err = future.GetResult(sender); err == nil && i.Response.Response.StatusCode != http.StatusNoContent {
+ i, err = client.CreateOrUpdateResponder(i.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesCreateOrUpdateFuture", "Result", i.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// ImagesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+type ImagesDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *ImagesDeleteFuture) Result(client ImagesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.ImagesDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// ImageStorageProfile describes a storage profile.
+type ImageStorageProfile struct {
+ // OsDisk - Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ OsDisk *ImageOSDisk `json:"osDisk,omitempty"`
+ // DataDisks - Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ DataDisks *[]ImageDataDisk `json:"dataDisks,omitempty"`
+ // ZoneResilient - Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).
+ ZoneResilient *bool `json:"zoneResilient,omitempty"`
+}
+
+// ImagesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+type ImagesUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *ImagesUpdateFuture) Result(client ImagesClient) (i Image, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.ImagesUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if i.Response.Response, err = future.GetResult(sender); err == nil && i.Response.Response.StatusCode != http.StatusNoContent {
+ i, err = client.UpdateResponder(i.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ImagesUpdateFuture", "Result", i.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// ImageUpdate the source user image virtual hard disk. Only tags may be updated.
+type ImageUpdate struct {
+ *ImageProperties `json:"properties,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for ImageUpdate.
+func (iu ImageUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if iu.ImageProperties != nil {
+ objectMap["properties"] = iu.ImageProperties
+ }
+ if iu.Tags != nil {
+ objectMap["tags"] = iu.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for ImageUpdate struct.
+func (iu *ImageUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var imageProperties ImageProperties
+ err = json.Unmarshal(*v, &imageProperties)
+ if err != nil {
+ return err
+ }
+ iu.ImageProperties = &imageProperties
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ iu.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// InnerError inner error details.
+type InnerError struct {
+ // Exceptiontype - The exception type.
+ Exceptiontype *string `json:"exceptiontype,omitempty"`
+ // Errordetail - The internal error message or exception dump.
+ Errordetail *string `json:"errordetail,omitempty"`
+}
+
+// InstanceViewStatus instance view status.
+type InstanceViewStatus struct {
+ // Code - The status code.
+ Code *string `json:"code,omitempty"`
+ // Level - The level code. Possible values include: 'Info', 'Warning', 'Error'
+ Level StatusLevelTypes `json:"level,omitempty"`
+ // DisplayStatus - The short localizable label for the status.
+ DisplayStatus *string `json:"displayStatus,omitempty"`
+ // Message - The detailed status message, including for alerts and error messages.
+ Message *string `json:"message,omitempty"`
+ // Time - The time of the status.
+ Time *date.Time `json:"time,omitempty"`
+}
+
+// KeyVaultAndKeyReference key Vault Key Url and vault id of KeK, KeK is optional and when provided is used
+// to unwrap the encryptionKey
+type KeyVaultAndKeyReference struct {
+ // SourceVault - Resource id of the KeyVault containing the key or secret
+ SourceVault *SourceVault `json:"sourceVault,omitempty"`
+ // KeyURL - Url pointing to a key or secret in KeyVault
+ KeyURL *string `json:"keyUrl,omitempty"`
+}
+
+// KeyVaultAndSecretReference key Vault Secret Url and vault id of the encryption key
+type KeyVaultAndSecretReference struct {
+ // SourceVault - Resource id of the KeyVault containing the key or secret
+ SourceVault *SourceVault `json:"sourceVault,omitempty"`
+ // SecretURL - Url pointing to a key or secret in KeyVault
+ SecretURL *string `json:"secretUrl,omitempty"`
+}
+
+// KeyVaultKeyReference describes a reference to Key Vault Key
+type KeyVaultKeyReference struct {
+ // KeyURL - The URL referencing a key encryption key in Key Vault.
+ KeyURL *string `json:"keyUrl,omitempty"`
+ // SourceVault - The relative URL of the Key Vault containing the key.
+ SourceVault *SubResource `json:"sourceVault,omitempty"`
+}
+
+// KeyVaultSecretReference describes a reference to Key Vault Secret
+type KeyVaultSecretReference struct {
+ // SecretURL - The URL referencing a secret in a Key Vault.
+ SecretURL *string `json:"secretUrl,omitempty"`
+ // SourceVault - The relative URL of the Key Vault containing the secret.
+ SourceVault *SubResource `json:"sourceVault,omitempty"`
+}
+
+// LinuxConfiguration specifies the Linux operating system settings on the virtual machine.
For a
+// list of supported Linux distributions, see [Linux on Azure-Endorsed
+// Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+//
For running non-endorsed distributions, see [Information for Non-Endorsed
+// Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+type LinuxConfiguration struct {
+ // DisablePasswordAuthentication - Specifies whether password authentication should be disabled.
+ DisablePasswordAuthentication *bool `json:"disablePasswordAuthentication,omitempty"`
+ // SSH - Specifies the ssh key configuration for a Linux OS.
+ SSH *SSHConfiguration `json:"ssh,omitempty"`
+ // ProvisionVMAgent - Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
+ ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"`
+}
+
+// ListUsagesResult the List Usages operation response.
+type ListUsagesResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of compute resource usages.
+ Value *[]Usage `json:"value,omitempty"`
+ // NextLink - The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// ListUsagesResultIterator provides access to a complete listing of Usage values.
+type ListUsagesResultIterator struct {
+ i int
+ page ListUsagesResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *ListUsagesResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ListUsagesResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *ListUsagesResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter ListUsagesResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter ListUsagesResultIterator) Response() ListUsagesResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter ListUsagesResultIterator) Value() Usage {
+ if !iter.page.NotDone() {
+ return Usage{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the ListUsagesResultIterator type.
+func NewListUsagesResultIterator(page ListUsagesResultPage) ListUsagesResultIterator {
+ return ListUsagesResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (lur ListUsagesResult) IsEmpty() bool {
+ return lur.Value == nil || len(*lur.Value) == 0
+}
+
+// listUsagesResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (lur ListUsagesResult) listUsagesResultPreparer(ctx context.Context) (*http.Request, error) {
+ if lur.NextLink == nil || len(to.String(lur.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(lur.NextLink)))
+}
+
+// ListUsagesResultPage contains a page of Usage values.
+type ListUsagesResultPage struct {
+ fn func(context.Context, ListUsagesResult) (ListUsagesResult, error)
+ lur ListUsagesResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *ListUsagesResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ListUsagesResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.lur)
+ if err != nil {
+ return err
+ }
+ page.lur = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *ListUsagesResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page ListUsagesResultPage) NotDone() bool {
+ return !page.lur.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page ListUsagesResultPage) Response() ListUsagesResult {
+ return page.lur
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page ListUsagesResultPage) Values() []Usage {
+ if page.lur.IsEmpty() {
+ return nil
+ }
+ return *page.lur.Value
+}
+
+// Creates a new instance of the ListUsagesResultPage type.
+func NewListUsagesResultPage(getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage {
+ return ListUsagesResultPage{fn: getNextPage}
+}
+
+// ListVirtualMachineExtensionImage ...
+type ListVirtualMachineExtensionImage struct {
+ autorest.Response `json:"-"`
+ Value *[]VirtualMachineExtensionImage `json:"value,omitempty"`
+}
+
+// ListVirtualMachineImageResource ...
+type ListVirtualMachineImageResource struct {
+ autorest.Response `json:"-"`
+ Value *[]VirtualMachineImageResource `json:"value,omitempty"`
+}
+
+// LogAnalyticsExportRequestRateByIntervalFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
+type LogAnalyticsExportRequestRateByIntervalFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *LogAnalyticsExportRequestRateByIntervalFuture) Result(client LogAnalyticsClient) (laor LogAnalyticsOperationResult, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.LogAnalyticsExportRequestRateByIntervalFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.LogAnalyticsExportRequestRateByIntervalFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if laor.Response.Response, err = future.GetResult(sender); err == nil && laor.Response.Response.StatusCode != http.StatusNoContent {
+ laor, err = client.ExportRequestRateByIntervalResponder(laor.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.LogAnalyticsExportRequestRateByIntervalFuture", "Result", laor.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// LogAnalyticsExportThrottledRequestsFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type LogAnalyticsExportThrottledRequestsFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *LogAnalyticsExportThrottledRequestsFuture) Result(client LogAnalyticsClient) (laor LogAnalyticsOperationResult, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.LogAnalyticsExportThrottledRequestsFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.LogAnalyticsExportThrottledRequestsFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if laor.Response.Response, err = future.GetResult(sender); err == nil && laor.Response.Response.StatusCode != http.StatusNoContent {
+ laor, err = client.ExportThrottledRequestsResponder(laor.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.LogAnalyticsExportThrottledRequestsFuture", "Result", laor.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// LogAnalyticsInputBase api input base class for LogAnalytics Api.
+type LogAnalyticsInputBase struct {
+ // BlobContainerSasURI - SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
+ BlobContainerSasURI *string `json:"blobContainerSasUri,omitempty"`
+ // FromTime - From time of the query
+ FromTime *date.Time `json:"fromTime,omitempty"`
+ // ToTime - To time of the query
+ ToTime *date.Time `json:"toTime,omitempty"`
+ // GroupByThrottlePolicy - Group query result by Throttle Policy applied.
+ GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"`
+ // GroupByOperationName - Group query result by Operation Name.
+ GroupByOperationName *bool `json:"groupByOperationName,omitempty"`
+ // GroupByResourceName - Group query result by Resource Name.
+ GroupByResourceName *bool `json:"groupByResourceName,omitempty"`
+}
+
+// LogAnalyticsOperationResult logAnalytics operation status response
+type LogAnalyticsOperationResult struct {
+ autorest.Response `json:"-"`
+ // Properties - READ-ONLY; LogAnalyticsOutput
+ Properties *LogAnalyticsOutput `json:"properties,omitempty"`
+}
+
+// LogAnalyticsOutput logAnalytics output properties
+type LogAnalyticsOutput struct {
+ // Output - READ-ONLY; Output file Uri path to blob container.
+ Output *string `json:"output,omitempty"`
+}
+
+// MaintenanceRedeployStatus maintenance Operation Status.
+type MaintenanceRedeployStatus struct {
+ // IsCustomerInitiatedMaintenanceAllowed - True, if customer is allowed to perform Maintenance.
+ IsCustomerInitiatedMaintenanceAllowed *bool `json:"isCustomerInitiatedMaintenanceAllowed,omitempty"`
+ // PreMaintenanceWindowStartTime - Start Time for the Pre Maintenance Window.
+ PreMaintenanceWindowStartTime *date.Time `json:"preMaintenanceWindowStartTime,omitempty"`
+ // PreMaintenanceWindowEndTime - End Time for the Pre Maintenance Window.
+ PreMaintenanceWindowEndTime *date.Time `json:"preMaintenanceWindowEndTime,omitempty"`
+ // MaintenanceWindowStartTime - Start Time for the Maintenance Window.
+ MaintenanceWindowStartTime *date.Time `json:"maintenanceWindowStartTime,omitempty"`
+ // MaintenanceWindowEndTime - End Time for the Maintenance Window.
+ MaintenanceWindowEndTime *date.Time `json:"maintenanceWindowEndTime,omitempty"`
+ // LastOperationResultCode - The Last Maintenance Operation Result Code. Possible values include: 'MaintenanceOperationResultCodeTypesNone', 'MaintenanceOperationResultCodeTypesRetryLater', 'MaintenanceOperationResultCodeTypesMaintenanceAborted', 'MaintenanceOperationResultCodeTypesMaintenanceCompleted'
+ LastOperationResultCode MaintenanceOperationResultCodeTypes `json:"lastOperationResultCode,omitempty"`
+ // LastOperationMessage - Message returned for the last Maintenance Operation.
+ LastOperationMessage *string `json:"lastOperationMessage,omitempty"`
+}
+
+// ManagedDiskParameters the parameters of a managed disk.
+type ManagedDiskParameters struct {
+ // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS'
+ StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// NetworkInterfaceReference describes a network interface reference.
+type NetworkInterfaceReference struct {
+ *NetworkInterfaceReferenceProperties `json:"properties,omitempty"`
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for NetworkInterfaceReference.
+func (nir NetworkInterfaceReference) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if nir.NetworkInterfaceReferenceProperties != nil {
+ objectMap["properties"] = nir.NetworkInterfaceReferenceProperties
+ }
+ if nir.ID != nil {
+ objectMap["id"] = nir.ID
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for NetworkInterfaceReference struct.
+func (nir *NetworkInterfaceReference) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var networkInterfaceReferenceProperties NetworkInterfaceReferenceProperties
+ err = json.Unmarshal(*v, &networkInterfaceReferenceProperties)
+ if err != nil {
+ return err
+ }
+ nir.NetworkInterfaceReferenceProperties = &networkInterfaceReferenceProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ nir.ID = &ID
+ }
+ }
+ }
+
+ return nil
+}
+
+// NetworkInterfaceReferenceProperties describes a network interface reference properties.
+type NetworkInterfaceReferenceProperties struct {
+ // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface.
+ Primary *bool `json:"primary,omitempty"`
+}
+
+// NetworkProfile specifies the network interfaces of the virtual machine.
+type NetworkProfile struct {
+ // NetworkInterfaces - Specifies the list of resource Ids for the network interfaces associated with the virtual machine.
+ NetworkInterfaces *[]NetworkInterfaceReference `json:"networkInterfaces,omitempty"`
+}
+
+// OperationListResult the List Compute Operation operation response.
+type OperationListResult struct {
+ autorest.Response `json:"-"`
+ // Value - READ-ONLY; The list of compute operations
+ Value *[]OperationValue `json:"value,omitempty"`
+}
+
+// OperationValue describes the properties of a Compute Operation value.
+type OperationValue struct {
+ // Origin - READ-ONLY; The origin of the compute operation.
+ Origin *string `json:"origin,omitempty"`
+ // Name - READ-ONLY; The name of the compute operation.
+ Name *string `json:"name,omitempty"`
+ *OperationValueDisplay `json:"display,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for OperationValue.
+func (ov OperationValue) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if ov.OperationValueDisplay != nil {
+ objectMap["display"] = ov.OperationValueDisplay
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for OperationValue struct.
+func (ov *OperationValue) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "origin":
+ if v != nil {
+ var origin string
+ err = json.Unmarshal(*v, &origin)
+ if err != nil {
+ return err
+ }
+ ov.Origin = &origin
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ ov.Name = &name
+ }
+ case "display":
+ if v != nil {
+ var operationValueDisplay OperationValueDisplay
+ err = json.Unmarshal(*v, &operationValueDisplay)
+ if err != nil {
+ return err
+ }
+ ov.OperationValueDisplay = &operationValueDisplay
+ }
+ }
+ }
+
+ return nil
+}
+
+// OperationValueDisplay describes the properties of a Compute Operation Value Display.
+type OperationValueDisplay struct {
+ // Operation - READ-ONLY; The display name of the compute operation.
+ Operation *string `json:"operation,omitempty"`
+ // Resource - READ-ONLY; The display name of the resource the operation applies to.
+ Resource *string `json:"resource,omitempty"`
+ // Description - READ-ONLY; The description of the operation.
+ Description *string `json:"description,omitempty"`
+ // Provider - READ-ONLY; The resource provider for the operation.
+ Provider *string `json:"provider,omitempty"`
+}
+
+// OSDisk specifies information about the operating system disk used by the virtual machine.
For
+// more information about disks, see [About disks and VHDs for Azure virtual
+// machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+type OSDisk struct {
+ // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // EncryptionSettings - Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15
+ EncryptionSettings *DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
+ // Name - The disk name.
+ Name *string `json:"name,omitempty"`
+ // Vhd - The virtual hard disk.
+ Vhd *VirtualHardDisk `json:"vhd,omitempty"`
+ // Image - The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
+ Image *VirtualHardDisk `json:"image,omitempty"`
+ // Caching - Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
+ Caching CachingTypes `json:"caching,omitempty"`
+ // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
+ WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"`
+ // DiffDiskSettings - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
+ DiffDiskSettings *DiffDiskSettings `json:"diffDiskSettings,omitempty"`
+ // CreateOption - Specifies how the virtual machine should be created.
Possible values are:
**Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach'
+ CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
+ // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // ManagedDisk - The managed disk parameters.
+ ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"`
+}
+
+// OSDiskImage contains the os disk image information.
+type OSDiskImage struct {
+ // OperatingSystem - The operating system of the osDiskImage. Possible values include: 'Windows', 'Linux'
+ OperatingSystem OperatingSystemTypes `json:"operatingSystem,omitempty"`
+}
+
+// OSProfile specifies the operating system settings for the virtual machine.
+type OSProfile struct {
+ // ComputerName - Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions).
+ ComputerName *string `json:"computerName,omitempty"`
+ // AdminUsername - Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in "."
**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ // AdminPassword - Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)
+ AdminPassword *string `json:"adminPassword,omitempty"`
+ // CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+ CustomData *string `json:"customData,omitempty"`
+ // WindowsConfiguration - Specifies Windows operating system settings on the virtual machine.
+ WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
+ // LinuxConfiguration - Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+ LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"`
+ // Secrets - Specifies set of certificates that should be installed onto the virtual machine.
+ Secrets *[]VaultSecretGroup `json:"secrets,omitempty"`
+ // AllowExtensionOperations - Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine.
+ AllowExtensionOperations *bool `json:"allowExtensionOperations,omitempty"`
+}
+
+// Plan specifies information about the marketplace image used to create the virtual machine. This element
+// is only used for marketplace images. Before you can use a marketplace image from an API, you must enable
+// the image for programmatic use. In the Azure portal, find the marketplace image that you want to use
+// and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and
+// then click **Save**.
+type Plan struct {
+ // Name - The plan ID.
+ Name *string `json:"name,omitempty"`
+ // Publisher - The publisher ID.
+ Publisher *string `json:"publisher,omitempty"`
+ // Product - Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
+ Product *string `json:"product,omitempty"`
+ // PromotionCode - The promotion code.
+ PromotionCode *string `json:"promotionCode,omitempty"`
+}
+
+// ProximityPlacementGroup specifies information about the proximity placement group.
+type ProximityPlacementGroup struct {
+ autorest.Response `json:"-"`
+ // ProximityPlacementGroupProperties - Describes the properties of a Proximity Placement Group.
+ *ProximityPlacementGroupProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for ProximityPlacementGroup.
+func (ppg ProximityPlacementGroup) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if ppg.ProximityPlacementGroupProperties != nil {
+ objectMap["properties"] = ppg.ProximityPlacementGroupProperties
+ }
+ if ppg.Location != nil {
+ objectMap["location"] = ppg.Location
+ }
+ if ppg.Tags != nil {
+ objectMap["tags"] = ppg.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for ProximityPlacementGroup struct.
+func (ppg *ProximityPlacementGroup) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var proximityPlacementGroupProperties ProximityPlacementGroupProperties
+ err = json.Unmarshal(*v, &proximityPlacementGroupProperties)
+ if err != nil {
+ return err
+ }
+ ppg.ProximityPlacementGroupProperties = &proximityPlacementGroupProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ ppg.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ ppg.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ppg.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ ppg.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ ppg.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// ProximityPlacementGroupListResult the List Proximity Placement Group operation response.
+type ProximityPlacementGroupListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of proximity placement groups
+ Value *[]ProximityPlacementGroup `json:"value,omitempty"`
+ // NextLink - The URI to fetch the next page of proximity placement groups.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// ProximityPlacementGroupListResultIterator provides access to a complete listing of
+// ProximityPlacementGroup values.
+type ProximityPlacementGroupListResultIterator struct {
+ i int
+ page ProximityPlacementGroupListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *ProximityPlacementGroupListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ProximityPlacementGroupListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *ProximityPlacementGroupListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter ProximityPlacementGroupListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter ProximityPlacementGroupListResultIterator) Response() ProximityPlacementGroupListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter ProximityPlacementGroupListResultIterator) Value() ProximityPlacementGroup {
+ if !iter.page.NotDone() {
+ return ProximityPlacementGroup{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the ProximityPlacementGroupListResultIterator type.
+func NewProximityPlacementGroupListResultIterator(page ProximityPlacementGroupListResultPage) ProximityPlacementGroupListResultIterator {
+ return ProximityPlacementGroupListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (ppglr ProximityPlacementGroupListResult) IsEmpty() bool {
+ return ppglr.Value == nil || len(*ppglr.Value) == 0
+}
+
+// proximityPlacementGroupListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (ppglr ProximityPlacementGroupListResult) proximityPlacementGroupListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if ppglr.NextLink == nil || len(to.String(ppglr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(ppglr.NextLink)))
+}
+
+// ProximityPlacementGroupListResultPage contains a page of ProximityPlacementGroup values.
+type ProximityPlacementGroupListResultPage struct {
+ fn func(context.Context, ProximityPlacementGroupListResult) (ProximityPlacementGroupListResult, error)
+ ppglr ProximityPlacementGroupListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *ProximityPlacementGroupListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ProximityPlacementGroupListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.ppglr)
+ if err != nil {
+ return err
+ }
+ page.ppglr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *ProximityPlacementGroupListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page ProximityPlacementGroupListResultPage) NotDone() bool {
+ return !page.ppglr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page ProximityPlacementGroupListResultPage) Response() ProximityPlacementGroupListResult {
+ return page.ppglr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page ProximityPlacementGroupListResultPage) Values() []ProximityPlacementGroup {
+ if page.ppglr.IsEmpty() {
+ return nil
+ }
+ return *page.ppglr.Value
+}
+
+// Creates a new instance of the ProximityPlacementGroupListResultPage type.
+func NewProximityPlacementGroupListResultPage(getNextPage func(context.Context, ProximityPlacementGroupListResult) (ProximityPlacementGroupListResult, error)) ProximityPlacementGroupListResultPage {
+ return ProximityPlacementGroupListResultPage{fn: getNextPage}
+}
+
+// ProximityPlacementGroupProperties describes the properties of a Proximity Placement Group.
+type ProximityPlacementGroupProperties struct {
+ // ProximityPlacementGroupType - Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use. Possible values include: 'Standard', 'Ultra'
+ ProximityPlacementGroupType ProximityPlacementGroupType `json:"proximityPlacementGroupType,omitempty"`
+ // VirtualMachines - READ-ONLY; A list of references to all virtual machines in the proximity placement group.
+ VirtualMachines *[]SubResource `json:"virtualMachines,omitempty"`
+ // VirtualMachineScaleSets - READ-ONLY; A list of references to all virtual machine scale sets in the proximity placement group.
+ VirtualMachineScaleSets *[]SubResource `json:"virtualMachineScaleSets,omitempty"`
+ // AvailabilitySets - READ-ONLY; A list of references to all availability sets in the proximity placement group.
+ AvailabilitySets *[]SubResource `json:"availabilitySets,omitempty"`
+}
+
+// ProximityPlacementGroupUpdate specifies information about the proximity placement group.
+type ProximityPlacementGroupUpdate struct {
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for ProximityPlacementGroupUpdate.
+func (ppgu ProximityPlacementGroupUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if ppgu.Tags != nil {
+ objectMap["tags"] = ppgu.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// PurchasePlan used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
+type PurchasePlan struct {
+ // Publisher - The publisher ID.
+ Publisher *string `json:"publisher,omitempty"`
+ // Name - The plan ID.
+ Name *string `json:"name,omitempty"`
+ // Product - Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
+ Product *string `json:"product,omitempty"`
+}
+
+// RecommendedMachineConfiguration the properties describe the recommended machine configuration for this
+// Image Definition. These properties are updatable.
+type RecommendedMachineConfiguration struct {
+ VCPUs *ResourceRange `json:"vCPUs,omitempty"`
+ Memory *ResourceRange `json:"memory,omitempty"`
+}
+
+// RecoveryWalkResponse response after calling a manual recovery walk
+type RecoveryWalkResponse struct {
+ autorest.Response `json:"-"`
+ // WalkPerformed - READ-ONLY; Whether the recovery walk was performed
+ WalkPerformed *bool `json:"walkPerformed,omitempty"`
+ // NextPlatformUpdateDomain - READ-ONLY; The next update domain that needs to be walked. Null means walk spanning all update domains has been completed
+ NextPlatformUpdateDomain *int32 `json:"nextPlatformUpdateDomain,omitempty"`
+}
+
+// RegionalReplicationStatus this is the regional replication status.
+type RegionalReplicationStatus struct {
+ // Region - READ-ONLY; The region to which the gallery Image Version is being replicated to.
+ Region *string `json:"region,omitempty"`
+ // State - READ-ONLY; This is the regional replication state. Possible values include: 'ReplicationStateUnknown', 'ReplicationStateReplicating', 'ReplicationStateCompleted', 'ReplicationStateFailed'
+ State ReplicationState `json:"state,omitempty"`
+ // Details - READ-ONLY; The details of the replication status.
+ Details *string `json:"details,omitempty"`
+ // Progress - READ-ONLY; It indicates progress of the replication job.
+ Progress *int32 `json:"progress,omitempty"`
+}
+
+// ReplicationStatus this is the replication status of the gallery Image Version.
+type ReplicationStatus struct {
+ // AggregatedState - READ-ONLY; This is the aggregated replication status based on all the regional replication status flags. Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed'
+ AggregatedState AggregatedReplicationState `json:"aggregatedState,omitempty"`
+ // Summary - READ-ONLY; This is a summary of replication status for each region.
+ Summary *[]RegionalReplicationStatus `json:"summary,omitempty"`
+}
+
+// RequestRateByIntervalInput api request input for LogAnalytics getRequestRateByInterval Api.
+type RequestRateByIntervalInput struct {
+ // IntervalLength - Interval value in minutes used to create LogAnalytics call rate logs. Possible values include: 'ThreeMins', 'FiveMins', 'ThirtyMins', 'SixtyMins'
+ IntervalLength IntervalInMins `json:"intervalLength,omitempty"`
+ // BlobContainerSasURI - SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
+ BlobContainerSasURI *string `json:"blobContainerSasUri,omitempty"`
+ // FromTime - From time of the query
+ FromTime *date.Time `json:"fromTime,omitempty"`
+ // ToTime - To time of the query
+ ToTime *date.Time `json:"toTime,omitempty"`
+ // GroupByThrottlePolicy - Group query result by Throttle Policy applied.
+ GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"`
+ // GroupByOperationName - Group query result by Operation Name.
+ GroupByOperationName *bool `json:"groupByOperationName,omitempty"`
+ // GroupByResourceName - Group query result by Resource Name.
+ GroupByResourceName *bool `json:"groupByResourceName,omitempty"`
+}
+
+// Resource the Resource model definition.
+type Resource struct {
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for Resource.
+func (r Resource) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if r.Location != nil {
+ objectMap["location"] = r.Location
+ }
+ if r.Tags != nil {
+ objectMap["tags"] = r.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// ResourceRange describes the resource range.
+type ResourceRange struct {
+ // Min - The minimum number of the resource.
+ Min *int32 `json:"min,omitempty"`
+ // Max - The maximum number of the resource.
+ Max *int32 `json:"max,omitempty"`
+}
+
+// ResourceSku describes an available Compute SKU.
+type ResourceSku struct {
+ // ResourceType - READ-ONLY; The type of resource the SKU applies to.
+ ResourceType *string `json:"resourceType,omitempty"`
+ // Name - READ-ONLY; The name of SKU.
+ Name *string `json:"name,omitempty"`
+ // Tier - READ-ONLY; Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**
+ Tier *string `json:"tier,omitempty"`
+ // Size - READ-ONLY; The Size of the SKU.
+ Size *string `json:"size,omitempty"`
+ // Family - READ-ONLY; The Family of this particular SKU.
+ Family *string `json:"family,omitempty"`
+ // Kind - READ-ONLY; The Kind of resources that are supported in this SKU.
+ Kind *string `json:"kind,omitempty"`
+ // Capacity - READ-ONLY; Specifies the number of virtual machines in the scale set.
+ Capacity *ResourceSkuCapacity `json:"capacity,omitempty"`
+ // Locations - READ-ONLY; The set of locations that the SKU is available.
+ Locations *[]string `json:"locations,omitempty"`
+ // LocationInfo - READ-ONLY; A list of locations and availability zones in those locations where the SKU is available.
+ LocationInfo *[]ResourceSkuLocationInfo `json:"locationInfo,omitempty"`
+ // APIVersions - READ-ONLY; The api versions that support this SKU.
+ APIVersions *[]string `json:"apiVersions,omitempty"`
+ // Costs - READ-ONLY; Metadata for retrieving price info.
+ Costs *[]ResourceSkuCosts `json:"costs,omitempty"`
+ // Capabilities - READ-ONLY; A name value pair to describe the capability.
+ Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"`
+ // Restrictions - READ-ONLY; The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
+ Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"`
+}
+
+// ResourceSkuCapabilities describes The SKU capabilities object.
+type ResourceSkuCapabilities struct {
+ // Name - READ-ONLY; An invariant to describe the feature.
+ Name *string `json:"name,omitempty"`
+ // Value - READ-ONLY; An invariant if the feature is measured by quantity.
+ Value *string `json:"value,omitempty"`
+}
+
+// ResourceSkuCapacity describes scaling information of a SKU.
+type ResourceSkuCapacity struct {
+ // Minimum - READ-ONLY; The minimum capacity.
+ Minimum *int64 `json:"minimum,omitempty"`
+ // Maximum - READ-ONLY; The maximum capacity that can be set.
+ Maximum *int64 `json:"maximum,omitempty"`
+ // Default - READ-ONLY; The default capacity.
+ Default *int64 `json:"default,omitempty"`
+ // ScaleType - READ-ONLY; The scale type applicable to the sku. Possible values include: 'ResourceSkuCapacityScaleTypeAutomatic', 'ResourceSkuCapacityScaleTypeManual', 'ResourceSkuCapacityScaleTypeNone'
+ ScaleType ResourceSkuCapacityScaleType `json:"scaleType,omitempty"`
+}
+
+// ResourceSkuCosts describes metadata for retrieving price info.
+type ResourceSkuCosts struct {
+ // MeterID - READ-ONLY; Used for querying price from commerce.
+ MeterID *string `json:"meterID,omitempty"`
+ // Quantity - READ-ONLY; The multiplier is needed to extend the base metered cost.
+ Quantity *int64 `json:"quantity,omitempty"`
+ // ExtendedUnit - READ-ONLY; An invariant to show the extended unit.
+ ExtendedUnit *string `json:"extendedUnit,omitempty"`
+}
+
+// ResourceSkuLocationInfo ...
+type ResourceSkuLocationInfo struct {
+ // Location - READ-ONLY; Location of the SKU
+ Location *string `json:"location,omitempty"`
+ // Zones - READ-ONLY; List of availability zones where the SKU is supported.
+ Zones *[]string `json:"zones,omitempty"`
+ // ZoneDetails - READ-ONLY; Details of capabilities available to a SKU in specific zones.
+ ZoneDetails *[]ResourceSkuZoneDetails `json:"zoneDetails,omitempty"`
+}
+
+// ResourceSkuRestrictionInfo ...
+type ResourceSkuRestrictionInfo struct {
+ // Locations - READ-ONLY; Locations where the SKU is restricted
+ Locations *[]string `json:"locations,omitempty"`
+ // Zones - READ-ONLY; List of availability zones where the SKU is restricted.
+ Zones *[]string `json:"zones,omitempty"`
+}
+
+// ResourceSkuRestrictions describes scaling information of a SKU.
+type ResourceSkuRestrictions struct {
+ // Type - READ-ONLY; The type of restrictions. Possible values include: 'Location', 'Zone'
+ Type ResourceSkuRestrictionsType `json:"type,omitempty"`
+ // Values - READ-ONLY; The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
+ Values *[]string `json:"values,omitempty"`
+ // RestrictionInfo - READ-ONLY; The information about the restriction where the SKU cannot be used.
+ RestrictionInfo *ResourceSkuRestrictionInfo `json:"restrictionInfo,omitempty"`
+ // ReasonCode - READ-ONLY; The reason for restriction. Possible values include: 'QuotaID', 'NotAvailableForSubscription'
+ ReasonCode ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"`
+}
+
+// ResourceSkusResult the List Resource Skus operation response.
+type ResourceSkusResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of skus available for the subscription.
+ Value *[]ResourceSku `json:"value,omitempty"`
+ // NextLink - The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// ResourceSkusResultIterator provides access to a complete listing of ResourceSku values.
+type ResourceSkusResultIterator struct {
+ i int
+ page ResourceSkusResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *ResourceSkusResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ResourceSkusResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *ResourceSkusResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter ResourceSkusResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter ResourceSkusResultIterator) Response() ResourceSkusResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter ResourceSkusResultIterator) Value() ResourceSku {
+ if !iter.page.NotDone() {
+ return ResourceSku{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the ResourceSkusResultIterator type.
+func NewResourceSkusResultIterator(page ResourceSkusResultPage) ResourceSkusResultIterator {
+ return ResourceSkusResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (rsr ResourceSkusResult) IsEmpty() bool {
+ return rsr.Value == nil || len(*rsr.Value) == 0
+}
+
+// resourceSkusResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (rsr ResourceSkusResult) resourceSkusResultPreparer(ctx context.Context) (*http.Request, error) {
+ if rsr.NextLink == nil || len(to.String(rsr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(rsr.NextLink)))
+}
+
+// ResourceSkusResultPage contains a page of ResourceSku values.
+type ResourceSkusResultPage struct {
+ fn func(context.Context, ResourceSkusResult) (ResourceSkusResult, error)
+ rsr ResourceSkusResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *ResourceSkusResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ResourceSkusResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.rsr)
+ if err != nil {
+ return err
+ }
+ page.rsr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *ResourceSkusResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page ResourceSkusResultPage) NotDone() bool {
+ return !page.rsr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page ResourceSkusResultPage) Response() ResourceSkusResult {
+ return page.rsr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page ResourceSkusResultPage) Values() []ResourceSku {
+ if page.rsr.IsEmpty() {
+ return nil
+ }
+ return *page.rsr.Value
+}
+
+// Creates a new instance of the ResourceSkusResultPage type.
+func NewResourceSkusResultPage(getNextPage func(context.Context, ResourceSkusResult) (ResourceSkusResult, error)) ResourceSkusResultPage {
+ return ResourceSkusResultPage{fn: getNextPage}
+}
+
+// ResourceSkuZoneDetails describes The zonal capabilities of a SKU.
+type ResourceSkuZoneDetails struct {
+ // Name - READ-ONLY; The set of zones that the SKU is available in with the specified capabilities.
+ Name *[]string `json:"name,omitempty"`
+ // Capabilities - READ-ONLY; A list of capabilities that are available for the SKU in the specified list of zones.
+ Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"`
+}
+
+// RollbackStatusInfo information about rollback on failed VM instances after a OS Upgrade operation.
+type RollbackStatusInfo struct {
+ // SuccessfullyRolledbackInstanceCount - READ-ONLY; The number of instances which have been successfully rolled back.
+ SuccessfullyRolledbackInstanceCount *int32 `json:"successfullyRolledbackInstanceCount,omitempty"`
+ // FailedRolledbackInstanceCount - READ-ONLY; The number of instances which failed to rollback.
+ FailedRolledbackInstanceCount *int32 `json:"failedRolledbackInstanceCount,omitempty"`
+ // RollbackError - READ-ONLY; Error details if OS rollback failed.
+ RollbackError *APIError `json:"rollbackError,omitempty"`
+}
+
+// RollingUpgradePolicy the configuration parameters used while performing a rolling upgrade.
+type RollingUpgradePolicy struct {
+ // MaxBatchInstancePercent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
+ MaxBatchInstancePercent *int32 `json:"maxBatchInstancePercent,omitempty"`
+ // MaxUnhealthyInstancePercent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
+ MaxUnhealthyInstancePercent *int32 `json:"maxUnhealthyInstancePercent,omitempty"`
+ // MaxUnhealthyUpgradedInstancePercent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
+ MaxUnhealthyUpgradedInstancePercent *int32 `json:"maxUnhealthyUpgradedInstancePercent,omitempty"`
+ // PauseTimeBetweenBatches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
+ PauseTimeBetweenBatches *string `json:"pauseTimeBetweenBatches,omitempty"`
+}
+
+// RollingUpgradeProgressInfo information about the number of virtual machine instances in each upgrade
+// state.
+type RollingUpgradeProgressInfo struct {
+ // SuccessfulInstanceCount - READ-ONLY; The number of instances that have been successfully upgraded.
+ SuccessfulInstanceCount *int32 `json:"successfulInstanceCount,omitempty"`
+ // FailedInstanceCount - READ-ONLY; The number of instances that have failed to be upgraded successfully.
+ FailedInstanceCount *int32 `json:"failedInstanceCount,omitempty"`
+ // InProgressInstanceCount - READ-ONLY; The number of instances that are currently being upgraded.
+ InProgressInstanceCount *int32 `json:"inProgressInstanceCount,omitempty"`
+ // PendingInstanceCount - READ-ONLY; The number of instances that have not yet begun to be upgraded.
+ PendingInstanceCount *int32 `json:"pendingInstanceCount,omitempty"`
+}
+
+// RollingUpgradeRunningStatus information about the current running state of the overall upgrade.
+type RollingUpgradeRunningStatus struct {
+ // Code - READ-ONLY; Code indicating the current status of the upgrade. Possible values include: 'RollingUpgradeStatusCodeRollingForward', 'RollingUpgradeStatusCodeCancelled', 'RollingUpgradeStatusCodeCompleted', 'RollingUpgradeStatusCodeFaulted'
+ Code RollingUpgradeStatusCode `json:"code,omitempty"`
+ // StartTime - READ-ONLY; Start time of the upgrade.
+ StartTime *date.Time `json:"startTime,omitempty"`
+ // LastAction - READ-ONLY; The last action performed on the rolling upgrade. Possible values include: 'Start', 'Cancel'
+ LastAction RollingUpgradeActionType `json:"lastAction,omitempty"`
+ // LastActionTime - READ-ONLY; Last action time of the upgrade.
+ LastActionTime *date.Time `json:"lastActionTime,omitempty"`
+}
+
+// RollingUpgradeStatusInfo the status of the latest virtual machine scale set rolling upgrade.
+type RollingUpgradeStatusInfo struct {
+ autorest.Response `json:"-"`
+ *RollingUpgradeStatusInfoProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for RollingUpgradeStatusInfo.
+func (rusi RollingUpgradeStatusInfo) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if rusi.RollingUpgradeStatusInfoProperties != nil {
+ objectMap["properties"] = rusi.RollingUpgradeStatusInfoProperties
+ }
+ if rusi.Location != nil {
+ objectMap["location"] = rusi.Location
+ }
+ if rusi.Tags != nil {
+ objectMap["tags"] = rusi.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for RollingUpgradeStatusInfo struct.
+func (rusi *RollingUpgradeStatusInfo) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var rollingUpgradeStatusInfoProperties RollingUpgradeStatusInfoProperties
+ err = json.Unmarshal(*v, &rollingUpgradeStatusInfoProperties)
+ if err != nil {
+ return err
+ }
+ rusi.RollingUpgradeStatusInfoProperties = &rollingUpgradeStatusInfoProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ rusi.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ rusi.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ rusi.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ rusi.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ rusi.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// RollingUpgradeStatusInfoProperties the status of the latest virtual machine scale set rolling upgrade.
+type RollingUpgradeStatusInfoProperties struct {
+ // Policy - READ-ONLY; The rolling upgrade policies applied for this upgrade.
+ Policy *RollingUpgradePolicy `json:"policy,omitempty"`
+ // RunningStatus - READ-ONLY; Information about the current running state of the overall upgrade.
+ RunningStatus *RollingUpgradeRunningStatus `json:"runningStatus,omitempty"`
+ // Progress - READ-ONLY; Information about the number of virtual machine instances in each upgrade state.
+ Progress *RollingUpgradeProgressInfo `json:"progress,omitempty"`
+ // Error - READ-ONLY; Error details for this upgrade, if there are any.
+ Error *APIError `json:"error,omitempty"`
+}
+
+// RunCommandDocument describes the properties of a Run Command.
+type RunCommandDocument struct {
+ autorest.Response `json:"-"`
+ // Script - The script to be executed.
+ Script *[]string `json:"script,omitempty"`
+ // Parameters - The parameters used by the script.
+ Parameters *[]RunCommandParameterDefinition `json:"parameters,omitempty"`
+ // Schema - The VM run command schema.
+ Schema *string `json:"$schema,omitempty"`
+ // ID - The VM run command id.
+ ID *string `json:"id,omitempty"`
+ // OsType - The Operating System type. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // Label - The VM run command label.
+ Label *string `json:"label,omitempty"`
+ // Description - The VM run command description.
+ Description *string `json:"description,omitempty"`
+}
+
+// RunCommandDocumentBase describes the properties of a Run Command metadata.
+type RunCommandDocumentBase struct {
+ // Schema - The VM run command schema.
+ Schema *string `json:"$schema,omitempty"`
+ // ID - The VM run command id.
+ ID *string `json:"id,omitempty"`
+ // OsType - The Operating System type. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // Label - The VM run command label.
+ Label *string `json:"label,omitempty"`
+ // Description - The VM run command description.
+ Description *string `json:"description,omitempty"`
+}
+
+// RunCommandInput capture Virtual Machine parameters.
+type RunCommandInput struct {
+ // CommandID - The run command id.
+ CommandID *string `json:"commandId,omitempty"`
+ // Script - Optional. The script to be executed. When this value is given, the given script will override the default script of the command.
+ Script *[]string `json:"script,omitempty"`
+ // Parameters - The run command parameters.
+ Parameters *[]RunCommandInputParameter `json:"parameters,omitempty"`
+}
+
+// RunCommandInputParameter describes the properties of a run command parameter.
+type RunCommandInputParameter struct {
+ // Name - The run command parameter name.
+ Name *string `json:"name,omitempty"`
+ // Value - The run command parameter value.
+ Value *string `json:"value,omitempty"`
+}
+
+// RunCommandListResult the List Virtual Machine operation response.
+type RunCommandListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of virtual machine run commands.
+ Value *[]RunCommandDocumentBase `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// RunCommandListResultIterator provides access to a complete listing of RunCommandDocumentBase values.
+type RunCommandListResultIterator struct {
+ i int
+ page RunCommandListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *RunCommandListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/RunCommandListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *RunCommandListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter RunCommandListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter RunCommandListResultIterator) Response() RunCommandListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter RunCommandListResultIterator) Value() RunCommandDocumentBase {
+ if !iter.page.NotDone() {
+ return RunCommandDocumentBase{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the RunCommandListResultIterator type.
+func NewRunCommandListResultIterator(page RunCommandListResultPage) RunCommandListResultIterator {
+ return RunCommandListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (rclr RunCommandListResult) IsEmpty() bool {
+ return rclr.Value == nil || len(*rclr.Value) == 0
+}
+
+// runCommandListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (rclr RunCommandListResult) runCommandListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if rclr.NextLink == nil || len(to.String(rclr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(rclr.NextLink)))
+}
+
+// RunCommandListResultPage contains a page of RunCommandDocumentBase values.
+type RunCommandListResultPage struct {
+ fn func(context.Context, RunCommandListResult) (RunCommandListResult, error)
+ rclr RunCommandListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *RunCommandListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/RunCommandListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.rclr)
+ if err != nil {
+ return err
+ }
+ page.rclr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *RunCommandListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page RunCommandListResultPage) NotDone() bool {
+ return !page.rclr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page RunCommandListResultPage) Response() RunCommandListResult {
+ return page.rclr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page RunCommandListResultPage) Values() []RunCommandDocumentBase {
+ if page.rclr.IsEmpty() {
+ return nil
+ }
+ return *page.rclr.Value
+}
+
+// Creates a new instance of the RunCommandListResultPage type.
+func NewRunCommandListResultPage(getNextPage func(context.Context, RunCommandListResult) (RunCommandListResult, error)) RunCommandListResultPage {
+ return RunCommandListResultPage{fn: getNextPage}
+}
+
+// RunCommandParameterDefinition describes the properties of a run command parameter.
+type RunCommandParameterDefinition struct {
+ // Name - The run command parameter name.
+ Name *string `json:"name,omitempty"`
+ // Type - The run command parameter type.
+ Type *string `json:"type,omitempty"`
+ // DefaultValue - The run command parameter default value.
+ DefaultValue *string `json:"defaultValue,omitempty"`
+ // Required - The run command parameter required.
+ Required *bool `json:"required,omitempty"`
+}
+
+// RunCommandResult ...
+type RunCommandResult struct {
+ autorest.Response `json:"-"`
+ // Value - Run command operation response.
+ Value *[]InstanceViewStatus `json:"value,omitempty"`
+}
+
+// Sku describes a virtual machine scale set sku.
+type Sku struct {
+ // Name - The sku name.
+ Name *string `json:"name,omitempty"`
+ // Tier - Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**
+ Tier *string `json:"tier,omitempty"`
+ // Capacity - Specifies the number of virtual machines in the scale set.
+ Capacity *int64 `json:"capacity,omitempty"`
+}
+
+// Snapshot snapshot resource.
+type Snapshot struct {
+ autorest.Response `json:"-"`
+ // ManagedBy - READ-ONLY; Unused. Always Null.
+ ManagedBy *string `json:"managedBy,omitempty"`
+ Sku *SnapshotSku `json:"sku,omitempty"`
+ *SnapshotProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for Snapshot.
+func (s Snapshot) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if s.Sku != nil {
+ objectMap["sku"] = s.Sku
+ }
+ if s.SnapshotProperties != nil {
+ objectMap["properties"] = s.SnapshotProperties
+ }
+ if s.Location != nil {
+ objectMap["location"] = s.Location
+ }
+ if s.Tags != nil {
+ objectMap["tags"] = s.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for Snapshot struct.
+func (s *Snapshot) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "managedBy":
+ if v != nil {
+ var managedBy string
+ err = json.Unmarshal(*v, &managedBy)
+ if err != nil {
+ return err
+ }
+ s.ManagedBy = &managedBy
+ }
+ case "sku":
+ if v != nil {
+ var sku SnapshotSku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ s.Sku = &sku
+ }
+ case "properties":
+ if v != nil {
+ var snapshotProperties SnapshotProperties
+ err = json.Unmarshal(*v, &snapshotProperties)
+ if err != nil {
+ return err
+ }
+ s.SnapshotProperties = &snapshotProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ s.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ s.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ s.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ s.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ s.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// SnapshotList the List Snapshots operation response.
+type SnapshotList struct {
+ autorest.Response `json:"-"`
+ // Value - A list of snapshots.
+ Value *[]Snapshot `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// SnapshotListIterator provides access to a complete listing of Snapshot values.
+type SnapshotListIterator struct {
+ i int
+ page SnapshotListPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *SnapshotListIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotListIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *SnapshotListIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter SnapshotListIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter SnapshotListIterator) Response() SnapshotList {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter SnapshotListIterator) Value() Snapshot {
+ if !iter.page.NotDone() {
+ return Snapshot{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the SnapshotListIterator type.
+func NewSnapshotListIterator(page SnapshotListPage) SnapshotListIterator {
+ return SnapshotListIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (sl SnapshotList) IsEmpty() bool {
+ return sl.Value == nil || len(*sl.Value) == 0
+}
+
+// snapshotListPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (sl SnapshotList) snapshotListPreparer(ctx context.Context) (*http.Request, error) {
+ if sl.NextLink == nil || len(to.String(sl.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(sl.NextLink)))
+}
+
+// SnapshotListPage contains a page of Snapshot values.
+type SnapshotListPage struct {
+ fn func(context.Context, SnapshotList) (SnapshotList, error)
+ sl SnapshotList
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *SnapshotListPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotListPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.sl)
+ if err != nil {
+ return err
+ }
+ page.sl = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *SnapshotListPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page SnapshotListPage) NotDone() bool {
+ return !page.sl.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page SnapshotListPage) Response() SnapshotList {
+ return page.sl
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page SnapshotListPage) Values() []Snapshot {
+ if page.sl.IsEmpty() {
+ return nil
+ }
+ return *page.sl.Value
+}
+
+// Creates a new instance of the SnapshotListPage type.
+func NewSnapshotListPage(getNextPage func(context.Context, SnapshotList) (SnapshotList, error)) SnapshotListPage {
+ return SnapshotListPage{fn: getNextPage}
+}
+
+// SnapshotProperties snapshot resource properties.
+type SnapshotProperties struct {
+ // TimeCreated - READ-ONLY; The time when the disk was created.
+ TimeCreated *date.Time `json:"timeCreated,omitempty"`
+ // OsType - The Operating System type. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'
+ HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
+ // CreationData - Disk source information. CreationData information cannot be changed after the disk has been created.
+ CreationData *CreationData `json:"creationData,omitempty"`
+ // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
+ EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
+ // ProvisioningState - READ-ONLY; The disk provisioning state.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+}
+
+// SnapshotsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type SnapshotsCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *SnapshotsCreateOrUpdateFuture) Result(client SnapshotsClient) (s Snapshot, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.SnapshotsCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if s.Response.Response, err = future.GetResult(sender); err == nil && s.Response.Response.StatusCode != http.StatusNoContent {
+ s, err = client.CreateOrUpdateResponder(s.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsCreateOrUpdateFuture", "Result", s.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// SnapshotsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type SnapshotsDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *SnapshotsDeleteFuture) Result(client SnapshotsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.SnapshotsDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// SnapshotsGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type SnapshotsGrantAccessFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *SnapshotsGrantAccessFuture) Result(client SnapshotsClient) (au AccessURI, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsGrantAccessFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.SnapshotsGrantAccessFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if au.Response.Response, err = future.GetResult(sender); err == nil && au.Response.Response.StatusCode != http.StatusNoContent {
+ au, err = client.GrantAccessResponder(au.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsGrantAccessFuture", "Result", au.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// SnapshotSku the snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.
+type SnapshotSku struct {
+ // Name - The sku name. Possible values include: 'SnapshotStorageAccountTypesStandardLRS', 'SnapshotStorageAccountTypesPremiumLRS', 'SnapshotStorageAccountTypesStandardZRS'
+ Name SnapshotStorageAccountTypes `json:"name,omitempty"`
+ // Tier - READ-ONLY; The sku tier.
+ Tier *string `json:"tier,omitempty"`
+}
+
+// SnapshotsRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type SnapshotsRevokeAccessFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *SnapshotsRevokeAccessFuture) Result(client SnapshotsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsRevokeAccessFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.SnapshotsRevokeAccessFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// SnapshotsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type SnapshotsUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *SnapshotsUpdateFuture) Result(client SnapshotsClient) (s Snapshot, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.SnapshotsUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if s.Response.Response, err = future.GetResult(sender); err == nil && s.Response.Response.StatusCode != http.StatusNoContent {
+ s, err = client.UpdateResponder(s.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsUpdateFuture", "Result", s.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// SnapshotUpdate snapshot update resource.
+type SnapshotUpdate struct {
+ *SnapshotUpdateProperties `json:"properties,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+ Sku *SnapshotSku `json:"sku,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for SnapshotUpdate.
+func (su SnapshotUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if su.SnapshotUpdateProperties != nil {
+ objectMap["properties"] = su.SnapshotUpdateProperties
+ }
+ if su.Tags != nil {
+ objectMap["tags"] = su.Tags
+ }
+ if su.Sku != nil {
+ objectMap["sku"] = su.Sku
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for SnapshotUpdate struct.
+func (su *SnapshotUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var snapshotUpdateProperties SnapshotUpdateProperties
+ err = json.Unmarshal(*v, &snapshotUpdateProperties)
+ if err != nil {
+ return err
+ }
+ su.SnapshotUpdateProperties = &snapshotUpdateProperties
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ su.Tags = tags
+ }
+ case "sku":
+ if v != nil {
+ var sku SnapshotSku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ su.Sku = &sku
+ }
+ }
+ }
+
+ return nil
+}
+
+// SnapshotUpdateProperties snapshot resource update properties.
+type SnapshotUpdateProperties struct {
+ // OsType - the Operating System type. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
+ EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
+}
+
+// SourceVault the vault id is an Azure Resource Manager Resource id in the form
+// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
+type SourceVault struct {
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// SSHConfiguration SSH configuration for Linux based VMs running on Azure
+type SSHConfiguration struct {
+ // PublicKeys - The list of SSH public keys used to authenticate with linux based VMs.
+ PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"`
+}
+
+// SSHPublicKey contains information about SSH certificate public key and the path on the Linux VM where
+// the public key is placed.
+type SSHPublicKey struct {
+ // Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
+ Path *string `json:"path,omitempty"`
+ // KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+ KeyData *string `json:"keyData,omitempty"`
+}
+
+// StorageProfile specifies the storage settings for the virtual machine disks.
+type StorageProfile struct {
+ // ImageReference - Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
+ ImageReference *ImageReference `json:"imageReference,omitempty"`
+ // OsDisk - Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ OsDisk *OSDisk `json:"osDisk,omitempty"`
+ // DataDisks - Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ DataDisks *[]DataDisk `json:"dataDisks,omitempty"`
+}
+
+// SubResource ...
+type SubResource struct {
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// SubResourceReadOnly ...
+type SubResourceReadOnly struct {
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// TargetRegion describes the target region information.
+type TargetRegion struct {
+ // Name - The name of the region.
+ Name *string `json:"name,omitempty"`
+ // RegionalReplicaCount - The number of replicas of the Image Version to be created per region. This property is updatable.
+ RegionalReplicaCount *int32 `json:"regionalReplicaCount,omitempty"`
+ // StorageAccountType - Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'StorageAccountTypeStandardLRS', 'StorageAccountTypeStandardZRS'
+ StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
+}
+
+// ThrottledRequestsInput api request input for LogAnalytics getThrottledRequests Api.
+type ThrottledRequestsInput struct {
+ // BlobContainerSasURI - SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
+ BlobContainerSasURI *string `json:"blobContainerSasUri,omitempty"`
+ // FromTime - From time of the query
+ FromTime *date.Time `json:"fromTime,omitempty"`
+ // ToTime - To time of the query
+ ToTime *date.Time `json:"toTime,omitempty"`
+ // GroupByThrottlePolicy - Group query result by Throttle Policy applied.
+ GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"`
+ // GroupByOperationName - Group query result by Operation Name.
+ GroupByOperationName *bool `json:"groupByOperationName,omitempty"`
+ // GroupByResourceName - Group query result by Resource Name.
+ GroupByResourceName *bool `json:"groupByResourceName,omitempty"`
+}
+
+// UpdateResource the Update Resource model definition.
+type UpdateResource struct {
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for UpdateResource.
+func (ur UpdateResource) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if ur.Tags != nil {
+ objectMap["tags"] = ur.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UpgradeOperationHistoricalStatusInfo virtual Machine Scale Set OS Upgrade History operation response.
+type UpgradeOperationHistoricalStatusInfo struct {
+ // Properties - READ-ONLY; Information about the properties of the upgrade operation.
+ Properties *UpgradeOperationHistoricalStatusInfoProperties `json:"properties,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - READ-ONLY; Resource location
+ Location *string `json:"location,omitempty"`
+}
+
+// UpgradeOperationHistoricalStatusInfoProperties describes each OS upgrade on the Virtual Machine Scale
+// Set.
+type UpgradeOperationHistoricalStatusInfoProperties struct {
+ // RunningStatus - READ-ONLY; Information about the overall status of the upgrade operation.
+ RunningStatus *UpgradeOperationHistoryStatus `json:"runningStatus,omitempty"`
+ // Progress - READ-ONLY; Counts of the VMs in each state.
+ Progress *RollingUpgradeProgressInfo `json:"progress,omitempty"`
+ // Error - READ-ONLY; Error Details for this upgrade if there are any.
+ Error *APIError `json:"error,omitempty"`
+ // StartedBy - READ-ONLY; Invoker of the Upgrade Operation. Possible values include: 'UpgradeOperationInvokerUnknown', 'UpgradeOperationInvokerUser', 'UpgradeOperationInvokerPlatform'
+ StartedBy UpgradeOperationInvoker `json:"startedBy,omitempty"`
+ // TargetImageReference - READ-ONLY; Image Reference details
+ TargetImageReference *ImageReference `json:"targetImageReference,omitempty"`
+ // RollbackInfo - READ-ONLY; Information about OS rollback if performed
+ RollbackInfo *RollbackStatusInfo `json:"rollbackInfo,omitempty"`
+}
+
+// UpgradeOperationHistoryStatus information about the current running state of the overall upgrade.
+type UpgradeOperationHistoryStatus struct {
+ // Code - READ-ONLY; Code indicating the current status of the upgrade. Possible values include: 'UpgradeStateRollingForward', 'UpgradeStateCancelled', 'UpgradeStateCompleted', 'UpgradeStateFaulted'
+ Code UpgradeState `json:"code,omitempty"`
+ // StartTime - READ-ONLY; Start time of the upgrade.
+ StartTime *date.Time `json:"startTime,omitempty"`
+ // EndTime - READ-ONLY; End time of the upgrade.
+ EndTime *date.Time `json:"endTime,omitempty"`
+}
+
+// UpgradePolicy describes an upgrade policy - automatic, manual, or rolling.
+type UpgradePolicy struct {
+ // Mode - Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time. Possible values include: 'Automatic', 'Manual', 'Rolling'
+ Mode UpgradeMode `json:"mode,omitempty"`
+ // RollingUpgradePolicy - The configuration parameters used while performing a rolling upgrade.
+ RollingUpgradePolicy *RollingUpgradePolicy `json:"rollingUpgradePolicy,omitempty"`
+ // AutomaticOSUpgradePolicy - Configuration parameters used for performing automatic OS Upgrade.
+ AutomaticOSUpgradePolicy *AutomaticOSUpgradePolicy `json:"automaticOSUpgradePolicy,omitempty"`
+}
+
+// Usage describes Compute Resource Usage.
+type Usage struct {
+ // Unit - An enum describing the unit of usage measurement.
+ Unit *string `json:"unit,omitempty"`
+ // CurrentValue - The current usage of the resource.
+ CurrentValue *int32 `json:"currentValue,omitempty"`
+ // Limit - The maximum permitted usage of the resource.
+ Limit *int64 `json:"limit,omitempty"`
+ // Name - The name of the type of usage.
+ Name *UsageName `json:"name,omitempty"`
+}
+
+// UsageName the Usage Names.
+type UsageName struct {
+ // Value - The name of the resource.
+ Value *string `json:"value,omitempty"`
+ // LocalizedValue - The localized name of the resource.
+ LocalizedValue *string `json:"localizedValue,omitempty"`
+}
+
+// VaultCertificate describes a single certificate reference in a Key Vault, and where the certificate
+// should reside on the VM.
+type VaultCertificate struct {
+ // CertificateURL - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
"data":"",
"dataType":"pfx",
"password":""
}
+ CertificateURL *string `json:"certificateUrl,omitempty"`
+ // CertificateStore - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
+ CertificateStore *string `json:"certificateStore,omitempty"`
+}
+
+// VaultSecretGroup describes a set of certificates which are all in the same Key Vault.
+type VaultSecretGroup struct {
+ // SourceVault - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
+ SourceVault *SubResource `json:"sourceVault,omitempty"`
+ // VaultCertificates - The list of key vault references in SourceVault which contain certificates.
+ VaultCertificates *[]VaultCertificate `json:"vaultCertificates,omitempty"`
+}
+
+// VirtualHardDisk describes the uri of a disk.
+type VirtualHardDisk struct {
+ // URI - Specifies the virtual hard disk's uri.
+ URI *string `json:"uri,omitempty"`
+}
+
+// VirtualMachine describes a Virtual Machine.
+type VirtualMachine struct {
+ autorest.Response `json:"-"`
+ // Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
+ Plan *Plan `json:"plan,omitempty"`
+ *VirtualMachineProperties `json:"properties,omitempty"`
+ // Resources - READ-ONLY; The virtual machine child extension resources.
+ Resources *[]VirtualMachineExtension `json:"resources,omitempty"`
+ // Identity - The identity of the virtual machine, if configured.
+ Identity *VirtualMachineIdentity `json:"identity,omitempty"`
+ // Zones - The virtual machine zones.
+ Zones *[]string `json:"zones,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachine.
+func (VM VirtualMachine) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if VM.Plan != nil {
+ objectMap["plan"] = VM.Plan
+ }
+ if VM.VirtualMachineProperties != nil {
+ objectMap["properties"] = VM.VirtualMachineProperties
+ }
+ if VM.Identity != nil {
+ objectMap["identity"] = VM.Identity
+ }
+ if VM.Zones != nil {
+ objectMap["zones"] = VM.Zones
+ }
+ if VM.Location != nil {
+ objectMap["location"] = VM.Location
+ }
+ if VM.Tags != nil {
+ objectMap["tags"] = VM.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachine struct.
+func (VM *VirtualMachine) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "plan":
+ if v != nil {
+ var plan Plan
+ err = json.Unmarshal(*v, &plan)
+ if err != nil {
+ return err
+ }
+ VM.Plan = &plan
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineProperties VirtualMachineProperties
+ err = json.Unmarshal(*v, &virtualMachineProperties)
+ if err != nil {
+ return err
+ }
+ VM.VirtualMachineProperties = &virtualMachineProperties
+ }
+ case "resources":
+ if v != nil {
+ var resources []VirtualMachineExtension
+ err = json.Unmarshal(*v, &resources)
+ if err != nil {
+ return err
+ }
+ VM.Resources = &resources
+ }
+ case "identity":
+ if v != nil {
+ var identity VirtualMachineIdentity
+ err = json.Unmarshal(*v, &identity)
+ if err != nil {
+ return err
+ }
+ VM.Identity = &identity
+ }
+ case "zones":
+ if v != nil {
+ var zones []string
+ err = json.Unmarshal(*v, &zones)
+ if err != nil {
+ return err
+ }
+ VM.Zones = &zones
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ VM.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ VM.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ VM.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ VM.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ VM.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineAgentInstanceView the instance view of the VM Agent running on the virtual machine.
+type VirtualMachineAgentInstanceView struct {
+ // VMAgentVersion - The VM Agent full version.
+ VMAgentVersion *string `json:"vmAgentVersion,omitempty"`
+ // ExtensionHandlers - The virtual machine extension handler instance view.
+ ExtensionHandlers *[]VirtualMachineExtensionHandlerInstanceView `json:"extensionHandlers,omitempty"`
+ // Statuses - The resource status information.
+ Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
+}
+
+// VirtualMachineCaptureParameters capture Virtual Machine parameters.
+type VirtualMachineCaptureParameters struct {
+ // VhdPrefix - The captured virtual hard disk's name prefix.
+ VhdPrefix *string `json:"vhdPrefix,omitempty"`
+ // DestinationContainerName - The destination container name.
+ DestinationContainerName *string `json:"destinationContainerName,omitempty"`
+ // OverwriteVhds - Specifies whether to overwrite the destination virtual hard disk, in case of conflict.
+ OverwriteVhds *bool `json:"overwriteVhds,omitempty"`
+}
+
+// VirtualMachineCaptureResult output of virtual machine capture operation.
+type VirtualMachineCaptureResult struct {
+ autorest.Response `json:"-"`
+ // Schema - READ-ONLY; the schema of the captured virtual machine
+ Schema *string `json:"$schema,omitempty"`
+ // ContentVersion - READ-ONLY; the version of the content
+ ContentVersion *string `json:"contentVersion,omitempty"`
+ // Parameters - READ-ONLY; parameters of the captured virtual machine
+ Parameters interface{} `json:"parameters,omitempty"`
+ // Resources - READ-ONLY; a list of resource items of the captured virtual machine
+ Resources *[]interface{} `json:"resources,omitempty"`
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// VirtualMachineExtension describes a Virtual Machine Extension.
+type VirtualMachineExtension struct {
+ autorest.Response `json:"-"`
+ *VirtualMachineExtensionProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineExtension.
+func (vme VirtualMachineExtension) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vme.VirtualMachineExtensionProperties != nil {
+ objectMap["properties"] = vme.VirtualMachineExtensionProperties
+ }
+ if vme.Location != nil {
+ objectMap["location"] = vme.Location
+ }
+ if vme.Tags != nil {
+ objectMap["tags"] = vme.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineExtension struct.
+func (vme *VirtualMachineExtension) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var virtualMachineExtensionProperties VirtualMachineExtensionProperties
+ err = json.Unmarshal(*v, &virtualMachineExtensionProperties)
+ if err != nil {
+ return err
+ }
+ vme.VirtualMachineExtensionProperties = &virtualMachineExtensionProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ vme.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vme.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ vme.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ vme.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ vme.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineExtensionHandlerInstanceView the instance view of a virtual machine extension handler.
+type VirtualMachineExtensionHandlerInstanceView struct {
+ // Type - Specifies the type of the extension; an example is "CustomScriptExtension".
+ Type *string `json:"type,omitempty"`
+ // TypeHandlerVersion - Specifies the version of the script handler.
+ TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
+ // Status - The extension handler status.
+ Status *InstanceViewStatus `json:"status,omitempty"`
+}
+
+// VirtualMachineExtensionImage describes a Virtual Machine Extension Image.
+type VirtualMachineExtensionImage struct {
+ autorest.Response `json:"-"`
+ *VirtualMachineExtensionImageProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineExtensionImage.
+func (vmei VirtualMachineExtensionImage) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmei.VirtualMachineExtensionImageProperties != nil {
+ objectMap["properties"] = vmei.VirtualMachineExtensionImageProperties
+ }
+ if vmei.Location != nil {
+ objectMap["location"] = vmei.Location
+ }
+ if vmei.Tags != nil {
+ objectMap["tags"] = vmei.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineExtensionImage struct.
+func (vmei *VirtualMachineExtensionImage) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var virtualMachineExtensionImageProperties VirtualMachineExtensionImageProperties
+ err = json.Unmarshal(*v, &virtualMachineExtensionImageProperties)
+ if err != nil {
+ return err
+ }
+ vmei.VirtualMachineExtensionImageProperties = &virtualMachineExtensionImageProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ vmei.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmei.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ vmei.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ vmei.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ vmei.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineExtensionImageProperties describes the properties of a Virtual Machine Extension Image.
+type VirtualMachineExtensionImageProperties struct {
+ // OperatingSystem - The operating system this extension supports.
+ OperatingSystem *string `json:"operatingSystem,omitempty"`
+ // ComputeRole - The type of role (IaaS or PaaS) this extension supports.
+ ComputeRole *string `json:"computeRole,omitempty"`
+ // HandlerSchema - The schema defined by publisher, where extension consumers should provide settings in a matching schema.
+ HandlerSchema *string `json:"handlerSchema,omitempty"`
+ // VMScaleSetEnabled - Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS.
+ VMScaleSetEnabled *bool `json:"vmScaleSetEnabled,omitempty"`
+ // SupportsMultipleExtensions - Whether the handler can support multiple extensions.
+ SupportsMultipleExtensions *bool `json:"supportsMultipleExtensions,omitempty"`
+}
+
+// VirtualMachineExtensionInstanceView the instance view of a virtual machine extension.
+type VirtualMachineExtensionInstanceView struct {
+ // Name - The virtual machine extension name.
+ Name *string `json:"name,omitempty"`
+ // Type - Specifies the type of the extension; an example is "CustomScriptExtension".
+ Type *string `json:"type,omitempty"`
+ // TypeHandlerVersion - Specifies the version of the script handler.
+ TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
+ // Substatuses - The resource status information.
+ Substatuses *[]InstanceViewStatus `json:"substatuses,omitempty"`
+ // Statuses - The resource status information.
+ Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
+}
+
+// VirtualMachineExtensionProperties describes the properties of a Virtual Machine Extension.
+type VirtualMachineExtensionProperties struct {
+ // ForceUpdateTag - How the extension handler should be forced to update even if the extension configuration has not changed.
+ ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
+ // Publisher - The name of the extension handler publisher.
+ Publisher *string `json:"publisher,omitempty"`
+ // Type - Specifies the type of the extension; an example is "CustomScriptExtension".
+ Type *string `json:"type,omitempty"`
+ // TypeHandlerVersion - Specifies the version of the script handler.
+ TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
+ // AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
+ AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
+ // Settings - Json formatted public settings for the extension.
+ Settings interface{} `json:"settings,omitempty"`
+ // ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
+ ProtectedSettings interface{} `json:"protectedSettings,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // InstanceView - The virtual machine extension instance view.
+ InstanceView *VirtualMachineExtensionInstanceView `json:"instanceView,omitempty"`
+}
+
+// VirtualMachineExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
+type VirtualMachineExtensionsCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineExtensionsCreateOrUpdateFuture) Result(client VirtualMachineExtensionsClient) (vme VirtualMachineExtension, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineExtensionsCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if vme.Response.Response, err = future.GetResult(sender); err == nil && vme.Response.Response.StatusCode != http.StatusNoContent {
+ vme, err = client.CreateOrUpdateResponder(vme.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsCreateOrUpdateFuture", "Result", vme.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachineExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineExtensionsDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineExtensionsDeleteFuture) Result(client VirtualMachineExtensionsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineExtensionsDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineExtensionsListResult the List Extension operation response
+type VirtualMachineExtensionsListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of extensions
+ Value *[]VirtualMachineExtension `json:"value,omitempty"`
+}
+
+// VirtualMachineExtensionsUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineExtensionsUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineExtensionsUpdateFuture) Result(client VirtualMachineExtensionsClient) (vme VirtualMachineExtension, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineExtensionsUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if vme.Response.Response, err = future.GetResult(sender); err == nil && vme.Response.Response.StatusCode != http.StatusNoContent {
+ vme, err = client.UpdateResponder(vme.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsUpdateFuture", "Result", vme.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachineExtensionUpdate describes a Virtual Machine Extension.
+type VirtualMachineExtensionUpdate struct {
+ *VirtualMachineExtensionUpdateProperties `json:"properties,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineExtensionUpdate.
+func (vmeu VirtualMachineExtensionUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmeu.VirtualMachineExtensionUpdateProperties != nil {
+ objectMap["properties"] = vmeu.VirtualMachineExtensionUpdateProperties
+ }
+ if vmeu.Tags != nil {
+ objectMap["tags"] = vmeu.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineExtensionUpdate struct.
+func (vmeu *VirtualMachineExtensionUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var virtualMachineExtensionUpdateProperties VirtualMachineExtensionUpdateProperties
+ err = json.Unmarshal(*v, &virtualMachineExtensionUpdateProperties)
+ if err != nil {
+ return err
+ }
+ vmeu.VirtualMachineExtensionUpdateProperties = &virtualMachineExtensionUpdateProperties
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ vmeu.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineExtensionUpdateProperties describes the properties of a Virtual Machine Extension.
+type VirtualMachineExtensionUpdateProperties struct {
+ // ForceUpdateTag - How the extension handler should be forced to update even if the extension configuration has not changed.
+ ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
+ // Publisher - The name of the extension handler publisher.
+ Publisher *string `json:"publisher,omitempty"`
+ // Type - Specifies the type of the extension; an example is "CustomScriptExtension".
+ Type *string `json:"type,omitempty"`
+ // TypeHandlerVersion - Specifies the version of the script handler.
+ TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
+ // AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
+ AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
+ // Settings - Json formatted public settings for the extension.
+ Settings interface{} `json:"settings,omitempty"`
+ // ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
+ ProtectedSettings interface{} `json:"protectedSettings,omitempty"`
+}
+
+// VirtualMachineHealthStatus the health status of the VM.
+type VirtualMachineHealthStatus struct {
+ // Status - READ-ONLY; The health status information for the VM.
+ Status *InstanceViewStatus `json:"status,omitempty"`
+}
+
+// VirtualMachineIdentity identity for the virtual machine.
+type VirtualMachineIdentity struct {
+ // PrincipalID - READ-ONLY; The principal id of virtual machine identity. This property will only be provided for a system assigned identity.
+ PrincipalID *string `json:"principalId,omitempty"`
+ // TenantID - READ-ONLY; The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity.
+ TenantID *string `json:"tenantId,omitempty"`
+ // Type - The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone'
+ Type ResourceIdentityType `json:"type,omitempty"`
+ // UserAssignedIdentities - The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ UserAssignedIdentities map[string]*VirtualMachineIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineIdentity.
+func (vmi VirtualMachineIdentity) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmi.Type != "" {
+ objectMap["type"] = vmi.Type
+ }
+ if vmi.UserAssignedIdentities != nil {
+ objectMap["userAssignedIdentities"] = vmi.UserAssignedIdentities
+ }
+ return json.Marshal(objectMap)
+}
+
+// VirtualMachineIdentityUserAssignedIdentitiesValue ...
+type VirtualMachineIdentityUserAssignedIdentitiesValue struct {
+ // PrincipalID - READ-ONLY; The principal id of user assigned identity.
+ PrincipalID *string `json:"principalId,omitempty"`
+ // ClientID - READ-ONLY; The client id of user assigned identity.
+ ClientID *string `json:"clientId,omitempty"`
+}
+
+// VirtualMachineImage describes a Virtual Machine Image.
+type VirtualMachineImage struct {
+ autorest.Response `json:"-"`
+ *VirtualMachineImageProperties `json:"properties,omitempty"`
+ // Name - The name of the resource.
+ Name *string `json:"name,omitempty"`
+ // Location - The supported Azure location of the resource.
+ Location *string `json:"location,omitempty"`
+ // Tags - Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).
+ Tags map[string]*string `json:"tags"`
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineImage.
+func (vmi VirtualMachineImage) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmi.VirtualMachineImageProperties != nil {
+ objectMap["properties"] = vmi.VirtualMachineImageProperties
+ }
+ if vmi.Name != nil {
+ objectMap["name"] = vmi.Name
+ }
+ if vmi.Location != nil {
+ objectMap["location"] = vmi.Location
+ }
+ if vmi.Tags != nil {
+ objectMap["tags"] = vmi.Tags
+ }
+ if vmi.ID != nil {
+ objectMap["id"] = vmi.ID
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineImage struct.
+func (vmi *VirtualMachineImage) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ var virtualMachineImageProperties VirtualMachineImageProperties
+ err = json.Unmarshal(*v, &virtualMachineImageProperties)
+ if err != nil {
+ return err
+ }
+ vmi.VirtualMachineImageProperties = &virtualMachineImageProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmi.Name = &name
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ vmi.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ vmi.Tags = tags
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ vmi.ID = &ID
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineImageProperties describes the properties of a Virtual Machine Image.
+type VirtualMachineImageProperties struct {
+ Plan *PurchasePlan `json:"plan,omitempty"`
+ OsDiskImage *OSDiskImage `json:"osDiskImage,omitempty"`
+ DataDiskImages *[]DataDiskImage `json:"dataDiskImages,omitempty"`
+ AutomaticOSUpgradeProperties *AutomaticOSUpgradeProperties `json:"automaticOSUpgradeProperties,omitempty"`
+}
+
+// VirtualMachineImageResource virtual machine image resource information.
+type VirtualMachineImageResource struct {
+ // Name - The name of the resource.
+ Name *string `json:"name,omitempty"`
+ // Location - The supported Azure location of the resource.
+ Location *string `json:"location,omitempty"`
+ // Tags - Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).
+ Tags map[string]*string `json:"tags"`
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineImageResource.
+func (vmir VirtualMachineImageResource) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmir.Name != nil {
+ objectMap["name"] = vmir.Name
+ }
+ if vmir.Location != nil {
+ objectMap["location"] = vmir.Location
+ }
+ if vmir.Tags != nil {
+ objectMap["tags"] = vmir.Tags
+ }
+ if vmir.ID != nil {
+ objectMap["id"] = vmir.ID
+ }
+ return json.Marshal(objectMap)
+}
+
+// VirtualMachineInstanceView the instance view of a virtual machine.
+type VirtualMachineInstanceView struct {
+ autorest.Response `json:"-"`
+ // PlatformUpdateDomain - Specifies the update domain of the virtual machine.
+ PlatformUpdateDomain *int32 `json:"platformUpdateDomain,omitempty"`
+ // PlatformFaultDomain - Specifies the fault domain of the virtual machine.
+ PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"`
+ // ComputerName - The computer name assigned to the virtual machine.
+ ComputerName *string `json:"computerName,omitempty"`
+ // OsName - The Operating System running on the virtual machine.
+ OsName *string `json:"osName,omitempty"`
+ // OsVersion - The version of Operating System running on the virtual machine.
+ OsVersion *string `json:"osVersion,omitempty"`
+ // HyperVGeneration - Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'HyperVGenerationTypeV1', 'HyperVGenerationTypeV2'
+ HyperVGeneration HyperVGenerationType `json:"hyperVGeneration,omitempty"`
+ // RdpThumbPrint - The Remote desktop certificate thumbprint.
+ RdpThumbPrint *string `json:"rdpThumbPrint,omitempty"`
+ // VMAgent - The VM Agent running on the virtual machine.
+ VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"`
+ // MaintenanceRedeployStatus - The Maintenance Operation status on the virtual machine.
+ MaintenanceRedeployStatus *MaintenanceRedeployStatus `json:"maintenanceRedeployStatus,omitempty"`
+ // Disks - The virtual machine disk information.
+ Disks *[]DiskInstanceView `json:"disks,omitempty"`
+ // Extensions - The extensions information.
+ Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"`
+ // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
+ BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"`
+ // Statuses - The resource status information.
+ Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
+}
+
+// VirtualMachineListResult the List Virtual Machine operation response.
+type VirtualMachineListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of virtual machines.
+ Value *[]VirtualMachine `json:"value,omitempty"`
+ // NextLink - The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// VirtualMachineListResultIterator provides access to a complete listing of VirtualMachine values.
+type VirtualMachineListResultIterator struct {
+ i int
+ page VirtualMachineListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *VirtualMachineListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *VirtualMachineListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter VirtualMachineListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter VirtualMachineListResultIterator) Response() VirtualMachineListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter VirtualMachineListResultIterator) Value() VirtualMachine {
+ if !iter.page.NotDone() {
+ return VirtualMachine{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the VirtualMachineListResultIterator type.
+func NewVirtualMachineListResultIterator(page VirtualMachineListResultPage) VirtualMachineListResultIterator {
+ return VirtualMachineListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (vmlr VirtualMachineListResult) IsEmpty() bool {
+ return vmlr.Value == nil || len(*vmlr.Value) == 0
+}
+
+// virtualMachineListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (vmlr VirtualMachineListResult) virtualMachineListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if vmlr.NextLink == nil || len(to.String(vmlr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(vmlr.NextLink)))
+}
+
+// VirtualMachineListResultPage contains a page of VirtualMachine values.
+type VirtualMachineListResultPage struct {
+ fn func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error)
+ vmlr VirtualMachineListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *VirtualMachineListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.vmlr)
+ if err != nil {
+ return err
+ }
+ page.vmlr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *VirtualMachineListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page VirtualMachineListResultPage) NotDone() bool {
+ return !page.vmlr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page VirtualMachineListResultPage) Response() VirtualMachineListResult {
+ return page.vmlr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page VirtualMachineListResultPage) Values() []VirtualMachine {
+ if page.vmlr.IsEmpty() {
+ return nil
+ }
+ return *page.vmlr.Value
+}
+
+// Creates a new instance of the VirtualMachineListResultPage type.
+func NewVirtualMachineListResultPage(getNextPage func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error)) VirtualMachineListResultPage {
+ return VirtualMachineListResultPage{fn: getNextPage}
+}
+
+// VirtualMachineProperties describes the properties of a Virtual Machine.
+type VirtualMachineProperties struct {
+ // HardwareProfile - Specifies the hardware settings for the virtual machine.
+ HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"`
+ // StorageProfile - Specifies the storage settings for the virtual machine disks.
+ StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
+ // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the virtual machine.
+ AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"`
+ // OsProfile - Specifies the operating system settings for the virtual machine.
+ OsProfile *OSProfile `json:"osProfile,omitempty"`
+ // NetworkProfile - Specifies the network interfaces of the virtual machine.
+ NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`
+ // DiagnosticsProfile - Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
+ DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
+ // AvailabilitySet - Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
+ AvailabilitySet *SubResource `json:"availabilitySet,omitempty"`
+ // ProximityPlacementGroup - Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01.
+ ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"`
+ // Host - Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01.
+ Host *SubResource `json:"host,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // InstanceView - READ-ONLY; The virtual machine instance view.
+ InstanceView *VirtualMachineInstanceView `json:"instanceView,omitempty"`
+ // LicenseType - Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15
+ LicenseType *string `json:"licenseType,omitempty"`
+ // VMID - READ-ONLY; Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
+ VMID *string `json:"vmId,omitempty"`
+}
+
+// VirtualMachineReimageParameters parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk
+// will always be reimaged
+type VirtualMachineReimageParameters struct {
+ // TempDisk - Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk.
+ TempDisk *bool `json:"tempDisk,omitempty"`
+}
+
+// VirtualMachineScaleSet describes a Virtual Machine Scale Set.
+type VirtualMachineScaleSet struct {
+ autorest.Response `json:"-"`
+ // Sku - The virtual machine scale set sku.
+ Sku *Sku `json:"sku,omitempty"`
+ // Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
+ Plan *Plan `json:"plan,omitempty"`
+ *VirtualMachineScaleSetProperties `json:"properties,omitempty"`
+ // Identity - The identity of the virtual machine scale set, if configured.
+ Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"`
+ // Zones - The virtual machine scale set zones.
+ Zones *[]string `json:"zones,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSet.
+func (vmss VirtualMachineScaleSet) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmss.Sku != nil {
+ objectMap["sku"] = vmss.Sku
+ }
+ if vmss.Plan != nil {
+ objectMap["plan"] = vmss.Plan
+ }
+ if vmss.VirtualMachineScaleSetProperties != nil {
+ objectMap["properties"] = vmss.VirtualMachineScaleSetProperties
+ }
+ if vmss.Identity != nil {
+ objectMap["identity"] = vmss.Identity
+ }
+ if vmss.Zones != nil {
+ objectMap["zones"] = vmss.Zones
+ }
+ if vmss.Location != nil {
+ objectMap["location"] = vmss.Location
+ }
+ if vmss.Tags != nil {
+ objectMap["tags"] = vmss.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSet struct.
+func (vmss *VirtualMachineScaleSet) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "sku":
+ if v != nil {
+ var sku Sku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ vmss.Sku = &sku
+ }
+ case "plan":
+ if v != nil {
+ var plan Plan
+ err = json.Unmarshal(*v, &plan)
+ if err != nil {
+ return err
+ }
+ vmss.Plan = &plan
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineScaleSetProperties VirtualMachineScaleSetProperties
+ err = json.Unmarshal(*v, &virtualMachineScaleSetProperties)
+ if err != nil {
+ return err
+ }
+ vmss.VirtualMachineScaleSetProperties = &virtualMachineScaleSetProperties
+ }
+ case "identity":
+ if v != nil {
+ var identity VirtualMachineScaleSetIdentity
+ err = json.Unmarshal(*v, &identity)
+ if err != nil {
+ return err
+ }
+ vmss.Identity = &identity
+ }
+ case "zones":
+ if v != nil {
+ var zones []string
+ err = json.Unmarshal(*v, &zones)
+ if err != nil {
+ return err
+ }
+ vmss.Zones = &zones
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ vmss.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmss.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ vmss.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ vmss.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ vmss.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineScaleSetDataDisk describes a virtual machine scale set data disk.
+type VirtualMachineScaleSetDataDisk struct {
+ // Name - The disk name.
+ Name *string `json:"name,omitempty"`
+ // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
+ Lun *int32 `json:"lun,omitempty"`
+ // Caching - Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
+ Caching CachingTypes `json:"caching,omitempty"`
+ // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
+ WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"`
+ // CreateOption - The create option. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach'
+ CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
+ // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // ManagedDisk - The managed disk parameters.
+ ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
+}
+
+// VirtualMachineScaleSetExtension describes a Virtual Machine Scale Set Extension.
+type VirtualMachineScaleSetExtension struct {
+ autorest.Response `json:"-"`
+ // Name - The name of the extension.
+ Name *string `json:"name,omitempty"`
+ *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSetExtension.
+func (vmsse VirtualMachineScaleSetExtension) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmsse.Name != nil {
+ objectMap["name"] = vmsse.Name
+ }
+ if vmsse.VirtualMachineScaleSetExtensionProperties != nil {
+ objectMap["properties"] = vmsse.VirtualMachineScaleSetExtensionProperties
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetExtension struct.
+func (vmsse *VirtualMachineScaleSetExtension) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmsse.Name = &name
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineScaleSetExtensionProperties VirtualMachineScaleSetExtensionProperties
+ err = json.Unmarshal(*v, &virtualMachineScaleSetExtensionProperties)
+ if err != nil {
+ return err
+ }
+ vmsse.VirtualMachineScaleSetExtensionProperties = &virtualMachineScaleSetExtensionProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ vmsse.ID = &ID
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineScaleSetExtensionListResult the List VM scale set extension operation response.
+type VirtualMachineScaleSetExtensionListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of VM scale set extensions.
+ Value *[]VirtualMachineScaleSetExtension `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of VM scale set extensions. Call ListNext() with this to fetch the next page of VM scale set extensions.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// VirtualMachineScaleSetExtensionListResultIterator provides access to a complete listing of
+// VirtualMachineScaleSetExtension values.
+type VirtualMachineScaleSetExtensionListResultIterator struct {
+ i int
+ page VirtualMachineScaleSetExtensionListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *VirtualMachineScaleSetExtensionListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetExtensionListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *VirtualMachineScaleSetExtensionListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter VirtualMachineScaleSetExtensionListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter VirtualMachineScaleSetExtensionListResultIterator) Response() VirtualMachineScaleSetExtensionListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter VirtualMachineScaleSetExtensionListResultIterator) Value() VirtualMachineScaleSetExtension {
+ if !iter.page.NotDone() {
+ return VirtualMachineScaleSetExtension{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the VirtualMachineScaleSetExtensionListResultIterator type.
+func NewVirtualMachineScaleSetExtensionListResultIterator(page VirtualMachineScaleSetExtensionListResultPage) VirtualMachineScaleSetExtensionListResultIterator {
+ return VirtualMachineScaleSetExtensionListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (vmsselr VirtualMachineScaleSetExtensionListResult) IsEmpty() bool {
+ return vmsselr.Value == nil || len(*vmsselr.Value) == 0
+}
+
+// virtualMachineScaleSetExtensionListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (vmsselr VirtualMachineScaleSetExtensionListResult) virtualMachineScaleSetExtensionListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if vmsselr.NextLink == nil || len(to.String(vmsselr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(vmsselr.NextLink)))
+}
+
+// VirtualMachineScaleSetExtensionListResultPage contains a page of VirtualMachineScaleSetExtension values.
+type VirtualMachineScaleSetExtensionListResultPage struct {
+ fn func(context.Context, VirtualMachineScaleSetExtensionListResult) (VirtualMachineScaleSetExtensionListResult, error)
+ vmsselr VirtualMachineScaleSetExtensionListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *VirtualMachineScaleSetExtensionListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetExtensionListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.vmsselr)
+ if err != nil {
+ return err
+ }
+ page.vmsselr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *VirtualMachineScaleSetExtensionListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page VirtualMachineScaleSetExtensionListResultPage) NotDone() bool {
+ return !page.vmsselr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page VirtualMachineScaleSetExtensionListResultPage) Response() VirtualMachineScaleSetExtensionListResult {
+ return page.vmsselr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page VirtualMachineScaleSetExtensionListResultPage) Values() []VirtualMachineScaleSetExtension {
+ if page.vmsselr.IsEmpty() {
+ return nil
+ }
+ return *page.vmsselr.Value
+}
+
+// Creates a new instance of the VirtualMachineScaleSetExtensionListResultPage type.
+func NewVirtualMachineScaleSetExtensionListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetExtensionListResult) (VirtualMachineScaleSetExtensionListResult, error)) VirtualMachineScaleSetExtensionListResultPage {
+ return VirtualMachineScaleSetExtensionListResultPage{fn: getNextPage}
+}
+
+// VirtualMachineScaleSetExtensionProfile describes a virtual machine scale set extension profile.
+type VirtualMachineScaleSetExtensionProfile struct {
+ // Extensions - The virtual machine scale set child extension resources.
+ Extensions *[]VirtualMachineScaleSetExtension `json:"extensions,omitempty"`
+}
+
+// VirtualMachineScaleSetExtensionProperties describes the properties of a Virtual Machine Scale Set
+// Extension.
+type VirtualMachineScaleSetExtensionProperties struct {
+ // ForceUpdateTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
+ ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
+ // Publisher - The name of the extension handler publisher.
+ Publisher *string `json:"publisher,omitempty"`
+ // Type - Specifies the type of the extension; an example is "CustomScriptExtension".
+ Type *string `json:"type,omitempty"`
+ // TypeHandlerVersion - Specifies the version of the script handler.
+ TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
+ // AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
+ AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
+ // Settings - Json formatted public settings for the extension.
+ Settings interface{} `json:"settings,omitempty"`
+ // ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
+ ProtectedSettings interface{} `json:"protectedSettings,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // ProvisionAfterExtensions - Collection of extension names after which this extension needs to be provisioned.
+ ProvisionAfterExtensions *[]string `json:"provisionAfterExtensions,omitempty"`
+}
+
+// VirtualMachineScaleSetExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
+type VirtualMachineScaleSetExtensionsCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetExtensionsCreateOrUpdateFuture) Result(client VirtualMachineScaleSetExtensionsClient) (vmsse VirtualMachineScaleSetExtension, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetExtensionsCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if vmsse.Response.Response, err = future.GetResult(sender); err == nil && vmsse.Response.Response.StatusCode != http.StatusNoContent {
+ vmsse, err = client.CreateOrUpdateResponder(vmsse.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsCreateOrUpdateFuture", "Result", vmsse.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachineScaleSetExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
+type VirtualMachineScaleSetExtensionsDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetExtensionsDeleteFuture) Result(client VirtualMachineScaleSetExtensionsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetExtensionsDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetIdentity identity for the virtual machine scale set.
+type VirtualMachineScaleSetIdentity struct {
+ // PrincipalID - READ-ONLY; The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
+ PrincipalID *string `json:"principalId,omitempty"`
+ // TenantID - READ-ONLY; The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.
+ TenantID *string `json:"tenantId,omitempty"`
+ // Type - The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone'
+ Type ResourceIdentityType `json:"type,omitempty"`
+ // UserAssignedIdentities - The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ UserAssignedIdentities map[string]*VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSetIdentity.
+func (vmssi VirtualMachineScaleSetIdentity) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmssi.Type != "" {
+ objectMap["type"] = vmssi.Type
+ }
+ if vmssi.UserAssignedIdentities != nil {
+ objectMap["userAssignedIdentities"] = vmssi.UserAssignedIdentities
+ }
+ return json.Marshal(objectMap)
+}
+
+// VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue ...
+type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue struct {
+ // PrincipalID - READ-ONLY; The principal id of user assigned identity.
+ PrincipalID *string `json:"principalId,omitempty"`
+ // ClientID - READ-ONLY; The client id of user assigned identity.
+ ClientID *string `json:"clientId,omitempty"`
+}
+
+// VirtualMachineScaleSetInstanceView the instance view of a virtual machine scale set.
+type VirtualMachineScaleSetInstanceView struct {
+ autorest.Response `json:"-"`
+ // VirtualMachine - READ-ONLY; The instance view status summary for the virtual machine scale set.
+ VirtualMachine *VirtualMachineScaleSetInstanceViewStatusesSummary `json:"virtualMachine,omitempty"`
+ // Extensions - READ-ONLY; The extensions information.
+ Extensions *[]VirtualMachineScaleSetVMExtensionsSummary `json:"extensions,omitempty"`
+ // Statuses - The resource status information.
+ Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
+}
+
+// VirtualMachineScaleSetInstanceViewStatusesSummary instance view statuses summary for virtual machines of
+// a virtual machine scale set.
+type VirtualMachineScaleSetInstanceViewStatusesSummary struct {
+ // StatusesSummary - READ-ONLY; The extensions information.
+ StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
+}
+
+// VirtualMachineScaleSetIPConfiguration describes a virtual machine scale set network profile's IP
+// configuration.
+type VirtualMachineScaleSetIPConfiguration struct {
+ // Name - The IP configuration name.
+ Name *string `json:"name,omitempty"`
+ *VirtualMachineScaleSetIPConfigurationProperties `json:"properties,omitempty"`
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSetIPConfiguration.
+func (vmssic VirtualMachineScaleSetIPConfiguration) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmssic.Name != nil {
+ objectMap["name"] = vmssic.Name
+ }
+ if vmssic.VirtualMachineScaleSetIPConfigurationProperties != nil {
+ objectMap["properties"] = vmssic.VirtualMachineScaleSetIPConfigurationProperties
+ }
+ if vmssic.ID != nil {
+ objectMap["id"] = vmssic.ID
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetIPConfiguration struct.
+func (vmssic *VirtualMachineScaleSetIPConfiguration) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmssic.Name = &name
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineScaleSetIPConfigurationProperties VirtualMachineScaleSetIPConfigurationProperties
+ err = json.Unmarshal(*v, &virtualMachineScaleSetIPConfigurationProperties)
+ if err != nil {
+ return err
+ }
+ vmssic.VirtualMachineScaleSetIPConfigurationProperties = &virtualMachineScaleSetIPConfigurationProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ vmssic.ID = &ID
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineScaleSetIPConfigurationProperties describes a virtual machine scale set network profile's
+// IP configuration properties.
+type VirtualMachineScaleSetIPConfigurationProperties struct {
+ // Subnet - Specifies the identifier of the subnet.
+ Subnet *APIEntityReference `json:"subnet,omitempty"`
+ // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface.
+ Primary *bool `json:"primary,omitempty"`
+ // PublicIPAddressConfiguration - The publicIPAddressConfiguration.
+ PublicIPAddressConfiguration *VirtualMachineScaleSetPublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
+ // PrivateIPAddressVersion - Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6'
+ PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"`
+ // ApplicationGatewayBackendAddressPools - Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
+ ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"`
+ // ApplicationSecurityGroups - Specifies an array of references to application security group.
+ ApplicationSecurityGroups *[]SubResource `json:"applicationSecurityGroups,omitempty"`
+ // LoadBalancerBackendAddressPools - Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer.
+ LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"`
+ // LoadBalancerInboundNatPools - Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer
+ LoadBalancerInboundNatPools *[]SubResource `json:"loadBalancerInboundNatPools,omitempty"`
+}
+
+// VirtualMachineScaleSetIPTag contains the IP tag associated with the public IP address.
+type VirtualMachineScaleSetIPTag struct {
+ // IPTagType - IP tag type. Example: FirstPartyUsage.
+ IPTagType *string `json:"ipTagType,omitempty"`
+ // Tag - IP tag associated with the public IP. Example: SQL, Storage etc.
+ Tag *string `json:"tag,omitempty"`
+}
+
+// VirtualMachineScaleSetListOSUpgradeHistory list of Virtual Machine Scale Set OS Upgrade History
+// operation response.
+type VirtualMachineScaleSetListOSUpgradeHistory struct {
+ autorest.Response `json:"-"`
+ // Value - The list of OS upgrades performed on the virtual machine scale set.
+ Value *[]UpgradeOperationHistoricalStatusInfo `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of OS Upgrade History. Call ListNext() with this to fetch the next page of history of upgrades.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// VirtualMachineScaleSetListOSUpgradeHistoryIterator provides access to a complete listing of
+// UpgradeOperationHistoricalStatusInfo values.
+type VirtualMachineScaleSetListOSUpgradeHistoryIterator struct {
+ i int
+ page VirtualMachineScaleSetListOSUpgradeHistoryPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *VirtualMachineScaleSetListOSUpgradeHistoryIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetListOSUpgradeHistoryIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *VirtualMachineScaleSetListOSUpgradeHistoryIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) Response() VirtualMachineScaleSetListOSUpgradeHistory {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) Value() UpgradeOperationHistoricalStatusInfo {
+ if !iter.page.NotDone() {
+ return UpgradeOperationHistoricalStatusInfo{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the VirtualMachineScaleSetListOSUpgradeHistoryIterator type.
+func NewVirtualMachineScaleSetListOSUpgradeHistoryIterator(page VirtualMachineScaleSetListOSUpgradeHistoryPage) VirtualMachineScaleSetListOSUpgradeHistoryIterator {
+ return VirtualMachineScaleSetListOSUpgradeHistoryIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (vmsslouh VirtualMachineScaleSetListOSUpgradeHistory) IsEmpty() bool {
+ return vmsslouh.Value == nil || len(*vmsslouh.Value) == 0
+}
+
+// virtualMachineScaleSetListOSUpgradeHistoryPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (vmsslouh VirtualMachineScaleSetListOSUpgradeHistory) virtualMachineScaleSetListOSUpgradeHistoryPreparer(ctx context.Context) (*http.Request, error) {
+ if vmsslouh.NextLink == nil || len(to.String(vmsslouh.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(vmsslouh.NextLink)))
+}
+
+// VirtualMachineScaleSetListOSUpgradeHistoryPage contains a page of UpgradeOperationHistoricalStatusInfo
+// values.
+type VirtualMachineScaleSetListOSUpgradeHistoryPage struct {
+ fn func(context.Context, VirtualMachineScaleSetListOSUpgradeHistory) (VirtualMachineScaleSetListOSUpgradeHistory, error)
+ vmsslouh VirtualMachineScaleSetListOSUpgradeHistory
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *VirtualMachineScaleSetListOSUpgradeHistoryPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetListOSUpgradeHistoryPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.vmsslouh)
+ if err != nil {
+ return err
+ }
+ page.vmsslouh = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *VirtualMachineScaleSetListOSUpgradeHistoryPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) NotDone() bool {
+ return !page.vmsslouh.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Response() VirtualMachineScaleSetListOSUpgradeHistory {
+ return page.vmsslouh
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Values() []UpgradeOperationHistoricalStatusInfo {
+ if page.vmsslouh.IsEmpty() {
+ return nil
+ }
+ return *page.vmsslouh.Value
+}
+
+// Creates a new instance of the VirtualMachineScaleSetListOSUpgradeHistoryPage type.
+func NewVirtualMachineScaleSetListOSUpgradeHistoryPage(getNextPage func(context.Context, VirtualMachineScaleSetListOSUpgradeHistory) (VirtualMachineScaleSetListOSUpgradeHistory, error)) VirtualMachineScaleSetListOSUpgradeHistoryPage {
+ return VirtualMachineScaleSetListOSUpgradeHistoryPage{fn: getNextPage}
+}
+
+// VirtualMachineScaleSetListResult the List Virtual Machine operation response.
+type VirtualMachineScaleSetListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of virtual machine scale sets.
+ Value *[]VirtualMachineScaleSet `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// VirtualMachineScaleSetListResultIterator provides access to a complete listing of VirtualMachineScaleSet
+// values.
+type VirtualMachineScaleSetListResultIterator struct {
+ i int
+ page VirtualMachineScaleSetListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *VirtualMachineScaleSetListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *VirtualMachineScaleSetListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter VirtualMachineScaleSetListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter VirtualMachineScaleSetListResultIterator) Response() VirtualMachineScaleSetListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter VirtualMachineScaleSetListResultIterator) Value() VirtualMachineScaleSet {
+ if !iter.page.NotDone() {
+ return VirtualMachineScaleSet{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the VirtualMachineScaleSetListResultIterator type.
+func NewVirtualMachineScaleSetListResultIterator(page VirtualMachineScaleSetListResultPage) VirtualMachineScaleSetListResultIterator {
+ return VirtualMachineScaleSetListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (vmsslr VirtualMachineScaleSetListResult) IsEmpty() bool {
+ return vmsslr.Value == nil || len(*vmsslr.Value) == 0
+}
+
+// virtualMachineScaleSetListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (vmsslr VirtualMachineScaleSetListResult) virtualMachineScaleSetListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if vmsslr.NextLink == nil || len(to.String(vmsslr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(vmsslr.NextLink)))
+}
+
+// VirtualMachineScaleSetListResultPage contains a page of VirtualMachineScaleSet values.
+type VirtualMachineScaleSetListResultPage struct {
+ fn func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error)
+ vmsslr VirtualMachineScaleSetListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *VirtualMachineScaleSetListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.vmsslr)
+ if err != nil {
+ return err
+ }
+ page.vmsslr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *VirtualMachineScaleSetListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page VirtualMachineScaleSetListResultPage) NotDone() bool {
+ return !page.vmsslr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page VirtualMachineScaleSetListResultPage) Response() VirtualMachineScaleSetListResult {
+ return page.vmsslr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page VirtualMachineScaleSetListResultPage) Values() []VirtualMachineScaleSet {
+ if page.vmsslr.IsEmpty() {
+ return nil
+ }
+ return *page.vmsslr.Value
+}
+
+// Creates a new instance of the VirtualMachineScaleSetListResultPage type.
+func NewVirtualMachineScaleSetListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error)) VirtualMachineScaleSetListResultPage {
+ return VirtualMachineScaleSetListResultPage{fn: getNextPage}
+}
+
+// VirtualMachineScaleSetListSkusResult the Virtual Machine Scale Set List Skus operation response.
+type VirtualMachineScaleSetListSkusResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of skus available for the virtual machine scale set.
+ Value *[]VirtualMachineScaleSetSku `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// VirtualMachineScaleSetListSkusResultIterator provides access to a complete listing of
+// VirtualMachineScaleSetSku values.
+type VirtualMachineScaleSetListSkusResultIterator struct {
+ i int
+ page VirtualMachineScaleSetListSkusResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *VirtualMachineScaleSetListSkusResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetListSkusResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *VirtualMachineScaleSetListSkusResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter VirtualMachineScaleSetListSkusResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter VirtualMachineScaleSetListSkusResultIterator) Response() VirtualMachineScaleSetListSkusResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter VirtualMachineScaleSetListSkusResultIterator) Value() VirtualMachineScaleSetSku {
+ if !iter.page.NotDone() {
+ return VirtualMachineScaleSetSku{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the VirtualMachineScaleSetListSkusResultIterator type.
+func NewVirtualMachineScaleSetListSkusResultIterator(page VirtualMachineScaleSetListSkusResultPage) VirtualMachineScaleSetListSkusResultIterator {
+ return VirtualMachineScaleSetListSkusResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (vmsslsr VirtualMachineScaleSetListSkusResult) IsEmpty() bool {
+ return vmsslsr.Value == nil || len(*vmsslsr.Value) == 0
+}
+
+// virtualMachineScaleSetListSkusResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (vmsslsr VirtualMachineScaleSetListSkusResult) virtualMachineScaleSetListSkusResultPreparer(ctx context.Context) (*http.Request, error) {
+ if vmsslsr.NextLink == nil || len(to.String(vmsslsr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(vmsslsr.NextLink)))
+}
+
+// VirtualMachineScaleSetListSkusResultPage contains a page of VirtualMachineScaleSetSku values.
+type VirtualMachineScaleSetListSkusResultPage struct {
+ fn func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error)
+ vmsslsr VirtualMachineScaleSetListSkusResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *VirtualMachineScaleSetListSkusResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetListSkusResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.vmsslsr)
+ if err != nil {
+ return err
+ }
+ page.vmsslsr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *VirtualMachineScaleSetListSkusResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page VirtualMachineScaleSetListSkusResultPage) NotDone() bool {
+ return !page.vmsslsr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page VirtualMachineScaleSetListSkusResultPage) Response() VirtualMachineScaleSetListSkusResult {
+ return page.vmsslsr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page VirtualMachineScaleSetListSkusResultPage) Values() []VirtualMachineScaleSetSku {
+ if page.vmsslsr.IsEmpty() {
+ return nil
+ }
+ return *page.vmsslsr.Value
+}
+
+// Creates a new instance of the VirtualMachineScaleSetListSkusResultPage type.
+func NewVirtualMachineScaleSetListSkusResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error)) VirtualMachineScaleSetListSkusResultPage {
+ return VirtualMachineScaleSetListSkusResultPage{fn: getNextPage}
+}
+
+// VirtualMachineScaleSetListWithLinkResult the List Virtual Machine operation response.
+type VirtualMachineScaleSetListWithLinkResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of virtual machine scale sets.
+ Value *[]VirtualMachineScaleSet `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// VirtualMachineScaleSetListWithLinkResultIterator provides access to a complete listing of
+// VirtualMachineScaleSet values.
+type VirtualMachineScaleSetListWithLinkResultIterator struct {
+ i int
+ page VirtualMachineScaleSetListWithLinkResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *VirtualMachineScaleSetListWithLinkResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetListWithLinkResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *VirtualMachineScaleSetListWithLinkResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter VirtualMachineScaleSetListWithLinkResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter VirtualMachineScaleSetListWithLinkResultIterator) Response() VirtualMachineScaleSetListWithLinkResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter VirtualMachineScaleSetListWithLinkResultIterator) Value() VirtualMachineScaleSet {
+ if !iter.page.NotDone() {
+ return VirtualMachineScaleSet{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the VirtualMachineScaleSetListWithLinkResultIterator type.
+func NewVirtualMachineScaleSetListWithLinkResultIterator(page VirtualMachineScaleSetListWithLinkResultPage) VirtualMachineScaleSetListWithLinkResultIterator {
+ return VirtualMachineScaleSetListWithLinkResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (vmsslwlr VirtualMachineScaleSetListWithLinkResult) IsEmpty() bool {
+ return vmsslwlr.Value == nil || len(*vmsslwlr.Value) == 0
+}
+
+// virtualMachineScaleSetListWithLinkResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (vmsslwlr VirtualMachineScaleSetListWithLinkResult) virtualMachineScaleSetListWithLinkResultPreparer(ctx context.Context) (*http.Request, error) {
+ if vmsslwlr.NextLink == nil || len(to.String(vmsslwlr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(vmsslwlr.NextLink)))
+}
+
+// VirtualMachineScaleSetListWithLinkResultPage contains a page of VirtualMachineScaleSet values.
+type VirtualMachineScaleSetListWithLinkResultPage struct {
+ fn func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error)
+ vmsslwlr VirtualMachineScaleSetListWithLinkResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *VirtualMachineScaleSetListWithLinkResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetListWithLinkResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.vmsslwlr)
+ if err != nil {
+ return err
+ }
+ page.vmsslwlr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *VirtualMachineScaleSetListWithLinkResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page VirtualMachineScaleSetListWithLinkResultPage) NotDone() bool {
+ return !page.vmsslwlr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page VirtualMachineScaleSetListWithLinkResultPage) Response() VirtualMachineScaleSetListWithLinkResult {
+ return page.vmsslwlr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page VirtualMachineScaleSetListWithLinkResultPage) Values() []VirtualMachineScaleSet {
+ if page.vmsslwlr.IsEmpty() {
+ return nil
+ }
+ return *page.vmsslwlr.Value
+}
+
+// Creates a new instance of the VirtualMachineScaleSetListWithLinkResultPage type.
+func NewVirtualMachineScaleSetListWithLinkResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error)) VirtualMachineScaleSetListWithLinkResultPage {
+ return VirtualMachineScaleSetListWithLinkResultPage{fn: getNextPage}
+}
+
+// VirtualMachineScaleSetManagedDiskParameters describes the parameters of a ScaleSet managed disk.
+type VirtualMachineScaleSetManagedDiskParameters struct {
+ // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS'
+ StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
+}
+
+// VirtualMachineScaleSetNetworkConfiguration describes a virtual machine scale set network profile's
+// network configurations.
+type VirtualMachineScaleSetNetworkConfiguration struct {
+ // Name - The network configuration name.
+ Name *string `json:"name,omitempty"`
+ *VirtualMachineScaleSetNetworkConfigurationProperties `json:"properties,omitempty"`
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSetNetworkConfiguration.
+func (vmssnc VirtualMachineScaleSetNetworkConfiguration) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmssnc.Name != nil {
+ objectMap["name"] = vmssnc.Name
+ }
+ if vmssnc.VirtualMachineScaleSetNetworkConfigurationProperties != nil {
+ objectMap["properties"] = vmssnc.VirtualMachineScaleSetNetworkConfigurationProperties
+ }
+ if vmssnc.ID != nil {
+ objectMap["id"] = vmssnc.ID
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetNetworkConfiguration struct.
+func (vmssnc *VirtualMachineScaleSetNetworkConfiguration) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmssnc.Name = &name
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineScaleSetNetworkConfigurationProperties VirtualMachineScaleSetNetworkConfigurationProperties
+ err = json.Unmarshal(*v, &virtualMachineScaleSetNetworkConfigurationProperties)
+ if err != nil {
+ return err
+ }
+ vmssnc.VirtualMachineScaleSetNetworkConfigurationProperties = &virtualMachineScaleSetNetworkConfigurationProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ vmssnc.ID = &ID
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineScaleSetNetworkConfigurationDNSSettings describes a virtual machines scale sets network
+// configuration's DNS settings.
+type VirtualMachineScaleSetNetworkConfigurationDNSSettings struct {
+ // DNSServers - List of DNS servers IP addresses
+ DNSServers *[]string `json:"dnsServers,omitempty"`
+}
+
+// VirtualMachineScaleSetNetworkConfigurationProperties describes a virtual machine scale set network
+// profile's IP configuration.
+type VirtualMachineScaleSetNetworkConfigurationProperties struct {
+ // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface.
+ Primary *bool `json:"primary,omitempty"`
+ // EnableAcceleratedNetworking - Specifies whether the network interface is accelerated networking-enabled.
+ EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"`
+ // NetworkSecurityGroup - The network security group.
+ NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"`
+ // DNSSettings - The dns settings to be applied on the network interfaces.
+ DNSSettings *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"`
+ // IPConfigurations - Specifies the IP configurations of the network interface.
+ IPConfigurations *[]VirtualMachineScaleSetIPConfiguration `json:"ipConfigurations,omitempty"`
+ // EnableIPForwarding - Whether IP forwarding enabled on this NIC.
+ EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`
+}
+
+// VirtualMachineScaleSetNetworkProfile describes a virtual machine scale set network profile.
+type VirtualMachineScaleSetNetworkProfile struct {
+ // HealthProbe - A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
+ HealthProbe *APIEntityReference `json:"healthProbe,omitempty"`
+ // NetworkInterfaceConfigurations - The list of network configurations.
+ NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
+}
+
+// VirtualMachineScaleSetOSDisk describes a virtual machine scale set operating system disk.
+type VirtualMachineScaleSetOSDisk struct {
+ // Name - The disk name.
+ Name *string `json:"name,omitempty"`
+ // Caching - Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
+ Caching CachingTypes `json:"caching,omitempty"`
+ // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
+ WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"`
+ // CreateOption - Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach'
+ CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
+ // DiffDiskSettings - Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
+ DiffDiskSettings *DiffDiskSettings `json:"diffDiskSettings,omitempty"`
+ // DiskSizeGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
+ OsType OperatingSystemTypes `json:"osType,omitempty"`
+ // Image - Specifies information about the unmanaged user image to base the scale set on.
+ Image *VirtualHardDisk `json:"image,omitempty"`
+ // VhdContainers - Specifies the container urls that are used to store operating system disks for the scale set.
+ VhdContainers *[]string `json:"vhdContainers,omitempty"`
+ // ManagedDisk - The managed disk parameters.
+ ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
+}
+
+// VirtualMachineScaleSetOSProfile describes a virtual machine scale set OS profile.
+type VirtualMachineScaleSetOSProfile struct {
+ // ComputerNamePrefix - Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
+ ComputerNamePrefix *string `json:"computerNamePrefix,omitempty"`
+ // AdminUsername - Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in "."
**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ // AdminPassword - Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\W_])
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)
+ AdminPassword *string `json:"adminPassword,omitempty"`
+ // CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
+ CustomData *string `json:"customData,omitempty"`
+ // WindowsConfiguration - Specifies Windows operating system settings on the virtual machine.
+ WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
+ // LinuxConfiguration - Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
+ LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"`
+ // Secrets - Specifies set of certificates that should be installed onto the virtual machines in the scale set.
+ Secrets *[]VaultSecretGroup `json:"secrets,omitempty"`
+}
+
+// VirtualMachineScaleSetProperties describes the properties of a Virtual Machine Scale Set.
+type VirtualMachineScaleSetProperties struct {
+ // UpgradePolicy - The upgrade policy.
+ UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"`
+ // VirtualMachineProfile - The virtual machine profile.
+ VirtualMachineProfile *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // Overprovision - Specifies whether the Virtual Machine Scale Set should be overprovisioned.
+ Overprovision *bool `json:"overprovision,omitempty"`
+ // DoNotRunExtensionsOnOverprovisionedVMs - When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
+ DoNotRunExtensionsOnOverprovisionedVMs *bool `json:"doNotRunExtensionsOnOverprovisionedVMs,omitempty"`
+ // UniqueID - READ-ONLY; Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
+ UniqueID *string `json:"uniqueId,omitempty"`
+ // SinglePlacementGroup - When true this limits the scale set to a single placement group, of max size 100 virtual machines.
+ SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"`
+ // ZoneBalance - Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.
+ ZoneBalance *bool `json:"zoneBalance,omitempty"`
+ // PlatformFaultDomainCount - Fault Domain count for each placement group.
+ PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"`
+ // ProximityPlacementGroup - Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01.
+ ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"`
+ // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
+ AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"`
+}
+
+// VirtualMachineScaleSetPublicIPAddressConfiguration describes a virtual machines scale set IP
+// Configuration's PublicIPAddress configuration
+type VirtualMachineScaleSetPublicIPAddressConfiguration struct {
+ // Name - The publicIP address configuration name.
+ Name *string `json:"name,omitempty"`
+ *VirtualMachineScaleSetPublicIPAddressConfigurationProperties `json:"properties,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSetPublicIPAddressConfiguration.
+func (vmsspiac VirtualMachineScaleSetPublicIPAddressConfiguration) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmsspiac.Name != nil {
+ objectMap["name"] = vmsspiac.Name
+ }
+ if vmsspiac.VirtualMachineScaleSetPublicIPAddressConfigurationProperties != nil {
+ objectMap["properties"] = vmsspiac.VirtualMachineScaleSetPublicIPAddressConfigurationProperties
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetPublicIPAddressConfiguration struct.
+func (vmsspiac *VirtualMachineScaleSetPublicIPAddressConfiguration) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmsspiac.Name = &name
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineScaleSetPublicIPAddressConfigurationProperties VirtualMachineScaleSetPublicIPAddressConfigurationProperties
+ err = json.Unmarshal(*v, &virtualMachineScaleSetPublicIPAddressConfigurationProperties)
+ if err != nil {
+ return err
+ }
+ vmsspiac.VirtualMachineScaleSetPublicIPAddressConfigurationProperties = &virtualMachineScaleSetPublicIPAddressConfigurationProperties
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings describes a virtual machines scale sets
+// network configuration's DNS settings.
+type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings struct {
+ // DomainNameLabel - The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
+ DomainNameLabel *string `json:"domainNameLabel,omitempty"`
+}
+
+// VirtualMachineScaleSetPublicIPAddressConfigurationProperties describes a virtual machines scale set IP
+// Configuration's PublicIPAddress configuration
+type VirtualMachineScaleSetPublicIPAddressConfigurationProperties struct {
+ // IdleTimeoutInMinutes - The idle timeout of the public IP address.
+ IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
+ // DNSSettings - The dns settings to be applied on the publicIP addresses .
+ DNSSettings *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"`
+ // IPTags - The list of IP tags associated with the public IP address.
+ IPTags *[]VirtualMachineScaleSetIPTag `json:"ipTags,omitempty"`
+ // PublicIPPrefix - The PublicIPPrefix from which to allocate publicIP addresses.
+ PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"`
+}
+
+// VirtualMachineScaleSetReimageParameters describes a Virtual Machine Scale Set VM Reimage Parameters.
+type VirtualMachineScaleSetReimageParameters struct {
+ // InstanceIds - The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set.
+ InstanceIds *[]string `json:"instanceIds,omitempty"`
+ // TempDisk - Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk.
+ TempDisk *bool `json:"tempDisk,omitempty"`
+}
+
+// VirtualMachineScaleSetRollingUpgradesCancelFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
+type VirtualMachineScaleSetRollingUpgradesCancelFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetRollingUpgradesCancelFuture) Result(client VirtualMachineScaleSetRollingUpgradesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesCancelFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetRollingUpgradesCancelFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture an abstraction for monitoring and
+// retrieving the results of a long-running operation.
+type VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture) Result(client VirtualMachineScaleSetRollingUpgradesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture an abstraction for monitoring and retrieving
+// the results of a long-running operation.
+type VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture) Result(client VirtualMachineScaleSetRollingUpgradesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
+type VirtualMachineScaleSetsCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsCreateOrUpdateFuture) Result(client VirtualMachineScaleSetsClient) (vmss VirtualMachineScaleSet, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if vmss.Response.Response, err = future.GetResult(sender); err == nil && vmss.Response.Response.StatusCode != http.StatusNoContent {
+ vmss, err = client.CreateOrUpdateResponder(vmss.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsCreateOrUpdateFuture", "Result", vmss.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachineScaleSetsDeallocateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetsDeallocateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsDeallocateFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsDeallocateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsDeallocateFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetsDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsDeleteFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetsDeleteInstancesFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
+type VirtualMachineScaleSetsDeleteInstancesFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsDeleteInstancesFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsDeleteInstancesFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsDeleteInstancesFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetSku describes an available virtual machine scale set sku.
+type VirtualMachineScaleSetSku struct {
+ // ResourceType - READ-ONLY; The type of resource the sku applies to.
+ ResourceType *string `json:"resourceType,omitempty"`
+ // Sku - READ-ONLY; The Sku.
+ Sku *Sku `json:"sku,omitempty"`
+ // Capacity - READ-ONLY; Specifies the number of virtual machines in the scale set.
+ Capacity *VirtualMachineScaleSetSkuCapacity `json:"capacity,omitempty"`
+}
+
+// VirtualMachineScaleSetSkuCapacity describes scaling information of a sku.
+type VirtualMachineScaleSetSkuCapacity struct {
+ // Minimum - READ-ONLY; The minimum capacity.
+ Minimum *int64 `json:"minimum,omitempty"`
+ // Maximum - READ-ONLY; The maximum capacity that can be set.
+ Maximum *int64 `json:"maximum,omitempty"`
+ // DefaultCapacity - READ-ONLY; The default capacity.
+ DefaultCapacity *int64 `json:"defaultCapacity,omitempty"`
+ // ScaleType - READ-ONLY; The scale type applicable to the sku. Possible values include: 'VirtualMachineScaleSetSkuScaleTypeAutomatic', 'VirtualMachineScaleSetSkuScaleTypeNone'
+ ScaleType VirtualMachineScaleSetSkuScaleType `json:"scaleType,omitempty"`
+}
+
+// VirtualMachineScaleSetsPerformMaintenanceFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
+type VirtualMachineScaleSetsPerformMaintenanceFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsPerformMaintenanceFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsPerformMaintenanceFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsPerformMaintenanceFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetsPowerOffFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetsPowerOffFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsPowerOffFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsPowerOffFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsPowerOffFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetsRedeployFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetsRedeployFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsRedeployFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsRedeployFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsRedeployFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetsReimageAllFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetsReimageAllFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsReimageAllFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsReimageAllFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsReimageAllFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetsReimageFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetsReimageFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsReimageFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsReimageFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsReimageFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetsRestartFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetsRestartFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsRestartFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsRestartFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsRestartFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetsStartFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetsStartFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsStartFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsStartFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsStartFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetStorageProfile describes a virtual machine scale set storage profile.
+type VirtualMachineScaleSetStorageProfile struct {
+ // ImageReference - Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
+ ImageReference *ImageReference `json:"imageReference,omitempty"`
+ // OsDisk - Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ OsDisk *VirtualMachineScaleSetOSDisk `json:"osDisk,omitempty"`
+ // DataDisks - Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
+ DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"`
+}
+
+// VirtualMachineScaleSetsUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetsUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsUpdateFuture) Result(client VirtualMachineScaleSetsClient) (vmss VirtualMachineScaleSet, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if vmss.Response.Response, err = future.GetResult(sender); err == nil && vmss.Response.Response.StatusCode != http.StatusNoContent {
+ vmss, err = client.UpdateResponder(vmss.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsUpdateFuture", "Result", vmss.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachineScaleSetsUpdateInstancesFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
+type VirtualMachineScaleSetsUpdateInstancesFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetsUpdateInstancesFuture) Result(client VirtualMachineScaleSetsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsUpdateInstancesFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsUpdateInstancesFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetUpdate describes a Virtual Machine Scale Set.
+type VirtualMachineScaleSetUpdate struct {
+ // Sku - The virtual machine scale set sku.
+ Sku *Sku `json:"sku,omitempty"`
+ // Plan - The purchase plan when deploying a virtual machine scale set from VM Marketplace images.
+ Plan *Plan `json:"plan,omitempty"`
+ *VirtualMachineScaleSetUpdateProperties `json:"properties,omitempty"`
+ // Identity - The identity of the virtual machine scale set, if configured.
+ Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdate.
+func (vmssu VirtualMachineScaleSetUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmssu.Sku != nil {
+ objectMap["sku"] = vmssu.Sku
+ }
+ if vmssu.Plan != nil {
+ objectMap["plan"] = vmssu.Plan
+ }
+ if vmssu.VirtualMachineScaleSetUpdateProperties != nil {
+ objectMap["properties"] = vmssu.VirtualMachineScaleSetUpdateProperties
+ }
+ if vmssu.Identity != nil {
+ objectMap["identity"] = vmssu.Identity
+ }
+ if vmssu.Tags != nil {
+ objectMap["tags"] = vmssu.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdate struct.
+func (vmssu *VirtualMachineScaleSetUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "sku":
+ if v != nil {
+ var sku Sku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ vmssu.Sku = &sku
+ }
+ case "plan":
+ if v != nil {
+ var plan Plan
+ err = json.Unmarshal(*v, &plan)
+ if err != nil {
+ return err
+ }
+ vmssu.Plan = &plan
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineScaleSetUpdateProperties VirtualMachineScaleSetUpdateProperties
+ err = json.Unmarshal(*v, &virtualMachineScaleSetUpdateProperties)
+ if err != nil {
+ return err
+ }
+ vmssu.VirtualMachineScaleSetUpdateProperties = &virtualMachineScaleSetUpdateProperties
+ }
+ case "identity":
+ if v != nil {
+ var identity VirtualMachineScaleSetIdentity
+ err = json.Unmarshal(*v, &identity)
+ if err != nil {
+ return err
+ }
+ vmssu.Identity = &identity
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ vmssu.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineScaleSetUpdateIPConfiguration describes a virtual machine scale set network profile's IP
+// configuration.
+type VirtualMachineScaleSetUpdateIPConfiguration struct {
+ // Name - The IP configuration name.
+ Name *string `json:"name,omitempty"`
+ *VirtualMachineScaleSetUpdateIPConfigurationProperties `json:"properties,omitempty"`
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdateIPConfiguration.
+func (vmssuic VirtualMachineScaleSetUpdateIPConfiguration) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmssuic.Name != nil {
+ objectMap["name"] = vmssuic.Name
+ }
+ if vmssuic.VirtualMachineScaleSetUpdateIPConfigurationProperties != nil {
+ objectMap["properties"] = vmssuic.VirtualMachineScaleSetUpdateIPConfigurationProperties
+ }
+ if vmssuic.ID != nil {
+ objectMap["id"] = vmssuic.ID
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdateIPConfiguration struct.
+func (vmssuic *VirtualMachineScaleSetUpdateIPConfiguration) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmssuic.Name = &name
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineScaleSetUpdateIPConfigurationProperties VirtualMachineScaleSetUpdateIPConfigurationProperties
+ err = json.Unmarshal(*v, &virtualMachineScaleSetUpdateIPConfigurationProperties)
+ if err != nil {
+ return err
+ }
+ vmssuic.VirtualMachineScaleSetUpdateIPConfigurationProperties = &virtualMachineScaleSetUpdateIPConfigurationProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ vmssuic.ID = &ID
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineScaleSetUpdateIPConfigurationProperties describes a virtual machine scale set network
+// profile's IP configuration properties.
+type VirtualMachineScaleSetUpdateIPConfigurationProperties struct {
+ // Subnet - The subnet.
+ Subnet *APIEntityReference `json:"subnet,omitempty"`
+ // Primary - Specifies the primary IP Configuration in case the network interface has more than one IP Configuration.
+ Primary *bool `json:"primary,omitempty"`
+ // PublicIPAddressConfiguration - The publicIPAddressConfiguration.
+ PublicIPAddressConfiguration *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
+ // PrivateIPAddressVersion - Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6'
+ PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"`
+ // ApplicationGatewayBackendAddressPools - The application gateway backend address pools.
+ ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"`
+ // ApplicationSecurityGroups - Specifies an array of references to application security group.
+ ApplicationSecurityGroups *[]SubResource `json:"applicationSecurityGroups,omitempty"`
+ // LoadBalancerBackendAddressPools - The load balancer backend address pools.
+ LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"`
+ // LoadBalancerInboundNatPools - The load balancer inbound nat pools.
+ LoadBalancerInboundNatPools *[]SubResource `json:"loadBalancerInboundNatPools,omitempty"`
+}
+
+// VirtualMachineScaleSetUpdateNetworkConfiguration describes a virtual machine scale set network profile's
+// network configurations.
+type VirtualMachineScaleSetUpdateNetworkConfiguration struct {
+ // Name - The network configuration name.
+ Name *string `json:"name,omitempty"`
+ *VirtualMachineScaleSetUpdateNetworkConfigurationProperties `json:"properties,omitempty"`
+ // ID - Resource Id
+ ID *string `json:"id,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdateNetworkConfiguration.
+func (vmssunc VirtualMachineScaleSetUpdateNetworkConfiguration) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmssunc.Name != nil {
+ objectMap["name"] = vmssunc.Name
+ }
+ if vmssunc.VirtualMachineScaleSetUpdateNetworkConfigurationProperties != nil {
+ objectMap["properties"] = vmssunc.VirtualMachineScaleSetUpdateNetworkConfigurationProperties
+ }
+ if vmssunc.ID != nil {
+ objectMap["id"] = vmssunc.ID
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdateNetworkConfiguration struct.
+func (vmssunc *VirtualMachineScaleSetUpdateNetworkConfiguration) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmssunc.Name = &name
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineScaleSetUpdateNetworkConfigurationProperties VirtualMachineScaleSetUpdateNetworkConfigurationProperties
+ err = json.Unmarshal(*v, &virtualMachineScaleSetUpdateNetworkConfigurationProperties)
+ if err != nil {
+ return err
+ }
+ vmssunc.VirtualMachineScaleSetUpdateNetworkConfigurationProperties = &virtualMachineScaleSetUpdateNetworkConfigurationProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ vmssunc.ID = &ID
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineScaleSetUpdateNetworkConfigurationProperties describes a virtual machine scale set
+// updatable network profile's IP configuration.Use this object for updating network profile's IP
+// Configuration.
+type VirtualMachineScaleSetUpdateNetworkConfigurationProperties struct {
+ // Primary - Whether this is a primary NIC on a virtual machine.
+ Primary *bool `json:"primary,omitempty"`
+ // EnableAcceleratedNetworking - Specifies whether the network interface is accelerated networking-enabled.
+ EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"`
+ // NetworkSecurityGroup - The network security group.
+ NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"`
+ // DNSSettings - The dns settings to be applied on the network interfaces.
+ DNSSettings *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"`
+ // IPConfigurations - The virtual machine scale set IP Configuration.
+ IPConfigurations *[]VirtualMachineScaleSetUpdateIPConfiguration `json:"ipConfigurations,omitempty"`
+ // EnableIPForwarding - Whether IP forwarding enabled on this NIC.
+ EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`
+}
+
+// VirtualMachineScaleSetUpdateNetworkProfile describes a virtual machine scale set network profile.
+type VirtualMachineScaleSetUpdateNetworkProfile struct {
+ // NetworkInterfaceConfigurations - The list of network configurations.
+ NetworkInterfaceConfigurations *[]VirtualMachineScaleSetUpdateNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
+}
+
+// VirtualMachineScaleSetUpdateOSDisk describes virtual machine scale set operating system disk Update
+// Object. This should be used for Updating VMSS OS Disk.
+type VirtualMachineScaleSetUpdateOSDisk struct {
+ // Caching - The caching type. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
+ Caching CachingTypes `json:"caching,omitempty"`
+ // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
+ WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"`
+ // DiskSizeGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB
+ DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
+ // Image - The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.
+ Image *VirtualHardDisk `json:"image,omitempty"`
+ // VhdContainers - The list of virtual hard disk container uris.
+ VhdContainers *[]string `json:"vhdContainers,omitempty"`
+ // ManagedDisk - The managed disk parameters.
+ ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
+}
+
+// VirtualMachineScaleSetUpdateOSProfile describes a virtual machine scale set OS profile.
+type VirtualMachineScaleSetUpdateOSProfile struct {
+ // CustomData - A base-64 encoded string of custom data.
+ CustomData *string `json:"customData,omitempty"`
+ // WindowsConfiguration - The Windows Configuration of the OS profile.
+ WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
+ // LinuxConfiguration - The Linux Configuration of the OS profile.
+ LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"`
+ // Secrets - The List of certificates for addition to the VM.
+ Secrets *[]VaultSecretGroup `json:"secrets,omitempty"`
+}
+
+// VirtualMachineScaleSetUpdateProperties describes the properties of a Virtual Machine Scale Set.
+type VirtualMachineScaleSetUpdateProperties struct {
+ // UpgradePolicy - The upgrade policy.
+ UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"`
+ // VirtualMachineProfile - The virtual machine profile.
+ VirtualMachineProfile *VirtualMachineScaleSetUpdateVMProfile `json:"virtualMachineProfile,omitempty"`
+ // Overprovision - Specifies whether the Virtual Machine Scale Set should be overprovisioned.
+ Overprovision *bool `json:"overprovision,omitempty"`
+ // SinglePlacementGroup - When true this limits the scale set to a single placement group, of max size 100 virtual machines.
+ SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"`
+ // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
+ AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"`
+}
+
+// VirtualMachineScaleSetUpdatePublicIPAddressConfiguration describes a virtual machines scale set IP
+// Configuration's PublicIPAddress configuration
+type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration struct {
+ // Name - The publicIP address configuration name.
+ Name *string `json:"name,omitempty"`
+ *VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties `json:"properties,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdatePublicIPAddressConfiguration.
+func (vmssupiac VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmssupiac.Name != nil {
+ objectMap["name"] = vmssupiac.Name
+ }
+ if vmssupiac.VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties != nil {
+ objectMap["properties"] = vmssupiac.VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdatePublicIPAddressConfiguration struct.
+func (vmssupiac *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmssupiac.Name = &name
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties
+ err = json.Unmarshal(*v, &virtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties)
+ if err != nil {
+ return err
+ }
+ vmssupiac.VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties = &virtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties describes a virtual machines scale
+// set IP Configuration's PublicIPAddress configuration
+type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties struct {
+ // IdleTimeoutInMinutes - The idle timeout of the public IP address.
+ IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
+ // DNSSettings - The dns settings to be applied on the publicIP addresses .
+ DNSSettings *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"`
+}
+
+// VirtualMachineScaleSetUpdateStorageProfile describes a virtual machine scale set storage profile.
+type VirtualMachineScaleSetUpdateStorageProfile struct {
+ // ImageReference - The image reference.
+ ImageReference *ImageReference `json:"imageReference,omitempty"`
+ // OsDisk - The OS disk.
+ OsDisk *VirtualMachineScaleSetUpdateOSDisk `json:"osDisk,omitempty"`
+ // DataDisks - The data disks.
+ DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"`
+}
+
+// VirtualMachineScaleSetUpdateVMProfile describes a virtual machine scale set virtual machine profile.
+type VirtualMachineScaleSetUpdateVMProfile struct {
+ // OsProfile - The virtual machine scale set OS profile.
+ OsProfile *VirtualMachineScaleSetUpdateOSProfile `json:"osProfile,omitempty"`
+ // StorageProfile - The virtual machine scale set storage profile.
+ StorageProfile *VirtualMachineScaleSetUpdateStorageProfile `json:"storageProfile,omitempty"`
+ // NetworkProfile - The virtual machine scale set network profile.
+ NetworkProfile *VirtualMachineScaleSetUpdateNetworkProfile `json:"networkProfile,omitempty"`
+ // DiagnosticsProfile - The virtual machine scale set diagnostics profile.
+ DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
+ // ExtensionProfile - The virtual machine scale set extension profile.
+ ExtensionProfile *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"`
+ // LicenseType - The license type, which is for bring your own license scenario.
+ LicenseType *string `json:"licenseType,omitempty"`
+}
+
+// VirtualMachineScaleSetVM describes a virtual machine scale set virtual machine.
+type VirtualMachineScaleSetVM struct {
+ autorest.Response `json:"-"`
+ // InstanceID - READ-ONLY; The virtual machine instance ID.
+ InstanceID *string `json:"instanceId,omitempty"`
+ // Sku - READ-ONLY; The virtual machine SKU.
+ Sku *Sku `json:"sku,omitempty"`
+ *VirtualMachineScaleSetVMProperties `json:"properties,omitempty"`
+ // Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
+ Plan *Plan `json:"plan,omitempty"`
+ // Resources - READ-ONLY; The virtual machine child extension resources.
+ Resources *[]VirtualMachineExtension `json:"resources,omitempty"`
+ // Zones - READ-ONLY; The virtual machine zones.
+ Zones *[]string `json:"zones,omitempty"`
+ // ID - READ-ONLY; Resource Id
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type
+ Type *string `json:"type,omitempty"`
+ // Location - Resource location
+ Location *string `json:"location,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineScaleSetVM.
+func (vmssv VirtualMachineScaleSetVM) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmssv.VirtualMachineScaleSetVMProperties != nil {
+ objectMap["properties"] = vmssv.VirtualMachineScaleSetVMProperties
+ }
+ if vmssv.Plan != nil {
+ objectMap["plan"] = vmssv.Plan
+ }
+ if vmssv.Location != nil {
+ objectMap["location"] = vmssv.Location
+ }
+ if vmssv.Tags != nil {
+ objectMap["tags"] = vmssv.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetVM struct.
+func (vmssv *VirtualMachineScaleSetVM) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "instanceId":
+ if v != nil {
+ var instanceID string
+ err = json.Unmarshal(*v, &instanceID)
+ if err != nil {
+ return err
+ }
+ vmssv.InstanceID = &instanceID
+ }
+ case "sku":
+ if v != nil {
+ var sku Sku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ vmssv.Sku = &sku
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineScaleSetVMProperties VirtualMachineScaleSetVMProperties
+ err = json.Unmarshal(*v, &virtualMachineScaleSetVMProperties)
+ if err != nil {
+ return err
+ }
+ vmssv.VirtualMachineScaleSetVMProperties = &virtualMachineScaleSetVMProperties
+ }
+ case "plan":
+ if v != nil {
+ var plan Plan
+ err = json.Unmarshal(*v, &plan)
+ if err != nil {
+ return err
+ }
+ vmssv.Plan = &plan
+ }
+ case "resources":
+ if v != nil {
+ var resources []VirtualMachineExtension
+ err = json.Unmarshal(*v, &resources)
+ if err != nil {
+ return err
+ }
+ vmssv.Resources = &resources
+ }
+ case "zones":
+ if v != nil {
+ var zones []string
+ err = json.Unmarshal(*v, &zones)
+ if err != nil {
+ return err
+ }
+ vmssv.Zones = &zones
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ vmssv.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ vmssv.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ vmssv.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ vmssv.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ vmssv.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// VirtualMachineScaleSetVMExtensionsSummary extensions summary for virtual machines of a virtual machine
+// scale set.
+type VirtualMachineScaleSetVMExtensionsSummary struct {
+ // Name - READ-ONLY; The extension name.
+ Name *string `json:"name,omitempty"`
+ // StatusesSummary - READ-ONLY; The extensions information.
+ StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
+}
+
+// VirtualMachineScaleSetVMInstanceIDs specifies a list of virtual machine instance IDs from the VM scale
+// set.
+type VirtualMachineScaleSetVMInstanceIDs struct {
+ // InstanceIds - The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set.
+ InstanceIds *[]string `json:"instanceIds,omitempty"`
+}
+
+// VirtualMachineScaleSetVMInstanceRequiredIDs specifies a list of virtual machine instance IDs from the VM
+// scale set.
+type VirtualMachineScaleSetVMInstanceRequiredIDs struct {
+ // InstanceIds - The virtual machine scale set instance ids.
+ InstanceIds *[]string `json:"instanceIds,omitempty"`
+}
+
+// VirtualMachineScaleSetVMInstanceView the instance view of a virtual machine scale set VM.
+type VirtualMachineScaleSetVMInstanceView struct {
+ autorest.Response `json:"-"`
+ // PlatformUpdateDomain - The Update Domain count.
+ PlatformUpdateDomain *int32 `json:"platformUpdateDomain,omitempty"`
+ // PlatformFaultDomain - The Fault Domain count.
+ PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"`
+ // RdpThumbPrint - The Remote desktop certificate thumbprint.
+ RdpThumbPrint *string `json:"rdpThumbPrint,omitempty"`
+ // VMAgent - The VM Agent running on the virtual machine.
+ VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"`
+ // MaintenanceRedeployStatus - The Maintenance Operation status on the virtual machine.
+ MaintenanceRedeployStatus *MaintenanceRedeployStatus `json:"maintenanceRedeployStatus,omitempty"`
+ // Disks - The disks information.
+ Disks *[]DiskInstanceView `json:"disks,omitempty"`
+ // Extensions - The extensions information.
+ Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"`
+ // VMHealth - READ-ONLY; The health status for the VM.
+ VMHealth *VirtualMachineHealthStatus `json:"vmHealth,omitempty"`
+ // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
+ BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"`
+ // Statuses - The resource status information.
+ Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
+ // PlacementGroupID - The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId.
+ PlacementGroupID *string `json:"placementGroupId,omitempty"`
+}
+
+// VirtualMachineScaleSetVMListResult the List Virtual Machine Scale Set VMs operation response.
+type VirtualMachineScaleSetVMListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of virtual machine scale sets VMs.
+ Value *[]VirtualMachineScaleSetVM `json:"value,omitempty"`
+ // NextLink - The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to fetch the next page of VMSS VMs
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// VirtualMachineScaleSetVMListResultIterator provides access to a complete listing of
+// VirtualMachineScaleSetVM values.
+type VirtualMachineScaleSetVMListResultIterator struct {
+ i int
+ page VirtualMachineScaleSetVMListResultPage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *VirtualMachineScaleSetVMListResultIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMListResultIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *VirtualMachineScaleSetVMListResultIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter VirtualMachineScaleSetVMListResultIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter VirtualMachineScaleSetVMListResultIterator) Response() VirtualMachineScaleSetVMListResult {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter VirtualMachineScaleSetVMListResultIterator) Value() VirtualMachineScaleSetVM {
+ if !iter.page.NotDone() {
+ return VirtualMachineScaleSetVM{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the VirtualMachineScaleSetVMListResultIterator type.
+func NewVirtualMachineScaleSetVMListResultIterator(page VirtualMachineScaleSetVMListResultPage) VirtualMachineScaleSetVMListResultIterator {
+ return VirtualMachineScaleSetVMListResultIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (vmssvlr VirtualMachineScaleSetVMListResult) IsEmpty() bool {
+ return vmssvlr.Value == nil || len(*vmssvlr.Value) == 0
+}
+
+// virtualMachineScaleSetVMListResultPreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (vmssvlr VirtualMachineScaleSetVMListResult) virtualMachineScaleSetVMListResultPreparer(ctx context.Context) (*http.Request, error) {
+ if vmssvlr.NextLink == nil || len(to.String(vmssvlr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(vmssvlr.NextLink)))
+}
+
+// VirtualMachineScaleSetVMListResultPage contains a page of VirtualMachineScaleSetVM values.
+type VirtualMachineScaleSetVMListResultPage struct {
+ fn func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error)
+ vmssvlr VirtualMachineScaleSetVMListResult
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *VirtualMachineScaleSetVMListResultPage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMListResultPage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.vmssvlr)
+ if err != nil {
+ return err
+ }
+ page.vmssvlr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *VirtualMachineScaleSetVMListResultPage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page VirtualMachineScaleSetVMListResultPage) NotDone() bool {
+ return !page.vmssvlr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page VirtualMachineScaleSetVMListResultPage) Response() VirtualMachineScaleSetVMListResult {
+ return page.vmssvlr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page VirtualMachineScaleSetVMListResultPage) Values() []VirtualMachineScaleSetVM {
+ if page.vmssvlr.IsEmpty() {
+ return nil
+ }
+ return *page.vmssvlr.Value
+}
+
+// Creates a new instance of the VirtualMachineScaleSetVMListResultPage type.
+func NewVirtualMachineScaleSetVMListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error)) VirtualMachineScaleSetVMListResultPage {
+ return VirtualMachineScaleSetVMListResultPage{fn: getNextPage}
+}
+
+// VirtualMachineScaleSetVMNetworkProfileConfiguration describes a virtual machine scale set VM network
+// profile.
+type VirtualMachineScaleSetVMNetworkProfileConfiguration struct {
+ // NetworkInterfaceConfigurations - The list of network configurations.
+ NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
+}
+
+// VirtualMachineScaleSetVMProfile describes a virtual machine scale set virtual machine profile.
+type VirtualMachineScaleSetVMProfile struct {
+ // OsProfile - Specifies the operating system settings for the virtual machines in the scale set.
+ OsProfile *VirtualMachineScaleSetOSProfile `json:"osProfile,omitempty"`
+ // StorageProfile - Specifies the storage settings for the virtual machine disks.
+ StorageProfile *VirtualMachineScaleSetStorageProfile `json:"storageProfile,omitempty"`
+ // NetworkProfile - Specifies properties of the network interfaces of the virtual machines in the scale set.
+ NetworkProfile *VirtualMachineScaleSetNetworkProfile `json:"networkProfile,omitempty"`
+ // DiagnosticsProfile - Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
+ DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
+ // ExtensionProfile - Specifies a collection of settings for extensions installed on virtual machines in the scale set.
+ ExtensionProfile *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"`
+ // LicenseType - Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15
+ LicenseType *string `json:"licenseType,omitempty"`
+ // Priority - Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
+ Priority VirtualMachinePriorityTypes `json:"priority,omitempty"`
+ // EvictionPolicy - Specifies the eviction policy for virtual machines in a low priority scale set.
Minimum api-version: 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'
+ EvictionPolicy VirtualMachineEvictionPolicyTypes `json:"evictionPolicy,omitempty"`
+}
+
+// VirtualMachineScaleSetVMProperties describes the properties of a virtual machine scale set virtual
+// machine.
+type VirtualMachineScaleSetVMProperties struct {
+ // LatestModelApplied - READ-ONLY; Specifies whether the latest model has been applied to the virtual machine.
+ LatestModelApplied *bool `json:"latestModelApplied,omitempty"`
+ // VMID - READ-ONLY; Azure VM unique ID.
+ VMID *string `json:"vmId,omitempty"`
+ // InstanceView - READ-ONLY; The virtual machine instance view.
+ InstanceView *VirtualMachineScaleSetVMInstanceView `json:"instanceView,omitempty"`
+ // HardwareProfile - Specifies the hardware settings for the virtual machine.
+ HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"`
+ // StorageProfile - Specifies the storage settings for the virtual machine disks.
+ StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
+ // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
+ AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"`
+ // OsProfile - Specifies the operating system settings for the virtual machine.
+ OsProfile *OSProfile `json:"osProfile,omitempty"`
+ // NetworkProfile - Specifies the network interfaces of the virtual machine.
+ NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`
+ // NetworkProfileConfiguration - Specifies the network profile configuration of the virtual machine.
+ NetworkProfileConfiguration *VirtualMachineScaleSetVMNetworkProfileConfiguration `json:"networkProfileConfiguration,omitempty"`
+ // DiagnosticsProfile - Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
+ DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
+ // AvailabilitySet - Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
+ AvailabilitySet *SubResource `json:"availabilitySet,omitempty"`
+ // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // LicenseType - Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15
+ LicenseType *string `json:"licenseType,omitempty"`
+ // ModelDefinitionApplied - READ-ONLY; Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine.
+ ModelDefinitionApplied *string `json:"modelDefinitionApplied,omitempty"`
+ // ProtectionPolicy - Specifies the protection policy of the virtual machine.
+ ProtectionPolicy *VirtualMachineScaleSetVMProtectionPolicy `json:"protectionPolicy,omitempty"`
+}
+
+// VirtualMachineScaleSetVMProtectionPolicy the protection policy of a virtual machine scale set VM.
+type VirtualMachineScaleSetVMProtectionPolicy struct {
+ // ProtectFromScaleIn - Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.
+ ProtectFromScaleIn *bool `json:"protectFromScaleIn,omitempty"`
+ // ProtectFromScaleSetActions - Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.
+ ProtectFromScaleSetActions *bool `json:"protectFromScaleSetActions,omitempty"`
+}
+
+// VirtualMachineScaleSetVMReimageParameters describes a Virtual Machine Scale Set VM Reimage Parameters.
+type VirtualMachineScaleSetVMReimageParameters struct {
+ // TempDisk - Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk.
+ TempDisk *bool `json:"tempDisk,omitempty"`
+}
+
+// VirtualMachineScaleSetVMsDeallocateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetVMsDeallocateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsDeallocateFuture) Result(client VirtualMachineScaleSetVMsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsDeallocateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsDeallocateFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetVMsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetVMsDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsDeleteFuture) Result(client VirtualMachineScaleSetVMsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetVMsPerformMaintenanceFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
+type VirtualMachineScaleSetVMsPerformMaintenanceFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsPerformMaintenanceFuture) Result(client VirtualMachineScaleSetVMsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsPerformMaintenanceFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsPerformMaintenanceFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetVMsPowerOffFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetVMsPowerOffFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsPowerOffFuture) Result(client VirtualMachineScaleSetVMsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsPowerOffFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsPowerOffFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetVMsRedeployFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetVMsRedeployFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsRedeployFuture) Result(client VirtualMachineScaleSetVMsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsRedeployFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsRedeployFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetVMsReimageAllFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetVMsReimageAllFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsReimageAllFuture) Result(client VirtualMachineScaleSetVMsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsReimageAllFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsReimageAllFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetVMsReimageFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetVMsReimageFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsReimageFuture) Result(client VirtualMachineScaleSetVMsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsReimageFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsReimageFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetVMsRestartFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetVMsRestartFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsRestartFuture) Result(client VirtualMachineScaleSetVMsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsRestartFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsRestartFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetVMsRunCommandFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetVMsRunCommandFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsRunCommandFuture) Result(client VirtualMachineScaleSetVMsClient) (rcr RunCommandResult, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsRunCommandFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsRunCommandFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if rcr.Response.Response, err = future.GetResult(sender); err == nil && rcr.Response.Response.StatusCode != http.StatusNoContent {
+ rcr, err = client.RunCommandResponder(rcr.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsRunCommandFuture", "Result", rcr.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachineScaleSetVMsStartFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetVMsStartFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsStartFuture) Result(client VirtualMachineScaleSetVMsClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsStartFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsStartFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineScaleSetVMsUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachineScaleSetVMsUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachineScaleSetVMsUpdateFuture) Result(client VirtualMachineScaleSetVMsClient) (vmssv VirtualMachineScaleSetVM, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if vmssv.Response.Response, err = future.GetResult(sender); err == nil && vmssv.Response.Response.StatusCode != http.StatusNoContent {
+ vmssv, err = client.UpdateResponder(vmssv.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsUpdateFuture", "Result", vmssv.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachinesCaptureFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type VirtualMachinesCaptureFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesCaptureFuture) Result(client VirtualMachinesClient) (vmcr VirtualMachineCaptureResult, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesCaptureFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesCaptureFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if vmcr.Response.Response, err = future.GetResult(sender); err == nil && vmcr.Response.Response.StatusCode != http.StatusNoContent {
+ vmcr, err = client.CaptureResponder(vmcr.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesCaptureFuture", "Result", vmcr.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachinesConvertToManagedDisksFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachinesConvertToManagedDisksFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesConvertToManagedDisksFuture) Result(client VirtualMachinesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesConvertToManagedDisksFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesConvertToManagedDisksFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachinesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachinesCreateOrUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesCreateOrUpdateFuture) Result(client VirtualMachinesClient) (VM VirtualMachine, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesCreateOrUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if VM.Response.Response, err = future.GetResult(sender); err == nil && VM.Response.Response.StatusCode != http.StatusNoContent {
+ VM, err = client.CreateOrUpdateResponder(VM.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesCreateOrUpdateFuture", "Result", VM.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachinesDeallocateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachinesDeallocateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesDeallocateFuture) Result(client VirtualMachinesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesDeallocateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesDeallocateFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachinesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type VirtualMachinesDeleteFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesDeleteFuture) Result(client VirtualMachinesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesDeleteFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesDeleteFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineSize describes the properties of a VM size.
+type VirtualMachineSize struct {
+ // Name - The name of the virtual machine size.
+ Name *string `json:"name,omitempty"`
+ // NumberOfCores - The number of cores supported by the virtual machine size.
+ NumberOfCores *int32 `json:"numberOfCores,omitempty"`
+ // OsDiskSizeInMB - The OS disk size, in MB, allowed by the virtual machine size.
+ OsDiskSizeInMB *int32 `json:"osDiskSizeInMB,omitempty"`
+ // ResourceDiskSizeInMB - The resource disk size, in MB, allowed by the virtual machine size.
+ ResourceDiskSizeInMB *int32 `json:"resourceDiskSizeInMB,omitempty"`
+ // MemoryInMB - The amount of memory, in MB, supported by the virtual machine size.
+ MemoryInMB *int32 `json:"memoryInMB,omitempty"`
+ // MaxDataDiskCount - The maximum number of data disks that can be attached to the virtual machine size.
+ MaxDataDiskCount *int32 `json:"maxDataDiskCount,omitempty"`
+}
+
+// VirtualMachineSizeListResult the List Virtual Machine operation response.
+type VirtualMachineSizeListResult struct {
+ autorest.Response `json:"-"`
+ // Value - The list of virtual machine sizes.
+ Value *[]VirtualMachineSize `json:"value,omitempty"`
+}
+
+// VirtualMachinesPerformMaintenanceFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachinesPerformMaintenanceFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesPerformMaintenanceFuture) Result(client VirtualMachinesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesPerformMaintenanceFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesPerformMaintenanceFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachinesPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type VirtualMachinesPowerOffFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesPowerOffFuture) Result(client VirtualMachinesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesPowerOffFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesPowerOffFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachinesRedeployFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type VirtualMachinesRedeployFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesRedeployFuture) Result(client VirtualMachinesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesRedeployFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesRedeployFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachinesReimageFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type VirtualMachinesReimageFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesReimageFuture) Result(client VirtualMachinesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesReimageFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesReimageFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachinesRestartFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type VirtualMachinesRestartFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesRestartFuture) Result(client VirtualMachinesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesRestartFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesRestartFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachinesRunCommandFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type VirtualMachinesRunCommandFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesRunCommandFuture) Result(client VirtualMachinesClient) (rcr RunCommandResult, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesRunCommandFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesRunCommandFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if rcr.Response.Response, err = future.GetResult(sender); err == nil && rcr.Response.Response.StatusCode != http.StatusNoContent {
+ rcr, err = client.RunCommandResponder(rcr.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesRunCommandFuture", "Result", rcr.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachinesStartFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type VirtualMachinesStartFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesStartFuture) Result(client VirtualMachinesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesStartFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesStartFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// VirtualMachineStatusCodeCount the status code and count of the virtual machine scale set instance view
+// status summary.
+type VirtualMachineStatusCodeCount struct {
+ // Code - READ-ONLY; The instance view status code.
+ Code *string `json:"code,omitempty"`
+ // Count - READ-ONLY; The number of instances having a particular status code.
+ Count *int32 `json:"count,omitempty"`
+}
+
+// VirtualMachinesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type VirtualMachinesUpdateFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *VirtualMachinesUpdateFuture) Result(client VirtualMachinesClient) (VM VirtualMachine, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesUpdateFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesUpdateFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if VM.Response.Response, err = future.GetResult(sender); err == nil && VM.Response.Response.StatusCode != http.StatusNoContent {
+ VM, err = client.UpdateResponder(VM.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesUpdateFuture", "Result", VM.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// VirtualMachineUpdate describes a Virtual Machine Update.
+type VirtualMachineUpdate struct {
+ // Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
+ Plan *Plan `json:"plan,omitempty"`
+ *VirtualMachineProperties `json:"properties,omitempty"`
+ // Identity - The identity of the virtual machine, if configured.
+ Identity *VirtualMachineIdentity `json:"identity,omitempty"`
+ // Zones - The virtual machine zones.
+ Zones *[]string `json:"zones,omitempty"`
+ // Tags - Resource tags
+ Tags map[string]*string `json:"tags"`
+}
+
+// MarshalJSON is the custom marshaler for VirtualMachineUpdate.
+func (vmu VirtualMachineUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if vmu.Plan != nil {
+ objectMap["plan"] = vmu.Plan
+ }
+ if vmu.VirtualMachineProperties != nil {
+ objectMap["properties"] = vmu.VirtualMachineProperties
+ }
+ if vmu.Identity != nil {
+ objectMap["identity"] = vmu.Identity
+ }
+ if vmu.Zones != nil {
+ objectMap["zones"] = vmu.Zones
+ }
+ if vmu.Tags != nil {
+ objectMap["tags"] = vmu.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for VirtualMachineUpdate struct.
+func (vmu *VirtualMachineUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "plan":
+ if v != nil {
+ var plan Plan
+ err = json.Unmarshal(*v, &plan)
+ if err != nil {
+ return err
+ }
+ vmu.Plan = &plan
+ }
+ case "properties":
+ if v != nil {
+ var virtualMachineProperties VirtualMachineProperties
+ err = json.Unmarshal(*v, &virtualMachineProperties)
+ if err != nil {
+ return err
+ }
+ vmu.VirtualMachineProperties = &virtualMachineProperties
+ }
+ case "identity":
+ if v != nil {
+ var identity VirtualMachineIdentity
+ err = json.Unmarshal(*v, &identity)
+ if err != nil {
+ return err
+ }
+ vmu.Identity = &identity
+ }
+ case "zones":
+ if v != nil {
+ var zones []string
+ err = json.Unmarshal(*v, &zones)
+ if err != nil {
+ return err
+ }
+ vmu.Zones = &zones
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ vmu.Tags = tags
+ }
+ }
+ }
+
+ return nil
+}
+
+// VMScaleSetConvertToSinglePlacementGroupInput ...
+type VMScaleSetConvertToSinglePlacementGroupInput struct {
+ // ActivePlacementGroupID - Id of the placement group in which you want future virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances.
+ ActivePlacementGroupID *string `json:"activePlacementGroupId,omitempty"`
+}
+
+// WindowsConfiguration specifies Windows operating system settings on the virtual machine.
+type WindowsConfiguration struct {
+ // ProvisionVMAgent - Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
+ ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"`
+ // EnableAutomaticUpdates - Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
+ EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty"`
+ // TimeZone - Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time"
+ TimeZone *string `json:"timeZone,omitempty"`
+ // AdditionalUnattendContent - Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
+ AdditionalUnattendContent *[]AdditionalUnattendContent `json:"additionalUnattendContent,omitempty"`
+ // WinRM - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
+ WinRM *WinRMConfiguration `json:"winRM,omitempty"`
+}
+
+// WinRMConfiguration describes Windows Remote Management configuration of the VM
+type WinRMConfiguration struct {
+ // Listeners - The list of Windows Remote Management listeners
+ Listeners *[]WinRMListener `json:"listeners,omitempty"`
+}
+
+// WinRMListener describes Protocol and thumbprint of Windows Remote Management listener
+type WinRMListener struct {
+ // Protocol - Specifies the protocol of listener.
Possible values are:
**http**
**https**. Possible values include: 'HTTP', 'HTTPS'
+ Protocol ProtocolTypes `json:"protocol,omitempty"`
+ // CertificateURL - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
"data":"",
"dataType":"pfx",
"password":""
}
+ CertificateURL *string `json:"certificateUrl,omitempty"`
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/operations.go b/services/compute/mgmt/2019-07-01/compute/operations.go
new file mode 100644
index 000000000000..c19b7567d7dd
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/operations.go
@@ -0,0 +1,109 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// OperationsClient is the compute Client
+type OperationsClient struct {
+ BaseClient
+}
+
+// NewOperationsClient creates an instance of the OperationsClient client.
+func NewOperationsClient(subscriptionID string) OperationsClient {
+ return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
+func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
+ return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// List gets a list of compute operations.
+func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/OperationsClient.List")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.OperationsClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.OperationsClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.OperationsClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) {
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPath("/providers/Microsoft.Compute/operations"),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/proximityplacementgroups.go b/services/compute/mgmt/2019-07-01/compute/proximityplacementgroups.go
new file mode 100644
index 000000000000..a85c1640cd43
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/proximityplacementgroups.go
@@ -0,0 +1,577 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// ProximityPlacementGroupsClient is the compute Client
+type ProximityPlacementGroupsClient struct {
+ BaseClient
+}
+
+// NewProximityPlacementGroupsClient creates an instance of the ProximityPlacementGroupsClient client.
+func NewProximityPlacementGroupsClient(subscriptionID string) ProximityPlacementGroupsClient {
+ return NewProximityPlacementGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewProximityPlacementGroupsClientWithBaseURI creates an instance of the ProximityPlacementGroupsClient client.
+func NewProximityPlacementGroupsClientWithBaseURI(baseURI string, subscriptionID string) ProximityPlacementGroupsClient {
+ return ProximityPlacementGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate create or update a proximity placement group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// proximityPlacementGroupName - the name of the proximity placement group.
+// parameters - parameters supplied to the Create Proximity Placement Group operation.
+func (client ProximityPlacementGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroup) (result ProximityPlacementGroup, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ProximityPlacementGroupsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, proximityPlacementGroupName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.CreateOrUpdateSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "CreateOrUpdate", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "CreateOrUpdate", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client ProximityPlacementGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroup) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "proximityPlacementGroupName": autorest.Encode("path", proximityPlacementGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client ProximityPlacementGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client ProximityPlacementGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ProximityPlacementGroup, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete delete a proximity placement group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// proximityPlacementGroupName - the name of the proximity placement group.
+func (client ProximityPlacementGroupsClient) Delete(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (result autorest.Response, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ProximityPlacementGroupsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response != nil {
+ sc = result.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, proximityPlacementGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.DeleteSender(req)
+ if err != nil {
+ result.Response = resp
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Delete", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.DeleteResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Delete", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client ProximityPlacementGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "proximityPlacementGroupName": autorest.Encode("path", proximityPlacementGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client ProximityPlacementGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client ProximityPlacementGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get retrieves information about a proximity placement group .
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// proximityPlacementGroupName - the name of the proximity placement group.
+func (client ProximityPlacementGroupsClient) Get(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (result ProximityPlacementGroup, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ProximityPlacementGroupsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, proximityPlacementGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client ProximityPlacementGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "proximityPlacementGroupName": autorest.Encode("path", proximityPlacementGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client ProximityPlacementGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client ProximityPlacementGroupsClient) GetResponder(resp *http.Response) (result ProximityPlacementGroup, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListByResourceGroup lists all proximity placement groups in a resource group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client ProximityPlacementGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProximityPlacementGroupListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ProximityPlacementGroupsClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.ppglr.Response.Response != nil {
+ sc = result.ppglr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByResourceGroupNextResults
+ req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "ListByResourceGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.ppglr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "ListByResourceGroup", resp, "Failure sending request")
+ return
+ }
+
+ result.ppglr, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
+func (client ProximityPlacementGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client ProximityPlacementGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
+// closes the http.Response Body.
+func (client ProximityPlacementGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ProximityPlacementGroupListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByResourceGroupNextResults retrieves the next set of results, if any.
+func (client ProximityPlacementGroupsClient) listByResourceGroupNextResults(ctx context.Context, lastResults ProximityPlacementGroupListResult) (result ProximityPlacementGroupListResult, err error) {
+ req, err := lastResults.proximityPlacementGroupListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "listByResourceGroupNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
+func (client ProximityPlacementGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProximityPlacementGroupListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ProximityPlacementGroupsClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByResourceGroup(ctx, resourceGroupName)
+ return
+}
+
+// ListBySubscription lists all proximity placement groups in a subscription.
+func (client ProximityPlacementGroupsClient) ListBySubscription(ctx context.Context) (result ProximityPlacementGroupListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ProximityPlacementGroupsClient.ListBySubscription")
+ defer func() {
+ sc := -1
+ if result.ppglr.Response.Response != nil {
+ sc = result.ppglr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listBySubscriptionNextResults
+ req, err := client.ListBySubscriptionPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "ListBySubscription", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListBySubscriptionSender(req)
+ if err != nil {
+ result.ppglr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "ListBySubscription", resp, "Failure sending request")
+ return
+ }
+
+ result.ppglr, err = client.ListBySubscriptionResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "ListBySubscription", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListBySubscriptionPreparer prepares the ListBySubscription request.
+func (client ProximityPlacementGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
+// http.Response Body if it receives an error.
+func (client ProximityPlacementGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
+// closes the http.Response Body.
+func (client ProximityPlacementGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result ProximityPlacementGroupListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listBySubscriptionNextResults retrieves the next set of results, if any.
+func (client ProximityPlacementGroupsClient) listBySubscriptionNextResults(ctx context.Context, lastResults ProximityPlacementGroupListResult) (result ProximityPlacementGroupListResult, err error) {
+ req, err := lastResults.proximityPlacementGroupListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "listBySubscriptionNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListBySubscriptionSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "listBySubscriptionNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListBySubscriptionResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "listBySubscriptionNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
+func (client ProximityPlacementGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result ProximityPlacementGroupListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ProximityPlacementGroupsClient.ListBySubscription")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListBySubscription(ctx)
+ return
+}
+
+// Update update a proximity placement group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// proximityPlacementGroupName - the name of the proximity placement group.
+// parameters - parameters supplied to the Update Proximity Placement Group operation.
+func (client ProximityPlacementGroupsClient) Update(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroupUpdate) (result ProximityPlacementGroup, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ProximityPlacementGroupsClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, proximityPlacementGroupName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.UpdateSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Update", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.UpdateResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Update", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client ProximityPlacementGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroupUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "proximityPlacementGroupName": autorest.Encode("path", proximityPlacementGroupName),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client ProximityPlacementGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client ProximityPlacementGroupsClient) UpdateResponder(resp *http.Response) (result ProximityPlacementGroup, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/resourceskus.go b/services/compute/mgmt/2019-07-01/compute/resourceskus.go
new file mode 100644
index 000000000000..dade057a45fe
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/resourceskus.go
@@ -0,0 +1,151 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// ResourceSkusClient is the compute Client
+type ResourceSkusClient struct {
+ BaseClient
+}
+
+// NewResourceSkusClient creates an instance of the ResourceSkusClient client.
+func NewResourceSkusClient(subscriptionID string) ResourceSkusClient {
+ return NewResourceSkusClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client.
+func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient {
+ return ResourceSkusClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// List gets the list of Microsoft.Compute SKUs available for your Subscription.
+func (client ResourceSkusClient) List(ctx context.Context) (result ResourceSkusResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ResourceSkusClient.List")
+ defer func() {
+ sc := -1
+ if result.rsr.Response.Response != nil {
+ sc = result.rsr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ResourceSkusClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.rsr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.ResourceSkusClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.rsr, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ResourceSkusClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client ResourceSkusClient) ListPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-04-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client ResourceSkusClient) ListResponder(resp *http.Response) (result ResourceSkusResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client ResourceSkusClient) listNextResults(ctx context.Context, lastResults ResourceSkusResult) (result ResourceSkusResult, err error) {
+ req, err := lastResults.resourceSkusResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.ResourceSkusClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.ResourceSkusClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.ResourceSkusClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client ResourceSkusClient) ListComplete(ctx context.Context) (result ResourceSkusResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/ResourceSkusClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx)
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/snapshots.go b/services/compute/mgmt/2019-07-01/compute/snapshots.go
new file mode 100644
index 000000000000..dc153b65164e
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/snapshots.go
@@ -0,0 +1,760 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// SnapshotsClient is the compute Client
+type SnapshotsClient struct {
+ BaseClient
+}
+
+// NewSnapshotsClient creates an instance of the SnapshotsClient client.
+func NewSnapshotsClient(subscriptionID string) SnapshotsClient {
+ return NewSnapshotsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client.
+func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient {
+ return SnapshotsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate creates or updates a snapshot.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot
+// is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
+// snapshot - snapshot object supplied in the body of the Put disk operation.
+func (client SnapshotsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, snapshotName string, snapshot Snapshot) (result SnapshotsCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: snapshot,
+ Constraints: []validation.Constraint{{Target: "snapshot.SnapshotProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "snapshot.SnapshotProperties.CreationData", Name: validation.Null, Rule: true,
+ Chain: []validation.Constraint{{Target: "snapshot.SnapshotProperties.CreationData.ImageReference", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "snapshot.SnapshotProperties.CreationData.ImageReference.ID", Name: validation.Null, Rule: true, Chain: nil}}},
+ }},
+ {Target: "snapshot.SnapshotProperties.EncryptionSettingsCollection", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "snapshot.SnapshotProperties.EncryptionSettingsCollection.Enabled", Name: validation.Null, Rule: true, Chain: nil}}},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.SnapshotsClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, snapshotName, snapshot)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, snapshot Snapshot) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "snapshotName": autorest.Encode("path", snapshotName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ snapshot.ManagedBy = nil
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", pathParameters),
+ autorest.WithJSON(snapshot),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete deletes a snapshot.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot
+// is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
+func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, snapshotName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "snapshotName": autorest.Encode("path", snapshotName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get gets information about a snapshot.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot
+// is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
+func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, snapshotName string) (result Snapshot, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, snapshotName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "snapshotName": autorest.Encode("path", snapshotName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// GrantAccess grants access to a snapshot.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot
+// is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
+// grantAccessData - access data object supplied in the body of the get snapshot access operation.
+func (client SnapshotsClient) GrantAccess(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData GrantAccessData) (result SnapshotsGrantAccessFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotsClient.GrantAccess")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: grantAccessData,
+ Constraints: []validation.Constraint{{Target: "grantAccessData.DurationInSeconds", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.SnapshotsClient", "GrantAccess", err.Error())
+ }
+
+ req, err := client.GrantAccessPreparer(ctx, resourceGroupName, snapshotName, grantAccessData)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "GrantAccess", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.GrantAccessSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "GrantAccess", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// GrantAccessPreparer prepares the GrantAccess request.
+func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData GrantAccessData) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "snapshotName": autorest.Encode("path", snapshotName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess", pathParameters),
+ autorest.WithJSON(grantAccessData),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GrantAccessSender sends the GrantAccess request. The method will close the
+// http.Response Body if it receives an error.
+func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// GrantAccessResponder handles the response to the GrantAccess request. The method always
+// closes the http.Response Body.
+func (client SnapshotsClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List lists snapshots under a subscription.
+func (client SnapshotsClient) List(ctx context.Context) (result SnapshotListPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotsClient.List")
+ defer func() {
+ sc := -1
+ if result.sl.Response.Response != nil {
+ sc = result.sl.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.sl.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.sl, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotList, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client SnapshotsClient) listNextResults(ctx context.Context, lastResults SnapshotList) (result SnapshotList, err error) {
+ req, err := lastResults.snapshotListPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.SnapshotsClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.SnapshotsClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client SnapshotsClient) ListComplete(ctx context.Context) (result SnapshotListIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotsClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx)
+ return
+}
+
+// ListByResourceGroup lists snapshots under a resource group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client SnapshotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SnapshotListPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotsClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.sl.Response.Response != nil {
+ sc = result.sl.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listByResourceGroupNextResults
+ req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "ListByResourceGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.sl.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "ListByResourceGroup", resp, "Failure sending request")
+ return
+ }
+
+ result.sl, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
+func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
+// closes the http.Response Body.
+func (client SnapshotsClient) ListByResourceGroupResponder(resp *http.Response) (result SnapshotList, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByResourceGroupNextResults retrieves the next set of results, if any.
+func (client SnapshotsClient) listByResourceGroupNextResults(ctx context.Context, lastResults SnapshotList) (result SnapshotList, err error) {
+ req, err := lastResults.snapshotListPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.SnapshotsClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByResourceGroupSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.SnapshotsClient", "listByResourceGroupNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByResourceGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
+func (client SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SnapshotListIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotsClient.ListByResourceGroup")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByResourceGroup(ctx, resourceGroupName)
+ return
+}
+
+// RevokeAccess revokes access to a snapshot.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot
+// is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
+func (client SnapshotsClient) RevokeAccess(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsRevokeAccessFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotsClient.RevokeAccess")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.RevokeAccessPreparer(ctx, resourceGroupName, snapshotName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "RevokeAccess", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.RevokeAccessSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "RevokeAccess", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// RevokeAccessPreparer prepares the RevokeAccess request.
+func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "snapshotName": autorest.Encode("path", snapshotName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// RevokeAccessSender sends the RevokeAccess request. The method will close the
+// http.Response Body if it receives an error.
+func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// RevokeAccessResponder handles the response to the RevokeAccess request. The method always
+// closes the http.Response Body.
+func (client SnapshotsClient) RevokeAccessResponder(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
+ return
+}
+
+// Update updates (patches) a snapshot.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot
+// is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
+// snapshot - snapshot object supplied in the body of the Patch snapshot operation.
+func (client SnapshotsClient) Update(ctx context.Context, resourceGroupName string, snapshotName string, snapshot SnapshotUpdate) (result SnapshotsUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/SnapshotsClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, snapshotName, snapshot)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.UpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "Update", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, snapshot SnapshotUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "snapshotName": autorest.Encode("path", snapshotName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2018-09-30"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", pathParameters),
+ autorest.WithJSON(snapshot),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/usage.go b/services/compute/mgmt/2019-07-01/compute/usage.go
new file mode 100644
index 000000000000..36565c1a55c7
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/usage.go
@@ -0,0 +1,162 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// UsageClient is the compute Client
+type UsageClient struct {
+ BaseClient
+}
+
+// NewUsageClient creates an instance of the UsageClient client.
+func NewUsageClient(subscriptionID string) UsageClient {
+ return NewUsageClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewUsageClientWithBaseURI creates an instance of the UsageClient client.
+func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
+ return UsageClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// List gets, for the specified location, the current compute resource usage information as well as the limits for
+// compute resources under the subscription.
+// Parameters:
+// location - the location for which resource usage is queried.
+func (client UsageClient) List(ctx context.Context, location string) (result ListUsagesResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/UsageClient.List")
+ defer func() {
+ sc := -1
+ if result.lur.Response.Response != nil {
+ sc = result.lur.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: location,
+ Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.UsageClient", "List", err.Error())
+ }
+
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx, location)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.UsageClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.lur.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.UsageClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.lur, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.UsageClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client UsageClient) ListPreparer(ctx context.Context, location string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client UsageClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client UsageClient) ListResponder(resp *http.Response) (result ListUsagesResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client UsageClient) listNextResults(ctx context.Context, lastResults ListUsagesResult) (result ListUsagesResult, err error) {
+ req, err := lastResults.listUsagesResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.UsageClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.UsageClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.UsageClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client UsageClient) ListComplete(ctx context.Context, location string) (result ListUsagesResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/UsageClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx, location)
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/version.go b/services/compute/mgmt/2019-07-01/compute/version.go
new file mode 100644
index 000000000000..7ad07e01584a
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/version.go
@@ -0,0 +1,30 @@
+package compute
+
+import "github.com/Azure/azure-sdk-for-go/version"
+
+// 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.
+
+// UserAgent returns the UserAgent string to use when sending http.Requests.
+func UserAgent() string {
+ return "Azure-SDK-For-Go/" + version.Number + " compute/2019-07-01"
+}
+
+// Version returns the semantic version (see http://semver.org) of the client.
+func Version() string {
+ return version.Number
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/virtualmachineextensionimages.go b/services/compute/mgmt/2019-07-01/compute/virtualmachineextensionimages.go
new file mode 100644
index 000000000000..94adf706bf31
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/virtualmachineextensionimages.go
@@ -0,0 +1,283 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// VirtualMachineExtensionImagesClient is the compute Client
+type VirtualMachineExtensionImagesClient struct {
+ BaseClient
+}
+
+// NewVirtualMachineExtensionImagesClient creates an instance of the VirtualMachineExtensionImagesClient client.
+func NewVirtualMachineExtensionImagesClient(subscriptionID string) VirtualMachineExtensionImagesClient {
+ return NewVirtualMachineExtensionImagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewVirtualMachineExtensionImagesClientWithBaseURI creates an instance of the VirtualMachineExtensionImagesClient
+// client.
+func NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionImagesClient {
+ return VirtualMachineExtensionImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// Get gets a virtual machine extension image.
+// Parameters:
+// location - the name of a supported Azure region.
+func (client VirtualMachineExtensionImagesClient) Get(ctx context.Context, location string, publisherName string, typeParameter string, version string) (result VirtualMachineExtensionImage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineExtensionImagesClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, location, publisherName, typeParameter, version)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, typeParameter string, version string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "publisherName": autorest.Encode("path", publisherName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "type": autorest.Encode("path", typeParameter),
+ "version": autorest.Encode("path", version),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineExtensionImagesClient) GetResponder(resp *http.Response) (result VirtualMachineExtensionImage, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListTypes gets a list of virtual machine extension image types.
+// Parameters:
+// location - the name of a supported Azure region.
+func (client VirtualMachineExtensionImagesClient) ListTypes(ctx context.Context, location string, publisherName string) (result ListVirtualMachineExtensionImage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineExtensionImagesClient.ListTypes")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListTypesPreparer(ctx, location, publisherName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "ListTypes", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListTypesSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "ListTypes", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListTypesResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "ListTypes", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListTypesPreparer prepares the ListTypes request.
+func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.Context, location string, publisherName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "publisherName": autorest.Encode("path", publisherName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListTypesSender sends the ListTypes request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListTypesResponder handles the response to the ListTypes request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineExtensionImagesClient) ListTypesResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result.Value),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListVersions gets a list of virtual machine extension image versions.
+// Parameters:
+// location - the name of a supported Azure region.
+// filter - the filter to apply on the operation.
+func (client VirtualMachineExtensionImagesClient) ListVersions(ctx context.Context, location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (result ListVirtualMachineExtensionImage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineExtensionImagesClient.ListVersions")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListVersionsPreparer(ctx, location, publisherName, typeParameter, filter, top, orderby)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "ListVersions", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListVersionsSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "ListVersions", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListVersionsResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "ListVersions", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListVersionsPreparer prepares the ListVersions request.
+func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx context.Context, location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "publisherName": autorest.Encode("path", publisherName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "type": autorest.Encode("path", typeParameter),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(filter) > 0 {
+ queryParameters["$filter"] = autorest.Encode("query", filter)
+ }
+ if top != nil {
+ queryParameters["$top"] = autorest.Encode("query", *top)
+ }
+ if len(orderby) > 0 {
+ queryParameters["$orderby"] = autorest.Encode("query", orderby)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListVersionsSender sends the ListVersions request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListVersionsResponder handles the response to the ListVersions request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineExtensionImagesClient) ListVersionsResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result.Value),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/virtualmachineextensions.go b/services/compute/mgmt/2019-07-01/compute/virtualmachineextensions.go
new file mode 100644
index 000000000000..bb80694c6340
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/virtualmachineextensions.go
@@ -0,0 +1,447 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// VirtualMachineExtensionsClient is the compute Client
+type VirtualMachineExtensionsClient struct {
+ BaseClient
+}
+
+// NewVirtualMachineExtensionsClient creates an instance of the VirtualMachineExtensionsClient client.
+func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExtensionsClient {
+ return NewVirtualMachineExtensionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewVirtualMachineExtensionsClientWithBaseURI creates an instance of the VirtualMachineExtensionsClient client.
+func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient {
+ return VirtualMachineExtensionsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate the operation to create or update the extension.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine where the extension should be created or updated.
+// VMExtensionName - the name of the virtual machine extension.
+// extensionParameters - parameters supplied to the Create Virtual Machine Extension operation.
+func (client VirtualMachineExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension) (result VirtualMachineExtensionsCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineExtensionsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, VMName, VMExtensionName, extensionParameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmExtensionName": autorest.Encode("path", VMExtensionName),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}", pathParameters),
+ autorest.WithJSON(extensionParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete the operation to delete the extension.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine where the extension should be deleted.
+// VMExtensionName - the name of the virtual machine extension.
+func (client VirtualMachineExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (result VirtualMachineExtensionsDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineExtensionsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, VMName, VMExtensionName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmExtensionName": autorest.Encode("path", VMExtensionName),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get the operation to get the extension.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine containing the extension.
+// VMExtensionName - the name of the virtual machine extension.
+// expand - the expand expression to apply on the operation.
+func (client VirtualMachineExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (result VirtualMachineExtension, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineExtensionsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, VMName, VMExtensionName, expand)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmExtensionName": autorest.Encode("path", VMExtensionName),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(expand) > 0 {
+ queryParameters["$expand"] = autorest.Encode("query", expand)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineExtension, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List the operation to get all extensions of a Virtual Machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine containing the extension.
+// expand - the expand expression to apply on the operation.
+func (client VirtualMachineExtensionsClient) List(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineExtensionsListResult, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineExtensionsClient.List")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListPreparer(ctx, resourceGroupName, VMName, expand)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client VirtualMachineExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMName string, expand string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(expand) > 0 {
+ queryParameters["$expand"] = autorest.Encode("query", expand)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineExtensionsListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Update the operation to update the extension.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine where the extension should be updated.
+// VMExtensionName - the name of the virtual machine extension.
+// extensionParameters - parameters supplied to the Update Virtual Machine Extension operation.
+func (client VirtualMachineExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtensionUpdate) (result VirtualMachineExtensionsUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineExtensionsClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, VMName, VMExtensionName, extensionParameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.UpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "Update", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtensionUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmExtensionName": autorest.Encode("path", VMExtensionName),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}", pathParameters),
+ autorest.WithJSON(extensionParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/virtualmachineimages.go b/services/compute/mgmt/2019-07-01/compute/virtualmachineimages.go
new file mode 100644
index 000000000000..2843539d6a81
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/virtualmachineimages.go
@@ -0,0 +1,446 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// VirtualMachineImagesClient is the compute Client
+type VirtualMachineImagesClient struct {
+ BaseClient
+}
+
+// NewVirtualMachineImagesClient creates an instance of the VirtualMachineImagesClient client.
+func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesClient {
+ return NewVirtualMachineImagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewVirtualMachineImagesClientWithBaseURI creates an instance of the VirtualMachineImagesClient client.
+func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient {
+ return VirtualMachineImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// Get gets a virtual machine image.
+// Parameters:
+// location - the name of a supported Azure region.
+// publisherName - a valid image publisher.
+// offer - a valid image publisher offer.
+// skus - a valid image SKU.
+// version - a valid image SKU version.
+func (client VirtualMachineImagesClient) Get(ctx context.Context, location string, publisherName string, offer string, skus string, version string) (result VirtualMachineImage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineImagesClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, location, publisherName, offer, skus, version)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, offer string, skus string, version string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "offer": autorest.Encode("path", offer),
+ "publisherName": autorest.Encode("path", publisherName),
+ "skus": autorest.Encode("path", skus),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "version": autorest.Encode("path", version),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineImagesClient) GetResponder(resp *http.Response) (result VirtualMachineImage, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.
+// Parameters:
+// location - the name of a supported Azure region.
+// publisherName - a valid image publisher.
+// offer - a valid image publisher offer.
+// skus - a valid image SKU.
+// filter - the filter to apply on the operation.
+func (client VirtualMachineImagesClient) List(ctx context.Context, location string, publisherName string, offer string, skus string, filter string, top *int32, orderby string) (result ListVirtualMachineImageResource, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineImagesClient.List")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListPreparer(ctx, location, publisherName, offer, skus, filter, top, orderby)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, location string, publisherName string, offer string, skus string, filter string, top *int32, orderby string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "offer": autorest.Encode("path", offer),
+ "publisherName": autorest.Encode("path", publisherName),
+ "skus": autorest.Encode("path", skus),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(filter) > 0 {
+ queryParameters["$filter"] = autorest.Encode("query", filter)
+ }
+ if top != nil {
+ queryParameters["$top"] = autorest.Encode("query", *top)
+ }
+ if len(orderby) > 0 {
+ queryParameters["$orderby"] = autorest.Encode("query", orderby)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineImagesClient) ListResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result.Value),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListOffers gets a list of virtual machine image offers for the specified location and publisher.
+// Parameters:
+// location - the name of a supported Azure region.
+// publisherName - a valid image publisher.
+func (client VirtualMachineImagesClient) ListOffers(ctx context.Context, location string, publisherName string) (result ListVirtualMachineImageResource, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineImagesClient.ListOffers")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListOffersPreparer(ctx, location, publisherName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListOffers", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListOffersSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListOffers", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListOffersResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListOffers", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListOffersPreparer prepares the ListOffers request.
+func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context, location string, publisherName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "publisherName": autorest.Encode("path", publisherName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListOffersSender sends the ListOffers request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListOffersResponder handles the response to the ListOffers request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineImagesClient) ListOffersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result.Value),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListPublishers gets a list of virtual machine image publishers for the specified Azure location.
+// Parameters:
+// location - the name of a supported Azure region.
+func (client VirtualMachineImagesClient) ListPublishers(ctx context.Context, location string) (result ListVirtualMachineImageResource, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineImagesClient.ListPublishers")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListPublishersPreparer(ctx, location)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListPublishers", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListPublishersSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListPublishers", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListPublishersResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListPublishers", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPublishersPreparer prepares the ListPublishers request.
+func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Context, location string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListPublishersSender sends the ListPublishers request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListPublishersResponder handles the response to the ListPublishers request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineImagesClient) ListPublishersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result.Value),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListSkus gets a list of virtual machine image SKUs for the specified location, publisher, and offer.
+// Parameters:
+// location - the name of a supported Azure region.
+// publisherName - a valid image publisher.
+// offer - a valid image publisher offer.
+func (client VirtualMachineImagesClient) ListSkus(ctx context.Context, location string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineImagesClient.ListSkus")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListSkusPreparer(ctx, location, publisherName, offer)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListSkus", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSkusSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListSkus", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListSkusResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListSkus", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListSkusPreparer prepares the ListSkus request.
+func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, location string, publisherName string, offer string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "offer": autorest.Encode("path", offer),
+ "publisherName": autorest.Encode("path", publisherName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSkusSender sends the ListSkus request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListSkusResponder handles the response to the ListSkus request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineImagesClient) ListSkusResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result.Value),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/virtualmachineruncommands.go b/services/compute/mgmt/2019-07-01/compute/virtualmachineruncommands.go
new file mode 100644
index 000000000000..e2b53b704796
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/virtualmachineruncommands.go
@@ -0,0 +1,244 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// VirtualMachineRunCommandsClient is the compute Client
+type VirtualMachineRunCommandsClient struct {
+ BaseClient
+}
+
+// NewVirtualMachineRunCommandsClient creates an instance of the VirtualMachineRunCommandsClient client.
+func NewVirtualMachineRunCommandsClient(subscriptionID string) VirtualMachineRunCommandsClient {
+ return NewVirtualMachineRunCommandsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewVirtualMachineRunCommandsClientWithBaseURI creates an instance of the VirtualMachineRunCommandsClient client.
+func NewVirtualMachineRunCommandsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineRunCommandsClient {
+ return VirtualMachineRunCommandsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// Get gets specific run command for a subscription in a location.
+// Parameters:
+// location - the location upon which run commands is queried.
+// commandID - the command id.
+func (client VirtualMachineRunCommandsClient) Get(ctx context.Context, location string, commandID string) (result RunCommandDocument, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineRunCommandsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: location,
+ Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachineRunCommandsClient", "Get", err.Error())
+ }
+
+ req, err := client.GetPreparer(ctx, location, commandID)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client VirtualMachineRunCommandsClient) GetPreparer(ctx context.Context, location string, commandID string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "commandId": autorest.Encode("path", commandID),
+ "location": autorest.Encode("path", location),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineRunCommandsClient) GetResponder(resp *http.Response) (result RunCommandDocument, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List lists all available run commands for a subscription in a location.
+// Parameters:
+// location - the location upon which run commands is queried.
+func (client VirtualMachineRunCommandsClient) List(ctx context.Context, location string) (result RunCommandListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineRunCommandsClient.List")
+ defer func() {
+ sc := -1
+ if result.rclr.Response.Response != nil {
+ sc = result.rclr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: location,
+ Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachineRunCommandsClient", "List", err.Error())
+ }
+
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx, location)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.rclr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.rclr, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client VirtualMachineRunCommandsClient) ListPreparer(ctx context.Context, location string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineRunCommandsClient) ListResponder(resp *http.Response) (result RunCommandListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client VirtualMachineRunCommandsClient) listNextResults(ctx context.Context, lastResults RunCommandListResult) (result RunCommandListResult, err error) {
+ req, err := lastResults.runCommandListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client VirtualMachineRunCommandsClient) ListComplete(ctx context.Context, location string) (result RunCommandListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineRunCommandsClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx, location)
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/virtualmachines.go b/services/compute/mgmt/2019-07-01/compute/virtualmachines.go
new file mode 100644
index 000000000000..dedeebb8deb9
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/virtualmachines.go
@@ -0,0 +1,1755 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// VirtualMachinesClient is the compute Client
+type VirtualMachinesClient struct {
+ BaseClient
+}
+
+// NewVirtualMachinesClient creates an instance of the VirtualMachinesClient client.
+func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient {
+ return NewVirtualMachinesClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewVirtualMachinesClientWithBaseURI creates an instance of the VirtualMachinesClient client.
+func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient {
+ return VirtualMachinesClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// Capture captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create
+// similar VMs.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+// parameters - parameters supplied to the Capture Virtual Machine operation.
+func (client VirtualMachinesClient) Capture(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters) (result VirtualMachinesCaptureFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.Capture")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.VhdPrefix", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "parameters.DestinationContainerName", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "parameters.OverwriteVhds", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachinesClient", "Capture", err.Error())
+ }
+
+ req, err := client.CapturePreparer(ctx, resourceGroupName, VMName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Capture", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CaptureSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Capture", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CapturePreparer prepares the Capture request.
+func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CaptureSender sends the Capture request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CaptureResponder handles the response to the Capture request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (result VirtualMachineCaptureResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ConvertToManagedDisks converts virtual machine disks from blob-based to managed disks. Virtual machine must be
+// stop-deallocated before invoking this operation.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+func (client VirtualMachinesClient) ConvertToManagedDisks(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesConvertToManagedDisksFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.ConvertToManagedDisks")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ConvertToManagedDisksPreparer(ctx, resourceGroupName, VMName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ConvertToManagedDisks", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.ConvertToManagedDisksSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ConvertToManagedDisks", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// ConvertToManagedDisksPreparer prepares the ConvertToManagedDisks request.
+func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// ConvertToManagedDisksResponder handles the response to the ConvertToManagedDisks request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) ConvertToManagedDisksResponder(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
+ return
+}
+
+// CreateOrUpdate the operation to create or update a virtual machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+// parameters - parameters supplied to the Create Virtual Machine operation.
+func (client VirtualMachinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachine) (result VirtualMachinesCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.VirtualMachineProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineProperties.StorageProfile", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk.EncryptionSettings", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey.SecretURL", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey.SourceVault", Name: validation.Null, Rule: true, Chain: nil},
+ }},
+ {Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey.KeyURL", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey.SourceVault", Name: validation.Null, Rule: true, Chain: nil},
+ }},
+ }},
+ }},
+ }},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachinesClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, VMName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachine) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ parameters.Resources = nil
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Deallocate shuts down the virtual machine and releases the compute resources. You are not billed for the compute
+// resources that this virtual machine uses.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+func (client VirtualMachinesClient) Deallocate(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesDeallocateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.Deallocate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeallocatePreparer(ctx, resourceGroupName, VMName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Deallocate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeallocateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Deallocate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeallocatePreparer prepares the Deallocate request.
+func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeallocateSender sends the Deallocate request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeallocateResponder handles the response to the Deallocate request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) DeallocateResponder(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
+ return
+}
+
+// Delete the operation to delete a virtual machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+func (client VirtualMachinesClient) Delete(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, VMName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Generalize sets the state of the virtual machine to generalized.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+func (client VirtualMachinesClient) Generalize(ctx context.Context, resourceGroupName string, VMName string) (result autorest.Response, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.Generalize")
+ defer func() {
+ sc := -1
+ if result.Response != nil {
+ sc = result.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GeneralizePreparer(ctx, resourceGroupName, VMName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Generalize", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GeneralizeSender(req)
+ if err != nil {
+ result.Response = resp
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Generalize", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GeneralizeResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Generalize", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GeneralizePreparer prepares the Generalize request.
+func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GeneralizeSender sends the Generalize request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GeneralizeResponder handles the response to the Generalize request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) GeneralizeResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get retrieves information about the model view or the instance view of a virtual machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+// expand - the expand expression to apply on the operation.
+func (client VirtualMachinesClient) Get(ctx context.Context, resourceGroupName string, VMName string, expand InstanceViewTypes) (result VirtualMachine, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, VMName, expand)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, expand InstanceViewTypes) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(string(expand)) > 0 {
+ queryParameters["$expand"] = autorest.Encode("query", expand)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) GetResponder(resp *http.Response) (result VirtualMachine, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// InstanceView retrieves information about the run-time state of a virtual machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+func (client VirtualMachinesClient) InstanceView(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineInstanceView, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.InstanceView")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.InstanceViewPreparer(ctx, resourceGroupName, VMName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "InstanceView", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.InstanceViewSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "InstanceView", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.InstanceViewResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "InstanceView", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// InstanceViewPreparer prepares the InstanceView request.
+func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// InstanceViewSender sends the InstanceView request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// InstanceViewResponder handles the response to the InstanceView request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) InstanceViewResponder(resp *http.Response) (result VirtualMachineInstanceView, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to
+// get the next page of virtual machines.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client VirtualMachinesClient) List(ctx context.Context, resourceGroupName string) (result VirtualMachineListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.List")
+ defer func() {
+ sc := -1
+ if result.vmlr.Response.Response != nil {
+ sc = result.vmlr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.vmlr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.vmlr, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) ListResponder(resp *http.Response) (result VirtualMachineListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client VirtualMachinesClient) listNextResults(ctx context.Context, lastResults VirtualMachineListResult) (result VirtualMachineListResult, err error) {
+ req, err := lastResults.virtualMachineListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client VirtualMachinesClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualMachineListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx, resourceGroupName)
+ return
+}
+
+// ListAll lists all of the virtual machines in the specified subscription. Use the nextLink property in the response
+// to get the next page of virtual machines.
+func (client VirtualMachinesClient) ListAll(ctx context.Context) (result VirtualMachineListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.ListAll")
+ defer func() {
+ sc := -1
+ if result.vmlr.Response.Response != nil {
+ sc = result.vmlr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listAllNextResults
+ req, err := client.ListAllPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListAll", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListAllSender(req)
+ if err != nil {
+ result.vmlr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListAll", resp, "Failure sending request")
+ return
+ }
+
+ result.vmlr, err = client.ListAllResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListAll", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListAllPreparer prepares the ListAll request.
+func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListAllSender sends the ListAll request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListAllResponder handles the response to the ListAll request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) ListAllResponder(resp *http.Response) (result VirtualMachineListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listAllNextResults retrieves the next set of results, if any.
+func (client VirtualMachinesClient) listAllNextResults(ctx context.Context, lastResults VirtualMachineListResult) (result VirtualMachineListResult, err error) {
+ req, err := lastResults.virtualMachineListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listAllNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListAllSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listAllNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListAllResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listAllNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListAllComplete enumerates all values, automatically crossing page boundaries as required.
+func (client VirtualMachinesClient) ListAllComplete(ctx context.Context) (result VirtualMachineListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.ListAll")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListAll(ctx)
+ return
+}
+
+// ListAvailableSizes lists all available virtual machine sizes to which the specified virtual machine can be resized.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+func (client VirtualMachinesClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineSizeListResult, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.ListAvailableSizes")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ListAvailableSizesPreparer(ctx, resourceGroupName, VMName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListAvailableSizes", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListAvailableSizesSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListAvailableSizes", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListAvailableSizesResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListAvailableSizes", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListAvailableSizesPreparer prepares the ListAvailableSizes request.
+func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/vmSizes", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// ListByLocation gets all the virtual machines under the specified subscription for the specified location.
+// Parameters:
+// location - the location for which virtual machines under the subscription are queried.
+func (client VirtualMachinesClient) ListByLocation(ctx context.Context, location string) (result VirtualMachineListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.ListByLocation")
+ defer func() {
+ sc := -1
+ if result.vmlr.Response.Response != nil {
+ sc = result.vmlr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: location,
+ Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachinesClient", "ListByLocation", err.Error())
+ }
+
+ result.fn = client.listByLocationNextResults
+ req, err := client.ListByLocationPreparer(ctx, location)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListByLocation", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListByLocationSender(req)
+ if err != nil {
+ result.vmlr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListByLocation", resp, "Failure sending request")
+ return
+ }
+
+ result.vmlr, err = client.ListByLocationResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListByLocation", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListByLocationPreparer prepares the ListByLocation request.
+func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context, location string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListByLocationSender sends the ListByLocation request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) ListByLocationSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListByLocationResponder handles the response to the ListByLocation request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) ListByLocationResponder(resp *http.Response) (result VirtualMachineListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listByLocationNextResults retrieves the next set of results, if any.
+func (client VirtualMachinesClient) listByLocationNextResults(ctx context.Context, lastResults VirtualMachineListResult) (result VirtualMachineListResult, err error) {
+ req, err := lastResults.virtualMachineListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listByLocationNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListByLocationSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listByLocationNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListByLocationResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listByLocationNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.
+func (client VirtualMachinesClient) ListByLocationComplete(ctx context.Context, location string) (result VirtualMachineListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.ListByLocation")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListByLocation(ctx, location)
+ return
+}
+
+// PerformMaintenance the operation to perform maintenance on a virtual machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+func (client VirtualMachinesClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesPerformMaintenanceFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.PerformMaintenance")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.PerformMaintenancePreparer(ctx, resourceGroupName, VMName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "PerformMaintenance", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.PerformMaintenanceSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "PerformMaintenance", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// PerformMaintenancePreparer prepares the PerformMaintenance request.
+func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachinesPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// PerformMaintenanceResponder handles the response to the PerformMaintenance request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) PerformMaintenanceResponder(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
+ return
+}
+
+// PowerOff the operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same
+// provisioned resources. You are still charged for this virtual machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+// skipShutdown - the parameter to request non-graceful VM shutdown. True value for this flag indicates
+// non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not
+// specified
+func (client VirtualMachinesClient) PowerOff(ctx context.Context, resourceGroupName string, VMName string, skipShutdown *bool) (result VirtualMachinesPowerOffFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.PowerOff")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.PowerOffPreparer(ctx, resourceGroupName, VMName, skipShutdown)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "PowerOff", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.PowerOffSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "PowerOff", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// PowerOffPreparer prepares the PowerOff request.
+func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMName string, skipShutdown *bool) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if skipShutdown != nil {
+ queryParameters["skipShutdown"] = autorest.Encode("query", *skipShutdown)
+ } else {
+ queryParameters["skipShutdown"] = autorest.Encode("query", false)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// PowerOffSender sends the PowerOff request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// PowerOffResponder handles the response to the PowerOff request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) PowerOffResponder(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
+ return
+}
+
+// Redeploy the operation to redeploy a virtual machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+func (client VirtualMachinesClient) Redeploy(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRedeployFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.Redeploy")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.RedeployPreparer(ctx, resourceGroupName, VMName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Redeploy", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.RedeploySender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Redeploy", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// RedeployPreparer prepares the Redeploy request.
+func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// RedeploySender sends the Redeploy request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// RedeployResponder handles the response to the Redeploy request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) RedeployResponder(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
+ return
+}
+
+// Reimage reimages the virtual machine which has an ephemeral OS disk back to its initial state.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+// parameters - parameters supplied to the Reimage Virtual Machine operation.
+func (client VirtualMachinesClient) Reimage(ctx context.Context, resourceGroupName string, VMName string, parameters *VirtualMachineReimageParameters) (result VirtualMachinesReimageFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.Reimage")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ReimagePreparer(ctx, resourceGroupName, VMName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Reimage", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.ReimageSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Reimage", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// ReimagePreparer prepares the Reimage request.
+func (client VirtualMachinesClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters *VirtualMachineReimageParameters) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ if parameters != nil {
+ preparer = autorest.DecoratePreparer(preparer,
+ autorest.WithJSON(parameters))
+ }
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ReimageSender sends the Reimage request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) ReimageSender(req *http.Request) (future VirtualMachinesReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// ReimageResponder handles the response to the Reimage request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) ReimageResponder(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
+ return
+}
+
+// Restart the operation to restart a virtual machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+func (client VirtualMachinesClient) Restart(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRestartFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.Restart")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.RestartPreparer(ctx, resourceGroupName, VMName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Restart", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.RestartSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Restart", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// RestartPreparer prepares the Restart request.
+func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// RestartSender sends the Restart request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// RestartResponder handles the response to the Restart request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) RestartResponder(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
+ return
+}
+
+// RunCommand run command on the VM.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+// parameters - parameters supplied to the Run command operation.
+func (client VirtualMachinesClient) RunCommand(ctx context.Context, resourceGroupName string, VMName string, parameters RunCommandInput) (result VirtualMachinesRunCommandFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.RunCommand")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.CommandID", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachinesClient", "RunCommand", err.Error())
+ }
+
+ req, err := client.RunCommandPreparer(ctx, resourceGroupName, VMName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "RunCommand", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.RunCommandSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "RunCommand", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// RunCommandPreparer prepares the RunCommand request.
+func (client VirtualMachinesClient) RunCommandPreparer(ctx context.Context, resourceGroupName string, VMName string, parameters RunCommandInput) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// RunCommandSender sends the RunCommand request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (future VirtualMachinesRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// RunCommandResponder handles the response to the RunCommand request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Start the operation to start a virtual machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+func (client VirtualMachinesClient) Start(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesStartFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.Start")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.StartPreparer(ctx, resourceGroupName, VMName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Start", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.StartSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Start", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// StartPreparer prepares the Start request.
+func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// StartSender sends the Start request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// StartResponder handles the response to the Start request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) StartResponder(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
+ return
+}
+
+// Update the operation to update a virtual machine.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMName - the name of the virtual machine.
+// parameters - parameters supplied to the Update Virtual Machine operation.
+func (client VirtualMachinesClient) Update(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineUpdate) (result VirtualMachinesUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachinesClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, VMName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.UpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Update", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmName": autorest.Encode("path", VMName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachinesClient) UpdateSender(req *http.Request) (future VirtualMachinesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client VirtualMachinesClient) UpdateResponder(resp *http.Response) (result VirtualMachine, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetextensions.go b/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetextensions.go
new file mode 100644
index 000000000000..041df6980553
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetextensions.go
@@ -0,0 +1,400 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// VirtualMachineScaleSetExtensionsClient is the compute Client
+type VirtualMachineScaleSetExtensionsClient struct {
+ BaseClient
+}
+
+// NewVirtualMachineScaleSetExtensionsClient creates an instance of the VirtualMachineScaleSetExtensionsClient client.
+func NewVirtualMachineScaleSetExtensionsClient(subscriptionID string) VirtualMachineScaleSetExtensionsClient {
+ return NewVirtualMachineScaleSetExtensionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewVirtualMachineScaleSetExtensionsClientWithBaseURI creates an instance of the
+// VirtualMachineScaleSetExtensionsClient client.
+func NewVirtualMachineScaleSetExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetExtensionsClient {
+ return VirtualMachineScaleSetExtensionsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// CreateOrUpdate the operation to create or update an extension.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set where the extension should be create or updated.
+// vmssExtensionName - the name of the VM scale set extension.
+// extensionParameters - parameters supplied to the Create VM scale set Extension operation.
+func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension) (result VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetExtensionsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, VMScaleSetName, vmssExtensionName, extensionParameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ "vmssExtensionName": autorest.Encode("path", vmssExtensionName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}", pathParameters),
+ autorest.WithJSON(extensionParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Delete the operation to delete the extension.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set where the extension should be deleted.
+// vmssExtensionName - the name of the VM scale set extension.
+func (client VirtualMachineScaleSetExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string) (result VirtualMachineScaleSetExtensionsDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetExtensionsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, VMScaleSetName, vmssExtensionName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ "vmssExtensionName": autorest.Encode("path", vmssExtensionName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get the operation to get the extension.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set containing the extension.
+// vmssExtensionName - the name of the VM scale set extension.
+// expand - the expand expression to apply on the operation.
+func (client VirtualMachineScaleSetExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (result VirtualMachineScaleSetExtension, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetExtensionsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, VMScaleSetName, vmssExtensionName, expand)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ "vmssExtensionName": autorest.Encode("path", vmssExtensionName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(expand) > 0 {
+ queryParameters["$expand"] = autorest.Encode("query", expand)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetExtensionsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List gets a list of all extensions in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set containing the extension.
+func (client VirtualMachineScaleSetExtensionsClient) List(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetExtensionsClient.List")
+ defer func() {
+ sc := -1
+ if result.vmsselr.Response.Response != nil {
+ sc = result.vmsselr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx, resourceGroupName, VMScaleSetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.vmsselr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.vmsselr, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetExtensionsClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetExtensionListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client VirtualMachineScaleSetExtensionsClient) listNextResults(ctx context.Context, lastResults VirtualMachineScaleSetExtensionListResult) (result VirtualMachineScaleSetExtensionListResult, err error) {
+ req, err := lastResults.virtualMachineScaleSetExtensionListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client VirtualMachineScaleSetExtensionsClient) ListComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetExtensionsClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx, resourceGroupName, VMScaleSetName)
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetrollingupgrades.go b/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetrollingupgrades.go
new file mode 100644
index 000000000000..6bdc9f2b3224
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetrollingupgrades.go
@@ -0,0 +1,351 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// VirtualMachineScaleSetRollingUpgradesClient is the compute Client
+type VirtualMachineScaleSetRollingUpgradesClient struct {
+ BaseClient
+}
+
+// NewVirtualMachineScaleSetRollingUpgradesClient creates an instance of the
+// VirtualMachineScaleSetRollingUpgradesClient client.
+func NewVirtualMachineScaleSetRollingUpgradesClient(subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient {
+ return NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI creates an instance of the
+// VirtualMachineScaleSetRollingUpgradesClient client.
+func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient {
+ return VirtualMachineScaleSetRollingUpgradesClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// Cancel cancels the current virtual machine scale set rolling upgrade.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+func (client VirtualMachineScaleSetRollingUpgradesClient) Cancel(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesCancelFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetRollingUpgradesClient.Cancel")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.CancelPreparer(ctx, resourceGroupName, VMScaleSetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesClient", "Cancel", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CancelSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesClient", "Cancel", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CancelPreparer prepares the Cancel request.
+func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CancelSender sends the Cancel request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CancelResponder handles the response to the Cancel request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetRollingUpgradesClient) CancelResponder(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
+ return
+}
+
+// GetLatest gets the status of the latest virtual machine scale set rolling upgrade.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatest(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result RollingUpgradeStatusInfo, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetRollingUpgradesClient.GetLatest")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetLatestPreparer(ctx, resourceGroupName, VMScaleSetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesClient", "GetLatest", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetLatestSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesClient", "GetLatest", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetLatestResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesClient", "GetLatest", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetLatestPreparer prepares the GetLatest request.
+func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetLatestSender sends the GetLatest request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetLatestResponder handles the response to the GetLatest request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestResponder(resp *http.Response) (result RollingUpgradeStatusInfo, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// StartExtensionUpgrade starts a rolling upgrade to move all extensions for all virtual machine scale set instances to
+// the latest available extension version. Instances which are already running the latest extension versions are not
+// affected.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetRollingUpgradesClient.StartExtensionUpgrade")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.StartExtensionUpgradePreparer(ctx, resourceGroupName, VMScaleSetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesClient", "StartExtensionUpgrade", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.StartExtensionUpgradeSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesClient", "StartExtensionUpgrade", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// StartExtensionUpgradePreparer prepares the StartExtensionUpgrade request.
+func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// StartExtensionUpgradeSender sends the StartExtensionUpgrade request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// StartExtensionUpgradeResponder handles the response to the StartExtensionUpgrade request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeResponder(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
+ return
+}
+
+// StartOSUpgrade starts a rolling upgrade to move all virtual machine scale set instances to the latest available
+// Platform Image OS version. Instances which are already running the latest available OS version are not affected.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetRollingUpgradesClient.StartOSUpgrade")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.StartOSUpgradePreparer(ctx, resourceGroupName, VMScaleSetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesClient", "StartOSUpgrade", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.StartOSUpgradeSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesClient", "StartOSUpgrade", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// StartOSUpgradePreparer prepares the StartOSUpgrade request.
+func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// StartOSUpgradeResponder handles the response to the StartOSUpgrade request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder(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
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesets.go b/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesets.go
new file mode 100644
index 000000000000..97916d2125d0
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesets.go
@@ -0,0 +1,1905 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// VirtualMachineScaleSetsClient is the compute Client
+type VirtualMachineScaleSetsClient struct {
+ BaseClient
+}
+
+// NewVirtualMachineScaleSetsClient creates an instance of the VirtualMachineScaleSetsClient client.
+func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient {
+ return NewVirtualMachineScaleSetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewVirtualMachineScaleSetsClientWithBaseURI creates an instance of the VirtualMachineScaleSetsClient client.
+func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient {
+ return VirtualMachineScaleSetsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// ConvertToSinglePlacementGroup converts SinglePlacementGroup property to false for a existing virtual machine scale
+// set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the virtual machine scale set to create or update.
+// parameters - the input object for ConvertToSinglePlacementGroup API.
+func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroup(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VMScaleSetConvertToSinglePlacementGroupInput) (result autorest.Response, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.ConvertToSinglePlacementGroup")
+ defer func() {
+ sc := -1
+ if result.Response != nil {
+ sc = result.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ConvertToSinglePlacementGroupPreparer(ctx, resourceGroupName, VMScaleSetName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ConvertToSinglePlacementGroup", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ConvertToSinglePlacementGroupSender(req)
+ if err != nil {
+ result.Response = resp
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ConvertToSinglePlacementGroup", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ConvertToSinglePlacementGroupResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ConvertToSinglePlacementGroup", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ConvertToSinglePlacementGroupPreparer prepares the ConvertToSinglePlacementGroup request.
+func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VMScaleSetConvertToSinglePlacementGroupInput) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup", pathParameters),
+ autorest.WithJSON(parameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ConvertToSinglePlacementGroupSender sends the ConvertToSinglePlacementGroup request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ConvertToSinglePlacementGroupResponder handles the response to the ConvertToSinglePlacementGroup request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// CreateOrUpdate create or update a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set to create or update.
+// parameters - the scale set object.
+func (client VirtualMachineScaleSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet) (result VirtualMachineScaleSetsCreateOrUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.CreateOrUpdate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy.RollingUpgradePolicy", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy.RollingUpgradePolicy.MaxBatchInstancePercent", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy.RollingUpgradePolicy.MaxBatchInstancePercent", Name: validation.InclusiveMaximum, Rule: int64(100), Chain: nil},
+ {Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy.RollingUpgradePolicy.MaxBatchInstancePercent", Name: validation.InclusiveMinimum, Rule: 5, Chain: nil},
+ }},
+ {Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy.RollingUpgradePolicy.MaxUnhealthyInstancePercent", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy.RollingUpgradePolicy.MaxUnhealthyInstancePercent", Name: validation.InclusiveMaximum, Rule: int64(100), Chain: nil},
+ {Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy.RollingUpgradePolicy.MaxUnhealthyInstancePercent", Name: validation.InclusiveMinimum, Rule: 5, Chain: nil},
+ }},
+ {Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy.RollingUpgradePolicy.MaxUnhealthyUpgradedInstancePercent", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy.RollingUpgradePolicy.MaxUnhealthyUpgradedInstancePercent", Name: validation.InclusiveMaximum, Rule: int64(100), Chain: nil},
+ {Target: "parameters.VirtualMachineScaleSetProperties.UpgradePolicy.RollingUpgradePolicy.MaxUnhealthyUpgradedInstancePercent", Name: validation.InclusiveMinimum, Rule: 0, Chain: nil},
+ }},
+ }},
+ }},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachineScaleSetsClient", "CreateOrUpdate", err.Error())
+ }
+
+ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, VMScaleSetName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "CreateOrUpdate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.CreateOrUpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
+func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Deallocate deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the
+// compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
+func (client VirtualMachineScaleSetsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsDeallocateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.Deallocate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeallocatePreparer(ctx, resourceGroupName, VMScaleSetName, VMInstanceIDs)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Deallocate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeallocateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Deallocate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeallocatePreparer prepares the Deallocate request.
+func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ if VMInstanceIDs != nil {
+ preparer = autorest.DecoratePreparer(preparer,
+ autorest.WithJSON(VMInstanceIDs))
+ }
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeallocateSender sends the Deallocate request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeallocateResponder handles the response to the Deallocate request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) DeallocateResponder(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
+ return
+}
+
+// Delete deletes a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+func (client VirtualMachineScaleSetsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetsDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, VMScaleSetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// DeleteInstances deletes virtual machines in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
+func (client VirtualMachineScaleSetsClient) DeleteInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (result VirtualMachineScaleSetsDeleteInstancesFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.DeleteInstances")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: VMInstanceIDs,
+ Constraints: []validation.Constraint{{Target: "VMInstanceIDs.InstanceIds", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachineScaleSetsClient", "DeleteInstances", err.Error())
+ }
+
+ req, err := client.DeleteInstancesPreparer(ctx, resourceGroupName, VMScaleSetName, VMInstanceIDs)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "DeleteInstances", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteInstancesSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "DeleteInstances", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeleteInstancesPreparer prepares the DeleteInstances request.
+func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete", pathParameters),
+ autorest.WithJSON(VMInstanceIDs),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteInstancesSender sends the DeleteInstances request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteInstancesResponder handles the response to the DeleteInstances request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) DeleteInstancesResponder(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
+ return
+}
+
+// ForceRecoveryServiceFabricPlatformUpdateDomainWalk manual platform update domain walk to update virtual machines in
+// a service fabric virtual machine scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// platformUpdateDomain - the platform update domain for which a manual recovery walk is requested
+func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalk(ctx context.Context, resourceGroupName string, VMScaleSetName string, platformUpdateDomain int32) (result RecoveryWalkResponse, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.ForceRecoveryServiceFabricPlatformUpdateDomainWalk")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer(ctx, resourceGroupName, VMScaleSetName, platformUpdateDomain)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ForceRecoveryServiceFabricPlatformUpdateDomainWalk", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ForceRecoveryServiceFabricPlatformUpdateDomainWalk", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ForceRecoveryServiceFabricPlatformUpdateDomainWalk", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer prepares the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request.
+func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, platformUpdateDomain int32) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ "platformUpdateDomain": autorest.Encode("query", platformUpdateDomain),
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender sends the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder handles the response to the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder(resp *http.Response) (result RecoveryWalkResponse, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Get display information about a virtual machine scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+func (client VirtualMachineScaleSetsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSet, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, VMScaleSetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSet, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// GetInstanceView gets the status of a VM scale set instance.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+func (client VirtualMachineScaleSetsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetInstanceView, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.GetInstanceView")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetInstanceViewPreparer(ctx, resourceGroupName, VMScaleSetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "GetInstanceView", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetInstanceViewSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "GetInstanceView", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetInstanceViewResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "GetInstanceView", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetInstanceViewPreparer prepares the GetInstanceView request.
+func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetInstanceViewSender sends the GetInstanceView request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetInstanceView, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// GetOSUpgradeHistory gets list of OS upgrades on a VM scale set instance.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistory(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListOSUpgradeHistoryPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.GetOSUpgradeHistory")
+ defer func() {
+ sc := -1
+ if result.vmsslouh.Response.Response != nil {
+ sc = result.vmsslouh.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.getOSUpgradeHistoryNextResults
+ req, err := client.GetOSUpgradeHistoryPreparer(ctx, resourceGroupName, VMScaleSetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "GetOSUpgradeHistory", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetOSUpgradeHistorySender(req)
+ if err != nil {
+ result.vmsslouh.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "GetOSUpgradeHistory", resp, "Failure sending request")
+ return
+ }
+
+ result.vmsslouh, err = client.GetOSUpgradeHistoryResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "GetOSUpgradeHistory", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetOSUpgradeHistoryPreparer prepares the GetOSUpgradeHistory request.
+func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetOSUpgradeHistorySender sends the GetOSUpgradeHistory request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetOSUpgradeHistoryResponder handles the response to the GetOSUpgradeHistory request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryResponder(resp *http.Response) (result VirtualMachineScaleSetListOSUpgradeHistory, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// getOSUpgradeHistoryNextResults retrieves the next set of results, if any.
+func (client VirtualMachineScaleSetsClient) getOSUpgradeHistoryNextResults(ctx context.Context, lastResults VirtualMachineScaleSetListOSUpgradeHistory) (result VirtualMachineScaleSetListOSUpgradeHistory, err error) {
+ req, err := lastResults.virtualMachineScaleSetListOSUpgradeHistoryPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "getOSUpgradeHistoryNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.GetOSUpgradeHistorySender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "getOSUpgradeHistoryNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.GetOSUpgradeHistoryResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "getOSUpgradeHistoryNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// GetOSUpgradeHistoryComplete enumerates all values, automatically crossing page boundaries as required.
+func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListOSUpgradeHistoryIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.GetOSUpgradeHistory")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.GetOSUpgradeHistory(ctx, resourceGroupName, VMScaleSetName)
+ return
+}
+
+// List gets a list of all VM scale sets under a resource group.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+func (client VirtualMachineScaleSetsClient) List(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.List")
+ defer func() {
+ sc := -1
+ if result.vmsslr.Response.Response != nil {
+ sc = result.vmsslr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx, resourceGroupName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.vmsslr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.vmsslr, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client VirtualMachineScaleSetsClient) listNextResults(ctx context.Context, lastResults VirtualMachineScaleSetListResult) (result VirtualMachineScaleSetListResult, err error) {
+ req, err := lastResults.virtualMachineScaleSetListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client VirtualMachineScaleSetsClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx, resourceGroupName)
+ return
+}
+
+// ListAll gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use
+// nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all
+// the VM Scale Sets.
+func (client VirtualMachineScaleSetsClient) ListAll(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.ListAll")
+ defer func() {
+ sc := -1
+ if result.vmsslwlr.Response.Response != nil {
+ sc = result.vmsslwlr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listAllNextResults
+ req, err := client.ListAllPreparer(ctx)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ListAll", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListAllSender(req)
+ if err != nil {
+ result.vmsslwlr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ListAll", resp, "Failure sending request")
+ return
+ }
+
+ result.vmsslwlr, err = client.ListAllResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ListAll", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListAllPreparer prepares the ListAll request.
+func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListAllSender sends the ListAll request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListAllResponder handles the response to the ListAll request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) ListAllResponder(resp *http.Response) (result VirtualMachineScaleSetListWithLinkResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listAllNextResults retrieves the next set of results, if any.
+func (client VirtualMachineScaleSetsClient) listAllNextResults(ctx context.Context, lastResults VirtualMachineScaleSetListWithLinkResult) (result VirtualMachineScaleSetListWithLinkResult, err error) {
+ req, err := lastResults.virtualMachineScaleSetListWithLinkResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listAllNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListAllSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listAllNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListAllResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listAllNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListAllComplete enumerates all values, automatically crossing page boundaries as required.
+func (client VirtualMachineScaleSetsClient) ListAllComplete(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.ListAll")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListAll(ctx)
+ return
+}
+
+// ListSkus gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed
+// for each SKU.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+func (client VirtualMachineScaleSetsClient) ListSkus(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.ListSkus")
+ defer func() {
+ sc := -1
+ if result.vmsslsr.Response.Response != nil {
+ sc = result.vmsslsr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listSkusNextResults
+ req, err := client.ListSkusPreparer(ctx, resourceGroupName, VMScaleSetName)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ListSkus", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSkusSender(req)
+ if err != nil {
+ result.vmsslsr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ListSkus", resp, "Failure sending request")
+ return
+ }
+
+ result.vmsslsr, err = client.ListSkusResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ListSkus", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListSkusPreparer prepares the ListSkus request.
+func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSkusSender sends the ListSkus request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListSkusResponder handles the response to the ListSkus request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) ListSkusResponder(resp *http.Response) (result VirtualMachineScaleSetListSkusResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listSkusNextResults retrieves the next set of results, if any.
+func (client VirtualMachineScaleSetsClient) listSkusNextResults(ctx context.Context, lastResults VirtualMachineScaleSetListSkusResult) (result VirtualMachineScaleSetListSkusResult, err error) {
+ req, err := lastResults.virtualMachineScaleSetListSkusResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listSkusNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSkusSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listSkusNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListSkusResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listSkusNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListSkusComplete enumerates all values, automatically crossing page boundaries as required.
+func (client VirtualMachineScaleSetsClient) ListSkusComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.ListSkus")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.ListSkus(ctx, resourceGroupName, VMScaleSetName)
+ return
+}
+
+// PerformMaintenance perform maintenance on one or more virtual machines in a VM scale set. Operation on instances
+// which are not eligible for perform maintenance will be failed. Please refer to best practices for more details:
+// https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
+func (client VirtualMachineScaleSetsClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsPerformMaintenanceFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.PerformMaintenance")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.PerformMaintenancePreparer(ctx, resourceGroupName, VMScaleSetName, VMInstanceIDs)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "PerformMaintenance", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.PerformMaintenanceSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "PerformMaintenance", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// PerformMaintenancePreparer prepares the PerformMaintenance request.
+func (client VirtualMachineScaleSetsClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ if VMInstanceIDs != nil {
+ preparer = autorest.DecoratePreparer(preparer,
+ autorest.WithJSON(VMInstanceIDs))
+ }
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// PerformMaintenanceResponder handles the response to the PerformMaintenance request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) PerformMaintenanceResponder(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
+ return
+}
+
+// PowerOff power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and
+// you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
+// skipShutdown - the parameter to request non-graceful VM shutdown. True value for this flag indicates
+// non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not
+// specified
+func (client VirtualMachineScaleSetsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, skipShutdown *bool) (result VirtualMachineScaleSetsPowerOffFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.PowerOff")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.PowerOffPreparer(ctx, resourceGroupName, VMScaleSetName, VMInstanceIDs, skipShutdown)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "PowerOff", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.PowerOffSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "PowerOff", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// PowerOffPreparer prepares the PowerOff request.
+func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, skipShutdown *bool) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if skipShutdown != nil {
+ queryParameters["skipShutdown"] = autorest.Encode("query", *skipShutdown)
+ } else {
+ queryParameters["skipShutdown"] = autorest.Encode("query", false)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ if VMInstanceIDs != nil {
+ preparer = autorest.DecoratePreparer(preparer,
+ autorest.WithJSON(VMInstanceIDs))
+ }
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// PowerOffSender sends the PowerOff request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// PowerOffResponder handles the response to the PowerOff request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) PowerOffResponder(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
+ return
+}
+
+// Redeploy redeploy one or more virtual machines in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
+func (client VirtualMachineScaleSetsClient) Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsRedeployFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.Redeploy")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.RedeployPreparer(ctx, resourceGroupName, VMScaleSetName, VMInstanceIDs)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Redeploy", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.RedeploySender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Redeploy", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// RedeployPreparer prepares the Redeploy request.
+func (client VirtualMachineScaleSetsClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ if VMInstanceIDs != nil {
+ preparer = autorest.DecoratePreparer(preparer,
+ autorest.WithJSON(VMInstanceIDs))
+ }
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// RedeploySender sends the Redeploy request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// RedeployResponder handles the response to the Redeploy request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) RedeployResponder(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
+ return
+}
+
+// Reimage reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a
+// ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// VMScaleSetReimageInput - parameters for Reimaging VM ScaleSet.
+func (client VirtualMachineScaleSetsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMScaleSetReimageInput *VirtualMachineScaleSetReimageParameters) (result VirtualMachineScaleSetsReimageFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.Reimage")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ReimagePreparer(ctx, resourceGroupName, VMScaleSetName, VMScaleSetReimageInput)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Reimage", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.ReimageSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Reimage", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// ReimagePreparer prepares the Reimage request.
+func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMScaleSetReimageInput *VirtualMachineScaleSetReimageParameters) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ if VMScaleSetReimageInput != nil {
+ preparer = autorest.DecoratePreparer(preparer,
+ autorest.WithJSON(VMScaleSetReimageInput))
+ }
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ReimageSender sends the Reimage request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// ReimageResponder handles the response to the Reimage request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) ReimageResponder(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
+ return
+}
+
+// ReimageAll reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation
+// is only supported for managed disks.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
+func (client VirtualMachineScaleSetsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsReimageAllFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.ReimageAll")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ReimageAllPreparer(ctx, resourceGroupName, VMScaleSetName, VMInstanceIDs)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ReimageAll", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.ReimageAllSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ReimageAll", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// ReimageAllPreparer prepares the ReimageAll request.
+func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ if VMInstanceIDs != nil {
+ preparer = autorest.DecoratePreparer(preparer,
+ autorest.WithJSON(VMInstanceIDs))
+ }
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ReimageAllSender sends the ReimageAll request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// ReimageAllResponder handles the response to the ReimageAll request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) ReimageAllResponder(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
+ return
+}
+
+// Restart restarts one or more virtual machines in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
+func (client VirtualMachineScaleSetsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsRestartFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.Restart")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.RestartPreparer(ctx, resourceGroupName, VMScaleSetName, VMInstanceIDs)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Restart", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.RestartSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Restart", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// RestartPreparer prepares the Restart request.
+func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ if VMInstanceIDs != nil {
+ preparer = autorest.DecoratePreparer(preparer,
+ autorest.WithJSON(VMInstanceIDs))
+ }
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// RestartSender sends the Restart request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// RestartResponder handles the response to the Restart request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) RestartResponder(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
+ return
+}
+
+// Start starts one or more virtual machines in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
+func (client VirtualMachineScaleSetsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsStartFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.Start")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.StartPreparer(ctx, resourceGroupName, VMScaleSetName, VMInstanceIDs)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Start", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.StartSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Start", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// StartPreparer prepares the Start request.
+func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ if VMInstanceIDs != nil {
+ preparer = autorest.DecoratePreparer(preparer,
+ autorest.WithJSON(VMInstanceIDs))
+ }
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// StartSender sends the Start request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// StartResponder handles the response to the Start request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) StartResponder(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
+ return
+}
+
+// Update update a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set to create or update.
+// parameters - the scale set object.
+func (client VirtualMachineScaleSetsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate) (result VirtualMachineScaleSetsUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, VMScaleSetName, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.UpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Update", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client VirtualMachineScaleSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPatch(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// UpdateInstances upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
+func (client VirtualMachineScaleSetsClient) UpdateInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (result VirtualMachineScaleSetsUpdateInstancesFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetsClient.UpdateInstances")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: VMInstanceIDs,
+ Constraints: []validation.Constraint{{Target: "VMInstanceIDs.InstanceIds", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachineScaleSetsClient", "UpdateInstances", err.Error())
+ }
+
+ req, err := client.UpdateInstancesPreparer(ctx, resourceGroupName, VMScaleSetName, VMInstanceIDs)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "UpdateInstances", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.UpdateInstancesSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "UpdateInstances", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// UpdateInstancesPreparer prepares the UpdateInstances request.
+func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", pathParameters),
+ autorest.WithJSON(VMInstanceIDs),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateInstancesSender sends the UpdateInstances request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// UpdateInstancesResponder handles the response to the UpdateInstances request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetsClient) UpdateInstancesResponder(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
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvms.go b/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvms.go
new file mode 100644
index 000000000000..bf227197eb48
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvms.go
@@ -0,0 +1,1242 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// VirtualMachineScaleSetVMsClient is the compute Client
+type VirtualMachineScaleSetVMsClient struct {
+ BaseClient
+}
+
+// NewVirtualMachineScaleSetVMsClient creates an instance of the VirtualMachineScaleSetVMsClient client.
+func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient {
+ return NewVirtualMachineScaleSetVMsClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewVirtualMachineScaleSetVMsClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMsClient client.
+func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient {
+ return VirtualMachineScaleSetVMsClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// Deallocate deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the
+// compute resources it uses. You are not billed for the compute resources of this virtual machine once it is
+// deallocated.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+func (client VirtualMachineScaleSetVMsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsDeallocateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.Deallocate")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeallocatePreparer(ctx, resourceGroupName, VMScaleSetName, instanceID)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Deallocate", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeallocateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Deallocate", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeallocatePreparer prepares the Deallocate request.
+func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/deallocate", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeallocateSender sends the Deallocate request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeallocateResponder handles the response to the Deallocate request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) DeallocateResponder(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
+ return
+}
+
+// Delete deletes a virtual machine from a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+func (client VirtualMachineScaleSetVMsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsDeleteFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.Delete")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.DeletePreparer(ctx, resourceGroupName, VMScaleSetName, instanceID)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Delete", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.DeleteSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Delete", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// DeletePreparer prepares the Delete request.
+func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsDelete(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// DeleteSender sends the Delete request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// DeleteResponder handles the response to the Delete request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
+ autorest.ByClosing())
+ result.Response = resp
+ return
+}
+
+// Get gets a virtual machine from a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+func (client VirtualMachineScaleSetVMsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVM, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.Get")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetPreparer(ctx, resourceGroupName, VMScaleSetName, instanceID)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Get", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Get", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Get", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetPreparer prepares the Get request.
+func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetSender sends the Get request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetResponder handles the response to the Get request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// GetInstanceView gets the status of a virtual machine from a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+func (client VirtualMachineScaleSetVMsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMInstanceView, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.GetInstanceView")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.GetInstanceViewPreparer(ctx, resourceGroupName, VMScaleSetName, instanceID)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "GetInstanceView", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.GetInstanceViewSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "GetInstanceView", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.GetInstanceViewResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "GetInstanceView", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// GetInstanceViewPreparer prepares the GetInstanceView request.
+func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/instanceView", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// GetInstanceViewSender sends the GetInstanceView request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// GetInstanceViewResponder handles the response to the GetInstanceView request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetVMInstanceView, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// List gets a list of all virtual machines in a VM scale sets.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// virtualMachineScaleSetName - the name of the VM scale set.
+// filter - the filter to apply to the operation.
+// selectParameter - the list parameters.
+// expand - the expand expression to apply to the operation.
+func (client VirtualMachineScaleSetVMsClient) List(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResultPage, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.List")
+ defer func() {
+ sc := -1
+ if result.vmssvlr.Response.Response != nil {
+ sc = result.vmssvlr.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.fn = client.listNextResults
+ req, err := client.ListPreparer(ctx, resourceGroupName, virtualMachineScaleSetName, filter, selectParameter, expand)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.vmssvlr.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result.vmssvlr, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "virtualMachineScaleSetName": autorest.Encode("path", virtualMachineScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if len(filter) > 0 {
+ queryParameters["$filter"] = autorest.Encode("query", filter)
+ }
+ if len(selectParameter) > 0 {
+ queryParameters["$select"] = autorest.Encode("query", selectParameter)
+ }
+ if len(expand) > 0 {
+ queryParameters["$expand"] = autorest.Encode("query", expand)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// listNextResults retrieves the next set of results, if any.
+func (client VirtualMachineScaleSetVMsClient) listNextResults(ctx context.Context, lastResults VirtualMachineScaleSetVMListResult) (result VirtualMachineScaleSetVMListResult, err error) {
+ req, err := lastResults.virtualMachineScaleSetVMListResultPreparer(ctx)
+ if err != nil {
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "listNextResults", nil, "Failure preparing next results request")
+ }
+ if req == nil {
+ return
+ }
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "listNextResults", resp, "Failure sending next results request")
+ }
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "listNextResults", resp, "Failure responding to next results request")
+ }
+ return
+}
+
+// ListComplete enumerates all values, automatically crossing page boundaries as required.
+func (client VirtualMachineScaleSetVMsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResultIterator, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.List")
+ defer func() {
+ sc := -1
+ if result.Response().Response.Response != nil {
+ sc = result.page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ result.page, err = client.List(ctx, resourceGroupName, virtualMachineScaleSetName, filter, selectParameter, expand)
+ return
+}
+
+// PerformMaintenance performs maintenance on a virtual machine in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+func (client VirtualMachineScaleSetVMsClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.PerformMaintenance")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.PerformMaintenancePreparer(ctx, resourceGroupName, VMScaleSetName, instanceID)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "PerformMaintenance", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.PerformMaintenanceSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "PerformMaintenance", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// PerformMaintenancePreparer prepares the PerformMaintenance request.
+func (client VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// PerformMaintenanceResponder handles the response to the PerformMaintenance request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceResponder(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
+ return
+}
+
+// PowerOff power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are
+// getting charged for the resources. Instead, use deallocate to release resources and avoid charges.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+// skipShutdown - the parameter to request non-graceful VM shutdown. True value for this flag indicates
+// non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not
+// specified
+func (client VirtualMachineScaleSetVMsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, skipShutdown *bool) (result VirtualMachineScaleSetVMsPowerOffFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.PowerOff")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.PowerOffPreparer(ctx, resourceGroupName, VMScaleSetName, instanceID, skipShutdown)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "PowerOff", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.PowerOffSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "PowerOff", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// PowerOffPreparer prepares the PowerOff request.
+func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, skipShutdown *bool) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+ if skipShutdown != nil {
+ queryParameters["skipShutdown"] = autorest.Encode("query", *skipShutdown)
+ } else {
+ queryParameters["skipShutdown"] = autorest.Encode("query", false)
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// PowerOffSender sends the PowerOff request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// PowerOffResponder handles the response to the PowerOff request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) PowerOffResponder(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
+ return
+}
+
+// Redeploy redeploys a virtual machine in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+func (client VirtualMachineScaleSetVMsClient) Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsRedeployFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.Redeploy")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.RedeployPreparer(ctx, resourceGroupName, VMScaleSetName, instanceID)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Redeploy", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.RedeploySender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Redeploy", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// RedeployPreparer prepares the Redeploy request.
+func (client VirtualMachineScaleSetVMsClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/redeploy", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// RedeploySender sends the Redeploy request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetVMsRedeployFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// RedeployResponder handles the response to the Redeploy request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) RedeployResponder(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
+ return
+}
+
+// Reimage reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+// VMScaleSetVMReimageInput - parameters for the Reimaging Virtual machine in ScaleSet.
+func (client VirtualMachineScaleSetVMsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMScaleSetVMReimageInput *VirtualMachineScaleSetVMReimageParameters) (result VirtualMachineScaleSetVMsReimageFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.Reimage")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ReimagePreparer(ctx, resourceGroupName, VMScaleSetName, instanceID, VMScaleSetVMReimageInput)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Reimage", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.ReimageSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Reimage", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// ReimagePreparer prepares the Reimage request.
+func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMScaleSetVMReimageInput *VirtualMachineScaleSetVMReimageParameters) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimage", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ if VMScaleSetVMReimageInput != nil {
+ preparer = autorest.DecoratePreparer(preparer,
+ autorest.WithJSON(VMScaleSetVMReimageInput))
+ }
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ReimageSender sends the Reimage request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// ReimageResponder handles the response to the Reimage request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) ReimageResponder(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
+ return
+}
+
+// ReimageAll allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This
+// operation is only supported for managed disks.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+func (client VirtualMachineScaleSetVMsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsReimageAllFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.ReimageAll")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.ReimageAllPreparer(ctx, resourceGroupName, VMScaleSetName, instanceID)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "ReimageAll", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.ReimageAllSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "ReimageAll", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// ReimageAllPreparer prepares the ReimageAll request.
+func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimageall", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ReimageAllSender sends the ReimageAll request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// ReimageAllResponder handles the response to the ReimageAll request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(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
+ return
+}
+
+// Restart restarts a virtual machine in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+func (client VirtualMachineScaleSetVMsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsRestartFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.Restart")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.RestartPreparer(ctx, resourceGroupName, VMScaleSetName, instanceID)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Restart", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.RestartSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Restart", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// RestartPreparer prepares the Restart request.
+func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// RestartSender sends the Restart request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// RestartResponder handles the response to the Restart request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) RestartResponder(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
+ return
+}
+
+// RunCommand run command on a virtual machine in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+// parameters - parameters supplied to the Run command operation.
+func (client VirtualMachineScaleSetVMsClient) RunCommand(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters RunCommandInput) (result VirtualMachineScaleSetVMsRunCommandFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.RunCommand")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.CommandID", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachineScaleSetVMsClient", "RunCommand", err.Error())
+ }
+
+ req, err := client.RunCommandPreparer(ctx, resourceGroupName, VMScaleSetName, instanceID, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "RunCommand", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.RunCommandSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "RunCommand", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// RunCommandPreparer prepares the RunCommand request.
+func (client VirtualMachineScaleSetVMsClient) RunCommandPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters RunCommandInput) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/runCommand", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// RunCommandSender sends the RunCommand request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) RunCommandSender(req *http.Request) (future VirtualMachineScaleSetVMsRunCommandFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// RunCommandResponder handles the response to the RunCommand request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
+
+// Start starts a virtual machine in a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set.
+// instanceID - the instance ID of the virtual machine.
+func (client VirtualMachineScaleSetVMsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsStartFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.Start")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ req, err := client.StartPreparer(ctx, resourceGroupName, VMScaleSetName, instanceID)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Start", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.StartSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Start", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// StartPreparer prepares the Start request.
+func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsPost(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// StartSender sends the Start request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// StartResponder handles the response to the Start request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) StartResponder(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
+ return
+}
+
+// Update updates a virtual machine of a VM scale set.
+// Parameters:
+// resourceGroupName - the name of the resource group.
+// VMScaleSetName - the name of the VM scale set where the extension should be create or updated.
+// instanceID - the instance ID of the virtual machine.
+// parameters - parameters supplied to the Update Virtual Machine Scale Sets VM operation.
+func (client VirtualMachineScaleSetVMsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters VirtualMachineScaleSetVM) (result VirtualMachineScaleSetVMsUpdateFuture, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineScaleSetVMsClient.Update")
+ defer func() {
+ sc := -1
+ if result.Response() != nil {
+ sc = result.Response().StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: parameters,
+ Constraints: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetVMProperties", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetVMProperties.StorageProfile", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetVMProperties.StorageProfile.OsDisk", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetVMProperties.StorageProfile.OsDisk.EncryptionSettings", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetVMProperties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetVMProperties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey.SecretURL", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "parameters.VirtualMachineScaleSetVMProperties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey.SourceVault", Name: validation.Null, Rule: true, Chain: nil},
+ }},
+ {Target: "parameters.VirtualMachineScaleSetVMProperties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetVMProperties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey.KeyURL", Name: validation.Null, Rule: true, Chain: nil},
+ {Target: "parameters.VirtualMachineScaleSetVMProperties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey.SourceVault", Name: validation.Null, Rule: true, Chain: nil},
+ }},
+ }},
+ }},
+ }},
+ }}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachineScaleSetVMsClient", "Update", err.Error())
+ }
+
+ req, err := client.UpdatePreparer(ctx, resourceGroupName, VMScaleSetName, instanceID, parameters)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Update", nil, "Failure preparing request")
+ return
+ }
+
+ result, err = client.UpdateSender(req)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Update", result.Response(), "Failure sending request")
+ return
+ }
+
+ return
+}
+
+// UpdatePreparer prepares the Update request.
+func (client VirtualMachineScaleSetVMsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters VirtualMachineScaleSetVM) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "instanceId": autorest.Encode("path", instanceID),
+ "resourceGroupName": autorest.Encode("path", resourceGroupName),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ "vmScaleSetName": autorest.Encode("path", VMScaleSetName),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ parameters.InstanceID = nil
+ parameters.Sku = nil
+ parameters.Resources = nil
+ parameters.Zones = nil
+ preparer := autorest.CreatePreparer(
+ autorest.AsContentType("application/json; charset=utf-8"),
+ autorest.AsPut(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}", pathParameters),
+ autorest.WithJSON(parameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// UpdateSender sends the Update request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineScaleSetVMsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ var resp *http.Response
+ resp, err = autorest.SendWithSender(client, req, sd...)
+ if err != nil {
+ return
+ }
+ future.Future, err = azure.NewFutureFromResponse(resp)
+ return
+}
+
+// UpdateResponder handles the response to the Update request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineScaleSetVMsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/compute/mgmt/2019-07-01/compute/virtualmachinesizes.go b/services/compute/mgmt/2019-07-01/compute/virtualmachinesizes.go
new file mode 100644
index 000000000000..04bcbb0490d4
--- /dev/null
+++ b/services/compute/mgmt/2019-07-01/compute/virtualmachinesizes.go
@@ -0,0 +1,124 @@
+package compute
+
+// 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.
+
+import (
+ "context"
+ "github.com/Azure/go-autorest/autorest"
+ "github.com/Azure/go-autorest/autorest/azure"
+ "github.com/Azure/go-autorest/autorest/validation"
+ "github.com/Azure/go-autorest/tracing"
+ "net/http"
+)
+
+// VirtualMachineSizesClient is the compute Client
+type VirtualMachineSizesClient struct {
+ BaseClient
+}
+
+// NewVirtualMachineSizesClient creates an instance of the VirtualMachineSizesClient client.
+func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient {
+ return NewVirtualMachineSizesClientWithBaseURI(DefaultBaseURI, subscriptionID)
+}
+
+// NewVirtualMachineSizesClientWithBaseURI creates an instance of the VirtualMachineSizesClient client.
+func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient {
+ return VirtualMachineSizesClient{NewWithBaseURI(baseURI, subscriptionID)}
+}
+
+// List this API is deprecated. Use [Resources
+// Skus](https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list)
+// Parameters:
+// location - the location upon which virtual-machine-sizes is queried.
+func (client VirtualMachineSizesClient) List(ctx context.Context, location string) (result VirtualMachineSizeListResult, err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineSizesClient.List")
+ defer func() {
+ sc := -1
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ if err := validation.Validate([]validation.Validation{
+ {TargetValue: location,
+ Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
+ return result, validation.NewError("compute.VirtualMachineSizesClient", "List", err.Error())
+ }
+
+ req, err := client.ListPreparer(ctx, location)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineSizesClient", "List", nil, "Failure preparing request")
+ return
+ }
+
+ resp, err := client.ListSender(req)
+ if err != nil {
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineSizesClient", "List", resp, "Failure sending request")
+ return
+ }
+
+ result, err = client.ListResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "compute.VirtualMachineSizesClient", "List", resp, "Failure responding to request")
+ }
+
+ return
+}
+
+// ListPreparer prepares the List request.
+func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error) {
+ pathParameters := map[string]interface{}{
+ "location": autorest.Encode("path", location),
+ "subscriptionId": autorest.Encode("path", client.SubscriptionID),
+ }
+
+ const APIVersion = "2019-03-01"
+ queryParameters := map[string]interface{}{
+ "api-version": APIVersion,
+ }
+
+ preparer := autorest.CreatePreparer(
+ autorest.AsGet(),
+ autorest.WithBaseURL(client.BaseURI),
+ autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes", pathParameters),
+ autorest.WithQueryParameters(queryParameters))
+ return preparer.Prepare((&http.Request{}).WithContext(ctx))
+}
+
+// ListSender sends the List request. The method will close the
+// http.Response Body if it receives an error.
+func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
+}
+
+// ListResponder handles the response to the List request. The method always
+// closes the http.Response Body.
+func (client VirtualMachineSizesClient) ListResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error) {
+ err = autorest.Respond(
+ resp,
+ client.ByInspecting(),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
+ autorest.ByUnmarshallingJSON(&result),
+ autorest.ByClosing())
+ result.Response = autorest.Response{Response: resp}
+ return
+}
diff --git a/services/consumption/mgmt/2017-11-30/consumption/operations.go b/services/consumption/mgmt/2017-11-30/consumption/operations.go
index 72395c96ff40..47621e4f7ba8 100644
--- a/services/consumption/mgmt/2017-11-30/consumption/operations.go
+++ b/services/consumption/mgmt/2017-11-30/consumption/operations.go
@@ -93,8 +93,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2017-11-30/consumption/reservationsdetails.go b/services/consumption/mgmt/2017-11-30/consumption/reservationsdetails.go
index 16da1cf27ff1..3c3536e370f2 100644
--- a/services/consumption/mgmt/2017-11-30/consumption/reservationsdetails.go
+++ b/services/consumption/mgmt/2017-11-30/consumption/reservationsdetails.go
@@ -103,8 +103,8 @@ func (client ReservationsDetailsClient) ListPreparer(ctx context.Context, scope
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2017-11-30/consumption/reservationssummaries.go b/services/consumption/mgmt/2017-11-30/consumption/reservationssummaries.go
index ab23a99935b1..fef5076e1060 100644
--- a/services/consumption/mgmt/2017-11-30/consumption/reservationssummaries.go
+++ b/services/consumption/mgmt/2017-11-30/consumption/reservationssummaries.go
@@ -107,8 +107,8 @@ func (client ReservationsSummariesClient) ListPreparer(ctx context.Context, scop
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2017-11-30/consumption/usagedetails.go b/services/consumption/mgmt/2017-11-30/consumption/usagedetails.go
index e7725af9914f..ce151f630090 100644
--- a/services/consumption/mgmt/2017-11-30/consumption/usagedetails.go
+++ b/services/consumption/mgmt/2017-11-30/consumption/usagedetails.go
@@ -134,8 +134,8 @@ func (client UsageDetailsClient) ListPreparer(ctx context.Context, scope string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-01-31/consumption/budgets.go b/services/consumption/mgmt/2018-01-31/consumption/budgets.go
index 61aee07b0937..0f319d188af0 100644
--- a/services/consumption/mgmt/2018-01-31/consumption/budgets.go
+++ b/services/consumption/mgmt/2018-01-31/consumption/budgets.go
@@ -129,8 +129,8 @@ func (client BudgetsClient) CreateOrUpdatePreparer(ctx context.Context, budgetNa
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -235,8 +235,8 @@ func (client BudgetsClient) CreateOrUpdateByResourceGroupNamePreparer(ctx contex
// CreateOrUpdateByResourceGroupNameSender sends the CreateOrUpdateByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateByResourceGroupNameResponder handles the response to the CreateOrUpdateByResourceGroupName request. The method always
@@ -310,8 +310,8 @@ func (client BudgetsClient) DeletePreparer(ctx context.Context, budgetName strin
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -386,8 +386,8 @@ func (client BudgetsClient) DeleteByResourceGroupNamePreparer(ctx context.Contex
// DeleteByResourceGroupNameSender sends the DeleteByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteByResourceGroupNameResponder handles the response to the DeleteByResourceGroupName request. The method always
@@ -460,8 +460,8 @@ func (client BudgetsClient) GetPreparer(ctx context.Context, budgetName string)
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -537,8 +537,8 @@ func (client BudgetsClient) GetByResourceGroupNamePreparer(ctx context.Context,
// GetByResourceGroupNameSender sends the GetByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByResourceGroupNameResponder handles the response to the GetByResourceGroupName request. The method always
@@ -610,8 +610,8 @@ func (client BudgetsClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -723,8 +723,8 @@ func (client BudgetsClient) ListByResourceGroupNamePreparer(ctx context.Context,
// ListByResourceGroupNameSender sends the ListByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupNameResponder handles the response to the ListByResourceGroupName request. The method always
diff --git a/services/consumption/mgmt/2018-01-31/consumption/marketplaces.go b/services/consumption/mgmt/2018-01-31/consumption/marketplaces.go
index a6dd6c91db4e..91c112b40a3b 100644
--- a/services/consumption/mgmt/2018-01-31/consumption/marketplaces.go
+++ b/services/consumption/mgmt/2018-01-31/consumption/marketplaces.go
@@ -125,8 +125,8 @@ func (client MarketplacesClient) ListPreparer(ctx context.Context, filter string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -264,8 +264,8 @@ func (client MarketplacesClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-01-31/consumption/operations.go b/services/consumption/mgmt/2018-01-31/consumption/operations.go
index b6e8723f173e..db4863652413 100644
--- a/services/consumption/mgmt/2018-01-31/consumption/operations.go
+++ b/services/consumption/mgmt/2018-01-31/consumption/operations.go
@@ -93,8 +93,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-01-31/consumption/pricesheet.go b/services/consumption/mgmt/2018-01-31/consumption/pricesheet.go
index 724ae2cbf291..0d0b22f8b29e 100644
--- a/services/consumption/mgmt/2018-01-31/consumption/pricesheet.go
+++ b/services/consumption/mgmt/2018-01-31/consumption/pricesheet.go
@@ -123,8 +123,8 @@ func (client PriceSheetClient) GetPreparer(ctx context.Context, expand string, s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -223,8 +223,8 @@ func (client PriceSheetClient) GetByBillingPeriodPreparer(ctx context.Context, b
// GetByBillingPeriodSender sends the GetByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingPeriodResponder handles the response to the GetByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-01-31/consumption/reservationsdetails.go b/services/consumption/mgmt/2018-01-31/consumption/reservationsdetails.go
index 55f0e5b8d2ce..3ae8374f692f 100644
--- a/services/consumption/mgmt/2018-01-31/consumption/reservationsdetails.go
+++ b/services/consumption/mgmt/2018-01-31/consumption/reservationsdetails.go
@@ -102,8 +102,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderPreparer(ctx conte
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -219,8 +219,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderAndReservationPrep
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2018-01-31/consumption/reservationssummaries.go b/services/consumption/mgmt/2018-01-31/consumption/reservationssummaries.go
index 35f221817861..c43e49fe19c1 100644
--- a/services/consumption/mgmt/2018-01-31/consumption/reservationssummaries.go
+++ b/services/consumption/mgmt/2018-01-31/consumption/reservationssummaries.go
@@ -106,8 +106,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderPreparer(ctx con
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -227,8 +227,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderAndReservationPr
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2018-01-31/consumption/usagedetails.go b/services/consumption/mgmt/2018-01-31/consumption/usagedetails.go
index b18cd5c045a9..d7ebc99b862e 100644
--- a/services/consumption/mgmt/2018-01-31/consumption/usagedetails.go
+++ b/services/consumption/mgmt/2018-01-31/consumption/usagedetails.go
@@ -130,8 +130,8 @@ func (client UsageDetailsClient) ListPreparer(ctx context.Context, expand string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -274,8 +274,8 @@ func (client UsageDetailsClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/budgets.go b/services/consumption/mgmt/2018-03-31/consumption/budgets.go
index 1be6967daf31..356e572d7f88 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/budgets.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/budgets.go
@@ -129,8 +129,8 @@ func (client BudgetsClient) CreateOrUpdatePreparer(ctx context.Context, budgetNa
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -235,8 +235,8 @@ func (client BudgetsClient) CreateOrUpdateByResourceGroupNamePreparer(ctx contex
// CreateOrUpdateByResourceGroupNameSender sends the CreateOrUpdateByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateByResourceGroupNameResponder handles the response to the CreateOrUpdateByResourceGroupName request. The method always
@@ -310,8 +310,8 @@ func (client BudgetsClient) DeletePreparer(ctx context.Context, budgetName strin
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -386,8 +386,8 @@ func (client BudgetsClient) DeleteByResourceGroupNamePreparer(ctx context.Contex
// DeleteByResourceGroupNameSender sends the DeleteByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteByResourceGroupNameResponder handles the response to the DeleteByResourceGroupName request. The method always
@@ -460,8 +460,8 @@ func (client BudgetsClient) GetPreparer(ctx context.Context, budgetName string)
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -537,8 +537,8 @@ func (client BudgetsClient) GetByResourceGroupNamePreparer(ctx context.Context,
// GetByResourceGroupNameSender sends the GetByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByResourceGroupNameResponder handles the response to the GetByResourceGroupName request. The method always
@@ -610,8 +610,8 @@ func (client BudgetsClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -723,8 +723,8 @@ func (client BudgetsClient) ListByResourceGroupNamePreparer(ctx context.Context,
// ListByResourceGroupNameSender sends the ListByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupNameResponder handles the response to the ListByResourceGroupName request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/client.go b/services/consumption/mgmt/2018-03-31/consumption/client.go
index b8b181cf1906..bb033d154bca 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/client.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/client.go
@@ -112,8 +112,8 @@ func (client BaseClient) GetBalancesByBillingAccountPreparer(ctx context.Context
// GetBalancesByBillingAccountSender sends the GetBalancesByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) GetBalancesByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetBalancesByBillingAccountResponder handles the response to the GetBalancesByBillingAccount request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/costtags.go b/services/consumption/mgmt/2018-03-31/consumption/costtags.go
index f90d8db04841..52914548403b 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/costtags.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/costtags.go
@@ -103,8 +103,8 @@ func (client CostTagsClient) CreateOrUpdatePreparer(ctx context.Context, billing
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client CostTagsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -177,8 +177,8 @@ func (client CostTagsClient) GetPreparer(ctx context.Context, billingAccountID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CostTagsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/getbalancesbybillingaccount.go b/services/consumption/mgmt/2018-03-31/consumption/getbalancesbybillingaccount.go
index 6ac45e3b797c..878b55712491 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/getbalancesbybillingaccount.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/getbalancesbybillingaccount.go
@@ -101,8 +101,8 @@ func (client GetBalancesByBillingAccountClient) ByBillingPeriodPreparer(ctx cont
// ByBillingPeriodSender sends the ByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client GetBalancesByBillingAccountClient) ByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ByBillingPeriodResponder handles the response to the ByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/marketplaces.go b/services/consumption/mgmt/2018-03-31/consumption/marketplaces.go
index 068ebb0bc89f..abdd5c52b0d4 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/marketplaces.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/marketplaces.go
@@ -125,8 +125,8 @@ func (client MarketplacesClient) ListPreparer(ctx context.Context, filter string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -264,8 +264,8 @@ func (client MarketplacesClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/marketplacesbybillingaccount.go b/services/consumption/mgmt/2018-03-31/consumption/marketplacesbybillingaccount.go
index 54d7523784a4..df1bea985749 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/marketplacesbybillingaccount.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/marketplacesbybillingaccount.go
@@ -127,8 +127,8 @@ func (client MarketplacesByBillingAccountClient) ListPreparer(ctx context.Contex
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesByBillingAccountClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -267,8 +267,8 @@ func (client MarketplacesByBillingAccountClient) ListByBillingPeriodPreparer(ctx
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesByBillingAccountClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/marketplacesbydepartment.go b/services/consumption/mgmt/2018-03-31/consumption/marketplacesbydepartment.go
index d7427b689d49..d921c3e1e1c9 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/marketplacesbydepartment.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/marketplacesbydepartment.go
@@ -126,8 +126,8 @@ func (client MarketplacesByDepartmentClient) ListPreparer(ctx context.Context, d
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesByDepartmentClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -266,8 +266,8 @@ func (client MarketplacesByDepartmentClient) ListByBillingPeriodPreparer(ctx con
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesByDepartmentClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/marketplacesbyenrollmentaccounts.go b/services/consumption/mgmt/2018-03-31/consumption/marketplacesbyenrollmentaccounts.go
index ab5806b70207..f21064b59ecc 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/marketplacesbyenrollmentaccounts.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/marketplacesbyenrollmentaccounts.go
@@ -127,8 +127,8 @@ func (client MarketplacesByEnrollmentAccountsClient) ListPreparer(ctx context.Co
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesByEnrollmentAccountsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -267,8 +267,8 @@ func (client MarketplacesByEnrollmentAccountsClient) ListByBillingPeriodPreparer
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesByEnrollmentAccountsClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/operations.go b/services/consumption/mgmt/2018-03-31/consumption/operations.go
index 3eabe1fdd247..624d09534f5f 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/operations.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/operations.go
@@ -93,8 +93,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/pricesheet.go b/services/consumption/mgmt/2018-03-31/consumption/pricesheet.go
index b6499f580893..fcb4d9924f8c 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/pricesheet.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/pricesheet.go
@@ -123,8 +123,8 @@ func (client PriceSheetClient) GetPreparer(ctx context.Context, expand string, s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -223,8 +223,8 @@ func (client PriceSheetClient) GetByBillingPeriodPreparer(ctx context.Context, b
// GetByBillingPeriodSender sends the GetByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingPeriodResponder handles the response to the GetByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/reservationrecommendations.go b/services/consumption/mgmt/2018-03-31/consumption/reservationrecommendations.go
index 0bf1365d4093..ccbdf42fc4bd 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/reservationrecommendations.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/reservationrecommendations.go
@@ -102,8 +102,8 @@ func (client ReservationRecommendationsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationRecommendationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/reservationsdetails.go b/services/consumption/mgmt/2018-03-31/consumption/reservationsdetails.go
index bdbe5d4985e4..fe57519af2ad 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/reservationsdetails.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/reservationsdetails.go
@@ -102,8 +102,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderPreparer(ctx conte
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -219,8 +219,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderAndReservationPrep
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/reservationssummaries.go b/services/consumption/mgmt/2018-03-31/consumption/reservationssummaries.go
index 45332b230a5a..772c21e138ad 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/reservationssummaries.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/reservationssummaries.go
@@ -106,8 +106,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderPreparer(ctx con
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -227,8 +227,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderAndReservationPr
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/tags.go b/services/consumption/mgmt/2018-03-31/consumption/tags.go
index bc8de3793acc..03de4e143875 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/tags.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/tags.go
@@ -98,8 +98,8 @@ func (client TagsClient) GetPreparer(ctx context.Context, billingAccountID strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TagsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/usagedetails.go b/services/consumption/mgmt/2018-03-31/consumption/usagedetails.go
index cd11253d5ff5..16e375299c22 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/usagedetails.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/usagedetails.go
@@ -135,8 +135,8 @@ func (client UsageDetailsClient) ListPreparer(ctx context.Context, expand string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -285,8 +285,8 @@ func (client UsageDetailsClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbybillingaccount.go b/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbybillingaccount.go
index 575f11a129bd..5670405c648d 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbybillingaccount.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbybillingaccount.go
@@ -137,8 +137,8 @@ func (client UsageDetailsByBillingAccountClient) ListPreparer(ctx context.Contex
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsByBillingAccountClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -288,8 +288,8 @@ func (client UsageDetailsByBillingAccountClient) ListByBillingPeriodPreparer(ctx
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsByBillingAccountClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbydepartment.go b/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbydepartment.go
index df08a56b839d..4ba82ff839c0 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbydepartment.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbydepartment.go
@@ -136,8 +136,8 @@ func (client UsageDetailsByDepartmentClient) ListPreparer(ctx context.Context, d
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsByDepartmentClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -287,8 +287,8 @@ func (client UsageDetailsByDepartmentClient) ListByBillingPeriodPreparer(ctx con
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsByDepartmentClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbyenrollmentaccount.go b/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbyenrollmentaccount.go
index 378a6dcbc0be..aaa11e3b1c31 100644
--- a/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbyenrollmentaccount.go
+++ b/services/consumption/mgmt/2018-03-31/consumption/usagedetailsbyenrollmentaccount.go
@@ -137,8 +137,8 @@ func (client UsageDetailsByEnrollmentAccountClient) ListPreparer(ctx context.Con
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsByEnrollmentAccountClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -288,8 +288,8 @@ func (client UsageDetailsByEnrollmentAccountClient) ListByBillingPeriodPreparer(
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsByEnrollmentAccountClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-05-31/consumption/forecasts.go b/services/consumption/mgmt/2018-05-31/consumption/forecasts.go
index e91131780388..143863a48931 100644
--- a/services/consumption/mgmt/2018-05-31/consumption/forecasts.go
+++ b/services/consumption/mgmt/2018-05-31/consumption/forecasts.go
@@ -103,8 +103,8 @@ func (client ForecastsClient) ListPreparer(ctx context.Context, filter string) (
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ForecastsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-05-31/consumption/operations.go b/services/consumption/mgmt/2018-05-31/consumption/operations.go
index 98647b310597..1eedd3f7c513 100644
--- a/services/consumption/mgmt/2018-05-31/consumption/operations.go
+++ b/services/consumption/mgmt/2018-05-31/consumption/operations.go
@@ -93,8 +93,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-05-31/consumption/pricesheet.go b/services/consumption/mgmt/2018-05-31/consumption/pricesheet.go
index b40137781777..8754b9fbe92f 100644
--- a/services/consumption/mgmt/2018-05-31/consumption/pricesheet.go
+++ b/services/consumption/mgmt/2018-05-31/consumption/pricesheet.go
@@ -123,8 +123,8 @@ func (client PriceSheetClient) GetPreparer(ctx context.Context, expand string, s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -223,8 +223,8 @@ func (client PriceSheetClient) GetByBillingPeriodPreparer(ctx context.Context, b
// GetByBillingPeriodSender sends the GetByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingPeriodResponder handles the response to the GetByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-05-31/consumption/usagedetails.go b/services/consumption/mgmt/2018-05-31/consumption/usagedetails.go
index 7788b88b4740..4cb6951aa705 100644
--- a/services/consumption/mgmt/2018-05-31/consumption/usagedetails.go
+++ b/services/consumption/mgmt/2018-05-31/consumption/usagedetails.go
@@ -135,8 +135,8 @@ func (client UsageDetailsClient) ListPreparer(ctx context.Context, expand string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -283,8 +283,8 @@ func (client UsageDetailsClient) ListByBillingAccountPreparer(ctx context.Contex
// ListByBillingAccountSender sends the ListByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingAccountResponder handles the response to the ListByBillingAccount request. The method always
@@ -433,8 +433,8 @@ func (client UsageDetailsClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
@@ -581,8 +581,8 @@ func (client UsageDetailsClient) ListByDepartmentPreparer(ctx context.Context, d
// ListByDepartmentSender sends the ListByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByDepartmentResponder handles the response to the ListByDepartment request. The method always
@@ -729,8 +729,8 @@ func (client UsageDetailsClient) ListByEnrollmentAccountPreparer(ctx context.Con
// ListByEnrollmentAccountSender sends the ListByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEnrollmentAccountResponder handles the response to the ListByEnrollmentAccount request. The method always
@@ -880,8 +880,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountPreparer(ct
// ListForBillingPeriodByBillingAccountSender sends the ListForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByBillingAccountResponder handles the response to the ListForBillingPeriodByBillingAccount request. The method always
@@ -1031,8 +1031,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByDepartmentPreparer(ctx co
// ListForBillingPeriodByDepartmentSender sends the ListForBillingPeriodByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByDepartmentResponder handles the response to the ListForBillingPeriodByDepartment request. The method always
@@ -1182,8 +1182,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountPreparer
// ListForBillingPeriodByEnrollmentAccountSender sends the ListForBillingPeriodByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByEnrollmentAccountResponder handles the response to the ListForBillingPeriodByEnrollmentAccount request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/aggregatedcost.go b/services/consumption/mgmt/2018-06-30/consumption/aggregatedcost.go
index 6c159ef7cc5e..bc81dd46c971 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/aggregatedcost.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/aggregatedcost.go
@@ -99,8 +99,8 @@ func (client AggregatedCostClient) GetByManagementGroupPreparer(ctx context.Cont
// GetByManagementGroupSender sends the GetByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AggregatedCostClient) GetByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByManagementGroupResponder handles the response to the GetByManagementGroup request. The method always
@@ -176,8 +176,8 @@ func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupPreparer(
// GetForBillingPeriodByManagementGroupSender sends the GetForBillingPeriodByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetForBillingPeriodByManagementGroupResponder handles the response to the GetForBillingPeriodByManagementGroup request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/balances.go b/services/consumption/mgmt/2018-06-30/consumption/balances.go
index 9a2de19f3e45..3e4b8fa16e81 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/balances.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/balances.go
@@ -99,8 +99,8 @@ func (client BalancesClient) GetByBillingAccountPreparer(ctx context.Context, bi
// GetByBillingAccountSender sends the GetByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client BalancesClient) GetByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingAccountResponder handles the response to the GetByBillingAccount request. The method always
@@ -176,8 +176,8 @@ func (client BalancesClient) GetForBillingPeriodByBillingAccountPreparer(ctx con
// GetForBillingPeriodByBillingAccountSender sends the GetForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client BalancesClient) GetForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetForBillingPeriodByBillingAccountResponder handles the response to the GetForBillingPeriodByBillingAccount request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/budgets.go b/services/consumption/mgmt/2018-06-30/consumption/budgets.go
index 781dd8436679..11672c985b4f 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/budgets.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/budgets.go
@@ -129,8 +129,8 @@ func (client BudgetsClient) CreateOrUpdatePreparer(ctx context.Context, budgetNa
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -235,8 +235,8 @@ func (client BudgetsClient) CreateOrUpdateByResourceGroupNamePreparer(ctx contex
// CreateOrUpdateByResourceGroupNameSender sends the CreateOrUpdateByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateByResourceGroupNameResponder handles the response to the CreateOrUpdateByResourceGroupName request. The method always
@@ -310,8 +310,8 @@ func (client BudgetsClient) DeletePreparer(ctx context.Context, budgetName strin
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -386,8 +386,8 @@ func (client BudgetsClient) DeleteByResourceGroupNamePreparer(ctx context.Contex
// DeleteByResourceGroupNameSender sends the DeleteByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteByResourceGroupNameResponder handles the response to the DeleteByResourceGroupName request. The method always
@@ -460,8 +460,8 @@ func (client BudgetsClient) GetPreparer(ctx context.Context, budgetName string)
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -537,8 +537,8 @@ func (client BudgetsClient) GetByResourceGroupNamePreparer(ctx context.Context,
// GetByResourceGroupNameSender sends the GetByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByResourceGroupNameResponder handles the response to the GetByResourceGroupName request. The method always
@@ -610,8 +610,8 @@ func (client BudgetsClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -723,8 +723,8 @@ func (client BudgetsClient) ListByResourceGroupNamePreparer(ctx context.Context,
// ListByResourceGroupNameSender sends the ListByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupNameResponder handles the response to the ListByResourceGroupName request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/costtags.go b/services/consumption/mgmt/2018-06-30/consumption/costtags.go
index 28ec36c7cb36..e06bf14a0b71 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/costtags.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/costtags.go
@@ -103,8 +103,8 @@ func (client CostTagsClient) CreateOrUpdatePreparer(ctx context.Context, billing
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client CostTagsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -177,8 +177,8 @@ func (client CostTagsClient) GetPreparer(ctx context.Context, billingAccountID s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client CostTagsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/forecasts.go b/services/consumption/mgmt/2018-06-30/consumption/forecasts.go
index 770e568713d8..3a43b4b271e6 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/forecasts.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/forecasts.go
@@ -103,8 +103,8 @@ func (client ForecastsClient) ListPreparer(ctx context.Context, filter string) (
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ForecastsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/marketplaces.go b/services/consumption/mgmt/2018-06-30/consumption/marketplaces.go
index 4f8937654175..fd0d7613835f 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/marketplaces.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/marketplaces.go
@@ -125,8 +125,8 @@ func (client MarketplacesClient) ListPreparer(ctx context.Context, filter string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -263,8 +263,8 @@ func (client MarketplacesClient) ListByBillingAccountPreparer(ctx context.Contex
// ListByBillingAccountSender sends the ListByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingAccountResponder handles the response to the ListByBillingAccount request. The method always
@@ -402,8 +402,8 @@ func (client MarketplacesClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
@@ -540,8 +540,8 @@ func (client MarketplacesClient) ListByDepartmentPreparer(ctx context.Context, d
// ListByDepartmentSender sends the ListByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByDepartmentResponder handles the response to the ListByDepartment request. The method always
@@ -678,8 +678,8 @@ func (client MarketplacesClient) ListByEnrollmentAccountPreparer(ctx context.Con
// ListByEnrollmentAccountSender sends the ListByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEnrollmentAccountResponder handles the response to the ListByEnrollmentAccount request. The method always
@@ -818,8 +818,8 @@ func (client MarketplacesClient) ListForBillingPeriodByBillingAccountPreparer(ct
// ListForBillingPeriodByBillingAccountSender sends the ListForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByBillingAccountResponder handles the response to the ListForBillingPeriodByBillingAccount request. The method always
@@ -958,8 +958,8 @@ func (client MarketplacesClient) ListForBillingPeriodByDepartmentPreparer(ctx co
// ListForBillingPeriodByDepartmentSender sends the ListForBillingPeriodByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListForBillingPeriodByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByDepartmentResponder handles the response to the ListForBillingPeriodByDepartment request. The method always
@@ -1098,8 +1098,8 @@ func (client MarketplacesClient) ListForBillingPeriodByEnrollmentAccountPreparer
// ListForBillingPeriodByEnrollmentAccountSender sends the ListForBillingPeriodByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListForBillingPeriodByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByEnrollmentAccountResponder handles the response to the ListForBillingPeriodByEnrollmentAccount request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/operations.go b/services/consumption/mgmt/2018-06-30/consumption/operations.go
index 678774d44ef2..be07f818566f 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/operations.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/operations.go
@@ -93,8 +93,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/pricesheet.go b/services/consumption/mgmt/2018-06-30/consumption/pricesheet.go
index 8d42c16e6bbb..19e86e6ef29a 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/pricesheet.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/pricesheet.go
@@ -123,8 +123,8 @@ func (client PriceSheetClient) GetPreparer(ctx context.Context, expand string, s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -223,8 +223,8 @@ func (client PriceSheetClient) GetByBillingPeriodPreparer(ctx context.Context, b
// GetByBillingPeriodSender sends the GetByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingPeriodResponder handles the response to the GetByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/reservationrecommendations.go b/services/consumption/mgmt/2018-06-30/consumption/reservationrecommendations.go
index 6437c25693f6..25786edb4edc 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/reservationrecommendations.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/reservationrecommendations.go
@@ -102,8 +102,8 @@ func (client ReservationRecommendationsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationRecommendationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/reservationsdetails.go b/services/consumption/mgmt/2018-06-30/consumption/reservationsdetails.go
index e5f9c17c7072..8d478e4c8e21 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/reservationsdetails.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/reservationsdetails.go
@@ -102,8 +102,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderPreparer(ctx conte
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -219,8 +219,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderAndReservationPrep
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/reservationssummaries.go b/services/consumption/mgmt/2018-06-30/consumption/reservationssummaries.go
index 701f8ace0346..82b3cf774fd9 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/reservationssummaries.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/reservationssummaries.go
@@ -106,8 +106,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderPreparer(ctx con
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -227,8 +227,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderAndReservationPr
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/tags.go b/services/consumption/mgmt/2018-06-30/consumption/tags.go
index 208d09b3076c..9cad162c256a 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/tags.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/tags.go
@@ -98,8 +98,8 @@ func (client TagsClient) GetPreparer(ctx context.Context, billingAccountID strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TagsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/consumption/mgmt/2018-06-30/consumption/usagedetails.go b/services/consumption/mgmt/2018-06-30/consumption/usagedetails.go
index 75ff3fede7b6..e864c36a4dea 100644
--- a/services/consumption/mgmt/2018-06-30/consumption/usagedetails.go
+++ b/services/consumption/mgmt/2018-06-30/consumption/usagedetails.go
@@ -135,8 +135,8 @@ func (client UsageDetailsClient) ListPreparer(ctx context.Context, expand string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -283,8 +283,8 @@ func (client UsageDetailsClient) ListByBillingAccountPreparer(ctx context.Contex
// ListByBillingAccountSender sends the ListByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingAccountResponder handles the response to the ListByBillingAccount request. The method always
@@ -433,8 +433,8 @@ func (client UsageDetailsClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
@@ -581,8 +581,8 @@ func (client UsageDetailsClient) ListByDepartmentPreparer(ctx context.Context, d
// ListByDepartmentSender sends the ListByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByDepartmentResponder handles the response to the ListByDepartment request. The method always
@@ -729,8 +729,8 @@ func (client UsageDetailsClient) ListByEnrollmentAccountPreparer(ctx context.Con
// ListByEnrollmentAccountSender sends the ListByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEnrollmentAccountResponder handles the response to the ListByEnrollmentAccount request. The method always
@@ -877,8 +877,8 @@ func (client UsageDetailsClient) ListByManagementGroupPreparer(ctx context.Conte
// ListByManagementGroupSender sends the ListByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByManagementGroupResponder handles the response to the ListByManagementGroup request. The method always
@@ -1028,8 +1028,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountPreparer(ct
// ListForBillingPeriodByBillingAccountSender sends the ListForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByBillingAccountResponder handles the response to the ListForBillingPeriodByBillingAccount request. The method always
@@ -1179,8 +1179,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByDepartmentPreparer(ctx co
// ListForBillingPeriodByDepartmentSender sends the ListForBillingPeriodByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByDepartmentResponder handles the response to the ListForBillingPeriodByDepartment request. The method always
@@ -1330,8 +1330,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountPreparer
// ListForBillingPeriodByEnrollmentAccountSender sends the ListForBillingPeriodByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByEnrollmentAccountResponder handles the response to the ListForBillingPeriodByEnrollmentAccount request. The method always
@@ -1481,8 +1481,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByManagementGroupPreparer(c
// ListForBillingPeriodByManagementGroupSender sends the ListForBillingPeriodByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByManagementGroupResponder handles the response to the ListForBillingPeriodByManagementGroup request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/aggregatedcost.go b/services/consumption/mgmt/2018-08-31/consumption/aggregatedcost.go
index a6094fbd5730..356b344e1cf2 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/aggregatedcost.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/aggregatedcost.go
@@ -105,8 +105,8 @@ func (client AggregatedCostClient) GetByManagementGroupPreparer(ctx context.Cont
// GetByManagementGroupSender sends the GetByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AggregatedCostClient) GetByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByManagementGroupResponder handles the response to the GetByManagementGroup request. The method always
@@ -182,8 +182,8 @@ func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupPreparer(
// GetForBillingPeriodByManagementGroupSender sends the GetForBillingPeriodByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetForBillingPeriodByManagementGroupResponder handles the response to the GetForBillingPeriodByManagementGroup request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/balances.go b/services/consumption/mgmt/2018-08-31/consumption/balances.go
index a8d78b3ea163..1a2b7929af5d 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/balances.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/balances.go
@@ -99,8 +99,8 @@ func (client BalancesClient) GetByBillingAccountPreparer(ctx context.Context, bi
// GetByBillingAccountSender sends the GetByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client BalancesClient) GetByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingAccountResponder handles the response to the GetByBillingAccount request. The method always
@@ -176,8 +176,8 @@ func (client BalancesClient) GetForBillingPeriodByBillingAccountPreparer(ctx con
// GetForBillingPeriodByBillingAccountSender sends the GetForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client BalancesClient) GetForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetForBillingPeriodByBillingAccountResponder handles the response to the GetForBillingPeriodByBillingAccount request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/budgets.go b/services/consumption/mgmt/2018-08-31/consumption/budgets.go
index 9820b728b421..359d599b7a93 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/budgets.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/budgets.go
@@ -129,8 +129,8 @@ func (client BudgetsClient) CreateOrUpdatePreparer(ctx context.Context, budgetNa
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -235,8 +235,8 @@ func (client BudgetsClient) CreateOrUpdateByResourceGroupNamePreparer(ctx contex
// CreateOrUpdateByResourceGroupNameSender sends the CreateOrUpdateByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateByResourceGroupNameResponder handles the response to the CreateOrUpdateByResourceGroupName request. The method always
@@ -310,8 +310,8 @@ func (client BudgetsClient) DeletePreparer(ctx context.Context, budgetName strin
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -386,8 +386,8 @@ func (client BudgetsClient) DeleteByResourceGroupNamePreparer(ctx context.Contex
// DeleteByResourceGroupNameSender sends the DeleteByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteByResourceGroupNameResponder handles the response to the DeleteByResourceGroupName request. The method always
@@ -460,8 +460,8 @@ func (client BudgetsClient) GetPreparer(ctx context.Context, budgetName string)
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -537,8 +537,8 @@ func (client BudgetsClient) GetByResourceGroupNamePreparer(ctx context.Context,
// GetByResourceGroupNameSender sends the GetByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByResourceGroupNameResponder handles the response to the GetByResourceGroupName request. The method always
@@ -610,8 +610,8 @@ func (client BudgetsClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -723,8 +723,8 @@ func (client BudgetsClient) ListByResourceGroupNamePreparer(ctx context.Context,
// ListByResourceGroupNameSender sends the ListByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupNameResponder handles the response to the ListByResourceGroupName request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/charges.go b/services/consumption/mgmt/2018-08-31/consumption/charges.go
index c2756204c1c2..90a248ffb11c 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/charges.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/charges.go
@@ -106,8 +106,8 @@ func (client ChargesClient) ListByDepartmentPreparer(ctx context.Context, billin
// ListByDepartmentSender sends the ListByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client ChargesClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByDepartmentResponder handles the response to the ListByDepartment request. The method always
@@ -188,8 +188,8 @@ func (client ChargesClient) ListByEnrollmentAccountPreparer(ctx context.Context,
// ListByEnrollmentAccountSender sends the ListByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ChargesClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEnrollmentAccountResponder handles the response to the ListByEnrollmentAccount request. The method always
@@ -272,8 +272,8 @@ func (client ChargesClient) ListForBillingPeriodByDepartmentPreparer(ctx context
// ListForBillingPeriodByDepartmentSender sends the ListForBillingPeriodByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client ChargesClient) ListForBillingPeriodByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByDepartmentResponder handles the response to the ListForBillingPeriodByDepartment request. The method always
@@ -356,8 +356,8 @@ func (client ChargesClient) ListForBillingPeriodByEnrollmentAccountPreparer(ctx
// ListForBillingPeriodByEnrollmentAccountSender sends the ListForBillingPeriodByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ChargesClient) ListForBillingPeriodByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByEnrollmentAccountResponder handles the response to the ListForBillingPeriodByEnrollmentAccount request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/forecasts.go b/services/consumption/mgmt/2018-08-31/consumption/forecasts.go
index b11732f6c956..5665fd50f46c 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/forecasts.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/forecasts.go
@@ -103,8 +103,8 @@ func (client ForecastsClient) ListPreparer(ctx context.Context, filter string) (
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ForecastsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/marketplaces.go b/services/consumption/mgmt/2018-08-31/consumption/marketplaces.go
index fe0bb0dcd315..60c9cb5eb1d3 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/marketplaces.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/marketplaces.go
@@ -125,8 +125,8 @@ func (client MarketplacesClient) ListPreparer(ctx context.Context, filter string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -263,8 +263,8 @@ func (client MarketplacesClient) ListByBillingAccountPreparer(ctx context.Contex
// ListByBillingAccountSender sends the ListByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingAccountResponder handles the response to the ListByBillingAccount request. The method always
@@ -402,8 +402,8 @@ func (client MarketplacesClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
@@ -540,8 +540,8 @@ func (client MarketplacesClient) ListByDepartmentPreparer(ctx context.Context, d
// ListByDepartmentSender sends the ListByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByDepartmentResponder handles the response to the ListByDepartment request. The method always
@@ -678,8 +678,8 @@ func (client MarketplacesClient) ListByEnrollmentAccountPreparer(ctx context.Con
// ListByEnrollmentAccountSender sends the ListByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEnrollmentAccountResponder handles the response to the ListByEnrollmentAccount request. The method always
@@ -818,8 +818,8 @@ func (client MarketplacesClient) ListForBillingPeriodByBillingAccountPreparer(ct
// ListForBillingPeriodByBillingAccountSender sends the ListForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByBillingAccountResponder handles the response to the ListForBillingPeriodByBillingAccount request. The method always
@@ -958,8 +958,8 @@ func (client MarketplacesClient) ListForBillingPeriodByDepartmentPreparer(ctx co
// ListForBillingPeriodByDepartmentSender sends the ListForBillingPeriodByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListForBillingPeriodByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByDepartmentResponder handles the response to the ListForBillingPeriodByDepartment request. The method always
@@ -1098,8 +1098,8 @@ func (client MarketplacesClient) ListForBillingPeriodByEnrollmentAccountPreparer
// ListForBillingPeriodByEnrollmentAccountSender sends the ListForBillingPeriodByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListForBillingPeriodByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByEnrollmentAccountResponder handles the response to the ListForBillingPeriodByEnrollmentAccount request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/operations.go b/services/consumption/mgmt/2018-08-31/consumption/operations.go
index 08353b43b059..2f5238958384 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/operations.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/operations.go
@@ -93,8 +93,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/pricesheet.go b/services/consumption/mgmt/2018-08-31/consumption/pricesheet.go
index 5caaa8276ed4..317f108ffc98 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/pricesheet.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/pricesheet.go
@@ -123,8 +123,8 @@ func (client PriceSheetClient) GetPreparer(ctx context.Context, expand string, s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -223,8 +223,8 @@ func (client PriceSheetClient) GetByBillingPeriodPreparer(ctx context.Context, b
// GetByBillingPeriodSender sends the GetByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingPeriodResponder handles the response to the GetByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/reservationrecommendations.go b/services/consumption/mgmt/2018-08-31/consumption/reservationrecommendations.go
index 4cb6e0c9da7e..c705683e57f4 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/reservationrecommendations.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/reservationrecommendations.go
@@ -102,8 +102,8 @@ func (client ReservationRecommendationsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationRecommendationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/reservationsdetails.go b/services/consumption/mgmt/2018-08-31/consumption/reservationsdetails.go
index 11b3aee26b7e..66e61f81ea90 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/reservationsdetails.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/reservationsdetails.go
@@ -102,8 +102,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderPreparer(ctx conte
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -219,8 +219,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderAndReservationPrep
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/reservationssummaries.go b/services/consumption/mgmt/2018-08-31/consumption/reservationssummaries.go
index 2b4dd9c5279c..9d044b8aa237 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/reservationssummaries.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/reservationssummaries.go
@@ -106,8 +106,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderPreparer(ctx con
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -227,8 +227,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderAndReservationPr
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/tags.go b/services/consumption/mgmt/2018-08-31/consumption/tags.go
index 7bc07c6f5d84..cdc6b9669798 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/tags.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/tags.go
@@ -98,8 +98,8 @@ func (client TagsClient) GetPreparer(ctx context.Context, billingAccountID strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TagsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/consumption/mgmt/2018-08-31/consumption/usagedetails.go b/services/consumption/mgmt/2018-08-31/consumption/usagedetails.go
index df0b8713b2ff..291fd9b4336e 100644
--- a/services/consumption/mgmt/2018-08-31/consumption/usagedetails.go
+++ b/services/consumption/mgmt/2018-08-31/consumption/usagedetails.go
@@ -135,8 +135,8 @@ func (client UsageDetailsClient) ListPreparer(ctx context.Context, expand string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -283,8 +283,8 @@ func (client UsageDetailsClient) ListByBillingAccountPreparer(ctx context.Contex
// ListByBillingAccountSender sends the ListByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingAccountResponder handles the response to the ListByBillingAccount request. The method always
@@ -433,8 +433,8 @@ func (client UsageDetailsClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
@@ -581,8 +581,8 @@ func (client UsageDetailsClient) ListByDepartmentPreparer(ctx context.Context, d
// ListByDepartmentSender sends the ListByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByDepartmentResponder handles the response to the ListByDepartment request. The method always
@@ -729,8 +729,8 @@ func (client UsageDetailsClient) ListByEnrollmentAccountPreparer(ctx context.Con
// ListByEnrollmentAccountSender sends the ListByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEnrollmentAccountResponder handles the response to the ListByEnrollmentAccount request. The method always
@@ -877,8 +877,8 @@ func (client UsageDetailsClient) ListByManagementGroupPreparer(ctx context.Conte
// ListByManagementGroupSender sends the ListByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByManagementGroupResponder handles the response to the ListByManagementGroup request. The method always
@@ -1028,8 +1028,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountPreparer(ct
// ListForBillingPeriodByBillingAccountSender sends the ListForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByBillingAccountResponder handles the response to the ListForBillingPeriodByBillingAccount request. The method always
@@ -1179,8 +1179,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByDepartmentPreparer(ctx co
// ListForBillingPeriodByDepartmentSender sends the ListForBillingPeriodByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByDepartmentResponder handles the response to the ListForBillingPeriodByDepartment request. The method always
@@ -1330,8 +1330,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountPreparer
// ListForBillingPeriodByEnrollmentAccountSender sends the ListForBillingPeriodByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByEnrollmentAccountResponder handles the response to the ListForBillingPeriodByEnrollmentAccount request. The method always
@@ -1481,8 +1481,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByManagementGroupPreparer(c
// ListForBillingPeriodByManagementGroupSender sends the ListForBillingPeriodByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByManagementGroupResponder handles the response to the ListForBillingPeriodByManagementGroup request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/aggregatedcost.go b/services/consumption/mgmt/2018-10-01/consumption/aggregatedcost.go
index e89725aec1f5..5428c67e9534 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/aggregatedcost.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/aggregatedcost.go
@@ -105,8 +105,8 @@ func (client AggregatedCostClient) GetByManagementGroupPreparer(ctx context.Cont
// GetByManagementGroupSender sends the GetByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AggregatedCostClient) GetByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByManagementGroupResponder handles the response to the GetByManagementGroup request. The method always
@@ -182,8 +182,8 @@ func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupPreparer(
// GetForBillingPeriodByManagementGroupSender sends the GetForBillingPeriodByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetForBillingPeriodByManagementGroupResponder handles the response to the GetForBillingPeriodByManagementGroup request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/balances.go b/services/consumption/mgmt/2018-10-01/consumption/balances.go
index 568e51e11e88..4a7680223337 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/balances.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/balances.go
@@ -99,8 +99,8 @@ func (client BalancesClient) GetByBillingAccountPreparer(ctx context.Context, bi
// GetByBillingAccountSender sends the GetByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client BalancesClient) GetByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingAccountResponder handles the response to the GetByBillingAccount request. The method always
@@ -176,8 +176,8 @@ func (client BalancesClient) GetForBillingPeriodByBillingAccountPreparer(ctx con
// GetForBillingPeriodByBillingAccountSender sends the GetForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client BalancesClient) GetForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetForBillingPeriodByBillingAccountResponder handles the response to the GetForBillingPeriodByBillingAccount request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/budgets.go b/services/consumption/mgmt/2018-10-01/consumption/budgets.go
index 692ec52f21cf..03c2e97c0969 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/budgets.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/budgets.go
@@ -129,8 +129,8 @@ func (client BudgetsClient) CreateOrUpdatePreparer(ctx context.Context, budgetNa
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -235,8 +235,8 @@ func (client BudgetsClient) CreateOrUpdateByResourceGroupNamePreparer(ctx contex
// CreateOrUpdateByResourceGroupNameSender sends the CreateOrUpdateByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateByResourceGroupNameResponder handles the response to the CreateOrUpdateByResourceGroupName request. The method always
@@ -310,8 +310,8 @@ func (client BudgetsClient) DeletePreparer(ctx context.Context, budgetName strin
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -386,8 +386,8 @@ func (client BudgetsClient) DeleteByResourceGroupNamePreparer(ctx context.Contex
// DeleteByResourceGroupNameSender sends the DeleteByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteByResourceGroupNameResponder handles the response to the DeleteByResourceGroupName request. The method always
@@ -460,8 +460,8 @@ func (client BudgetsClient) GetPreparer(ctx context.Context, budgetName string)
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -537,8 +537,8 @@ func (client BudgetsClient) GetByResourceGroupNamePreparer(ctx context.Context,
// GetByResourceGroupNameSender sends the GetByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByResourceGroupNameResponder handles the response to the GetByResourceGroupName request. The method always
@@ -610,8 +610,8 @@ func (client BudgetsClient) ListPreparer(ctx context.Context) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -723,8 +723,8 @@ func (client BudgetsClient) ListByResourceGroupNamePreparer(ctx context.Context,
// ListByResourceGroupNameSender sends the ListByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupNameResponder handles the response to the ListByResourceGroupName request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/charges.go b/services/consumption/mgmt/2018-10-01/consumption/charges.go
index c426cc4a0466..7c948149b98f 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/charges.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/charges.go
@@ -106,8 +106,8 @@ func (client ChargesClient) ListByDepartmentPreparer(ctx context.Context, billin
// ListByDepartmentSender sends the ListByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client ChargesClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByDepartmentResponder handles the response to the ListByDepartment request. The method always
@@ -188,8 +188,8 @@ func (client ChargesClient) ListByEnrollmentAccountPreparer(ctx context.Context,
// ListByEnrollmentAccountSender sends the ListByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ChargesClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEnrollmentAccountResponder handles the response to the ListByEnrollmentAccount request. The method always
@@ -272,8 +272,8 @@ func (client ChargesClient) ListForBillingPeriodByDepartmentPreparer(ctx context
// ListForBillingPeriodByDepartmentSender sends the ListForBillingPeriodByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client ChargesClient) ListForBillingPeriodByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByDepartmentResponder handles the response to the ListForBillingPeriodByDepartment request. The method always
@@ -356,8 +356,8 @@ func (client ChargesClient) ListForBillingPeriodByEnrollmentAccountPreparer(ctx
// ListForBillingPeriodByEnrollmentAccountSender sends the ListForBillingPeriodByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ChargesClient) ListForBillingPeriodByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByEnrollmentAccountResponder handles the response to the ListForBillingPeriodByEnrollmentAccount request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/forecasts.go b/services/consumption/mgmt/2018-10-01/consumption/forecasts.go
index c4ac37825998..8024b0cca7a4 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/forecasts.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/forecasts.go
@@ -103,8 +103,8 @@ func (client ForecastsClient) ListPreparer(ctx context.Context, filter string) (
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ForecastsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/marketplaces.go b/services/consumption/mgmt/2018-10-01/consumption/marketplaces.go
index 7286eb303dbb..96b15c11eac4 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/marketplaces.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/marketplaces.go
@@ -125,8 +125,8 @@ func (client MarketplacesClient) ListPreparer(ctx context.Context, filter string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -263,8 +263,8 @@ func (client MarketplacesClient) ListByBillingAccountPreparer(ctx context.Contex
// ListByBillingAccountSender sends the ListByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingAccountResponder handles the response to the ListByBillingAccount request. The method always
@@ -402,8 +402,8 @@ func (client MarketplacesClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
@@ -540,8 +540,8 @@ func (client MarketplacesClient) ListByDepartmentPreparer(ctx context.Context, d
// ListByDepartmentSender sends the ListByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByDepartmentResponder handles the response to the ListByDepartment request. The method always
@@ -678,8 +678,8 @@ func (client MarketplacesClient) ListByEnrollmentAccountPreparer(ctx context.Con
// ListByEnrollmentAccountSender sends the ListByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEnrollmentAccountResponder handles the response to the ListByEnrollmentAccount request. The method always
@@ -816,8 +816,8 @@ func (client MarketplacesClient) ListByManagementGroupPreparer(ctx context.Conte
// ListByManagementGroupSender sends the ListByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByManagementGroupResponder handles the response to the ListByManagementGroup request. The method always
@@ -956,8 +956,8 @@ func (client MarketplacesClient) ListForBillingPeriodByBillingAccountPreparer(ct
// ListForBillingPeriodByBillingAccountSender sends the ListForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByBillingAccountResponder handles the response to the ListForBillingPeriodByBillingAccount request. The method always
@@ -1096,8 +1096,8 @@ func (client MarketplacesClient) ListForBillingPeriodByDepartmentPreparer(ctx co
// ListForBillingPeriodByDepartmentSender sends the ListForBillingPeriodByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListForBillingPeriodByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByDepartmentResponder handles the response to the ListForBillingPeriodByDepartment request. The method always
@@ -1236,8 +1236,8 @@ func (client MarketplacesClient) ListForBillingPeriodByEnrollmentAccountPreparer
// ListForBillingPeriodByEnrollmentAccountSender sends the ListForBillingPeriodByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListForBillingPeriodByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByEnrollmentAccountResponder handles the response to the ListForBillingPeriodByEnrollmentAccount request. The method always
@@ -1376,8 +1376,8 @@ func (client MarketplacesClient) ListForBillingPeriodByManagementGroupPreparer(c
// ListForBillingPeriodByManagementGroupSender sends the ListForBillingPeriodByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListForBillingPeriodByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByManagementGroupResponder handles the response to the ListForBillingPeriodByManagementGroup request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/operations.go b/services/consumption/mgmt/2018-10-01/consumption/operations.go
index cc223e018ace..1e4283e24e81 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/operations.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/operations.go
@@ -93,8 +93,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/pricesheet.go b/services/consumption/mgmt/2018-10-01/consumption/pricesheet.go
index cda73ae0a89d..8f2d86ca67ac 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/pricesheet.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/pricesheet.go
@@ -123,8 +123,8 @@ func (client PriceSheetClient) GetPreparer(ctx context.Context, expand string, s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -223,8 +223,8 @@ func (client PriceSheetClient) GetByBillingPeriodPreparer(ctx context.Context, b
// GetByBillingPeriodSender sends the GetByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingPeriodResponder handles the response to the GetByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/reservationrecommendations.go b/services/consumption/mgmt/2018-10-01/consumption/reservationrecommendations.go
index dde77a89d97d..d28e7d904fc3 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/reservationrecommendations.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/reservationrecommendations.go
@@ -102,8 +102,8 @@ func (client ReservationRecommendationsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationRecommendationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/reservationsdetails.go b/services/consumption/mgmt/2018-10-01/consumption/reservationsdetails.go
index 2954835d9803..e1b655ae675c 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/reservationsdetails.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/reservationsdetails.go
@@ -102,8 +102,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderPreparer(ctx conte
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -219,8 +219,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderAndReservationPrep
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/reservationssummaries.go b/services/consumption/mgmt/2018-10-01/consumption/reservationssummaries.go
index f2019030218a..541de41d9817 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/reservationssummaries.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/reservationssummaries.go
@@ -106,8 +106,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderPreparer(ctx con
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -227,8 +227,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderAndReservationPr
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/tags.go b/services/consumption/mgmt/2018-10-01/consumption/tags.go
index dc6585a1b411..94a05c58c868 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/tags.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/tags.go
@@ -98,8 +98,8 @@ func (client TagsClient) GetPreparer(ctx context.Context, billingAccountID strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TagsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/tenants.go b/services/consumption/mgmt/2018-10-01/consumption/tenants.go
index 47a10b43c8c3..13b077c50555 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/tenants.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/tenants.go
@@ -100,8 +100,8 @@ func (client TenantsClient) GetPreparer(ctx context.Context, billingAccountID st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TenantsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/consumption/mgmt/2018-10-01/consumption/usagedetails.go b/services/consumption/mgmt/2018-10-01/consumption/usagedetails.go
index 6cbf1baae059..e912cffa381e 100644
--- a/services/consumption/mgmt/2018-10-01/consumption/usagedetails.go
+++ b/services/consumption/mgmt/2018-10-01/consumption/usagedetails.go
@@ -135,8 +135,8 @@ func (client UsageDetailsClient) ListPreparer(ctx context.Context, expand string
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -283,8 +283,8 @@ func (client UsageDetailsClient) ListByBillingAccountPreparer(ctx context.Contex
// ListByBillingAccountSender sends the ListByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingAccountResponder handles the response to the ListByBillingAccount request. The method always
@@ -433,8 +433,8 @@ func (client UsageDetailsClient) ListByBillingPeriodPreparer(ctx context.Context
// ListByBillingPeriodSender sends the ListByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByBillingPeriodResponder handles the response to the ListByBillingPeriod request. The method always
@@ -581,8 +581,8 @@ func (client UsageDetailsClient) ListByDepartmentPreparer(ctx context.Context, d
// ListByDepartmentSender sends the ListByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByDepartmentResponder handles the response to the ListByDepartment request. The method always
@@ -729,8 +729,8 @@ func (client UsageDetailsClient) ListByEnrollmentAccountPreparer(ctx context.Con
// ListByEnrollmentAccountSender sends the ListByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByEnrollmentAccountResponder handles the response to the ListByEnrollmentAccount request. The method always
@@ -877,8 +877,8 @@ func (client UsageDetailsClient) ListByManagementGroupPreparer(ctx context.Conte
// ListByManagementGroupSender sends the ListByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByManagementGroupResponder handles the response to the ListByManagementGroup request. The method always
@@ -1028,8 +1028,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountPreparer(ct
// ListForBillingPeriodByBillingAccountSender sends the ListForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByBillingAccountResponder handles the response to the ListForBillingPeriodByBillingAccount request. The method always
@@ -1179,8 +1179,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByDepartmentPreparer(ctx co
// ListForBillingPeriodByDepartmentSender sends the ListForBillingPeriodByDepartment request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByDepartmentSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByDepartmentResponder handles the response to the ListForBillingPeriodByDepartment request. The method always
@@ -1330,8 +1330,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountPreparer
// ListForBillingPeriodByEnrollmentAccountSender sends the ListForBillingPeriodByEnrollmentAccount request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByEnrollmentAccountResponder handles the response to the ListForBillingPeriodByEnrollmentAccount request. The method always
@@ -1481,8 +1481,8 @@ func (client UsageDetailsClient) ListForBillingPeriodByManagementGroupPreparer(c
// ListForBillingPeriodByManagementGroupSender sends the ListForBillingPeriodByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListForBillingPeriodByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListForBillingPeriodByManagementGroupResponder handles the response to the ListForBillingPeriodByManagementGroup request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/aggregatedcost.go b/services/consumption/mgmt/2019-01-01/consumption/aggregatedcost.go
index 3d0d68e87c15..0d78ad6dc00f 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/aggregatedcost.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/aggregatedcost.go
@@ -105,8 +105,8 @@ func (client AggregatedCostClient) GetByManagementGroupPreparer(ctx context.Cont
// GetByManagementGroupSender sends the GetByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AggregatedCostClient) GetByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByManagementGroupResponder handles the response to the GetByManagementGroup request. The method always
@@ -182,8 +182,8 @@ func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupPreparer(
// GetForBillingPeriodByManagementGroupSender sends the GetForBillingPeriodByManagementGroup request. The method will close the
// http.Response Body if it receives an error.
func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetForBillingPeriodByManagementGroupResponder handles the response to the GetForBillingPeriodByManagementGroup request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/balances.go b/services/consumption/mgmt/2019-01-01/consumption/balances.go
index 7c9bb3c92bec..6543869e23b8 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/balances.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/balances.go
@@ -99,8 +99,8 @@ func (client BalancesClient) GetByBillingAccountPreparer(ctx context.Context, bi
// GetByBillingAccountSender sends the GetByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client BalancesClient) GetByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingAccountResponder handles the response to the GetByBillingAccount request. The method always
@@ -176,8 +176,8 @@ func (client BalancesClient) GetForBillingPeriodByBillingAccountPreparer(ctx con
// GetForBillingPeriodByBillingAccountSender sends the GetForBillingPeriodByBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client BalancesClient) GetForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetForBillingPeriodByBillingAccountResponder handles the response to the GetForBillingPeriodByBillingAccount request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/budgets.go b/services/consumption/mgmt/2019-01-01/consumption/budgets.go
index 577870926f1b..07fc86345f9f 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/budgets.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/budgets.go
@@ -141,8 +141,8 @@ func (client BudgetsClient) CreateOrUpdatePreparer(ctx context.Context, scope st
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -228,8 +228,8 @@ func (client BudgetsClient) DeletePreparer(ctx context.Context, scope string, bu
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -314,8 +314,8 @@ func (client BudgetsClient) GetPreparer(ctx context.Context, scope string, budge
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -400,8 +400,8 @@ func (client BudgetsClient) ListPreparer(ctx context.Context, scope string) (*ht
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BudgetsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/charges.go b/services/consumption/mgmt/2019-01-01/consumption/charges.go
index 7eb6717a36ef..b51a54ef9761 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/charges.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/charges.go
@@ -111,8 +111,8 @@ func (client ChargesClient) ListByScopePreparer(ctx context.Context, scope strin
// ListByScopeSender sends the ListByScope request. The method will close the
// http.Response Body if it receives an error.
func (client ChargesClient) ListByScopeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByScopeResponder handles the response to the ListByScope request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/forecasts.go b/services/consumption/mgmt/2019-01-01/consumption/forecasts.go
index 6f691bc2ab97..9a8445c94cf0 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/forecasts.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/forecasts.go
@@ -103,8 +103,8 @@ func (client ForecastsClient) ListPreparer(ctx context.Context, filter string) (
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ForecastsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/marketplaces.go b/services/consumption/mgmt/2019-01-01/consumption/marketplaces.go
index 9c3890f6a793..5cbe51c89f6e 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/marketplaces.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/marketplaces.go
@@ -134,8 +134,8 @@ func (client MarketplacesClient) ListPreparer(ctx context.Context, scope string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client MarketplacesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/operations.go b/services/consumption/mgmt/2019-01-01/consumption/operations.go
index 3f850541b482..c823097122b7 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/operations.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/operations.go
@@ -93,8 +93,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/pricesheet.go b/services/consumption/mgmt/2019-01-01/consumption/pricesheet.go
index 3ec21cdd6005..5654aa634437 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/pricesheet.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/pricesheet.go
@@ -123,8 +123,8 @@ func (client PriceSheetClient) GetPreparer(ctx context.Context, expand string, s
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -223,8 +223,8 @@ func (client PriceSheetClient) GetByBillingPeriodPreparer(ctx context.Context, b
// GetByBillingPeriodSender sends the GetByBillingPeriod request. The method will close the
// http.Response Body if it receives an error.
func (client PriceSheetClient) GetByBillingPeriodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByBillingPeriodResponder handles the response to the GetByBillingPeriod request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/reservationrecommendations.go b/services/consumption/mgmt/2019-01-01/consumption/reservationrecommendations.go
index 92bede3a7d4b..00ff26dac946 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/reservationrecommendations.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/reservationrecommendations.go
@@ -102,8 +102,8 @@ func (client ReservationRecommendationsClient) ListPreparer(ctx context.Context,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationRecommendationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/reservationsdetails.go b/services/consumption/mgmt/2019-01-01/consumption/reservationsdetails.go
index c10eaf10811e..9216a9cde0d1 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/reservationsdetails.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/reservationsdetails.go
@@ -102,8 +102,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderPreparer(ctx conte
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -219,8 +219,8 @@ func (client ReservationsDetailsClient) ListByReservationOrderAndReservationPrep
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsDetailsClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/reservationssummaries.go b/services/consumption/mgmt/2019-01-01/consumption/reservationssummaries.go
index e9ac6335df1e..c464249de45e 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/reservationssummaries.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/reservationssummaries.go
@@ -106,8 +106,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderPreparer(ctx con
// ListByReservationOrderSender sends the ListByReservationOrder request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderResponder handles the response to the ListByReservationOrder request. The method always
@@ -227,8 +227,8 @@ func (client ReservationsSummariesClient) ListByReservationOrderAndReservationPr
// ListByReservationOrderAndReservationSender sends the ListByReservationOrderAndReservation request. The method will close the
// http.Response Body if it receives an error.
func (client ReservationsSummariesClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByReservationOrderAndReservationResponder handles the response to the ListByReservationOrderAndReservation request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/tags.go b/services/consumption/mgmt/2019-01-01/consumption/tags.go
index 92224553a1fb..982add9aa971 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/tags.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/tags.go
@@ -105,8 +105,8 @@ func (client TagsClient) GetPreparer(ctx context.Context, scope string) (*http.R
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TagsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
diff --git a/services/consumption/mgmt/2019-01-01/consumption/usagedetails.go b/services/consumption/mgmt/2019-01-01/consumption/usagedetails.go
index 33cf137b4cf5..96134161219e 100644
--- a/services/consumption/mgmt/2019-01-01/consumption/usagedetails.go
+++ b/services/consumption/mgmt/2019-01-01/consumption/usagedetails.go
@@ -144,8 +144,8 @@ func (client UsageDetailsClient) ListPreparer(ctx context.Context, scope string,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerinstance/mgmt/2018-04-01/containerinstance/containergroups.go b/services/containerinstance/mgmt/2018-04-01/containerinstance/containergroups.go
index b4fde307d031..4c5d143e91c3 100644
--- a/services/containerinstance/mgmt/2018-04-01/containerinstance/containergroups.go
+++ b/services/containerinstance/mgmt/2018-04-01/containerinstance/containergroups.go
@@ -110,9 +110,9 @@ func (client ContainerGroupsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) CreateOrUpdateSender(req *http.Request) (future ContainerGroupsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -194,8 +194,8 @@ func (client ContainerGroupsClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -273,8 +273,8 @@ func (client ContainerGroupsClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -348,8 +348,8 @@ func (client ContainerGroupsClient) ListPreparer(ctx context.Context) (*http.Req
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -463,8 +463,8 @@ func (client ContainerGroupsClient) ListByResourceGroupPreparer(ctx context.Cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -583,8 +583,8 @@ func (client ContainerGroupsClient) UpdatePreparer(ctx context.Context, resource
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/containerinstance/mgmt/2018-04-01/containerinstance/containergroupusage.go b/services/containerinstance/mgmt/2018-04-01/containerinstance/containergroupusage.go
index 3f91f1f568da..fefe663823f4 100644
--- a/services/containerinstance/mgmt/2018-04-01/containerinstance/containergroupusage.go
+++ b/services/containerinstance/mgmt/2018-04-01/containerinstance/containergroupusage.go
@@ -98,8 +98,8 @@ func (client ContainerGroupUsageClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupUsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerinstance/mgmt/2018-04-01/containerinstance/containerlogs.go b/services/containerinstance/mgmt/2018-04-01/containerinstance/containerlogs.go
index 97ad98fdcaca..d5077cdd8942 100644
--- a/services/containerinstance/mgmt/2018-04-01/containerinstance/containerlogs.go
+++ b/services/containerinstance/mgmt/2018-04-01/containerinstance/containerlogs.go
@@ -107,8 +107,8 @@ func (client ContainerLogsClient) ListPreparer(ctx context.Context, resourceGrou
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerLogsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerinstance/mgmt/2018-04-01/containerinstance/operations.go b/services/containerinstance/mgmt/2018-04-01/containerinstance/operations.go
index 19c3671f7b96..38919293b814 100644
--- a/services/containerinstance/mgmt/2018-04-01/containerinstance/operations.go
+++ b/services/containerinstance/mgmt/2018-04-01/containerinstance/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerinstance/mgmt/2018-04-01/containerinstance/startcontainer.go b/services/containerinstance/mgmt/2018-04-01/containerinstance/startcontainer.go
index c2cd8955281e..c91fdcf2360d 100644
--- a/services/containerinstance/mgmt/2018-04-01/containerinstance/startcontainer.go
+++ b/services/containerinstance/mgmt/2018-04-01/containerinstance/startcontainer.go
@@ -106,8 +106,8 @@ func (client StartContainerClient) LaunchExecPreparer(ctx context.Context, resou
// LaunchExecSender sends the LaunchExec request. The method will close the
// http.Response Body if it receives an error.
func (client StartContainerClient) LaunchExecSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// LaunchExecResponder handles the response to the LaunchExec request. The method always
diff --git a/services/containerinstance/mgmt/2018-06-01/containerinstance/container.go b/services/containerinstance/mgmt/2018-06-01/containerinstance/container.go
index b3fbe59b58cb..98df0286eefb 100644
--- a/services/containerinstance/mgmt/2018-06-01/containerinstance/container.go
+++ b/services/containerinstance/mgmt/2018-06-01/containerinstance/container.go
@@ -106,8 +106,8 @@ func (client ContainerClient) ExecuteCommandPreparer(ctx context.Context, resour
// ExecuteCommandSender sends the ExecuteCommand request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerClient) ExecuteCommandSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExecuteCommandResponder handles the response to the ExecuteCommand request. The method always
@@ -190,8 +190,8 @@ func (client ContainerClient) ListLogsPreparer(ctx context.Context, resourceGrou
// ListLogsSender sends the ListLogs request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerClient) ListLogsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListLogsResponder handles the response to the ListLogs request. The method always
diff --git a/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroups.go b/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroups.go
index b26401724dd5..039744100887 100644
--- a/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroups.go
+++ b/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroups.go
@@ -116,9 +116,9 @@ func (client ContainerGroupsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) CreateOrUpdateSender(req *http.Request) (future ContainerGroupsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -200,8 +200,8 @@ func (client ContainerGroupsClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -279,8 +279,8 @@ func (client ContainerGroupsClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -354,8 +354,8 @@ func (client ContainerGroupsClient) ListPreparer(ctx context.Context) (*http.Req
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -469,8 +469,8 @@ func (client ContainerGroupsClient) ListByResourceGroupPreparer(ctx context.Cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -578,9 +578,9 @@ func (client ContainerGroupsClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) RestartSender(req *http.Request) (future ContainerGroupsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -660,8 +660,8 @@ func (client ContainerGroupsClient) StopPreparer(ctx context.Context, resourceGr
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) StopSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResponder handles the response to the Stop request. The method always
@@ -742,8 +742,8 @@ func (client ContainerGroupsClient) UpdatePreparer(ctx context.Context, resource
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroupusage.go b/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroupusage.go
index aa928935753d..ce07aa76b2c9 100644
--- a/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroupusage.go
+++ b/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroupusage.go
@@ -98,8 +98,8 @@ func (client ContainerGroupUsageClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupUsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerinstance/mgmt/2018-06-01/containerinstance/operations.go b/services/containerinstance/mgmt/2018-06-01/containerinstance/operations.go
index 1c22aed964cc..8873ba44904f 100644
--- a/services/containerinstance/mgmt/2018-06-01/containerinstance/operations.go
+++ b/services/containerinstance/mgmt/2018-06-01/containerinstance/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerinstance/mgmt/2018-09-01/containerinstance/container.go b/services/containerinstance/mgmt/2018-09-01/containerinstance/container.go
index 44fac800966a..463e7c7638ac 100644
--- a/services/containerinstance/mgmt/2018-09-01/containerinstance/container.go
+++ b/services/containerinstance/mgmt/2018-09-01/containerinstance/container.go
@@ -106,8 +106,8 @@ func (client ContainerClient) ExecuteCommandPreparer(ctx context.Context, resour
// ExecuteCommandSender sends the ExecuteCommand request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerClient) ExecuteCommandSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExecuteCommandResponder handles the response to the ExecuteCommand request. The method always
@@ -190,8 +190,8 @@ func (client ContainerClient) ListLogsPreparer(ctx context.Context, resourceGrou
// ListLogsSender sends the ListLogs request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerClient) ListLogsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListLogsResponder handles the response to the ListLogs request. The method always
diff --git a/services/containerinstance/mgmt/2018-09-01/containerinstance/containergroups.go b/services/containerinstance/mgmt/2018-09-01/containerinstance/containergroups.go
index b1bc79c7b4a3..a2a675b887bb 100644
--- a/services/containerinstance/mgmt/2018-09-01/containerinstance/containergroups.go
+++ b/services/containerinstance/mgmt/2018-09-01/containerinstance/containergroups.go
@@ -116,9 +116,9 @@ func (client ContainerGroupsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) CreateOrUpdateSender(req *http.Request) (future ContainerGroupsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -200,8 +200,8 @@ func (client ContainerGroupsClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -279,8 +279,8 @@ func (client ContainerGroupsClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -354,8 +354,8 @@ func (client ContainerGroupsClient) ListPreparer(ctx context.Context) (*http.Req
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -469,8 +469,8 @@ func (client ContainerGroupsClient) ListByResourceGroupPreparer(ctx context.Cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -578,9 +578,9 @@ func (client ContainerGroupsClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) RestartSender(req *http.Request) (future ContainerGroupsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -660,8 +660,8 @@ func (client ContainerGroupsClient) StopPreparer(ctx context.Context, resourceGr
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) StopSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResponder handles the response to the Stop request. The method always
@@ -742,8 +742,8 @@ func (client ContainerGroupsClient) UpdatePreparer(ctx context.Context, resource
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/containerinstance/mgmt/2018-09-01/containerinstance/containergroupusage.go b/services/containerinstance/mgmt/2018-09-01/containerinstance/containergroupusage.go
index 954f1df83ef7..ac3f287c567b 100644
--- a/services/containerinstance/mgmt/2018-09-01/containerinstance/containergroupusage.go
+++ b/services/containerinstance/mgmt/2018-09-01/containerinstance/containergroupusage.go
@@ -98,8 +98,8 @@ func (client ContainerGroupUsageClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupUsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerinstance/mgmt/2018-09-01/containerinstance/operations.go b/services/containerinstance/mgmt/2018-09-01/containerinstance/operations.go
index 0e93272d2374..5687b37b5229 100644
--- a/services/containerinstance/mgmt/2018-09-01/containerinstance/operations.go
+++ b/services/containerinstance/mgmt/2018-09-01/containerinstance/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go
index 7cb91fb5cdef..86b35d56d51c 100644
--- a/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go
+++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go
@@ -112,8 +112,8 @@ func (client BaseClient) ListCachedImagesPreparer(ctx context.Context, location
// ListCachedImagesSender sends the ListCachedImages request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ListCachedImagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCachedImagesResponder handles the response to the ListCachedImages request. The method always
@@ -187,8 +187,8 @@ func (client BaseClient) ListCapabilitiesPreparer(ctx context.Context, location
// ListCapabilitiesSender sends the ListCapabilities request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) ListCapabilitiesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCapabilitiesResponder handles the response to the ListCapabilities request. The method always
diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go
index 3d7d31cb4afa..d2c454561ed7 100644
--- a/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go
+++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go
@@ -106,8 +106,8 @@ func (client ContainerClient) ExecuteCommandPreparer(ctx context.Context, resour
// ExecuteCommandSender sends the ExecuteCommand request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerClient) ExecuteCommandSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExecuteCommandResponder handles the response to the ExecuteCommand request. The method always
@@ -190,8 +190,8 @@ func (client ContainerClient) ListLogsPreparer(ctx context.Context, resourceGrou
// ListLogsSender sends the ListLogs request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerClient) ListLogsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListLogsResponder handles the response to the ListLogs request. The method always
diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go
index 7ed01e33c73e..8467499652a7 100644
--- a/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go
+++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go
@@ -118,9 +118,9 @@ func (client ContainerGroupsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) CreateOrUpdateSender(req *http.Request) (future ContainerGroupsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -202,8 +202,8 @@ func (client ContainerGroupsClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -281,8 +281,8 @@ func (client ContainerGroupsClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -356,8 +356,8 @@ func (client ContainerGroupsClient) ListPreparer(ctx context.Context) (*http.Req
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -471,8 +471,8 @@ func (client ContainerGroupsClient) ListByResourceGroupPreparer(ctx context.Cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -580,9 +580,9 @@ func (client ContainerGroupsClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) RestartSender(req *http.Request) (future ContainerGroupsRestartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -656,9 +656,9 @@ func (client ContainerGroupsClient) StartPreparer(ctx context.Context, resourceG
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) StartSender(req *http.Request) (future ContainerGroupsStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -738,8 +738,8 @@ func (client ContainerGroupsClient) StopPreparer(ctx context.Context, resourceGr
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) StopSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// StopResponder handles the response to the Stop request. The method always
@@ -820,8 +820,8 @@ func (client ContainerGroupsClient) UpdatePreparer(ctx context.Context, resource
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go
index 12cd1fc2e9b9..f4933f9a5c4f 100644
--- a/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go
+++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go
@@ -98,8 +98,8 @@ func (client ContainerGroupUsageClient) ListPreparer(ctx context.Context, locati
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerGroupUsageClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go
index e541b1d8b39b..23aa69498ab2 100644
--- a/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go
+++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go
index a5b6ddf95cee..d39598eeebbc 100644
--- a/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go
+++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go
@@ -103,8 +103,8 @@ func (client ServiceAssociationLinkClient) DeletePreparer(ctx context.Context, r
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceAssociationLinkClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
diff --git a/services/containerregistry/mgmt/2017-03-01/containerregistry/operations.go b/services/containerregistry/mgmt/2017-03-01/containerregistry/operations.go
index bee569596184..f647338b0f08 100644
--- a/services/containerregistry/mgmt/2017-03-01/containerregistry/operations.go
+++ b/services/containerregistry/mgmt/2017-03-01/containerregistry/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerregistry/mgmt/2017-03-01/containerregistry/registries.go b/services/containerregistry/mgmt/2017-03-01/containerregistry/registries.go
index 274045373f0a..7f62c7075e4d 100644
--- a/services/containerregistry/mgmt/2017-03-01/containerregistry/registries.go
+++ b/services/containerregistry/mgmt/2017-03-01/containerregistry/registries.go
@@ -112,8 +112,8 @@ func (client RegistriesClient) CheckNameAvailabilityPreparer(ctx context.Context
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -206,9 +206,9 @@ func (client RegistriesClient) CreatePreparer(ctx context.Context, resourceGroup
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CreateSender(req *http.Request) (future RegistriesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -299,8 +299,8 @@ func (client RegistriesClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -385,8 +385,8 @@ func (client RegistriesClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -458,8 +458,8 @@ func (client RegistriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -577,8 +577,8 @@ func (client RegistriesClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -701,8 +701,8 @@ func (client RegistriesClient) ListCredentialsPreparer(ctx context.Context, reso
// ListCredentialsSender sends the ListCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCredentialsResponder handles the response to the ListCredentials request. The method always
@@ -792,8 +792,8 @@ func (client RegistriesClient) RegenerateCredentialPreparer(ctx context.Context,
// RegenerateCredentialSender sends the RegenerateCredential request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) RegenerateCredentialSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateCredentialResponder handles the response to the RegenerateCredential request. The method always
@@ -882,8 +882,8 @@ func (client RegistriesClient) UpdatePreparer(ctx context.Context, resourceGroup
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/containerregistry/mgmt/2017-10-01/containerregistry/operations.go b/services/containerregistry/mgmt/2017-10-01/containerregistry/operations.go
index 639a54292be9..6123d75bf384 100644
--- a/services/containerregistry/mgmt/2017-10-01/containerregistry/operations.go
+++ b/services/containerregistry/mgmt/2017-10-01/containerregistry/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerregistry/mgmt/2017-10-01/containerregistry/registries.go b/services/containerregistry/mgmt/2017-10-01/containerregistry/registries.go
index f904f1b91e1e..4bd1689296cd 100644
--- a/services/containerregistry/mgmt/2017-10-01/containerregistry/registries.go
+++ b/services/containerregistry/mgmt/2017-10-01/containerregistry/registries.go
@@ -112,8 +112,8 @@ func (client RegistriesClient) CheckNameAvailabilityPreparer(ctx context.Context
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -202,9 +202,9 @@ func (client RegistriesClient) CreatePreparer(ctx context.Context, resourceGroup
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CreateSender(req *http.Request) (future RegistriesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -289,9 +289,9 @@ func (client RegistriesClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) DeleteSender(req *http.Request) (future RegistriesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -381,8 +381,8 @@ func (client RegistriesClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -471,9 +471,9 @@ func (client RegistriesClient) ImportImagePreparer(ctx context.Context, resource
// ImportImageSender sends the ImportImage request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ImportImageSender(req *http.Request) (future RegistriesImportImageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -549,8 +549,8 @@ func (client RegistriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -668,8 +668,8 @@ func (client RegistriesClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -792,8 +792,8 @@ func (client RegistriesClient) ListCredentialsPreparer(ctx context.Context, reso
// ListCredentialsSender sends the ListCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCredentialsResponder handles the response to the ListCredentials request. The method always
@@ -879,8 +879,8 @@ func (client RegistriesClient) ListPoliciesPreparer(ctx context.Context, resourc
// ListPoliciesSender sends the ListPolicies request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListPoliciesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPoliciesResponder handles the response to the ListPolicies request. The method always
@@ -966,8 +966,8 @@ func (client RegistriesClient) ListUsagesPreparer(ctx context.Context, resourceG
// ListUsagesSender sends the ListUsages request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsagesResponder handles the response to the ListUsages request. The method always
@@ -1057,8 +1057,8 @@ func (client RegistriesClient) RegenerateCredentialPreparer(ctx context.Context,
// RegenerateCredentialSender sends the RegenerateCredential request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) RegenerateCredentialSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateCredentialResponder handles the response to the RegenerateCredential request. The method always
@@ -1141,9 +1141,9 @@ func (client RegistriesClient) UpdatePreparer(ctx context.Context, resourceGroup
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdateSender(req *http.Request) (future RegistriesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1231,9 +1231,9 @@ func (client RegistriesClient) UpdatePoliciesPreparer(ctx context.Context, resou
// UpdatePoliciesSender sends the UpdatePolicies request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdatePoliciesSender(req *http.Request) (future RegistriesUpdatePoliciesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2017-10-01/containerregistry/replications.go b/services/containerregistry/mgmt/2017-10-01/containerregistry/replications.go
index 5dcdd614b16e..f356afa2d4f8 100644
--- a/services/containerregistry/mgmt/2017-10-01/containerregistry/replications.go
+++ b/services/containerregistry/mgmt/2017-10-01/containerregistry/replications.go
@@ -114,9 +114,9 @@ func (client ReplicationsClient) CreatePreparer(ctx context.Context, resourceGro
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) CreateSender(req *http.Request) (future ReplicationsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -207,9 +207,9 @@ func (client ReplicationsClient) DeletePreparer(ctx context.Context, resourceGro
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) DeleteSender(req *http.Request) (future ReplicationsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -305,8 +305,8 @@ func (client ReplicationsClient) GetPreparer(ctx context.Context, resourceGroupN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -393,8 +393,8 @@ func (client ReplicationsClient) ListPreparer(ctx context.Context, resourceGroup
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -520,9 +520,9 @@ func (client ReplicationsClient) UpdatePreparer(ctx context.Context, resourceGro
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) UpdateSender(req *http.Request) (future ReplicationsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2017-10-01/containerregistry/webhooks.go b/services/containerregistry/mgmt/2017-10-01/containerregistry/webhooks.go
index 941ba33ecbe5..de31f53c3d02 100644
--- a/services/containerregistry/mgmt/2017-10-01/containerregistry/webhooks.go
+++ b/services/containerregistry/mgmt/2017-10-01/containerregistry/webhooks.go
@@ -120,9 +120,9 @@ func (client WebhooksClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) CreateSender(req *http.Request) (future WebhooksCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client WebhooksClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) DeleteSender(req *http.Request) (future WebhooksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -311,8 +311,8 @@ func (client WebhooksClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -404,8 +404,8 @@ func (client WebhooksClient) GetCallbackConfigPreparer(ctx context.Context, reso
// GetCallbackConfigSender sends the GetCallbackConfig request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetCallbackConfigSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCallbackConfigResponder handles the response to the GetCallbackConfig request. The method always
@@ -492,8 +492,8 @@ func (client WebhooksClient) ListPreparer(ctx context.Context, resourceGroupName
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -623,8 +623,8 @@ func (client WebhooksClient) ListEventsPreparer(ctx context.Context, resourceGro
// ListEventsSender sends the ListEvents request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListEventsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListEventsResponder handles the response to the ListEvents request. The method always
@@ -753,8 +753,8 @@ func (client WebhooksClient) PingPreparer(ctx context.Context, resourceGroupName
// PingSender sends the Ping request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) PingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// PingResponder handles the response to the Ping request. The method always
@@ -843,9 +843,9 @@ func (client WebhooksClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) UpdateSender(req *http.Request) (future WebhooksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2018-09-01/containerregistry/operations.go b/services/containerregistry/mgmt/2018-09-01/containerregistry/operations.go
index 639a54292be9..6123d75bf384 100644
--- a/services/containerregistry/mgmt/2018-09-01/containerregistry/operations.go
+++ b/services/containerregistry/mgmt/2018-09-01/containerregistry/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerregistry/mgmt/2018-09-01/containerregistry/registries.go b/services/containerregistry/mgmt/2018-09-01/containerregistry/registries.go
index 1fa6db514b7c..18fd04e47ce2 100644
--- a/services/containerregistry/mgmt/2018-09-01/containerregistry/registries.go
+++ b/services/containerregistry/mgmt/2018-09-01/containerregistry/registries.go
@@ -112,8 +112,8 @@ func (client RegistriesClient) CheckNameAvailabilityPreparer(ctx context.Context
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -202,9 +202,9 @@ func (client RegistriesClient) CreatePreparer(ctx context.Context, resourceGroup
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CreateSender(req *http.Request) (future RegistriesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -289,9 +289,9 @@ func (client RegistriesClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) DeleteSender(req *http.Request) (future RegistriesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -381,8 +381,8 @@ func (client RegistriesClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -468,8 +468,8 @@ func (client RegistriesClient) GetBuildSourceUploadURLPreparer(ctx context.Conte
// GetBuildSourceUploadURLSender sends the GetBuildSourceUploadURL request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetBuildSourceUploadURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetBuildSourceUploadURLResponder handles the response to the GetBuildSourceUploadURL request. The method always
@@ -558,9 +558,9 @@ func (client RegistriesClient) ImportImagePreparer(ctx context.Context, resource
// ImportImageSender sends the ImportImage request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ImportImageSender(req *http.Request) (future RegistriesImportImageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -636,8 +636,8 @@ func (client RegistriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -755,8 +755,8 @@ func (client RegistriesClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -879,8 +879,8 @@ func (client RegistriesClient) ListCredentialsPreparer(ctx context.Context, reso
// ListCredentialsSender sends the ListCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCredentialsResponder handles the response to the ListCredentials request. The method always
@@ -966,8 +966,8 @@ func (client RegistriesClient) ListPoliciesPreparer(ctx context.Context, resourc
// ListPoliciesSender sends the ListPolicies request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListPoliciesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPoliciesResponder handles the response to the ListPolicies request. The method always
@@ -1053,8 +1053,8 @@ func (client RegistriesClient) ListUsagesPreparer(ctx context.Context, resourceG
// ListUsagesSender sends the ListUsages request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsagesResponder handles the response to the ListUsages request. The method always
@@ -1144,8 +1144,8 @@ func (client RegistriesClient) RegenerateCredentialPreparer(ctx context.Context,
// RegenerateCredentialSender sends the RegenerateCredential request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) RegenerateCredentialSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateCredentialResponder handles the response to the RegenerateCredential request. The method always
@@ -1228,9 +1228,9 @@ func (client RegistriesClient) ScheduleRunPreparer(ctx context.Context, resource
// ScheduleRunSender sends the ScheduleRun request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ScheduleRunSender(req *http.Request) (future RegistriesScheduleRunFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1318,9 +1318,9 @@ func (client RegistriesClient) UpdatePreparer(ctx context.Context, resourceGroup
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdateSender(req *http.Request) (future RegistriesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1408,9 +1408,9 @@ func (client RegistriesClient) UpdatePoliciesPreparer(ctx context.Context, resou
// UpdatePoliciesSender sends the UpdatePolicies request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdatePoliciesSender(req *http.Request) (future RegistriesUpdatePoliciesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2018-09-01/containerregistry/replications.go b/services/containerregistry/mgmt/2018-09-01/containerregistry/replications.go
index 5dcdd614b16e..f356afa2d4f8 100644
--- a/services/containerregistry/mgmt/2018-09-01/containerregistry/replications.go
+++ b/services/containerregistry/mgmt/2018-09-01/containerregistry/replications.go
@@ -114,9 +114,9 @@ func (client ReplicationsClient) CreatePreparer(ctx context.Context, resourceGro
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) CreateSender(req *http.Request) (future ReplicationsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -207,9 +207,9 @@ func (client ReplicationsClient) DeletePreparer(ctx context.Context, resourceGro
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) DeleteSender(req *http.Request) (future ReplicationsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -305,8 +305,8 @@ func (client ReplicationsClient) GetPreparer(ctx context.Context, resourceGroupN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -393,8 +393,8 @@ func (client ReplicationsClient) ListPreparer(ctx context.Context, resourceGroup
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -520,9 +520,9 @@ func (client ReplicationsClient) UpdatePreparer(ctx context.Context, resourceGro
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) UpdateSender(req *http.Request) (future ReplicationsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2018-09-01/containerregistry/runs.go b/services/containerregistry/mgmt/2018-09-01/containerregistry/runs.go
index b40a5438b8f0..61bf73f553b7 100644
--- a/services/containerregistry/mgmt/2018-09-01/containerregistry/runs.go
+++ b/services/containerregistry/mgmt/2018-09-01/containerregistry/runs.go
@@ -107,9 +107,9 @@ func (client RunsClient) CancelPreparer(ctx context.Context, resourceGroupName s
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) CancelSender(req *http.Request) (future RunsCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,8 +201,8 @@ func (client RunsClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -290,8 +290,8 @@ func (client RunsClient) GetLogSasURLPreparer(ctx context.Context, resourceGroup
// GetLogSasURLSender sends the GetLogSasURL request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) GetLogSasURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetLogSasURLResponder handles the response to the GetLogSasURL request. The method always
@@ -387,8 +387,8 @@ func (client RunsClient) ListPreparer(ctx context.Context, resourceGroupName str
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -510,9 +510,9 @@ func (client RunsClient) UpdatePreparer(ctx context.Context, resourceGroupName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) UpdateSender(req *http.Request) (future RunsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2018-09-01/containerregistry/tasks.go b/services/containerregistry/mgmt/2018-09-01/containerregistry/tasks.go
index f831eceef01f..2ae33cf6138e 100644
--- a/services/containerregistry/mgmt/2018-09-01/containerregistry/tasks.go
+++ b/services/containerregistry/mgmt/2018-09-01/containerregistry/tasks.go
@@ -127,9 +127,9 @@ func (client TasksClient) CreatePreparer(ctx context.Context, resourceGroupName
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) CreateSender(req *http.Request) (future TasksCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -220,9 +220,9 @@ func (client TasksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) DeleteSender(req *http.Request) (future TasksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -318,8 +318,8 @@ func (client TasksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -411,8 +411,8 @@ func (client TasksClient) GetDetailsPreparer(ctx context.Context, resourceGroupN
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
@@ -499,8 +499,8 @@ func (client TasksClient) ListPreparer(ctx context.Context, resourceGroupName st
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -626,9 +626,9 @@ func (client TasksClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) UpdateSender(req *http.Request) (future TasksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2018-09-01/containerregistry/webhooks.go b/services/containerregistry/mgmt/2018-09-01/containerregistry/webhooks.go
index 941ba33ecbe5..de31f53c3d02 100644
--- a/services/containerregistry/mgmt/2018-09-01/containerregistry/webhooks.go
+++ b/services/containerregistry/mgmt/2018-09-01/containerregistry/webhooks.go
@@ -120,9 +120,9 @@ func (client WebhooksClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) CreateSender(req *http.Request) (future WebhooksCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client WebhooksClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) DeleteSender(req *http.Request) (future WebhooksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -311,8 +311,8 @@ func (client WebhooksClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -404,8 +404,8 @@ func (client WebhooksClient) GetCallbackConfigPreparer(ctx context.Context, reso
// GetCallbackConfigSender sends the GetCallbackConfig request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetCallbackConfigSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCallbackConfigResponder handles the response to the GetCallbackConfig request. The method always
@@ -492,8 +492,8 @@ func (client WebhooksClient) ListPreparer(ctx context.Context, resourceGroupName
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -623,8 +623,8 @@ func (client WebhooksClient) ListEventsPreparer(ctx context.Context, resourceGro
// ListEventsSender sends the ListEvents request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListEventsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListEventsResponder handles the response to the ListEvents request. The method always
@@ -753,8 +753,8 @@ func (client WebhooksClient) PingPreparer(ctx context.Context, resourceGroupName
// PingSender sends the Ping request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) PingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// PingResponder handles the response to the Ping request. The method always
@@ -843,9 +843,9 @@ func (client WebhooksClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) UpdateSender(req *http.Request) (future WebhooksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-04-01/containerregistry/operations.go b/services/containerregistry/mgmt/2019-04-01/containerregistry/operations.go
index 639a54292be9..6123d75bf384 100644
--- a/services/containerregistry/mgmt/2019-04-01/containerregistry/operations.go
+++ b/services/containerregistry/mgmt/2019-04-01/containerregistry/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerregistry/mgmt/2019-04-01/containerregistry/registries.go b/services/containerregistry/mgmt/2019-04-01/containerregistry/registries.go
index 3e80a6e7bc71..90801f73a5b0 100644
--- a/services/containerregistry/mgmt/2019-04-01/containerregistry/registries.go
+++ b/services/containerregistry/mgmt/2019-04-01/containerregistry/registries.go
@@ -112,8 +112,8 @@ func (client RegistriesClient) CheckNameAvailabilityPreparer(ctx context.Context
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -202,9 +202,9 @@ func (client RegistriesClient) CreatePreparer(ctx context.Context, resourceGroup
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CreateSender(req *http.Request) (future RegistriesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -289,9 +289,9 @@ func (client RegistriesClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) DeleteSender(req *http.Request) (future RegistriesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -381,8 +381,8 @@ func (client RegistriesClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -468,8 +468,8 @@ func (client RegistriesClient) GetBuildSourceUploadURLPreparer(ctx context.Conte
// GetBuildSourceUploadURLSender sends the GetBuildSourceUploadURL request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetBuildSourceUploadURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetBuildSourceUploadURLResponder handles the response to the GetBuildSourceUploadURL request. The method always
@@ -558,9 +558,9 @@ func (client RegistriesClient) ImportImagePreparer(ctx context.Context, resource
// ImportImageSender sends the ImportImage request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ImportImageSender(req *http.Request) (future RegistriesImportImageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -636,8 +636,8 @@ func (client RegistriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -755,8 +755,8 @@ func (client RegistriesClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -879,8 +879,8 @@ func (client RegistriesClient) ListCredentialsPreparer(ctx context.Context, reso
// ListCredentialsSender sends the ListCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCredentialsResponder handles the response to the ListCredentials request. The method always
@@ -966,8 +966,8 @@ func (client RegistriesClient) ListPoliciesPreparer(ctx context.Context, resourc
// ListPoliciesSender sends the ListPolicies request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListPoliciesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPoliciesResponder handles the response to the ListPolicies request. The method always
@@ -1053,8 +1053,8 @@ func (client RegistriesClient) ListUsagesPreparer(ctx context.Context, resourceG
// ListUsagesSender sends the ListUsages request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsagesResponder handles the response to the ListUsages request. The method always
@@ -1144,8 +1144,8 @@ func (client RegistriesClient) RegenerateCredentialPreparer(ctx context.Context,
// RegenerateCredentialSender sends the RegenerateCredential request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) RegenerateCredentialSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateCredentialResponder handles the response to the RegenerateCredential request. The method always
@@ -1228,9 +1228,9 @@ func (client RegistriesClient) ScheduleRunPreparer(ctx context.Context, resource
// ScheduleRunSender sends the ScheduleRun request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ScheduleRunSender(req *http.Request) (future RegistriesScheduleRunFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1318,9 +1318,9 @@ func (client RegistriesClient) UpdatePreparer(ctx context.Context, resourceGroup
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdateSender(req *http.Request) (future RegistriesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1408,9 +1408,9 @@ func (client RegistriesClient) UpdatePoliciesPreparer(ctx context.Context, resou
// UpdatePoliciesSender sends the UpdatePolicies request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdatePoliciesSender(req *http.Request) (future RegistriesUpdatePoliciesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-04-01/containerregistry/replications.go b/services/containerregistry/mgmt/2019-04-01/containerregistry/replications.go
index 5dcdd614b16e..f356afa2d4f8 100644
--- a/services/containerregistry/mgmt/2019-04-01/containerregistry/replications.go
+++ b/services/containerregistry/mgmt/2019-04-01/containerregistry/replications.go
@@ -114,9 +114,9 @@ func (client ReplicationsClient) CreatePreparer(ctx context.Context, resourceGro
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) CreateSender(req *http.Request) (future ReplicationsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -207,9 +207,9 @@ func (client ReplicationsClient) DeletePreparer(ctx context.Context, resourceGro
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) DeleteSender(req *http.Request) (future ReplicationsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -305,8 +305,8 @@ func (client ReplicationsClient) GetPreparer(ctx context.Context, resourceGroupN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -393,8 +393,8 @@ func (client ReplicationsClient) ListPreparer(ctx context.Context, resourceGroup
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -520,9 +520,9 @@ func (client ReplicationsClient) UpdatePreparer(ctx context.Context, resourceGro
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) UpdateSender(req *http.Request) (future ReplicationsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-04-01/containerregistry/runs.go b/services/containerregistry/mgmt/2019-04-01/containerregistry/runs.go
index 2a9c16d2f1dd..2e5d7733981f 100644
--- a/services/containerregistry/mgmt/2019-04-01/containerregistry/runs.go
+++ b/services/containerregistry/mgmt/2019-04-01/containerregistry/runs.go
@@ -107,9 +107,9 @@ func (client RunsClient) CancelPreparer(ctx context.Context, resourceGroupName s
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) CancelSender(req *http.Request) (future RunsCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,8 +201,8 @@ func (client RunsClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -290,8 +290,8 @@ func (client RunsClient) GetLogSasURLPreparer(ctx context.Context, resourceGroup
// GetLogSasURLSender sends the GetLogSasURL request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) GetLogSasURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetLogSasURLResponder handles the response to the GetLogSasURL request. The method always
@@ -387,8 +387,8 @@ func (client RunsClient) ListPreparer(ctx context.Context, resourceGroupName str
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -510,9 +510,9 @@ func (client RunsClient) UpdatePreparer(ctx context.Context, resourceGroupName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) UpdateSender(req *http.Request) (future RunsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-04-01/containerregistry/tasks.go b/services/containerregistry/mgmt/2019-04-01/containerregistry/tasks.go
index 5ecaea2b4d9b..860e5f38ad7a 100644
--- a/services/containerregistry/mgmt/2019-04-01/containerregistry/tasks.go
+++ b/services/containerregistry/mgmt/2019-04-01/containerregistry/tasks.go
@@ -127,9 +127,9 @@ func (client TasksClient) CreatePreparer(ctx context.Context, resourceGroupName
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) CreateSender(req *http.Request) (future TasksCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -220,9 +220,9 @@ func (client TasksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) DeleteSender(req *http.Request) (future TasksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -318,8 +318,8 @@ func (client TasksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -411,8 +411,8 @@ func (client TasksClient) GetDetailsPreparer(ctx context.Context, resourceGroupN
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
@@ -499,8 +499,8 @@ func (client TasksClient) ListPreparer(ctx context.Context, resourceGroupName st
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -626,9 +626,9 @@ func (client TasksClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) UpdateSender(req *http.Request) (future TasksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-04-01/containerregistry/webhooks.go b/services/containerregistry/mgmt/2019-04-01/containerregistry/webhooks.go
index 941ba33ecbe5..de31f53c3d02 100644
--- a/services/containerregistry/mgmt/2019-04-01/containerregistry/webhooks.go
+++ b/services/containerregistry/mgmt/2019-04-01/containerregistry/webhooks.go
@@ -120,9 +120,9 @@ func (client WebhooksClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) CreateSender(req *http.Request) (future WebhooksCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client WebhooksClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) DeleteSender(req *http.Request) (future WebhooksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -311,8 +311,8 @@ func (client WebhooksClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -404,8 +404,8 @@ func (client WebhooksClient) GetCallbackConfigPreparer(ctx context.Context, reso
// GetCallbackConfigSender sends the GetCallbackConfig request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetCallbackConfigSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCallbackConfigResponder handles the response to the GetCallbackConfig request. The method always
@@ -492,8 +492,8 @@ func (client WebhooksClient) ListPreparer(ctx context.Context, resourceGroupName
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -623,8 +623,8 @@ func (client WebhooksClient) ListEventsPreparer(ctx context.Context, resourceGro
// ListEventsSender sends the ListEvents request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListEventsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListEventsResponder handles the response to the ListEvents request. The method always
@@ -753,8 +753,8 @@ func (client WebhooksClient) PingPreparer(ctx context.Context, resourceGroupName
// PingSender sends the Ping request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) PingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// PingResponder handles the response to the Ping request. The method always
@@ -843,9 +843,9 @@ func (client WebhooksClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) UpdateSender(req *http.Request) (future WebhooksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/operations.go b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/operations.go
index 639a54292be9..6123d75bf384 100644
--- a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/operations.go
+++ b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/registries.go b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/registries.go
index af26901a509e..3c38fa63a8c8 100644
--- a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/registries.go
+++ b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/registries.go
@@ -112,8 +112,8 @@ func (client RegistriesClient) CheckNameAvailabilityPreparer(ctx context.Context
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -202,9 +202,9 @@ func (client RegistriesClient) CreatePreparer(ctx context.Context, resourceGroup
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CreateSender(req *http.Request) (future RegistriesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -289,9 +289,9 @@ func (client RegistriesClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) DeleteSender(req *http.Request) (future RegistriesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -378,9 +378,9 @@ func (client RegistriesClient) GenerateCredentialsPreparer(ctx context.Context,
// GenerateCredentialsSender sends the GenerateCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GenerateCredentialsSender(req *http.Request) (future RegistriesGenerateCredentialsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -471,8 +471,8 @@ func (client RegistriesClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -561,9 +561,9 @@ func (client RegistriesClient) ImportImagePreparer(ctx context.Context, resource
// ImportImageSender sends the ImportImage request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ImportImageSender(req *http.Request) (future RegistriesImportImageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -639,8 +639,8 @@ func (client RegistriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -758,8 +758,8 @@ func (client RegistriesClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -882,8 +882,8 @@ func (client RegistriesClient) ListCredentialsPreparer(ctx context.Context, reso
// ListCredentialsSender sends the ListCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCredentialsResponder handles the response to the ListCredentials request. The method always
@@ -969,8 +969,8 @@ func (client RegistriesClient) ListPoliciesPreparer(ctx context.Context, resourc
// ListPoliciesSender sends the ListPolicies request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListPoliciesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListPoliciesResponder handles the response to the ListPolicies request. The method always
@@ -1056,8 +1056,8 @@ func (client RegistriesClient) ListUsagesPreparer(ctx context.Context, resourceG
// ListUsagesSender sends the ListUsages request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsagesResponder handles the response to the ListUsages request. The method always
@@ -1147,8 +1147,8 @@ func (client RegistriesClient) RegenerateCredentialPreparer(ctx context.Context,
// RegenerateCredentialSender sends the RegenerateCredential request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) RegenerateCredentialSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateCredentialResponder handles the response to the RegenerateCredential request. The method always
@@ -1231,9 +1231,9 @@ func (client RegistriesClient) UpdatePreparer(ctx context.Context, resourceGroup
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdateSender(req *http.Request) (future RegistriesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1321,9 +1321,9 @@ func (client RegistriesClient) UpdatePoliciesPreparer(ctx context.Context, resou
// UpdatePoliciesSender sends the UpdatePolicies request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdatePoliciesSender(req *http.Request) (future RegistriesUpdatePoliciesFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/replications.go b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/replications.go
index 5dcdd614b16e..f356afa2d4f8 100644
--- a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/replications.go
+++ b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/replications.go
@@ -114,9 +114,9 @@ func (client ReplicationsClient) CreatePreparer(ctx context.Context, resourceGro
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) CreateSender(req *http.Request) (future ReplicationsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -207,9 +207,9 @@ func (client ReplicationsClient) DeletePreparer(ctx context.Context, resourceGro
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) DeleteSender(req *http.Request) (future ReplicationsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -305,8 +305,8 @@ func (client ReplicationsClient) GetPreparer(ctx context.Context, resourceGroupN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -393,8 +393,8 @@ func (client ReplicationsClient) ListPreparer(ctx context.Context, resourceGroup
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -520,9 +520,9 @@ func (client ReplicationsClient) UpdatePreparer(ctx context.Context, resourceGro
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) UpdateSender(req *http.Request) (future ReplicationsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/scopemaps.go b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/scopemaps.go
index 4946c39270ff..90bd1a9ff108 100644
--- a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/scopemaps.go
+++ b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/scopemaps.go
@@ -117,9 +117,9 @@ func (client ScopeMapsClient) CreatePreparer(ctx context.Context, resourceGroupN
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ScopeMapsClient) CreateSender(req *http.Request) (future ScopeMapsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -210,9 +210,9 @@ func (client ScopeMapsClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ScopeMapsClient) DeleteSender(req *http.Request) (future ScopeMapsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -308,8 +308,8 @@ func (client ScopeMapsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ScopeMapsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -396,8 +396,8 @@ func (client ScopeMapsClient) ListPreparer(ctx context.Context, resourceGroupNam
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ScopeMapsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -523,9 +523,9 @@ func (client ScopeMapsClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ScopeMapsClient) UpdateSender(req *http.Request) (future ScopeMapsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/tokens.go b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/tokens.go
index 8939cb90afd8..8a3dafead703 100644
--- a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/tokens.go
+++ b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/tokens.go
@@ -114,9 +114,9 @@ func (client TokensClient) CreatePreparer(ctx context.Context, resourceGroupName
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client TokensClient) CreateSender(req *http.Request) (future TokensCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -207,9 +207,9 @@ func (client TokensClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client TokensClient) DeleteSender(req *http.Request) (future TokensDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -305,8 +305,8 @@ func (client TokensClient) GetPreparer(ctx context.Context, resourceGroupName st
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TokensClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -393,8 +393,8 @@ func (client TokensClient) ListPreparer(ctx context.Context, resourceGroupName s
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client TokensClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -520,9 +520,9 @@ func (client TokensClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client TokensClient) UpdateSender(req *http.Request) (future TokensUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/webhooks.go b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/webhooks.go
index 941ba33ecbe5..de31f53c3d02 100644
--- a/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/webhooks.go
+++ b/services/containerregistry/mgmt/2019-05-01-preview/containerregistry/webhooks.go
@@ -120,9 +120,9 @@ func (client WebhooksClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) CreateSender(req *http.Request) (future WebhooksCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client WebhooksClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) DeleteSender(req *http.Request) (future WebhooksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -311,8 +311,8 @@ func (client WebhooksClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -404,8 +404,8 @@ func (client WebhooksClient) GetCallbackConfigPreparer(ctx context.Context, reso
// GetCallbackConfigSender sends the GetCallbackConfig request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetCallbackConfigSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCallbackConfigResponder handles the response to the GetCallbackConfig request. The method always
@@ -492,8 +492,8 @@ func (client WebhooksClient) ListPreparer(ctx context.Context, resourceGroupName
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -623,8 +623,8 @@ func (client WebhooksClient) ListEventsPreparer(ctx context.Context, resourceGro
// ListEventsSender sends the ListEvents request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListEventsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListEventsResponder handles the response to the ListEvents request. The method always
@@ -753,8 +753,8 @@ func (client WebhooksClient) PingPreparer(ctx context.Context, resourceGroupName
// PingSender sends the Ping request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) PingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// PingResponder handles the response to the Ping request. The method always
@@ -843,9 +843,9 @@ func (client WebhooksClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) UpdateSender(req *http.Request) (future WebhooksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-05-01/containerregistry/operations.go b/services/containerregistry/mgmt/2019-05-01/containerregistry/operations.go
index 1d78d1b8d584..66c8936b93ef 100644
--- a/services/containerregistry/mgmt/2019-05-01/containerregistry/operations.go
+++ b/services/containerregistry/mgmt/2019-05-01/containerregistry/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerregistry/mgmt/2019-05-01/containerregistry/registries.go b/services/containerregistry/mgmt/2019-05-01/containerregistry/registries.go
index 3754a065bc13..2c6601a227ae 100644
--- a/services/containerregistry/mgmt/2019-05-01/containerregistry/registries.go
+++ b/services/containerregistry/mgmt/2019-05-01/containerregistry/registries.go
@@ -112,8 +112,8 @@ func (client RegistriesClient) CheckNameAvailabilityPreparer(ctx context.Context
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -202,9 +202,9 @@ func (client RegistriesClient) CreatePreparer(ctx context.Context, resourceGroup
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CreateSender(req *http.Request) (future RegistriesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -289,9 +289,9 @@ func (client RegistriesClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) DeleteSender(req *http.Request) (future RegistriesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -381,8 +381,8 @@ func (client RegistriesClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -468,8 +468,8 @@ func (client RegistriesClient) GetBuildSourceUploadURLPreparer(ctx context.Conte
// GetBuildSourceUploadURLSender sends the GetBuildSourceUploadURL request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetBuildSourceUploadURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetBuildSourceUploadURLResponder handles the response to the GetBuildSourceUploadURL request. The method always
@@ -558,9 +558,9 @@ func (client RegistriesClient) ImportImagePreparer(ctx context.Context, resource
// ImportImageSender sends the ImportImage request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ImportImageSender(req *http.Request) (future RegistriesImportImageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -636,8 +636,8 @@ func (client RegistriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -755,8 +755,8 @@ func (client RegistriesClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -879,8 +879,8 @@ func (client RegistriesClient) ListCredentialsPreparer(ctx context.Context, reso
// ListCredentialsSender sends the ListCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCredentialsResponder handles the response to the ListCredentials request. The method always
@@ -966,8 +966,8 @@ func (client RegistriesClient) ListUsagesPreparer(ctx context.Context, resourceG
// ListUsagesSender sends the ListUsages request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsagesResponder handles the response to the ListUsages request. The method always
@@ -1057,8 +1057,8 @@ func (client RegistriesClient) RegenerateCredentialPreparer(ctx context.Context,
// RegenerateCredentialSender sends the RegenerateCredential request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) RegenerateCredentialSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateCredentialResponder handles the response to the RegenerateCredential request. The method always
@@ -1141,9 +1141,9 @@ func (client RegistriesClient) ScheduleRunPreparer(ctx context.Context, resource
// ScheduleRunSender sends the ScheduleRun request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ScheduleRunSender(req *http.Request) (future RegistriesScheduleRunFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1231,9 +1231,9 @@ func (client RegistriesClient) UpdatePreparer(ctx context.Context, resourceGroup
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdateSender(req *http.Request) (future RegistriesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-05-01/containerregistry/replications.go b/services/containerregistry/mgmt/2019-05-01/containerregistry/replications.go
index 92352411d124..352d05a6a618 100644
--- a/services/containerregistry/mgmt/2019-05-01/containerregistry/replications.go
+++ b/services/containerregistry/mgmt/2019-05-01/containerregistry/replications.go
@@ -114,9 +114,9 @@ func (client ReplicationsClient) CreatePreparer(ctx context.Context, resourceGro
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) CreateSender(req *http.Request) (future ReplicationsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -207,9 +207,9 @@ func (client ReplicationsClient) DeletePreparer(ctx context.Context, resourceGro
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) DeleteSender(req *http.Request) (future ReplicationsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -305,8 +305,8 @@ func (client ReplicationsClient) GetPreparer(ctx context.Context, resourceGroupN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -393,8 +393,8 @@ func (client ReplicationsClient) ListPreparer(ctx context.Context, resourceGroup
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -520,9 +520,9 @@ func (client ReplicationsClient) UpdatePreparer(ctx context.Context, resourceGro
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) UpdateSender(req *http.Request) (future ReplicationsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-05-01/containerregistry/runs.go b/services/containerregistry/mgmt/2019-05-01/containerregistry/runs.go
index 2a9c16d2f1dd..2e5d7733981f 100644
--- a/services/containerregistry/mgmt/2019-05-01/containerregistry/runs.go
+++ b/services/containerregistry/mgmt/2019-05-01/containerregistry/runs.go
@@ -107,9 +107,9 @@ func (client RunsClient) CancelPreparer(ctx context.Context, resourceGroupName s
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) CancelSender(req *http.Request) (future RunsCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,8 +201,8 @@ func (client RunsClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -290,8 +290,8 @@ func (client RunsClient) GetLogSasURLPreparer(ctx context.Context, resourceGroup
// GetLogSasURLSender sends the GetLogSasURL request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) GetLogSasURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetLogSasURLResponder handles the response to the GetLogSasURL request. The method always
@@ -387,8 +387,8 @@ func (client RunsClient) ListPreparer(ctx context.Context, resourceGroupName str
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -510,9 +510,9 @@ func (client RunsClient) UpdatePreparer(ctx context.Context, resourceGroupName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) UpdateSender(req *http.Request) (future RunsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-05-01/containerregistry/tasks.go b/services/containerregistry/mgmt/2019-05-01/containerregistry/tasks.go
index 5ecaea2b4d9b..860e5f38ad7a 100644
--- a/services/containerregistry/mgmt/2019-05-01/containerregistry/tasks.go
+++ b/services/containerregistry/mgmt/2019-05-01/containerregistry/tasks.go
@@ -127,9 +127,9 @@ func (client TasksClient) CreatePreparer(ctx context.Context, resourceGroupName
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) CreateSender(req *http.Request) (future TasksCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -220,9 +220,9 @@ func (client TasksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) DeleteSender(req *http.Request) (future TasksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -318,8 +318,8 @@ func (client TasksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -411,8 +411,8 @@ func (client TasksClient) GetDetailsPreparer(ctx context.Context, resourceGroupN
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
@@ -499,8 +499,8 @@ func (client TasksClient) ListPreparer(ctx context.Context, resourceGroupName st
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -626,9 +626,9 @@ func (client TasksClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) UpdateSender(req *http.Request) (future TasksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-05-01/containerregistry/webhooks.go b/services/containerregistry/mgmt/2019-05-01/containerregistry/webhooks.go
index ce4d2a7c873f..156bbfefb5f6 100644
--- a/services/containerregistry/mgmt/2019-05-01/containerregistry/webhooks.go
+++ b/services/containerregistry/mgmt/2019-05-01/containerregistry/webhooks.go
@@ -120,9 +120,9 @@ func (client WebhooksClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) CreateSender(req *http.Request) (future WebhooksCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client WebhooksClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) DeleteSender(req *http.Request) (future WebhooksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -311,8 +311,8 @@ func (client WebhooksClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -404,8 +404,8 @@ func (client WebhooksClient) GetCallbackConfigPreparer(ctx context.Context, reso
// GetCallbackConfigSender sends the GetCallbackConfig request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetCallbackConfigSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCallbackConfigResponder handles the response to the GetCallbackConfig request. The method always
@@ -492,8 +492,8 @@ func (client WebhooksClient) ListPreparer(ctx context.Context, resourceGroupName
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -623,8 +623,8 @@ func (client WebhooksClient) ListEventsPreparer(ctx context.Context, resourceGro
// ListEventsSender sends the ListEvents request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListEventsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListEventsResponder handles the response to the ListEvents request. The method always
@@ -753,8 +753,8 @@ func (client WebhooksClient) PingPreparer(ctx context.Context, resourceGroupName
// PingSender sends the Ping request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) PingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// PingResponder handles the response to the Ping request. The method always
@@ -843,9 +843,9 @@ func (client WebhooksClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) UpdateSender(req *http.Request) (future WebhooksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/operations.go b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/operations.go
index 1d78d1b8d584..66c8936b93ef 100644
--- a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/operations.go
+++ b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/registries.go b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/registries.go
index f330d5364c69..355fe2dcddb9 100644
--- a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/registries.go
+++ b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/registries.go
@@ -112,8 +112,8 @@ func (client RegistriesClient) CheckNameAvailabilityPreparer(ctx context.Context
// CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always
@@ -202,9 +202,9 @@ func (client RegistriesClient) CreatePreparer(ctx context.Context, resourceGroup
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) CreateSender(req *http.Request) (future RegistriesCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -289,9 +289,9 @@ func (client RegistriesClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) DeleteSender(req *http.Request) (future RegistriesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -381,8 +381,8 @@ func (client RegistriesClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -468,8 +468,8 @@ func (client RegistriesClient) GetBuildSourceUploadURLPreparer(ctx context.Conte
// GetBuildSourceUploadURLSender sends the GetBuildSourceUploadURL request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) GetBuildSourceUploadURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetBuildSourceUploadURLResponder handles the response to the GetBuildSourceUploadURL request. The method always
@@ -558,9 +558,9 @@ func (client RegistriesClient) ImportImagePreparer(ctx context.Context, resource
// ImportImageSender sends the ImportImage request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ImportImageSender(req *http.Request) (future RegistriesImportImageFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -636,8 +636,8 @@ func (client RegistriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -755,8 +755,8 @@ func (client RegistriesClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -879,8 +879,8 @@ func (client RegistriesClient) ListCredentialsPreparer(ctx context.Context, reso
// ListCredentialsSender sends the ListCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCredentialsResponder handles the response to the ListCredentials request. The method always
@@ -966,8 +966,8 @@ func (client RegistriesClient) ListUsagesPreparer(ctx context.Context, resourceG
// ListUsagesSender sends the ListUsages request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ListUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsagesResponder handles the response to the ListUsages request. The method always
@@ -1057,8 +1057,8 @@ func (client RegistriesClient) RegenerateCredentialPreparer(ctx context.Context,
// RegenerateCredentialSender sends the RegenerateCredential request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) RegenerateCredentialSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateCredentialResponder handles the response to the RegenerateCredential request. The method always
@@ -1141,9 +1141,9 @@ func (client RegistriesClient) ScheduleRunPreparer(ctx context.Context, resource
// ScheduleRunSender sends the ScheduleRun request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) ScheduleRunSender(req *http.Request) (future RegistriesScheduleRunFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1231,9 +1231,9 @@ func (client RegistriesClient) UpdatePreparer(ctx context.Context, resourceGroup
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RegistriesClient) UpdateSender(req *http.Request) (future RegistriesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/replications.go b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/replications.go
index 92352411d124..352d05a6a618 100644
--- a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/replications.go
+++ b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/replications.go
@@ -114,9 +114,9 @@ func (client ReplicationsClient) CreatePreparer(ctx context.Context, resourceGro
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) CreateSender(req *http.Request) (future ReplicationsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -207,9 +207,9 @@ func (client ReplicationsClient) DeletePreparer(ctx context.Context, resourceGro
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) DeleteSender(req *http.Request) (future ReplicationsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -305,8 +305,8 @@ func (client ReplicationsClient) GetPreparer(ctx context.Context, resourceGroupN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -393,8 +393,8 @@ func (client ReplicationsClient) ListPreparer(ctx context.Context, resourceGroup
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -520,9 +520,9 @@ func (client ReplicationsClient) UpdatePreparer(ctx context.Context, resourceGro
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ReplicationsClient) UpdateSender(req *http.Request) (future ReplicationsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/runs.go b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/runs.go
index 4f6d03b980ef..4fe2f7abe68c 100644
--- a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/runs.go
+++ b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/runs.go
@@ -107,9 +107,9 @@ func (client RunsClient) CancelPreparer(ctx context.Context, resourceGroupName s
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) CancelSender(req *http.Request) (future RunsCancelFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,8 +201,8 @@ func (client RunsClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -290,8 +290,8 @@ func (client RunsClient) GetLogSasURLPreparer(ctx context.Context, resourceGroup
// GetLogSasURLSender sends the GetLogSasURL request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) GetLogSasURLSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetLogSasURLResponder handles the response to the GetLogSasURL request. The method always
@@ -387,8 +387,8 @@ func (client RunsClient) ListPreparer(ctx context.Context, resourceGroupName str
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -510,9 +510,9 @@ func (client RunsClient) UpdatePreparer(ctx context.Context, resourceGroupName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client RunsClient) UpdateSender(req *http.Request) (future RunsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/tasks.go b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/tasks.go
index eff39d7337fe..22281869a1c2 100644
--- a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/tasks.go
+++ b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/tasks.go
@@ -127,9 +127,9 @@ func (client TasksClient) CreatePreparer(ctx context.Context, resourceGroupName
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) CreateSender(req *http.Request) (future TasksCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -220,9 +220,9 @@ func (client TasksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) DeleteSender(req *http.Request) (future TasksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -318,8 +318,8 @@ func (client TasksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -411,8 +411,8 @@ func (client TasksClient) GetDetailsPreparer(ctx context.Context, resourceGroupN
// GetDetailsSender sends the GetDetails request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) GetDetailsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDetailsResponder handles the response to the GetDetails request. The method always
@@ -499,8 +499,8 @@ func (client TasksClient) ListPreparer(ctx context.Context, resourceGroupName st
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -626,9 +626,9 @@ func (client TasksClient) UpdatePreparer(ctx context.Context, resourceGroupName
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client TasksClient) UpdateSender(req *http.Request) (future TasksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/webhooks.go b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/webhooks.go
index ce4d2a7c873f..156bbfefb5f6 100644
--- a/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/webhooks.go
+++ b/services/containerregistry/mgmt/2019-06-01-preview/containerregistry/webhooks.go
@@ -120,9 +120,9 @@ func (client WebhooksClient) CreatePreparer(ctx context.Context, resourceGroupNa
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) CreateSender(req *http.Request) (future WebhooksCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client WebhooksClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) DeleteSender(req *http.Request) (future WebhooksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -311,8 +311,8 @@ func (client WebhooksClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -404,8 +404,8 @@ func (client WebhooksClient) GetCallbackConfigPreparer(ctx context.Context, reso
// GetCallbackConfigSender sends the GetCallbackConfig request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) GetCallbackConfigSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCallbackConfigResponder handles the response to the GetCallbackConfig request. The method always
@@ -492,8 +492,8 @@ func (client WebhooksClient) ListPreparer(ctx context.Context, resourceGroupName
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -623,8 +623,8 @@ func (client WebhooksClient) ListEventsPreparer(ctx context.Context, resourceGro
// ListEventsSender sends the ListEvents request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) ListEventsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListEventsResponder handles the response to the ListEvents request. The method always
@@ -753,8 +753,8 @@ func (client WebhooksClient) PingPreparer(ctx context.Context, resourceGroupName
// PingSender sends the Ping request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) PingSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// PingResponder handles the response to the Ping request. The method always
@@ -843,9 +843,9 @@ func (client WebhooksClient) UpdatePreparer(ctx context.Context, resourceGroupNa
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WebhooksClient) UpdateSender(req *http.Request) (future WebhooksUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerservice/mgmt/2016-03-30/containerservice/containerservices.go b/services/containerservice/mgmt/2016-03-30/containerservice/containerservices.go
index c9ad6e4f2b60..b5f981b94e3a 100644
--- a/services/containerservice/mgmt/2016-03-30/containerservice/containerservices.go
+++ b/services/containerservice/mgmt/2016-03-30/containerservice/containerservices.go
@@ -122,9 +122,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -202,9 +202,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -286,8 +286,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -359,8 +359,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -436,8 +436,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/containerservice/mgmt/2016-09-30/containerservice/containerservices.go b/services/containerservice/mgmt/2016-09-30/containerservice/containerservices.go
index 6b3e6da83849..330976dfbbc5 100644
--- a/services/containerservice/mgmt/2016-09-30/containerservice/containerservices.go
+++ b/services/containerservice/mgmt/2016-09-30/containerservice/containerservices.go
@@ -130,9 +130,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -210,9 +210,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -294,8 +294,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -368,8 +368,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -483,8 +483,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/containerservice/mgmt/2017-01-31/containerservice/containerservices.go b/services/containerservice/mgmt/2017-01-31/containerservice/containerservices.go
index 955ad5f13a71..594b1c8f1175 100644
--- a/services/containerservice/mgmt/2017-01-31/containerservice/containerservices.go
+++ b/services/containerservice/mgmt/2017-01-31/containerservice/containerservices.go
@@ -130,9 +130,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -210,9 +210,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -294,8 +294,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -368,8 +368,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -483,8 +483,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/containerservice/mgmt/2017-07-01/containerservice/containerservices.go b/services/containerservice/mgmt/2017-07-01/containerservice/containerservices.go
index cd761f3c0cb7..bc45c720e45e 100644
--- a/services/containerservice/mgmt/2017-07-01/containerservice/containerservices.go
+++ b/services/containerservice/mgmt/2017-07-01/containerservice/containerservices.go
@@ -133,9 +133,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -371,8 +371,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -486,8 +486,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/containerservice/mgmt/2017-08-31/containerservice/containerservices.go b/services/containerservice/mgmt/2017-08-31/containerservice/containerservices.go
index cd761f3c0cb7..bc45c720e45e 100644
--- a/services/containerservice/mgmt/2017-08-31/containerservice/containerservices.go
+++ b/services/containerservice/mgmt/2017-08-31/containerservice/containerservices.go
@@ -133,9 +133,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -371,8 +371,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -486,8 +486,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/containerservice/mgmt/2017-08-31/containerservice/managedclusters.go b/services/containerservice/mgmt/2017-08-31/containerservice/managedclusters.go
index d560dbb480ff..77930638e564 100644
--- a/services/containerservice/mgmt/2017-08-31/containerservice/managedclusters.go
+++ b/services/containerservice/mgmt/2017-08-31/containerservice/managedclusters.go
@@ -119,9 +119,9 @@ func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future ManagedClustersCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -196,9 +196,9 @@ func (client ManagedClustersClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) DeleteSender(req *http.Request) (future ManagedClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -278,8 +278,8 @@ func (client ManagedClustersClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -358,8 +358,8 @@ func (client ManagedClustersClient) GetAccessProfilePreparer(ctx context.Context
// GetAccessProfileSender sends the GetAccessProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetAccessProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAccessProfileResponder handles the response to the GetAccessProfile request. The method always
@@ -437,8 +437,8 @@ func (client ManagedClustersClient) GetAccessProfilesPreparer(ctx context.Contex
// GetAccessProfilesSender sends the GetAccessProfiles request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetAccessProfilesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAccessProfilesResponder handles the response to the GetAccessProfiles request. The method always
@@ -515,8 +515,8 @@ func (client ManagedClustersClient) GetUpgradeProfilePreparer(ctx context.Contex
// GetUpgradeProfileSender sends the GetUpgradeProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetUpgradeProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUpgradeProfileResponder handles the response to the GetUpgradeProfile request. The method always
@@ -589,8 +589,8 @@ func (client ManagedClustersClient) ListPreparer(ctx context.Context) (*http.Req
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -703,8 +703,8 @@ func (client ManagedClustersClient) ListByResourceGroupPreparer(ctx context.Cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go b/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go
index 1fa4695e5adb..c3e6fa6ad1ed 100644
--- a/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go
+++ b/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go
@@ -133,9 +133,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -371,8 +371,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -486,8 +486,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -603,8 +603,8 @@ func (client ContainerServicesClient) ListOrchestratorsPreparer(ctx context.Cont
// ListOrchestratorsSender sends the ListOrchestrators request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListOrchestratorsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOrchestratorsResponder handles the response to the ListOrchestrators request. The method always
diff --git a/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go b/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go
index d560dbb480ff..77930638e564 100644
--- a/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go
+++ b/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go
@@ -119,9 +119,9 @@ func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future ManagedClustersCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -196,9 +196,9 @@ func (client ManagedClustersClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) DeleteSender(req *http.Request) (future ManagedClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -278,8 +278,8 @@ func (client ManagedClustersClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -358,8 +358,8 @@ func (client ManagedClustersClient) GetAccessProfilePreparer(ctx context.Context
// GetAccessProfileSender sends the GetAccessProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetAccessProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAccessProfileResponder handles the response to the GetAccessProfile request. The method always
@@ -437,8 +437,8 @@ func (client ManagedClustersClient) GetAccessProfilesPreparer(ctx context.Contex
// GetAccessProfilesSender sends the GetAccessProfiles request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetAccessProfilesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAccessProfilesResponder handles the response to the GetAccessProfiles request. The method always
@@ -515,8 +515,8 @@ func (client ManagedClustersClient) GetUpgradeProfilePreparer(ctx context.Contex
// GetUpgradeProfileSender sends the GetUpgradeProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetUpgradeProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUpgradeProfileResponder handles the response to the GetUpgradeProfile request. The method always
@@ -589,8 +589,8 @@ func (client ManagedClustersClient) ListPreparer(ctx context.Context) (*http.Req
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -703,8 +703,8 @@ func (client ManagedClustersClient) ListByResourceGroupPreparer(ctx context.Cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
diff --git a/services/containerservice/mgmt/2018-03-31/containerservice/containerservices.go b/services/containerservice/mgmt/2018-03-31/containerservice/containerservices.go
index 1fa4695e5adb..c3e6fa6ad1ed 100644
--- a/services/containerservice/mgmt/2018-03-31/containerservice/containerservices.go
+++ b/services/containerservice/mgmt/2018-03-31/containerservice/containerservices.go
@@ -133,9 +133,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -371,8 +371,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -486,8 +486,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -603,8 +603,8 @@ func (client ContainerServicesClient) ListOrchestratorsPreparer(ctx context.Cont
// ListOrchestratorsSender sends the ListOrchestrators request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListOrchestratorsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOrchestratorsResponder handles the response to the ListOrchestrators request. The method always
diff --git a/services/containerservice/mgmt/2018-03-31/containerservice/managedclusters.go b/services/containerservice/mgmt/2018-03-31/containerservice/managedclusters.go
index 22242acefbfe..de04ca199b84 100644
--- a/services/containerservice/mgmt/2018-03-31/containerservice/managedclusters.go
+++ b/services/containerservice/mgmt/2018-03-31/containerservice/managedclusters.go
@@ -130,9 +130,9 @@ func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future ManagedClustersCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client ManagedClustersClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) DeleteSender(req *http.Request) (future ManagedClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -301,8 +301,8 @@ func (client ManagedClustersClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -387,8 +387,8 @@ func (client ManagedClustersClient) GetAccessProfilePreparer(ctx context.Context
// GetAccessProfileSender sends the GetAccessProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetAccessProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAccessProfileResponder handles the response to the GetAccessProfile request. The method always
@@ -471,8 +471,8 @@ func (client ManagedClustersClient) GetUpgradeProfilePreparer(ctx context.Contex
// GetUpgradeProfileSender sends the GetUpgradeProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetUpgradeProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUpgradeProfileResponder handles the response to the GetUpgradeProfile request. The method always
@@ -545,8 +545,8 @@ func (client ManagedClustersClient) ListPreparer(ctx context.Context) (*http.Req
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -665,8 +665,8 @@ func (client ManagedClustersClient) ListByResourceGroupPreparer(ctx context.Cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -786,8 +786,8 @@ func (client ManagedClustersClient) ListClusterAdminCredentialsPreparer(ctx cont
// ListClusterAdminCredentialsSender sends the ListClusterAdminCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListClusterAdminCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListClusterAdminCredentialsResponder handles the response to the ListClusterAdminCredentials request. The method always
@@ -870,8 +870,8 @@ func (client ManagedClustersClient) ListClusterUserCredentialsPreparer(ctx conte
// ListClusterUserCredentialsSender sends the ListClusterUserCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListClusterUserCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListClusterUserCredentialsResponder handles the response to the ListClusterUserCredentials request. The method always
@@ -953,9 +953,9 @@ func (client ManagedClustersClient) ResetAADProfilePreparer(ctx context.Context,
// ResetAADProfileSender sends the ResetAADProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ResetAADProfileSender(req *http.Request) (future ManagedClustersResetAADProfileFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1040,9 +1040,9 @@ func (client ManagedClustersClient) ResetServicePrincipalProfilePreparer(ctx con
// ResetServicePrincipalProfileSender sends the ResetServicePrincipalProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ResetServicePrincipalProfileSender(req *http.Request) (future ManagedClustersResetServicePrincipalProfileFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1125,9 +1125,9 @@ func (client ManagedClustersClient) UpdateTagsPreparer(ctx context.Context, reso
// UpdateTagsSender sends the UpdateTags request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) UpdateTagsSender(req *http.Request) (future ManagedClustersUpdateTagsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerservice/mgmt/2018-03-31/containerservice/operations.go b/services/containerservice/mgmt/2018-03-31/containerservice/operations.go
index 0b2234c149d5..1a6474e5b014 100644
--- a/services/containerservice/mgmt/2018-03-31/containerservice/operations.go
+++ b/services/containerservice/mgmt/2018-03-31/containerservice/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerservice/mgmt/2019-02-01/containerservice/agentpools.go b/services/containerservice/mgmt/2019-02-01/containerservice/agentpools.go
index 5c91c841638c..a2a340da035f 100644
--- a/services/containerservice/mgmt/2019-02-01/containerservice/agentpools.go
+++ b/services/containerservice/mgmt/2019-02-01/containerservice/agentpools.go
@@ -113,9 +113,9 @@ func (client AgentPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resou
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) CreateOrUpdateSender(req *http.Request) (future AgentPoolsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -198,9 +198,9 @@ func (client AgentPoolsClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) DeleteSender(req *http.Request) (future AgentPoolsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -288,8 +288,8 @@ func (client AgentPoolsClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -373,8 +373,8 @@ func (client AgentPoolsClient) ListPreparer(ctx context.Context, resourceGroupNa
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerservice/mgmt/2019-02-01/containerservice/containerservices.go b/services/containerservice/mgmt/2019-02-01/containerservice/containerservices.go
index 1fa4695e5adb..c3e6fa6ad1ed 100644
--- a/services/containerservice/mgmt/2019-02-01/containerservice/containerservices.go
+++ b/services/containerservice/mgmt/2019-02-01/containerservice/containerservices.go
@@ -133,9 +133,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -371,8 +371,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -486,8 +486,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -603,8 +603,8 @@ func (client ContainerServicesClient) ListOrchestratorsPreparer(ctx context.Cont
// ListOrchestratorsSender sends the ListOrchestrators request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListOrchestratorsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOrchestratorsResponder handles the response to the ListOrchestrators request. The method always
diff --git a/services/containerservice/mgmt/2019-02-01/containerservice/managedclusters.go b/services/containerservice/mgmt/2019-02-01/containerservice/managedclusters.go
index f601f7b88e9d..c8a57e3335be 100644
--- a/services/containerservice/mgmt/2019-02-01/containerservice/managedclusters.go
+++ b/services/containerservice/mgmt/2019-02-01/containerservice/managedclusters.go
@@ -130,9 +130,9 @@ func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future ManagedClustersCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client ManagedClustersClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) DeleteSender(req *http.Request) (future ManagedClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -301,8 +301,8 @@ func (client ManagedClustersClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -387,8 +387,8 @@ func (client ManagedClustersClient) GetAccessProfilePreparer(ctx context.Context
// GetAccessProfileSender sends the GetAccessProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetAccessProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAccessProfileResponder handles the response to the GetAccessProfile request. The method always
@@ -471,8 +471,8 @@ func (client ManagedClustersClient) GetUpgradeProfilePreparer(ctx context.Contex
// GetUpgradeProfileSender sends the GetUpgradeProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetUpgradeProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUpgradeProfileResponder handles the response to the GetUpgradeProfile request. The method always
@@ -545,8 +545,8 @@ func (client ManagedClustersClient) ListPreparer(ctx context.Context) (*http.Req
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -665,8 +665,8 @@ func (client ManagedClustersClient) ListByResourceGroupPreparer(ctx context.Cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -786,8 +786,8 @@ func (client ManagedClustersClient) ListClusterAdminCredentialsPreparer(ctx cont
// ListClusterAdminCredentialsSender sends the ListClusterAdminCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListClusterAdminCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListClusterAdminCredentialsResponder handles the response to the ListClusterAdminCredentials request. The method always
@@ -870,8 +870,8 @@ func (client ManagedClustersClient) ListClusterUserCredentialsPreparer(ctx conte
// ListClusterUserCredentialsSender sends the ListClusterUserCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListClusterUserCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListClusterUserCredentialsResponder handles the response to the ListClusterUserCredentials request. The method always
@@ -953,9 +953,9 @@ func (client ManagedClustersClient) ResetAADProfilePreparer(ctx context.Context,
// ResetAADProfileSender sends the ResetAADProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ResetAADProfileSender(req *http.Request) (future ManagedClustersResetAADProfileFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1040,9 +1040,9 @@ func (client ManagedClustersClient) ResetServicePrincipalProfilePreparer(ctx con
// ResetServicePrincipalProfileSender sends the ResetServicePrincipalProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ResetServicePrincipalProfileSender(req *http.Request) (future ManagedClustersResetServicePrincipalProfileFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1125,9 +1125,9 @@ func (client ManagedClustersClient) UpdateTagsPreparer(ctx context.Context, reso
// UpdateTagsSender sends the UpdateTags request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) UpdateTagsSender(req *http.Request) (future ManagedClustersUpdateTagsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerservice/mgmt/2019-02-01/containerservice/openshiftmanagedclusters.go b/services/containerservice/mgmt/2019-02-01/containerservice/openshiftmanagedclusters.go
index aa477f71d13c..180281349e42 100644
--- a/services/containerservice/mgmt/2019-02-01/containerservice/openshiftmanagedclusters.go
+++ b/services/containerservice/mgmt/2019-02-01/containerservice/openshiftmanagedclusters.go
@@ -111,9 +111,9 @@ func (client OpenShiftManagedClustersClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future OpenShiftManagedClustersCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -194,9 +194,9 @@ func (client OpenShiftManagedClustersClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) DeleteSender(req *http.Request) (future OpenShiftManagedClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,8 +282,8 @@ func (client OpenShiftManagedClustersClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -356,8 +356,8 @@ func (client OpenShiftManagedClustersClient) ListPreparer(ctx context.Context) (
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -476,8 +476,8 @@ func (client OpenShiftManagedClustersClient) ListByResourceGroupPreparer(ctx con
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -593,9 +593,9 @@ func (client OpenShiftManagedClustersClient) UpdateTagsPreparer(ctx context.Cont
// UpdateTagsSender sends the UpdateTags request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) UpdateTagsSender(req *http.Request) (future OpenShiftManagedClustersUpdateTagsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerservice/mgmt/2019-02-01/containerservice/operations.go b/services/containerservice/mgmt/2019-02-01/containerservice/operations.go
index 2a6b4787dc9a..2b81f855b311 100644
--- a/services/containerservice/mgmt/2019-02-01/containerservice/operations.go
+++ b/services/containerservice/mgmt/2019-02-01/containerservice/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerservice/mgmt/2019-04-30/containerservice/agentpools.go b/services/containerservice/mgmt/2019-04-30/containerservice/agentpools.go
index 5c90e5cc5ea5..2de1c02faf0c 100644
--- a/services/containerservice/mgmt/2019-04-30/containerservice/agentpools.go
+++ b/services/containerservice/mgmt/2019-04-30/containerservice/agentpools.go
@@ -117,9 +117,9 @@ func (client AgentPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resou
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) CreateOrUpdateSender(req *http.Request) (future AgentPoolsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -206,9 +206,9 @@ func (client AgentPoolsClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) DeleteSender(req *http.Request) (future AgentPoolsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -300,8 +300,8 @@ func (client AgentPoolsClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -389,8 +389,8 @@ func (client AgentPoolsClient) ListPreparer(ctx context.Context, resourceGroupNa
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerservice/mgmt/2019-04-30/containerservice/containerservices.go b/services/containerservice/mgmt/2019-04-30/containerservice/containerservices.go
index e06ff421213a..8f753fe9b21e 100644
--- a/services/containerservice/mgmt/2019-04-30/containerservice/containerservices.go
+++ b/services/containerservice/mgmt/2019-04-30/containerservice/containerservices.go
@@ -133,9 +133,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -371,8 +371,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -486,8 +486,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -604,8 +604,8 @@ func (client ContainerServicesClient) ListOrchestratorsPreparer(ctx context.Cont
// ListOrchestratorsSender sends the ListOrchestrators request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListOrchestratorsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOrchestratorsResponder handles the response to the ListOrchestrators request. The method always
diff --git a/services/containerservice/mgmt/2019-04-30/containerservice/managedclusters.go b/services/containerservice/mgmt/2019-04-30/containerservice/managedclusters.go
index e4766de65317..97fe1e65074c 100644
--- a/services/containerservice/mgmt/2019-04-30/containerservice/managedclusters.go
+++ b/services/containerservice/mgmt/2019-04-30/containerservice/managedclusters.go
@@ -138,9 +138,9 @@ func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future ManagedClustersCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -225,9 +225,9 @@ func (client ManagedClustersClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) DeleteSender(req *http.Request) (future ManagedClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -317,8 +317,8 @@ func (client ManagedClustersClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -407,8 +407,8 @@ func (client ManagedClustersClient) GetAccessProfilePreparer(ctx context.Context
// GetAccessProfileSender sends the GetAccessProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetAccessProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAccessProfileResponder handles the response to the GetAccessProfile request. The method always
@@ -495,8 +495,8 @@ func (client ManagedClustersClient) GetUpgradeProfilePreparer(ctx context.Contex
// GetUpgradeProfileSender sends the GetUpgradeProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetUpgradeProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUpgradeProfileResponder handles the response to the GetUpgradeProfile request. The method always
@@ -569,8 +569,8 @@ func (client ManagedClustersClient) ListPreparer(ctx context.Context) (*http.Req
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -689,8 +689,8 @@ func (client ManagedClustersClient) ListByResourceGroupPreparer(ctx context.Cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -814,8 +814,8 @@ func (client ManagedClustersClient) ListClusterAdminCredentialsPreparer(ctx cont
// ListClusterAdminCredentialsSender sends the ListClusterAdminCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListClusterAdminCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListClusterAdminCredentialsResponder handles the response to the ListClusterAdminCredentials request. The method always
@@ -902,8 +902,8 @@ func (client ManagedClustersClient) ListClusterUserCredentialsPreparer(ctx conte
// ListClusterUserCredentialsSender sends the ListClusterUserCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListClusterUserCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListClusterUserCredentialsResponder handles the response to the ListClusterUserCredentials request. The method always
@@ -989,9 +989,9 @@ func (client ManagedClustersClient) ResetAADProfilePreparer(ctx context.Context,
// ResetAADProfileSender sends the ResetAADProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ResetAADProfileSender(req *http.Request) (future ManagedClustersResetAADProfileFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1080,9 +1080,9 @@ func (client ManagedClustersClient) ResetServicePrincipalProfilePreparer(ctx con
// ResetServicePrincipalProfileSender sends the ResetServicePrincipalProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ResetServicePrincipalProfileSender(req *http.Request) (future ManagedClustersResetServicePrincipalProfileFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1169,9 +1169,9 @@ func (client ManagedClustersClient) UpdateTagsPreparer(ctx context.Context, reso
// UpdateTagsSender sends the UpdateTags request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) UpdateTagsSender(req *http.Request) (future ManagedClustersUpdateTagsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerservice/mgmt/2019-04-30/containerservice/openshiftmanagedclusters.go b/services/containerservice/mgmt/2019-04-30/containerservice/openshiftmanagedclusters.go
index 2bdeabfabe0d..ac574f3c4121 100644
--- a/services/containerservice/mgmt/2019-04-30/containerservice/openshiftmanagedclusters.go
+++ b/services/containerservice/mgmt/2019-04-30/containerservice/openshiftmanagedclusters.go
@@ -111,9 +111,9 @@ func (client OpenShiftManagedClustersClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future OpenShiftManagedClustersCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -194,9 +194,9 @@ func (client OpenShiftManagedClustersClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) DeleteSender(req *http.Request) (future OpenShiftManagedClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,8 +282,8 @@ func (client OpenShiftManagedClustersClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -356,8 +356,8 @@ func (client OpenShiftManagedClustersClient) ListPreparer(ctx context.Context) (
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -476,8 +476,8 @@ func (client OpenShiftManagedClustersClient) ListByResourceGroupPreparer(ctx con
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -593,9 +593,9 @@ func (client OpenShiftManagedClustersClient) UpdateTagsPreparer(ctx context.Cont
// UpdateTagsSender sends the UpdateTags request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) UpdateTagsSender(req *http.Request) (future OpenShiftManagedClustersUpdateTagsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerservice/mgmt/2019-04-30/containerservice/operations.go b/services/containerservice/mgmt/2019-04-30/containerservice/operations.go
index 9111d0603d41..ba9955a7e4d6 100644
--- a/services/containerservice/mgmt/2019-04-30/containerservice/operations.go
+++ b/services/containerservice/mgmt/2019-04-30/containerservice/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerservice/mgmt/2019-06-01/containerservice/agentpools.go b/services/containerservice/mgmt/2019-06-01/containerservice/agentpools.go
index 30e80b3281e8..2c081639c1c3 100644
--- a/services/containerservice/mgmt/2019-06-01/containerservice/agentpools.go
+++ b/services/containerservice/mgmt/2019-06-01/containerservice/agentpools.go
@@ -117,9 +117,9 @@ func (client AgentPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resou
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) CreateOrUpdateSender(req *http.Request) (future AgentPoolsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -206,9 +206,9 @@ func (client AgentPoolsClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) DeleteSender(req *http.Request) (future AgentPoolsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -300,8 +300,8 @@ func (client AgentPoolsClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -389,8 +389,8 @@ func (client AgentPoolsClient) GetAvailableAgentPoolVersionsPreparer(ctx context
// GetAvailableAgentPoolVersionsSender sends the GetAvailableAgentPoolVersions request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) GetAvailableAgentPoolVersionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAvailableAgentPoolVersionsResponder handles the response to the GetAvailableAgentPoolVersions request. The method always
@@ -479,8 +479,8 @@ func (client AgentPoolsClient) GetUpgradeProfilePreparer(ctx context.Context, re
// GetUpgradeProfileSender sends the GetUpgradeProfile request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) GetUpgradeProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUpgradeProfileResponder handles the response to the GetUpgradeProfile request. The method always
@@ -568,8 +568,8 @@ func (client AgentPoolsClient) ListPreparer(ctx context.Context, resourceGroupNa
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client AgentPoolsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/containerservice/mgmt/2019-06-01/containerservice/containerservices.go b/services/containerservice/mgmt/2019-06-01/containerservice/containerservices.go
index 922249b6bc77..578c318e3ac5 100644
--- a/services/containerservice/mgmt/2019-06-01/containerservice/containerservices.go
+++ b/services/containerservice/mgmt/2019-06-01/containerservice/containerservices.go
@@ -133,9 +133,9 @@ func (client ContainerServicesClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (future ContainerServicesCreateOrUpdateFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -213,9 +213,9 @@ func (client ContainerServicesClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) DeleteSender(req *http.Request) (future ContainerServicesDeleteFutureType, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -297,8 +297,8 @@ func (client ContainerServicesClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -371,8 +371,8 @@ func (client ContainerServicesClient) ListPreparer(ctx context.Context) (*http.R
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -486,8 +486,8 @@ func (client ContainerServicesClient) ListByResourceGroupPreparer(ctx context.Co
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -604,8 +604,8 @@ func (client ContainerServicesClient) ListOrchestratorsPreparer(ctx context.Cont
// ListOrchestratorsSender sends the ListOrchestrators request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServicesClient) ListOrchestratorsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListOrchestratorsResponder handles the response to the ListOrchestrators request. The method always
diff --git a/services/containerservice/mgmt/2019-06-01/containerservice/managedclusters.go b/services/containerservice/mgmt/2019-06-01/containerservice/managedclusters.go
index 2a8e2aaca5c3..456dc7e84816 100644
--- a/services/containerservice/mgmt/2019-06-01/containerservice/managedclusters.go
+++ b/services/containerservice/mgmt/2019-06-01/containerservice/managedclusters.go
@@ -138,9 +138,9 @@ func (client ManagedClustersClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future ManagedClustersCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -225,9 +225,9 @@ func (client ManagedClustersClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) DeleteSender(req *http.Request) (future ManagedClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -317,8 +317,8 @@ func (client ManagedClustersClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -407,8 +407,8 @@ func (client ManagedClustersClient) GetAccessProfilePreparer(ctx context.Context
// GetAccessProfileSender sends the GetAccessProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetAccessProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetAccessProfileResponder handles the response to the GetAccessProfile request. The method always
@@ -495,8 +495,8 @@ func (client ManagedClustersClient) GetUpgradeProfilePreparer(ctx context.Contex
// GetUpgradeProfileSender sends the GetUpgradeProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) GetUpgradeProfileSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUpgradeProfileResponder handles the response to the GetUpgradeProfile request. The method always
@@ -569,8 +569,8 @@ func (client ManagedClustersClient) ListPreparer(ctx context.Context) (*http.Req
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -689,8 +689,8 @@ func (client ManagedClustersClient) ListByResourceGroupPreparer(ctx context.Cont
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -814,8 +814,8 @@ func (client ManagedClustersClient) ListClusterAdminCredentialsPreparer(ctx cont
// ListClusterAdminCredentialsSender sends the ListClusterAdminCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListClusterAdminCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListClusterAdminCredentialsResponder handles the response to the ListClusterAdminCredentials request. The method always
@@ -902,8 +902,8 @@ func (client ManagedClustersClient) ListClusterUserCredentialsPreparer(ctx conte
// ListClusterUserCredentialsSender sends the ListClusterUserCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ListClusterUserCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListClusterUserCredentialsResponder handles the response to the ListClusterUserCredentials request. The method always
@@ -989,9 +989,9 @@ func (client ManagedClustersClient) ResetAADProfilePreparer(ctx context.Context,
// ResetAADProfileSender sends the ResetAADProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ResetAADProfileSender(req *http.Request) (future ManagedClustersResetAADProfileFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1080,9 +1080,9 @@ func (client ManagedClustersClient) ResetServicePrincipalProfilePreparer(ctx con
// ResetServicePrincipalProfileSender sends the ResetServicePrincipalProfile request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) ResetServicePrincipalProfileSender(req *http.Request) (future ManagedClustersResetServicePrincipalProfileFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1169,9 +1169,9 @@ func (client ManagedClustersClient) UpdateTagsPreparer(ctx context.Context, reso
// UpdateTagsSender sends the UpdateTags request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedClustersClient) UpdateTagsSender(req *http.Request) (future ManagedClustersUpdateTagsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerservice/mgmt/2019-06-01/containerservice/openshiftmanagedclusters.go b/services/containerservice/mgmt/2019-06-01/containerservice/openshiftmanagedclusters.go
index 2bdeabfabe0d..ac574f3c4121 100644
--- a/services/containerservice/mgmt/2019-06-01/containerservice/openshiftmanagedclusters.go
+++ b/services/containerservice/mgmt/2019-06-01/containerservice/openshiftmanagedclusters.go
@@ -111,9 +111,9 @@ func (client OpenShiftManagedClustersClient) CreateOrUpdatePreparer(ctx context.
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) CreateOrUpdateSender(req *http.Request) (future OpenShiftManagedClustersCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -194,9 +194,9 @@ func (client OpenShiftManagedClustersClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) DeleteSender(req *http.Request) (future OpenShiftManagedClustersDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -282,8 +282,8 @@ func (client OpenShiftManagedClustersClient) GetPreparer(ctx context.Context, re
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -356,8 +356,8 @@ func (client OpenShiftManagedClustersClient) ListPreparer(ctx context.Context) (
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -476,8 +476,8 @@ func (client OpenShiftManagedClustersClient) ListByResourceGroupPreparer(ctx con
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -593,9 +593,9 @@ func (client OpenShiftManagedClustersClient) UpdateTagsPreparer(ctx context.Cont
// UpdateTagsSender sends the UpdateTags request. The method will close the
// http.Response Body if it receives an error.
func (client OpenShiftManagedClustersClient) UpdateTagsSender(req *http.Request) (future OpenShiftManagedClustersUpdateTagsFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/containerservice/mgmt/2019-06-01/containerservice/operations.go b/services/containerservice/mgmt/2019-06-01/containerservice/operations.go
index 03aa27cd07af..3061cc94f27f 100644
--- a/services/containerservice/mgmt/2019-06-01/containerservice/operations.go
+++ b/services/containerservice/mgmt/2019-06-01/containerservice/operations.go
@@ -91,8 +91,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/collection.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/collection.go
index 585588ed9ffb..3019e7ed3fca 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/collection.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/collection.go
@@ -117,8 +117,8 @@ func (client CollectionClient) ListMetricDefinitionsPreparer(ctx context.Context
// ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the
// http.Response Body if it receives an error.
func (client CollectionClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always
@@ -214,8 +214,8 @@ func (client CollectionClient) ListMetricsPreparer(ctx context.Context, resource
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client CollectionClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
@@ -312,8 +312,8 @@ func (client CollectionClient) ListUsagesPreparer(ctx context.Context, resourceG
// ListUsagesSender sends the ListUsages request. The method will close the
// http.Response Body if it receives an error.
func (client CollectionClient) ListUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsagesResponder handles the response to the ListUsages request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartition.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartition.go
index 7d96228a5a24..4a514d1b2b2f 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartition.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartition.go
@@ -121,8 +121,8 @@ func (client CollectionPartitionClient) ListMetricsPreparer(ctx context.Context,
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client CollectionPartitionClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
@@ -219,8 +219,8 @@ func (client CollectionPartitionClient) ListUsagesPreparer(ctx context.Context,
// ListUsagesSender sends the ListUsages request. The method will close the
// http.Response Body if it receives an error.
func (client CollectionPartitionClient) ListUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsagesResponder handles the response to the ListUsages request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartitionregion.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartitionregion.go
index e08a508ce59d..8f027b5490b8 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartitionregion.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartitionregion.go
@@ -124,8 +124,8 @@ func (client CollectionPartitionRegionClient) ListMetricsPreparer(ctx context.Co
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client CollectionPartitionRegionClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionregion.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionregion.go
index f96c4cace666..0aae092d46c6 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionregion.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionregion.go
@@ -124,8 +124,8 @@ func (client CollectionRegionClient) ListMetricsPreparer(ctx context.Context, re
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client CollectionRegionClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/database.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/database.go
index a1f1892de9f7..6dc44902d600 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/database.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/database.go
@@ -115,8 +115,8 @@ func (client DatabaseClient) ListMetricDefinitionsPreparer(ctx context.Context,
// ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always
@@ -210,8 +210,8 @@ func (client DatabaseClient) ListMetricsPreparer(ctx context.Context, resourceGr
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
@@ -306,8 +306,8 @@ func (client DatabaseClient) ListUsagesPreparer(ctx context.Context, resourceGro
// ListUsagesSender sends the ListUsages request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseClient) ListUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsagesResponder handles the response to the ListUsages request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccountregion.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccountregion.go
index 44df20b368e0..23e0b50a26f5 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccountregion.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccountregion.go
@@ -119,8 +119,8 @@ func (client DatabaseAccountRegionClient) ListMetricsPreparer(ctx context.Contex
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountRegionClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccounts.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccounts.go
index 967505549781..9fa680cfe34a 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccounts.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccounts.go
@@ -107,8 +107,8 @@ func (client DatabaseAccountsClient) CheckNameExistsPreparer(ctx context.Context
// CheckNameExistsSender sends the CheckNameExists request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CheckNameExistsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CheckNameExistsResponder handles the response to the CheckNameExists request. The method always
@@ -207,9 +207,9 @@ func (client DatabaseAccountsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CreateOrUpdateSender(req *http.Request) (future DatabaseAccountsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -307,9 +307,9 @@ func (client DatabaseAccountsClient) CreateUpdateCassandraKeyspacePreparer(ctx c
// CreateUpdateCassandraKeyspaceSender sends the CreateUpdateCassandraKeyspace request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CreateUpdateCassandraKeyspaceSender(req *http.Request) (future DatabaseAccountsCreateUpdateCassandraKeyspaceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -409,9 +409,9 @@ func (client DatabaseAccountsClient) CreateUpdateCassandraTablePreparer(ctx cont
// CreateUpdateCassandraTableSender sends the CreateUpdateCassandraTable request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CreateUpdateCassandraTableSender(req *http.Request) (future DatabaseAccountsCreateUpdateCassandraTableFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -509,9 +509,9 @@ func (client DatabaseAccountsClient) CreateUpdateGremlinDatabasePreparer(ctx con
// CreateUpdateGremlinDatabaseSender sends the CreateUpdateGremlinDatabase request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CreateUpdateGremlinDatabaseSender(req *http.Request) (future DatabaseAccountsCreateUpdateGremlinDatabaseFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -611,9 +611,9 @@ func (client DatabaseAccountsClient) CreateUpdateGremlinGraphPreparer(ctx contex
// CreateUpdateGremlinGraphSender sends the CreateUpdateGremlinGraph request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CreateUpdateGremlinGraphSender(req *http.Request) (future DatabaseAccountsCreateUpdateGremlinGraphFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -713,9 +713,9 @@ func (client DatabaseAccountsClient) CreateUpdateMongoDBCollectionPreparer(ctx c
// CreateUpdateMongoDBCollectionSender sends the CreateUpdateMongoDBCollection request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CreateUpdateMongoDBCollectionSender(req *http.Request) (future DatabaseAccountsCreateUpdateMongoDBCollectionFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -813,9 +813,9 @@ func (client DatabaseAccountsClient) CreateUpdateMongoDBDatabasePreparer(ctx con
// CreateUpdateMongoDBDatabaseSender sends the CreateUpdateMongoDBDatabase request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CreateUpdateMongoDBDatabaseSender(req *http.Request) (future DatabaseAccountsCreateUpdateMongoDBDatabaseFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -915,9 +915,9 @@ func (client DatabaseAccountsClient) CreateUpdateSQLContainerPreparer(ctx contex
// CreateUpdateSQLContainerSender sends the CreateUpdateSQLContainer request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CreateUpdateSQLContainerSender(req *http.Request) (future DatabaseAccountsCreateUpdateSQLContainerFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1015,9 +1015,9 @@ func (client DatabaseAccountsClient) CreateUpdateSQLDatabasePreparer(ctx context
// CreateUpdateSQLDatabaseSender sends the CreateUpdateSQLDatabase request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CreateUpdateSQLDatabaseSender(req *http.Request) (future DatabaseAccountsCreateUpdateSQLDatabaseFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1115,9 +1115,9 @@ func (client DatabaseAccountsClient) CreateUpdateTablePreparer(ctx context.Conte
// CreateUpdateTableSender sends the CreateUpdateTable request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) CreateUpdateTableSender(req *http.Request) (future DatabaseAccountsCreateUpdateTableFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1204,9 +1204,9 @@ func (client DatabaseAccountsClient) DeletePreparer(ctx context.Context, resourc
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) DeleteSender(req *http.Request) (future DatabaseAccountsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1294,9 +1294,9 @@ func (client DatabaseAccountsClient) DeleteCassandraKeyspacePreparer(ctx context
// DeleteCassandraKeyspaceSender sends the DeleteCassandraKeyspace request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) DeleteCassandraKeyspaceSender(req *http.Request) (future DatabaseAccountsDeleteCassandraKeyspaceFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1386,9 +1386,9 @@ func (client DatabaseAccountsClient) DeleteCassandraTablePreparer(ctx context.Co
// DeleteCassandraTableSender sends the DeleteCassandraTable request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) DeleteCassandraTableSender(req *http.Request) (future DatabaseAccountsDeleteCassandraTableFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1476,9 +1476,9 @@ func (client DatabaseAccountsClient) DeleteGremlinDatabasePreparer(ctx context.C
// DeleteGremlinDatabaseSender sends the DeleteGremlinDatabase request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) DeleteGremlinDatabaseSender(req *http.Request) (future DatabaseAccountsDeleteGremlinDatabaseFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1568,9 +1568,9 @@ func (client DatabaseAccountsClient) DeleteGremlinGraphPreparer(ctx context.Cont
// DeleteGremlinGraphSender sends the DeleteGremlinGraph request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) DeleteGremlinGraphSender(req *http.Request) (future DatabaseAccountsDeleteGremlinGraphFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1660,9 +1660,9 @@ func (client DatabaseAccountsClient) DeleteMongoDBCollectionPreparer(ctx context
// DeleteMongoDBCollectionSender sends the DeleteMongoDBCollection request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) DeleteMongoDBCollectionSender(req *http.Request) (future DatabaseAccountsDeleteMongoDBCollectionFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1750,9 +1750,9 @@ func (client DatabaseAccountsClient) DeleteMongoDBDatabasePreparer(ctx context.C
// DeleteMongoDBDatabaseSender sends the DeleteMongoDBDatabase request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) DeleteMongoDBDatabaseSender(req *http.Request) (future DatabaseAccountsDeleteMongoDBDatabaseFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1842,9 +1842,9 @@ func (client DatabaseAccountsClient) DeleteSQLContainerPreparer(ctx context.Cont
// DeleteSQLContainerSender sends the DeleteSQLContainer request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) DeleteSQLContainerSender(req *http.Request) (future DatabaseAccountsDeleteSQLContainerFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1932,9 +1932,9 @@ func (client DatabaseAccountsClient) DeleteSQLDatabasePreparer(ctx context.Conte
// DeleteSQLDatabaseSender sends the DeleteSQLDatabase request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) DeleteSQLDatabaseSender(req *http.Request) (future DatabaseAccountsDeleteSQLDatabaseFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -2022,9 +2022,9 @@ func (client DatabaseAccountsClient) DeleteTablePreparer(ctx context.Context, re
// DeleteTableSender sends the DeleteTable request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) DeleteTableSender(req *http.Request) (future DatabaseAccountsDeleteTableFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -2117,9 +2117,9 @@ func (client DatabaseAccountsClient) FailoverPriorityChangePreparer(ctx context.
// FailoverPriorityChangeSender sends the FailoverPriorityChange request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) FailoverPriorityChangeSender(req *http.Request) (future DatabaseAccountsFailoverPriorityChangeFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -2211,8 +2211,8 @@ func (client DatabaseAccountsClient) GetPreparer(ctx context.Context, resourceGr
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -2303,8 +2303,8 @@ func (client DatabaseAccountsClient) GetCassandraKeyspacePreparer(ctx context.Co
// GetCassandraKeyspaceSender sends the GetCassandraKeyspace request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetCassandraKeyspaceSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCassandraKeyspaceResponder handles the response to the GetCassandraKeyspace request. The method always
@@ -2395,8 +2395,8 @@ func (client DatabaseAccountsClient) GetCassandraKeyspaceThroughputPreparer(ctx
// GetCassandraKeyspaceThroughputSender sends the GetCassandraKeyspaceThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetCassandraKeyspaceThroughputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCassandraKeyspaceThroughputResponder handles the response to the GetCassandraKeyspaceThroughput request. The method always
@@ -2488,8 +2488,8 @@ func (client DatabaseAccountsClient) GetCassandraTablePreparer(ctx context.Conte
// GetCassandraTableSender sends the GetCassandraTable request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetCassandraTableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCassandraTableResponder handles the response to the GetCassandraTable request. The method always
@@ -2582,8 +2582,8 @@ func (client DatabaseAccountsClient) GetCassandraTableThroughputPreparer(ctx con
// GetCassandraTableThroughputSender sends the GetCassandraTableThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetCassandraTableThroughputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetCassandraTableThroughputResponder handles the response to the GetCassandraTableThroughput request. The method always
@@ -2674,8 +2674,8 @@ func (client DatabaseAccountsClient) GetGremlinDatabasePreparer(ctx context.Cont
// GetGremlinDatabaseSender sends the GetGremlinDatabase request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetGremlinDatabaseSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetGremlinDatabaseResponder handles the response to the GetGremlinDatabase request. The method always
@@ -2766,8 +2766,8 @@ func (client DatabaseAccountsClient) GetGremlinDatabaseThroughputPreparer(ctx co
// GetGremlinDatabaseThroughputSender sends the GetGremlinDatabaseThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetGremlinDatabaseThroughputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetGremlinDatabaseThroughputResponder handles the response to the GetGremlinDatabaseThroughput request. The method always
@@ -2859,8 +2859,8 @@ func (client DatabaseAccountsClient) GetGremlinGraphPreparer(ctx context.Context
// GetGremlinGraphSender sends the GetGremlinGraph request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetGremlinGraphSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetGremlinGraphResponder handles the response to the GetGremlinGraph request. The method always
@@ -2953,8 +2953,8 @@ func (client DatabaseAccountsClient) GetGremlinGraphThroughputPreparer(ctx conte
// GetGremlinGraphThroughputSender sends the GetGremlinGraphThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetGremlinGraphThroughputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetGremlinGraphThroughputResponder handles the response to the GetGremlinGraphThroughput request. The method always
@@ -3046,8 +3046,8 @@ func (client DatabaseAccountsClient) GetMongoDBCollectionPreparer(ctx context.Co
// GetMongoDBCollectionSender sends the GetMongoDBCollection request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetMongoDBCollectionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMongoDBCollectionResponder handles the response to the GetMongoDBCollection request. The method always
@@ -3140,8 +3140,8 @@ func (client DatabaseAccountsClient) GetMongoDBCollectionThroughputPreparer(ctx
// GetMongoDBCollectionThroughputSender sends the GetMongoDBCollectionThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetMongoDBCollectionThroughputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMongoDBCollectionThroughputResponder handles the response to the GetMongoDBCollectionThroughput request. The method always
@@ -3232,8 +3232,8 @@ func (client DatabaseAccountsClient) GetMongoDBDatabasePreparer(ctx context.Cont
// GetMongoDBDatabaseSender sends the GetMongoDBDatabase request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetMongoDBDatabaseSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMongoDBDatabaseResponder handles the response to the GetMongoDBDatabase request. The method always
@@ -3324,8 +3324,8 @@ func (client DatabaseAccountsClient) GetMongoDBDatabaseThroughputPreparer(ctx co
// GetMongoDBDatabaseThroughputSender sends the GetMongoDBDatabaseThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetMongoDBDatabaseThroughputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMongoDBDatabaseThroughputResponder handles the response to the GetMongoDBDatabaseThroughput request. The method always
@@ -3413,8 +3413,8 @@ func (client DatabaseAccountsClient) GetReadOnlyKeysPreparer(ctx context.Context
// GetReadOnlyKeysSender sends the GetReadOnlyKeys request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetReadOnlyKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetReadOnlyKeysResponder handles the response to the GetReadOnlyKeys request. The method always
@@ -3506,8 +3506,8 @@ func (client DatabaseAccountsClient) GetSQLContainerPreparer(ctx context.Context
// GetSQLContainerSender sends the GetSQLContainer request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetSQLContainerSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetSQLContainerResponder handles the response to the GetSQLContainer request. The method always
@@ -3600,8 +3600,8 @@ func (client DatabaseAccountsClient) GetSQLContainerThroughputPreparer(ctx conte
// GetSQLContainerThroughputSender sends the GetSQLContainerThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetSQLContainerThroughputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetSQLContainerThroughputResponder handles the response to the GetSQLContainerThroughput request. The method always
@@ -3691,8 +3691,8 @@ func (client DatabaseAccountsClient) GetSQLDatabasePreparer(ctx context.Context,
// GetSQLDatabaseSender sends the GetSQLDatabase request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetSQLDatabaseSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetSQLDatabaseResponder handles the response to the GetSQLDatabase request. The method always
@@ -3783,8 +3783,8 @@ func (client DatabaseAccountsClient) GetSQLDatabaseThroughputPreparer(ctx contex
// GetSQLDatabaseThroughputSender sends the GetSQLDatabaseThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetSQLDatabaseThroughputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetSQLDatabaseThroughputResponder handles the response to the GetSQLDatabaseThroughput request. The method always
@@ -3874,8 +3874,8 @@ func (client DatabaseAccountsClient) GetTablePreparer(ctx context.Context, resou
// GetTableSender sends the GetTable request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetTableSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTableResponder handles the response to the GetTable request. The method always
@@ -3966,8 +3966,8 @@ func (client DatabaseAccountsClient) GetTableThroughputPreparer(ctx context.Cont
// GetTableThroughputSender sends the GetTableThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) GetTableThroughputSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTableThroughputResponder handles the response to the GetTableThroughput request. The method always
@@ -4038,8 +4038,8 @@ func (client DatabaseAccountsClient) ListPreparer(ctx context.Context) (*http.Re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -4121,8 +4121,8 @@ func (client DatabaseAccountsClient) ListByResourceGroupPreparer(ctx context.Con
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -4210,8 +4210,8 @@ func (client DatabaseAccountsClient) ListCassandraKeyspacesPreparer(ctx context.
// ListCassandraKeyspacesSender sends the ListCassandraKeyspaces request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListCassandraKeyspacesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCassandraKeyspacesResponder handles the response to the ListCassandraKeyspaces request. The method always
@@ -4301,8 +4301,8 @@ func (client DatabaseAccountsClient) ListCassandraTablesPreparer(ctx context.Con
// ListCassandraTablesSender sends the ListCassandraTables request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListCassandraTablesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCassandraTablesResponder handles the response to the ListCassandraTables request. The method always
@@ -4390,8 +4390,8 @@ func (client DatabaseAccountsClient) ListConnectionStringsPreparer(ctx context.C
// ListConnectionStringsSender sends the ListConnectionStrings request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListConnectionStringsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListConnectionStringsResponder handles the response to the ListConnectionStrings request. The method always
@@ -4479,8 +4479,8 @@ func (client DatabaseAccountsClient) ListGremlinDatabasesPreparer(ctx context.Co
// ListGremlinDatabasesSender sends the ListGremlinDatabases request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListGremlinDatabasesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListGremlinDatabasesResponder handles the response to the ListGremlinDatabases request. The method always
@@ -4570,8 +4570,8 @@ func (client DatabaseAccountsClient) ListGremlinGraphsPreparer(ctx context.Conte
// ListGremlinGraphsSender sends the ListGremlinGraphs request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListGremlinGraphsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListGremlinGraphsResponder handles the response to the ListGremlinGraphs request. The method always
@@ -4659,8 +4659,8 @@ func (client DatabaseAccountsClient) ListKeysPreparer(ctx context.Context, resou
// ListKeysSender sends the ListKeys request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListKeysResponder handles the response to the ListKeys request. The method always
@@ -4748,8 +4748,8 @@ func (client DatabaseAccountsClient) ListMetricDefinitionsPreparer(ctx context.C
// ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always
@@ -4841,8 +4841,8 @@ func (client DatabaseAccountsClient) ListMetricsPreparer(ctx context.Context, re
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
@@ -4932,8 +4932,8 @@ func (client DatabaseAccountsClient) ListMongoDBCollectionsPreparer(ctx context.
// ListMongoDBCollectionsSender sends the ListMongoDBCollections request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListMongoDBCollectionsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMongoDBCollectionsResponder handles the response to the ListMongoDBCollections request. The method always
@@ -5021,8 +5021,8 @@ func (client DatabaseAccountsClient) ListMongoDBDatabasesPreparer(ctx context.Co
// ListMongoDBDatabasesSender sends the ListMongoDBDatabases request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListMongoDBDatabasesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMongoDBDatabasesResponder handles the response to the ListMongoDBDatabases request. The method always
@@ -5110,8 +5110,8 @@ func (client DatabaseAccountsClient) ListReadOnlyKeysPreparer(ctx context.Contex
// ListReadOnlyKeysSender sends the ListReadOnlyKeys request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListReadOnlyKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListReadOnlyKeysResponder handles the response to the ListReadOnlyKeys request. The method always
@@ -5201,8 +5201,8 @@ func (client DatabaseAccountsClient) ListSQLContainersPreparer(ctx context.Conte
// ListSQLContainersSender sends the ListSQLContainers request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListSQLContainersSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSQLContainersResponder handles the response to the ListSQLContainers request. The method always
@@ -5290,8 +5290,8 @@ func (client DatabaseAccountsClient) ListSQLDatabasesPreparer(ctx context.Contex
// ListSQLDatabasesSender sends the ListSQLDatabases request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListSQLDatabasesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListSQLDatabasesResponder handles the response to the ListSQLDatabases request. The method always
@@ -5379,8 +5379,8 @@ func (client DatabaseAccountsClient) ListTablesPreparer(ctx context.Context, res
// ListTablesSender sends the ListTables request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListTablesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListTablesResponder handles the response to the ListTables request. The method always
@@ -5473,8 +5473,8 @@ func (client DatabaseAccountsClient) ListUsagesPreparer(ctx context.Context, res
// ListUsagesSender sends the ListUsages request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) ListUsagesSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListUsagesResponder handles the response to the ListUsages request. The method always
@@ -5561,9 +5561,9 @@ func (client DatabaseAccountsClient) OfflineRegionPreparer(ctx context.Context,
// OfflineRegionSender sends the OfflineRegion request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) OfflineRegionSender(req *http.Request) (future DatabaseAccountsOfflineRegionFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -5654,9 +5654,9 @@ func (client DatabaseAccountsClient) OnlineRegionPreparer(ctx context.Context, r
// OnlineRegionSender sends the OnlineRegion request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) OnlineRegionSender(req *http.Request) (future DatabaseAccountsOnlineRegionFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -5745,9 +5745,9 @@ func (client DatabaseAccountsClient) PatchPreparer(ctx context.Context, resource
// PatchSender sends the Patch request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) PatchSender(req *http.Request) (future DatabaseAccountsPatchFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -5837,9 +5837,9 @@ func (client DatabaseAccountsClient) RegenerateKeyPreparer(ctx context.Context,
// RegenerateKeySender sends the RegenerateKey request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) RegenerateKeySender(req *http.Request) (future DatabaseAccountsRegenerateKeyFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -5936,9 +5936,9 @@ func (client DatabaseAccountsClient) UpdateCassandraKeyspaceThroughputPreparer(c
// UpdateCassandraKeyspaceThroughputSender sends the UpdateCassandraKeyspaceThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) UpdateCassandraKeyspaceThroughputSender(req *http.Request) (future DatabaseAccountsUpdateCassandraKeyspaceThroughputFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -6038,9 +6038,9 @@ func (client DatabaseAccountsClient) UpdateCassandraTableThroughputPreparer(ctx
// UpdateCassandraTableThroughputSender sends the UpdateCassandraTableThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) UpdateCassandraTableThroughputSender(req *http.Request) (future DatabaseAccountsUpdateCassandraTableThroughputFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -6138,9 +6138,9 @@ func (client DatabaseAccountsClient) UpdateGremlinDatabaseThroughputPreparer(ctx
// UpdateGremlinDatabaseThroughputSender sends the UpdateGremlinDatabaseThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) UpdateGremlinDatabaseThroughputSender(req *http.Request) (future DatabaseAccountsUpdateGremlinDatabaseThroughputFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -6239,9 +6239,9 @@ func (client DatabaseAccountsClient) UpdateGremlinGraphThroughputPreparer(ctx co
// UpdateGremlinGraphThroughputSender sends the UpdateGremlinGraphThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) UpdateGremlinGraphThroughputSender(req *http.Request) (future DatabaseAccountsUpdateGremlinGraphThroughputFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -6341,9 +6341,9 @@ func (client DatabaseAccountsClient) UpdateMongoDBCollectionThroughputPreparer(c
// UpdateMongoDBCollectionThroughputSender sends the UpdateMongoDBCollectionThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) UpdateMongoDBCollectionThroughputSender(req *http.Request) (future DatabaseAccountsUpdateMongoDBCollectionThroughputFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -6441,9 +6441,9 @@ func (client DatabaseAccountsClient) UpdateMongoDBDatabaseThroughputPreparer(ctx
// UpdateMongoDBDatabaseThroughputSender sends the UpdateMongoDBDatabaseThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) UpdateMongoDBDatabaseThroughputSender(req *http.Request) (future DatabaseAccountsUpdateMongoDBDatabaseThroughputFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -6542,9 +6542,9 @@ func (client DatabaseAccountsClient) UpdateSQLContainerThroughputPreparer(ctx co
// UpdateSQLContainerThroughputSender sends the UpdateSQLContainerThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) UpdateSQLContainerThroughputSender(req *http.Request) (future DatabaseAccountsUpdateSQLContainerThroughputFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -6641,9 +6641,9 @@ func (client DatabaseAccountsClient) UpdateSQLDatabaseThroughputPreparer(ctx con
// UpdateSQLDatabaseThroughputSender sends the UpdateSQLDatabaseThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) UpdateSQLDatabaseThroughputSender(req *http.Request) (future DatabaseAccountsUpdateSQLDatabaseThroughputFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -6740,9 +6740,9 @@ func (client DatabaseAccountsClient) UpdateTableThroughputPreparer(ctx context.C
// UpdateTableThroughputSender sends the UpdateTableThroughput request. The method will close the
// http.Response Body if it receives an error.
func (client DatabaseAccountsClient) UpdateTableThroughputSender(req *http.Request) (future DatabaseAccountsUpdateTableThroughputFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go
index 61cbc651fd19..a5a9a238d4f1 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go
@@ -46,6 +46,19 @@ func PossibleConflictResolutionModeValues() []ConflictResolutionMode {
return []ConflictResolutionMode{Custom, LastWriterWins}
}
+// ConnectorOffer enumerates the values for connector offer.
+type ConnectorOffer string
+
+const (
+ // Small ...
+ Small ConnectorOffer = "Small"
+)
+
+// PossibleConnectorOfferValues returns an array of possible values for the ConnectorOffer const type.
+func PossibleConnectorOfferValues() []ConnectorOffer {
+ return []ConnectorOffer{Small}
+}
+
// DatabaseAccountKind enumerates the values for database account kind.
type DatabaseAccountKind string
@@ -923,6 +936,10 @@ type DatabaseAccountCreateUpdateProperties struct {
VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
// EnableMultipleWriteLocations - Enables the account to write in multiple locations
EnableMultipleWriteLocations *bool `json:"enableMultipleWriteLocations,omitempty"`
+ // EnableCassandraConnector - Enables the cassandra connector on the Cosmos DB C* account
+ EnableCassandraConnector *bool `json:"enableCassandraConnector,omitempty"`
+ // ConnectorOffer - The cassandra connector offer type for the Cosmos DB database C* account. Possible values include: 'Small'
+ ConnectorOffer ConnectorOffer `json:"connectorOffer,omitempty"`
}
// DatabaseAccountListConnectionStringsResult the connection strings for the given database account.
@@ -938,59 +955,11 @@ type DatabaseAccountListKeysResult struct {
// PrimaryMasterKey - READ-ONLY; Base 64 encoded value of the primary read-write key.
PrimaryMasterKey *string `json:"primaryMasterKey,omitempty"`
// SecondaryMasterKey - READ-ONLY; Base 64 encoded value of the secondary read-write key.
- SecondaryMasterKey *string `json:"secondaryMasterKey,omitempty"`
- *DatabaseAccountListReadOnlyKeysResult `json:"properties,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for DatabaseAccountListKeysResult.
-func (dalkr DatabaseAccountListKeysResult) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if dalkr.DatabaseAccountListReadOnlyKeysResult != nil {
- objectMap["properties"] = dalkr.DatabaseAccountListReadOnlyKeysResult
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for DatabaseAccountListKeysResult struct.
-func (dalkr *DatabaseAccountListKeysResult) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "primaryMasterKey":
- if v != nil {
- var primaryMasterKey string
- err = json.Unmarshal(*v, &primaryMasterKey)
- if err != nil {
- return err
- }
- dalkr.PrimaryMasterKey = &primaryMasterKey
- }
- case "secondaryMasterKey":
- if v != nil {
- var secondaryMasterKey string
- err = json.Unmarshal(*v, &secondaryMasterKey)
- if err != nil {
- return err
- }
- dalkr.SecondaryMasterKey = &secondaryMasterKey
- }
- case "properties":
- if v != nil {
- var databaseAccountListReadOnlyKeysResult DatabaseAccountListReadOnlyKeysResult
- err = json.Unmarshal(*v, &databaseAccountListReadOnlyKeysResult)
- if err != nil {
- return err
- }
- dalkr.DatabaseAccountListReadOnlyKeysResult = &databaseAccountListReadOnlyKeysResult
- }
- }
- }
-
- return nil
+ SecondaryMasterKey *string `json:"secondaryMasterKey,omitempty"`
+ // PrimaryReadonlyMasterKey - READ-ONLY; Base 64 encoded value of the primary read-only key.
+ PrimaryReadonlyMasterKey *string `json:"primaryReadonlyMasterKey,omitempty"`
+ // SecondaryReadonlyMasterKey - READ-ONLY; Base 64 encoded value of the secondary read-only key.
+ SecondaryReadonlyMasterKey *string `json:"secondaryReadonlyMasterKey,omitempty"`
}
// DatabaseAccountListReadOnlyKeysResult the read-only access keys for the given database account.
@@ -1086,6 +1055,10 @@ type DatabaseAccountProperties struct {
VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
// EnableMultipleWriteLocations - Enables the account to write in multiple locations
EnableMultipleWriteLocations *bool `json:"enableMultipleWriteLocations,omitempty"`
+ // EnableCassandraConnector - Enables the cassandra connector on the Cosmos DB C* account
+ EnableCassandraConnector *bool `json:"enableCassandraConnector,omitempty"`
+ // ConnectorOffer - The cassandra connector offer type for the Cosmos DB database C* account. Possible values include: 'Small'
+ ConnectorOffer ConnectorOffer `json:"connectorOffer,omitempty"`
}
// DatabaseAccountRegenerateKeyParameters parameters to regenerate the keys within the database account.
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/operations.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/operations.go
index 43afb0884a12..f294c8839b61 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/operations.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeid.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeid.go
index 7a3201b92b2f..5a5dde502f71 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeid.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeid.go
@@ -123,8 +123,8 @@ func (client PartitionKeyRangeIDClient) ListMetricsPreparer(ctx context.Context,
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client PartitionKeyRangeIDClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeidregion.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeidregion.go
index f1f94f7aa8a6..d5a47e1bb7f4 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeidregion.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeidregion.go
@@ -125,8 +125,8 @@ func (client PartitionKeyRangeIDRegionClient) ListMetricsPreparer(ctx context.Co
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client PartitionKeyRangeIDRegionClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/percentile.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/percentile.go
index 73c1137cfa00..bf37a1d3f0d1 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/percentile.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/percentile.go
@@ -118,8 +118,8 @@ func (client PercentileClient) ListMetricsPreparer(ctx context.Context, resource
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client PercentileClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/percentilesourcetarget.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/percentilesourcetarget.go
index 8871a1279373..b9ed0211b47c 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/percentilesourcetarget.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/percentilesourcetarget.go
@@ -124,8 +124,8 @@ func (client PercentileSourceTargetClient) ListMetricsPreparer(ctx context.Conte
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client PercentileSourceTargetClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/percentiletarget.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/percentiletarget.go
index 0181699c8390..9ddaa71f79c6 100644
--- a/services/cosmos-db/mgmt/2015-04-08/documentdb/percentiletarget.go
+++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/percentiletarget.go
@@ -121,8 +121,8 @@ func (client PercentileTargetClient) ListMetricsPreparer(ctx context.Context, re
// ListMetricsSender sends the ListMetrics request. The method will close the
// http.Response Body if it receives an error.
func (client PercentileTargetClient) ListMetricsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListMetricsResponder handles the response to the ListMetrics request. The method always
diff --git a/services/costmanagement/mgmt/2018-05-31/costmanagement/billingaccountdimensions.go b/services/costmanagement/mgmt/2018-05-31/costmanagement/billingaccountdimensions.go
index f2403c50857a..9728e69e4655 100644
--- a/services/costmanagement/mgmt/2018-05-31/costmanagement/billingaccountdimensions.go
+++ b/services/costmanagement/mgmt/2018-05-31/costmanagement/billingaccountdimensions.go
@@ -127,8 +127,8 @@ func (client BillingAccountDimensionsClient) ListPreparer(ctx context.Context, b
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client BillingAccountDimensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/costmanagement/mgmt/2018-05-31/costmanagement/client.go b/services/costmanagement/mgmt/2018-05-31/costmanagement/client.go
index 805a6b15b5c2..63f863cffa66 100644
--- a/services/costmanagement/mgmt/2018-05-31/costmanagement/client.go
+++ b/services/costmanagement/mgmt/2018-05-31/costmanagement/client.go
@@ -148,8 +148,8 @@ func (client BaseClient) QueryBillingAccountPreparer(ctx context.Context, billin
// QueryBillingAccountSender sends the QueryBillingAccount request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QueryBillingAccountSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// QueryBillingAccountResponder handles the response to the QueryBillingAccount request. The method always
@@ -259,8 +259,8 @@ func (client BaseClient) QueryResourceGroupPreparer(ctx context.Context, resourc
// QueryResourceGroupSender sends the QueryResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QueryResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// QueryResourceGroupResponder handles the response to the QueryResourceGroup request. The method always
@@ -368,8 +368,8 @@ func (client BaseClient) QuerySubscriptionPreparer(ctx context.Context, paramete
// QuerySubscriptionSender sends the QuerySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client BaseClient) QuerySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// QuerySubscriptionResponder handles the response to the QuerySubscription request. The method always
diff --git a/services/costmanagement/mgmt/2018-05-31/costmanagement/operations.go b/services/costmanagement/mgmt/2018-05-31/costmanagement/operations.go
index 9b6f34511a3a..29c5d263a605 100644
--- a/services/costmanagement/mgmt/2018-05-31/costmanagement/operations.go
+++ b/services/costmanagement/mgmt/2018-05-31/costmanagement/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/costmanagement/mgmt/2018-05-31/costmanagement/reportconfig.go b/services/costmanagement/mgmt/2018-05-31/costmanagement/reportconfig.go
index 1c03396ab745..85d29456c95f 100644
--- a/services/costmanagement/mgmt/2018-05-31/costmanagement/reportconfig.go
+++ b/services/costmanagement/mgmt/2018-05-31/costmanagement/reportconfig.go
@@ -151,8 +151,8 @@ func (client ReportConfigClient) CreateOrUpdatePreparer(ctx context.Context, rep
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ReportConfigClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -280,8 +280,8 @@ func (client ReportConfigClient) CreateOrUpdateByResourceGroupNamePreparer(ctx c
// CreateOrUpdateByResourceGroupNameSender sends the CreateOrUpdateByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client ReportConfigClient) CreateOrUpdateByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateByResourceGroupNameResponder handles the response to the CreateOrUpdateByResourceGroupName request. The method always
@@ -355,8 +355,8 @@ func (client ReportConfigClient) DeletePreparer(ctx context.Context, reportConfi
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ReportConfigClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -431,8 +431,8 @@ func (client ReportConfigClient) DeleteByResourceGroupNamePreparer(ctx context.C
// DeleteByResourceGroupNameSender sends the DeleteByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client ReportConfigClient) DeleteByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteByResourceGroupNameResponder handles the response to the DeleteByResourceGroupName request. The method always
@@ -505,8 +505,8 @@ func (client ReportConfigClient) GetPreparer(ctx context.Context, reportConfigNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ReportConfigClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -582,8 +582,8 @@ func (client ReportConfigClient) GetByResourceGroupNamePreparer(ctx context.Cont
// GetByResourceGroupNameSender sends the GetByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client ReportConfigClient) GetByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetByResourceGroupNameResponder handles the response to the GetByResourceGroupName request. The method always
@@ -654,8 +654,8 @@ func (client ReportConfigClient) ListPreparer(ctx context.Context) (*http.Reques
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ReportConfigClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -729,8 +729,8 @@ func (client ReportConfigClient) ListByResourceGroupNamePreparer(ctx context.Con
// ListByResourceGroupNameSender sends the ListByResourceGroupName request. The method will close the
// http.Response Body if it receives an error.
func (client ReportConfigClient) ListByResourceGroupNameSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupNameResponder handles the response to the ListByResourceGroupName request. The method always
diff --git a/services/costmanagement/mgmt/2018-05-31/costmanagement/resourcegroupdimensions.go b/services/costmanagement/mgmt/2018-05-31/costmanagement/resourcegroupdimensions.go
index a31b0fdbcd4f..c1ec4ec285c2 100644
--- a/services/costmanagement/mgmt/2018-05-31/costmanagement/resourcegroupdimensions.go
+++ b/services/costmanagement/mgmt/2018-05-31/costmanagement/resourcegroupdimensions.go
@@ -128,8 +128,8 @@ func (client ResourceGroupDimensionsClient) ListPreparer(ctx context.Context, re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ResourceGroupDimensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/costmanagement/mgmt/2018-05-31/costmanagement/subscriptiondimensions.go b/services/costmanagement/mgmt/2018-05-31/costmanagement/subscriptiondimensions.go
index 8657e2d6308e..2f14a9303acb 100644
--- a/services/costmanagement/mgmt/2018-05-31/costmanagement/subscriptiondimensions.go
+++ b/services/costmanagement/mgmt/2018-05-31/costmanagement/subscriptiondimensions.go
@@ -126,8 +126,8 @@ func (client SubscriptionDimensionsClient) ListPreparer(ctx context.Context, fil
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client SubscriptionDimensionsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/costmanagement/mgmt/2019-01-01/costmanagement/dimensions.go b/services/costmanagement/mgmt/2019-01-01/costmanagement/dimensions.go
index 8fc3f5a4cd38..846ddd30c468 100644
--- a/services/costmanagement/mgmt/2019-01-01/costmanagement/dimensions.go
+++ b/services/costmanagement/mgmt/2019-01-01/costmanagement/dimensions.go
@@ -134,8 +134,8 @@ func (client DimensionsClient) ListBySubscriptionPreparer(ctx context.Context, s
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client DimensionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
diff --git a/services/costmanagement/mgmt/2019-01-01/costmanagement/exports.go b/services/costmanagement/mgmt/2019-01-01/costmanagement/exports.go
index 094b2090b0b5..92a86288b3b8 100644
--- a/services/costmanagement/mgmt/2019-01-01/costmanagement/exports.go
+++ b/services/costmanagement/mgmt/2019-01-01/costmanagement/exports.go
@@ -121,8 +121,8 @@ func (client ExportsClient) CreateOrUpdatePreparer(ctx context.Context, scope st
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ExportsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -203,8 +203,8 @@ func (client ExportsClient) DeletePreparer(ctx context.Context, scope string, ex
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ExportsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -284,8 +284,8 @@ func (client ExportsClient) ExecutePreparer(ctx context.Context, scope string, e
// ExecuteSender sends the Execute request. The method will close the
// http.Response Body if it receives an error.
func (client ExportsClient) ExecuteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ExecuteResponder handles the response to the Execute request. The method always
@@ -365,8 +365,8 @@ func (client ExportsClient) GetPreparer(ctx context.Context, scope string, expor
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ExportsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -447,8 +447,8 @@ func (client ExportsClient) GetExecutionHistoryPreparer(ctx context.Context, sco
// GetExecutionHistorySender sends the GetExecutionHistory request. The method will close the
// http.Response Body if it receives an error.
func (client ExportsClient) GetExecutionHistorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetExecutionHistoryResponder handles the response to the GetExecutionHistory request. The method always
@@ -527,8 +527,8 @@ func (client ExportsClient) ListPreparer(ctx context.Context, scope string) (*ht
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ExportsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/costmanagement/mgmt/2019-01-01/costmanagement/operations.go b/services/costmanagement/mgmt/2019-01-01/costmanagement/operations.go
index ec3fd02672dc..050b0145afba 100644
--- a/services/costmanagement/mgmt/2019-01-01/costmanagement/operations.go
+++ b/services/costmanagement/mgmt/2019-01-01/costmanagement/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/costmanagement/mgmt/2019-01-01/costmanagement/query.go b/services/costmanagement/mgmt/2019-01-01/costmanagement/query.go
index 888a2e9c045b..2bfea775cdc7 100644
--- a/services/costmanagement/mgmt/2019-01-01/costmanagement/query.go
+++ b/services/costmanagement/mgmt/2019-01-01/costmanagement/query.go
@@ -141,8 +141,8 @@ func (client QueryClient) UsageByScopePreparer(ctx context.Context, scope string
// UsageByScopeSender sends the UsageByScope request. The method will close the
// http.Response Body if it receives an error.
func (client QueryClient) UsageByScopeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// UsageByScopeResponder handles the response to the UsageByScope request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/authorizationpolicies.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/authorizationpolicies.go
index a0798fa0fe4d..c6df4329cafe 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/authorizationpolicies.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/authorizationpolicies.go
@@ -121,8 +121,8 @@ func (client AuthorizationPoliciesClient) CreateOrUpdatePreparer(ctx context.Con
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AuthorizationPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -200,8 +200,8 @@ func (client AuthorizationPoliciesClient) GetPreparer(ctx context.Context, resou
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AuthorizationPoliciesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -278,8 +278,8 @@ func (client AuthorizationPoliciesClient) ListByHubPreparer(ctx context.Context,
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client AuthorizationPoliciesClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
@@ -394,8 +394,8 @@ func (client AuthorizationPoliciesClient) RegeneratePrimaryKeyPreparer(ctx conte
// RegeneratePrimaryKeySender sends the RegeneratePrimaryKey request. The method will close the
// http.Response Body if it receives an error.
func (client AuthorizationPoliciesClient) RegeneratePrimaryKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegeneratePrimaryKeyResponder handles the response to the RegeneratePrimaryKey request. The method always
@@ -473,8 +473,8 @@ func (client AuthorizationPoliciesClient) RegenerateSecondaryKeyPreparer(ctx con
// RegenerateSecondaryKeySender sends the RegenerateSecondaryKey request. The method will close the
// http.Response Body if it receives an error.
func (client AuthorizationPoliciesClient) RegenerateSecondaryKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateSecondaryKeyResponder handles the response to the RegenerateSecondaryKey request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/connectormappings.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/connectormappings.go
index e717d9c0688e..941ad2a3a640 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/connectormappings.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/connectormappings.go
@@ -131,8 +131,8 @@ func (client ConnectorMappingsClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorMappingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -212,8 +212,8 @@ func (client ConnectorMappingsClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorMappingsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -292,8 +292,8 @@ func (client ConnectorMappingsClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorMappingsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -372,8 +372,8 @@ func (client ConnectorMappingsClient) ListByConnectorPreparer(ctx context.Contex
// ListByConnectorSender sends the ListByConnector request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorMappingsClient) ListByConnectorSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByConnectorResponder handles the response to the ListByConnector request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/connectors.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/connectors.go
index af7c71fe5dff..9d5338d37bf4 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/connectors.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/connectors.go
@@ -113,9 +113,9 @@ func (client ConnectorsClient) CreateOrUpdatePreparer(ctx context.Context, resou
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorsClient) CreateOrUpdateSender(req *http.Request) (future ConnectorsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -192,9 +192,9 @@ func (client ConnectorsClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorsClient) DeleteSender(req *http.Request) (future ConnectorsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -276,8 +276,8 @@ func (client ConnectorsClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -354,8 +354,8 @@ func (client ConnectorsClient) ListByHubPreparer(ctx context.Context, resourceGr
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/hubs.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/hubs.go
index c25536599eff..df2b7c9143aa 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/hubs.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/hubs.go
@@ -127,8 +127,8 @@ func (client HubsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGro
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -198,9 +198,9 @@ func (client HubsClient) DeletePreparer(ctx context.Context, resourceGroupName s
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) DeleteSender(req *http.Request) (future HubsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -280,8 +280,8 @@ func (client HubsClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -353,8 +353,8 @@ func (client HubsClient) ListPreparer(ctx context.Context) (*http.Request, error
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -466,8 +466,8 @@ func (client HubsClient) ListByResourceGroupPreparer(ctx context.Context, resour
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -583,8 +583,8 @@ func (client HubsClient) UpdatePreparer(ctx context.Context, resourceGroupName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/images.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/images.go
index f1e4e9a985e2..0744bdfc2a63 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/images.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/images.go
@@ -105,8 +105,8 @@ func (client ImagesClient) GetUploadURLForDataPreparer(ctx context.Context, reso
// GetUploadURLForDataSender sends the GetUploadURLForData request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) GetUploadURLForDataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUploadURLForDataResponder handles the response to the GetUploadURLForData request. The method always
@@ -185,8 +185,8 @@ func (client ImagesClient) GetUploadURLForEntityTypePreparer(ctx context.Context
// GetUploadURLForEntityTypeSender sends the GetUploadURLForEntityType request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) GetUploadURLForEntityTypeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUploadURLForEntityTypeResponder handles the response to the GetUploadURLForEntityType request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/interactions.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/interactions.go
index dc7c1cc1f9cd..dc16c919c153 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/interactions.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/interactions.go
@@ -110,9 +110,9 @@ func (client InteractionsClient) CreateOrUpdatePreparer(ctx context.Context, res
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client InteractionsClient) CreateOrUpdateSender(req *http.Request) (future InteractionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,8 +201,8 @@ func (client InteractionsClient) GetPreparer(ctx context.Context, resourceGroupN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client InteractionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -285,8 +285,8 @@ func (client InteractionsClient) ListByHubPreparer(ctx context.Context, resource
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client InteractionsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
@@ -401,8 +401,8 @@ func (client InteractionsClient) SuggestRelationshipLinksPreparer(ctx context.Co
// SuggestRelationshipLinksSender sends the SuggestRelationshipLinks request. The method will close the
// http.Response Body if it receives an error.
func (client InteractionsClient) SuggestRelationshipLinksSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SuggestRelationshipLinksResponder handles the response to the SuggestRelationshipLinks request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/kpi.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/kpi.go
index a11e765b8be7..2b433abbdf91 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/kpi.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/kpi.go
@@ -120,9 +120,9 @@ func (client KpiClient) CreateOrUpdatePreparer(ctx context.Context, resourceGrou
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client KpiClient) CreateOrUpdateSender(req *http.Request) (future KpiCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -199,9 +199,9 @@ func (client KpiClient) DeletePreparer(ctx context.Context, resourceGroupName st
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client KpiClient) DeleteSender(req *http.Request) (future KpiDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -283,8 +283,8 @@ func (client KpiClient) GetPreparer(ctx context.Context, resourceGroupName strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client KpiClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -361,8 +361,8 @@ func (client KpiClient) ListByHubPreparer(ctx context.Context, resourceGroupName
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client KpiClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
@@ -477,8 +477,8 @@ func (client KpiClient) ReprocessPreparer(ctx context.Context, resourceGroupName
// ReprocessSender sends the Reprocess request. The method will close the
// http.Response Body if it receives an error.
func (client KpiClient) ReprocessSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReprocessResponder handles the response to the Reprocess request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/links.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/links.go
index de7d59920abf..2482fd58104c 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/links.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/links.go
@@ -116,9 +116,9 @@ func (client LinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGr
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client LinksClient) CreateOrUpdateSender(req *http.Request) (future LinksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,8 +201,8 @@ func (client LinksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client LinksClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -279,8 +279,8 @@ func (client LinksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client LinksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -357,8 +357,8 @@ func (client LinksClient) ListByHubPreparer(ctx context.Context, resourceGroupNa
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client LinksClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/operations.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/operations.go
index c48c26bff380..e00025ef1bd9 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/operations.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/operations.go
@@ -94,8 +94,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/profiles.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/profiles.go
index 7c12722743fc..fb173e4969a4 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/profiles.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/profiles.go
@@ -110,9 +110,9 @@ func (client ProfilesClient) CreateOrUpdatePreparer(ctx context.Context, resourc
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) CreateOrUpdateSender(req *http.Request) (future ProfilesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -195,9 +195,9 @@ func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -285,8 +285,8 @@ func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -365,8 +365,8 @@ func (client ProfilesClient) GetEnrichingKpisPreparer(ctx context.Context, resou
// GetEnrichingKpisSender sends the GetEnrichingKpis request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetEnrichingKpisSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetEnrichingKpisResponder handles the response to the GetEnrichingKpis request. The method always
@@ -449,8 +449,8 @@ func (client ProfilesClient) ListByHubPreparer(ctx context.Context, resourceGrou
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/relationshiplinks.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/relationshiplinks.go
index 02f4476d2bc4..2e0425a7d715 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/relationshiplinks.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/relationshiplinks.go
@@ -117,9 +117,9 @@ func (client RelationshipLinksClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipLinksClient) CreateOrUpdateSender(req *http.Request) (future RelationshipLinksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -196,9 +196,9 @@ func (client RelationshipLinksClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipLinksClient) DeleteSender(req *http.Request) (future RelationshipLinksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -280,8 +280,8 @@ func (client RelationshipLinksClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipLinksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -358,8 +358,8 @@ func (client RelationshipLinksClient) ListByHubPreparer(ctx context.Context, res
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipLinksClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/relationships.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/relationships.go
index 2238fe4d5c3c..5dd1621b06b9 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/relationships.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/relationships.go
@@ -115,9 +115,9 @@ func (client RelationshipsClient) CreateOrUpdatePreparer(ctx context.Context, re
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipsClient) CreateOrUpdateSender(req *http.Request) (future RelationshipsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -194,9 +194,9 @@ func (client RelationshipsClient) DeletePreparer(ctx context.Context, resourceGr
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipsClient) DeleteSender(req *http.Request) (future RelationshipsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -278,8 +278,8 @@ func (client RelationshipsClient) GetPreparer(ctx context.Context, resourceGroup
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -356,8 +356,8 @@ func (client RelationshipsClient) ListByHubPreparer(ctx context.Context, resourc
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/roleassignments.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/roleassignments.go
index f5012f7a6dba..83d2580781da 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/roleassignments.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/roleassignments.go
@@ -113,9 +113,9 @@ func (client RoleAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) CreateOrUpdateSender(req *http.Request) (future RoleAssignmentsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -198,8 +198,8 @@ func (client RoleAssignmentsClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -276,8 +276,8 @@ func (client RoleAssignmentsClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -354,8 +354,8 @@ func (client RoleAssignmentsClient) ListByHubPreparer(ctx context.Context, resou
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/roles.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/roles.go
index b31791a7224d..238cf8347a1d 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/roles.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/roles.go
@@ -103,8 +103,8 @@ func (client RolesClient) ListByHubPreparer(ctx context.Context, resourceGroupNa
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client RolesClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/views.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/views.go
index 57279240e69e..19c80bc51e99 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/views.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/views.go
@@ -118,8 +118,8 @@ func (client ViewsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGr
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ViewsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -199,8 +199,8 @@ func (client ViewsClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ViewsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -279,8 +279,8 @@ func (client ViewsClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ViewsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -359,8 +359,8 @@ func (client ViewsClient) ListByHubPreparer(ctx context.Context, resourceGroupNa
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client ViewsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-01-01/customerinsights/widgettypes.go b/services/customerinsights/mgmt/2017-01-01/customerinsights/widgettypes.go
index 0f82f11c9be5..4ab030437a9b 100644
--- a/services/customerinsights/mgmt/2017-01-01/customerinsights/widgettypes.go
+++ b/services/customerinsights/mgmt/2017-01-01/customerinsights/widgettypes.go
@@ -104,8 +104,8 @@ func (client WidgetTypesClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WidgetTypesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -182,8 +182,8 @@ func (client WidgetTypesClient) ListByHubPreparer(ctx context.Context, resourceG
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client WidgetTypesClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/authorizationpolicies.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/authorizationpolicies.go
index 5fc11f54fb84..069fde57d69c 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/authorizationpolicies.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/authorizationpolicies.go
@@ -121,8 +121,8 @@ func (client AuthorizationPoliciesClient) CreateOrUpdatePreparer(ctx context.Con
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client AuthorizationPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -200,8 +200,8 @@ func (client AuthorizationPoliciesClient) GetPreparer(ctx context.Context, resou
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client AuthorizationPoliciesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -278,8 +278,8 @@ func (client AuthorizationPoliciesClient) ListByHubPreparer(ctx context.Context,
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client AuthorizationPoliciesClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
@@ -394,8 +394,8 @@ func (client AuthorizationPoliciesClient) RegeneratePrimaryKeyPreparer(ctx conte
// RegeneratePrimaryKeySender sends the RegeneratePrimaryKey request. The method will close the
// http.Response Body if it receives an error.
func (client AuthorizationPoliciesClient) RegeneratePrimaryKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegeneratePrimaryKeyResponder handles the response to the RegeneratePrimaryKey request. The method always
@@ -473,8 +473,8 @@ func (client AuthorizationPoliciesClient) RegenerateSecondaryKeyPreparer(ctx con
// RegenerateSecondaryKeySender sends the RegenerateSecondaryKey request. The method will close the
// http.Response Body if it receives an error.
func (client AuthorizationPoliciesClient) RegenerateSecondaryKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateSecondaryKeyResponder handles the response to the RegenerateSecondaryKey request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/connectormappings.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/connectormappings.go
index a7c0ac14ce61..32b75b0b5d27 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/connectormappings.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/connectormappings.go
@@ -131,8 +131,8 @@ func (client ConnectorMappingsClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorMappingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -212,8 +212,8 @@ func (client ConnectorMappingsClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorMappingsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -292,8 +292,8 @@ func (client ConnectorMappingsClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorMappingsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -372,8 +372,8 @@ func (client ConnectorMappingsClient) ListByConnectorPreparer(ctx context.Contex
// ListByConnectorSender sends the ListByConnector request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorMappingsClient) ListByConnectorSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByConnectorResponder handles the response to the ListByConnector request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/connectors.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/connectors.go
index 30c49fbc58cf..c64d4acf104b 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/connectors.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/connectors.go
@@ -113,9 +113,9 @@ func (client ConnectorsClient) CreateOrUpdatePreparer(ctx context.Context, resou
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorsClient) CreateOrUpdateSender(req *http.Request) (future ConnectorsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -192,9 +192,9 @@ func (client ConnectorsClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorsClient) DeleteSender(req *http.Request) (future ConnectorsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -276,8 +276,8 @@ func (client ConnectorsClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -354,8 +354,8 @@ func (client ConnectorsClient) ListByHubPreparer(ctx context.Context, resourceGr
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client ConnectorsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/hubs.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/hubs.go
index 36a75c549a60..8d2a18c342cb 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/hubs.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/hubs.go
@@ -127,8 +127,8 @@ func (client HubsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGro
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -198,9 +198,9 @@ func (client HubsClient) DeletePreparer(ctx context.Context, resourceGroupName s
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) DeleteSender(req *http.Request) (future HubsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -280,8 +280,8 @@ func (client HubsClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -353,8 +353,8 @@ func (client HubsClient) ListPreparer(ctx context.Context) (*http.Request, error
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -466,8 +466,8 @@ func (client HubsClient) ListByResourceGroupPreparer(ctx context.Context, resour
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -583,8 +583,8 @@ func (client HubsClient) UpdatePreparer(ctx context.Context, resourceGroupName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client HubsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/images.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/images.go
index d07b78604f5e..070e2a618696 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/images.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/images.go
@@ -105,8 +105,8 @@ func (client ImagesClient) GetUploadURLForDataPreparer(ctx context.Context, reso
// GetUploadURLForDataSender sends the GetUploadURLForData request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) GetUploadURLForDataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUploadURLForDataResponder handles the response to the GetUploadURLForData request. The method always
@@ -185,8 +185,8 @@ func (client ImagesClient) GetUploadURLForEntityTypePreparer(ctx context.Context
// GetUploadURLForEntityTypeSender sends the GetUploadURLForEntityType request. The method will close the
// http.Response Body if it receives an error.
func (client ImagesClient) GetUploadURLForEntityTypeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetUploadURLForEntityTypeResponder handles the response to the GetUploadURLForEntityType request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/interactions.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/interactions.go
index eb59e5ea6f09..93d6f2b4c036 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/interactions.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/interactions.go
@@ -110,9 +110,9 @@ func (client InteractionsClient) CreateOrUpdatePreparer(ctx context.Context, res
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client InteractionsClient) CreateOrUpdateSender(req *http.Request) (future InteractionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,8 +201,8 @@ func (client InteractionsClient) GetPreparer(ctx context.Context, resourceGroupN
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client InteractionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -285,8 +285,8 @@ func (client InteractionsClient) ListByHubPreparer(ctx context.Context, resource
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client InteractionsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
@@ -401,8 +401,8 @@ func (client InteractionsClient) SuggestRelationshipLinksPreparer(ctx context.Co
// SuggestRelationshipLinksSender sends the SuggestRelationshipLinks request. The method will close the
// http.Response Body if it receives an error.
func (client InteractionsClient) SuggestRelationshipLinksSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SuggestRelationshipLinksResponder handles the response to the SuggestRelationshipLinks request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/kpi.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/kpi.go
index 7b3b3dde5fed..3417dfcca863 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/kpi.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/kpi.go
@@ -120,9 +120,9 @@ func (client KpiClient) CreateOrUpdatePreparer(ctx context.Context, resourceGrou
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client KpiClient) CreateOrUpdateSender(req *http.Request) (future KpiCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -199,9 +199,9 @@ func (client KpiClient) DeletePreparer(ctx context.Context, resourceGroupName st
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client KpiClient) DeleteSender(req *http.Request) (future KpiDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -283,8 +283,8 @@ func (client KpiClient) GetPreparer(ctx context.Context, resourceGroupName strin
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client KpiClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -361,8 +361,8 @@ func (client KpiClient) ListByHubPreparer(ctx context.Context, resourceGroupName
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client KpiClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
@@ -477,8 +477,8 @@ func (client KpiClient) ReprocessPreparer(ctx context.Context, resourceGroupName
// ReprocessSender sends the Reprocess request. The method will close the
// http.Response Body if it receives an error.
func (client KpiClient) ReprocessSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ReprocessResponder handles the response to the Reprocess request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/links.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/links.go
index 234a5ea5ead1..59412fbaa96a 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/links.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/links.go
@@ -116,9 +116,9 @@ func (client LinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGr
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client LinksClient) CreateOrUpdateSender(req *http.Request) (future LinksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -201,8 +201,8 @@ func (client LinksClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client LinksClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -279,8 +279,8 @@ func (client LinksClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client LinksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -357,8 +357,8 @@ func (client LinksClient) ListByHubPreparer(ctx context.Context, resourceGroupNa
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client LinksClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/operations.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/operations.go
index dbe91b30c184..57dc9266873c 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/operations.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/operations.go
@@ -94,8 +94,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/predictions.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/predictions.go
index 5a49a14bf53c..669bc2306912 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/predictions.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/predictions.go
@@ -123,9 +123,9 @@ func (client PredictionsClient) CreateOrUpdatePreparer(ctx context.Context, reso
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client PredictionsClient) CreateOrUpdateSender(req *http.Request) (future PredictionsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -202,9 +202,9 @@ func (client PredictionsClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PredictionsClient) DeleteSender(req *http.Request) (future PredictionsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -286,8 +286,8 @@ func (client PredictionsClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PredictionsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -365,8 +365,8 @@ func (client PredictionsClient) GetModelStatusPreparer(ctx context.Context, reso
// GetModelStatusSender sends the GetModelStatus request. The method will close the
// http.Response Body if it receives an error.
func (client PredictionsClient) GetModelStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetModelStatusResponder handles the response to the GetModelStatus request. The method always
@@ -444,8 +444,8 @@ func (client PredictionsClient) GetTrainingResultsPreparer(ctx context.Context,
// GetTrainingResultsSender sends the GetTrainingResults request. The method will close the
// http.Response Body if it receives an error.
func (client PredictionsClient) GetTrainingResultsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetTrainingResultsResponder handles the response to the GetTrainingResults request. The method always
@@ -522,8 +522,8 @@ func (client PredictionsClient) ListByHubPreparer(ctx context.Context, resourceG
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client PredictionsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
@@ -651,8 +651,8 @@ func (client PredictionsClient) ModelStatusPreparer(ctx context.Context, resourc
// ModelStatusSender sends the ModelStatus request. The method will close the
// http.Response Body if it receives an error.
func (client PredictionsClient) ModelStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ModelStatusResponder handles the response to the ModelStatus request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/profiles.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/profiles.go
index 07e795c6c9b8..7496104cbe8f 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/profiles.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/profiles.go
@@ -110,9 +110,9 @@ func (client ProfilesClient) CreateOrUpdatePreparer(ctx context.Context, resourc
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) CreateOrUpdateSender(req *http.Request) (future ProfilesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -195,9 +195,9 @@ func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -285,8 +285,8 @@ func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -365,8 +365,8 @@ func (client ProfilesClient) GetEnrichingKpisPreparer(ctx context.Context, resou
// GetEnrichingKpisSender sends the GetEnrichingKpis request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) GetEnrichingKpisSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetEnrichingKpisResponder handles the response to the GetEnrichingKpis request. The method always
@@ -449,8 +449,8 @@ func (client ProfilesClient) ListByHubPreparer(ctx context.Context, resourceGrou
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client ProfilesClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/relationshiplinks.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/relationshiplinks.go
index 87cef6bdfd11..8f591bfbc20b 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/relationshiplinks.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/relationshiplinks.go
@@ -117,9 +117,9 @@ func (client RelationshipLinksClient) CreateOrUpdatePreparer(ctx context.Context
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipLinksClient) CreateOrUpdateSender(req *http.Request) (future RelationshipLinksCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -196,9 +196,9 @@ func (client RelationshipLinksClient) DeletePreparer(ctx context.Context, resour
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipLinksClient) DeleteSender(req *http.Request) (future RelationshipLinksDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -280,8 +280,8 @@ func (client RelationshipLinksClient) GetPreparer(ctx context.Context, resourceG
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipLinksClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -358,8 +358,8 @@ func (client RelationshipLinksClient) ListByHubPreparer(ctx context.Context, res
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipLinksClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/relationships.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/relationships.go
index 572d181350b4..f64acca94358 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/relationships.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/relationships.go
@@ -115,9 +115,9 @@ func (client RelationshipsClient) CreateOrUpdatePreparer(ctx context.Context, re
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipsClient) CreateOrUpdateSender(req *http.Request) (future RelationshipsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -194,9 +194,9 @@ func (client RelationshipsClient) DeletePreparer(ctx context.Context, resourceGr
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipsClient) DeleteSender(req *http.Request) (future RelationshipsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -278,8 +278,8 @@ func (client RelationshipsClient) GetPreparer(ctx context.Context, resourceGroup
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -356,8 +356,8 @@ func (client RelationshipsClient) ListByHubPreparer(ctx context.Context, resourc
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client RelationshipsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/roleassignments.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/roleassignments.go
index e4e9143ab14b..a3a55f9f0990 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/roleassignments.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/roleassignments.go
@@ -113,9 +113,9 @@ func (client RoleAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) CreateOrUpdateSender(req *http.Request) (future RoleAssignmentsCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -198,8 +198,8 @@ func (client RoleAssignmentsClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -276,8 +276,8 @@ func (client RoleAssignmentsClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -354,8 +354,8 @@ func (client RoleAssignmentsClient) ListByHubPreparer(ctx context.Context, resou
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client RoleAssignmentsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/roles.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/roles.go
index d31e25ce5f2a..c4a0e43b83c5 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/roles.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/roles.go
@@ -103,8 +103,8 @@ func (client RolesClient) ListByHubPreparer(ctx context.Context, resourceGroupNa
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client RolesClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/views.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/views.go
index 5fda8c254dcf..ead688686eb7 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/views.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/views.go
@@ -118,8 +118,8 @@ func (client ViewsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGr
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ViewsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -199,8 +199,8 @@ func (client ViewsClient) DeletePreparer(ctx context.Context, resourceGroupName
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ViewsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -279,8 +279,8 @@ func (client ViewsClient) GetPreparer(ctx context.Context, resourceGroupName str
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ViewsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -359,8 +359,8 @@ func (client ViewsClient) ListByHubPreparer(ctx context.Context, resourceGroupNa
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client ViewsClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/customerinsights/mgmt/2017-04-26/customerinsights/widgettypes.go b/services/customerinsights/mgmt/2017-04-26/customerinsights/widgettypes.go
index 8b8ab617fa97..8b5abcbe9324 100644
--- a/services/customerinsights/mgmt/2017-04-26/customerinsights/widgettypes.go
+++ b/services/customerinsights/mgmt/2017-04-26/customerinsights/widgettypes.go
@@ -104,8 +104,8 @@ func (client WidgetTypesClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WidgetTypesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -182,8 +182,8 @@ func (client WidgetTypesClient) ListByHubPreparer(ctx context.Context, resourceG
// ListByHubSender sends the ListByHub request. The method will close the
// http.Response Body if it receives an error.
func (client WidgetTypesClient) ListByHubSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByHubResponder handles the response to the ListByHub request. The method always
diff --git a/services/databox/mgmt/2018-01-01/databox/jobs.go b/services/databox/mgmt/2018-01-01/databox/jobs.go
index 2c82cae1a100..962964654607 100644
--- a/services/databox/mgmt/2018-01-01/databox/jobs.go
+++ b/services/databox/mgmt/2018-01-01/databox/jobs.go
@@ -117,8 +117,8 @@ func (client JobsClient) BookShipmentPickUpPreparer(ctx context.Context, resourc
// BookShipmentPickUpSender sends the BookShipmentPickUp request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) BookShipmentPickUpSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// BookShipmentPickUpResponder handles the response to the BookShipmentPickUp request. The method always
@@ -208,8 +208,8 @@ func (client JobsClient) CancelPreparer(ctx context.Context, resourceGroupName s
// CancelSender sends the Cancel request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) CancelSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CancelResponder handles the response to the Cancel request. The method always
@@ -310,9 +310,9 @@ func (client JobsClient) CreatePreparer(ctx context.Context, resourceGroupName s
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) CreateSender(req *http.Request) (future JobsCreateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -396,9 +396,9 @@ func (client JobsClient) DeletePreparer(ctx context.Context, resourceGroupName s
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) DeleteSender(req *http.Request) (future JobsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -491,8 +491,8 @@ func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName stri
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -569,8 +569,8 @@ func (client JobsClient) ListPreparer(ctx context.Context, skipToken string) (*h
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -686,8 +686,8 @@ func (client JobsClient) ListByResourceGroupPreparer(ctx context.Context, resour
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -809,8 +809,8 @@ func (client JobsClient) ListCredentialsPreparer(ctx context.Context, resourceGr
// ListCredentialsSender sends the ListCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) ListCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListCredentialsResponder handles the response to the ListCredentials request. The method always
@@ -898,9 +898,9 @@ func (client JobsClient) UpdatePreparer(ctx context.Context, resourceGroupName s
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client JobsClient) UpdateSender(req *http.Request) (future JobsUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/databox/mgmt/2018-01-01/databox/operations.go b/services/databox/mgmt/2018-01-01/databox/operations.go
index 7d3cfbdb2696..e1ee8c26810f 100644
--- a/services/databox/mgmt/2018-01-01/databox/operations.go
+++ b/services/databox/mgmt/2018-01-01/databox/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/databox/mgmt/2018-01-01/databox/service.go b/services/databox/mgmt/2018-01-01/databox/service.go
index 603e47e2c9fb..bf8ea075a717 100644
--- a/services/databox/mgmt/2018-01-01/databox/service.go
+++ b/services/databox/mgmt/2018-01-01/databox/service.go
@@ -111,8 +111,8 @@ func (client ServiceClient) ListAvailableSkusPreparer(ctx context.Context, locat
// ListAvailableSkusSender sends the ListAvailableSkus request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceClient) ListAvailableSkusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAvailableSkusResponder handles the response to the ListAvailableSkus request. The method always
@@ -236,8 +236,8 @@ func (client ServiceClient) ValidateAddressMethodPreparer(ctx context.Context, l
// ValidateAddressMethodSender sends the ValidateAddressMethod request. The method will close the
// http.Response Body if it receives an error.
func (client ServiceClient) ValidateAddressMethodSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ValidateAddressMethodResponder handles the response to the ValidateAddressMethod request. The method always
diff --git a/services/databricks/mgmt/2018-04-01/databricks/operations.go b/services/databricks/mgmt/2018-04-01/databricks/operations.go
index eddb000a4316..24ee785a04be 100644
--- a/services/databricks/mgmt/2018-04-01/databricks/operations.go
+++ b/services/databricks/mgmt/2018-04-01/databricks/operations.go
@@ -92,8 +92,8 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/databricks/mgmt/2018-04-01/databricks/workspaces.go b/services/databricks/mgmt/2018-04-01/databricks/workspaces.go
index f327c73496f5..ca6c1c7692e1 100644
--- a/services/databricks/mgmt/2018-04-01/databricks/workspaces.go
+++ b/services/databricks/mgmt/2018-04-01/databricks/workspaces.go
@@ -114,9 +114,9 @@ func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, param
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (future WorkspacesCreateOrUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -202,9 +202,9 @@ func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroup
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) DeleteSender(req *http.Request) (future WorkspacesDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -295,8 +295,8 @@ func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupNam
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -379,8 +379,8 @@ func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context,
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -489,8 +489,8 @@ func (client WorkspacesClient) ListBySubscriptionPreparer(ctx context.Context) (
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
@@ -611,9 +611,9 @@ func (client WorkspacesClient) UpdatePreparer(ctx context.Context, parameters Wo
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client WorkspacesClient) UpdateSender(req *http.Request) (future WorkspacesUpdateFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/datacatalog/mgmt/2016-03-30/datacatalog/adccatalogs.go b/services/datacatalog/mgmt/2016-03-30/datacatalog/adccatalogs.go
index 256408169eda..053129fcbca8 100644
--- a/services/datacatalog/mgmt/2016-03-30/datacatalog/adccatalogs.go
+++ b/services/datacatalog/mgmt/2016-03-30/datacatalog/adccatalogs.go
@@ -115,8 +115,8 @@ func (client ADCCatalogsClient) CreateOrUpdatePreparer(ctx context.Context, reso
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ADCCatalogsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -194,9 +194,9 @@ func (client ADCCatalogsClient) DeletePreparer(ctx context.Context, resourceGrou
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ADCCatalogsClient) DeleteSender(req *http.Request) (future ADCCatalogsDeleteFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -284,8 +284,8 @@ func (client ADCCatalogsClient) GetPreparer(ctx context.Context, resourceGroupNa
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ADCCatalogsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -369,8 +369,8 @@ func (client ADCCatalogsClient) ListtByResourceGroupPreparer(ctx context.Context
// ListtByResourceGroupSender sends the ListtByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client ADCCatalogsClient) ListtByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListtByResourceGroupResponder handles the response to the ListtByResourceGroup request. The method always
@@ -458,8 +458,8 @@ func (client ADCCatalogsClient) UpdatePreparer(ctx context.Context, resourceGrou
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ADCCatalogsClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/datacatalog/mgmt/2016-03-30/datacatalog/adcoperations.go b/services/datacatalog/mgmt/2016-03-30/datacatalog/adcoperations.go
index ab8066f6162d..b1125f8c8c3d 100644
--- a/services/datacatalog/mgmt/2016-03-30/datacatalog/adcoperations.go
+++ b/services/datacatalog/mgmt/2016-03-30/datacatalog/adcoperations.go
@@ -92,8 +92,8 @@ func (client ADCOperationsClient) ListPreparer(ctx context.Context) (*http.Reque
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ADCOperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go
index 40c6454ea1c7..ae94efdbb01f 100644
--- a/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go
+++ b/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go
@@ -122,8 +122,8 @@ func (client ActivityRunsClient) QueryByPipelineRunPreparer(ctx context.Context,
// QueryByPipelineRunSender sends the QueryByPipelineRun request. The method will close the
// http.Response Body if it receives an error.
func (client ActivityRunsClient) QueryByPipelineRunSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// QueryByPipelineRunResponder handles the response to the QueryByPipelineRun request. The method always
diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go b/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go
index e22080d4aa19..9f30025d49f4 100644
--- a/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go
+++ b/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go
@@ -136,8 +136,8 @@ func (client DatasetsClient) CreateOrUpdatePreparer(ctx context.Context, resourc
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client DatasetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -231,8 +231,8 @@ func (client DatasetsClient) DeletePreparer(ctx context.Context, resourceGroupNa
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client DatasetsClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -331,8 +331,8 @@ func (client DatasetsClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client DatasetsClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -421,8 +421,8 @@ func (client DatasetsClient) ListByFactoryPreparer(ctx context.Context, resource
// ListByFactorySender sends the ListByFactory request. The method will close the
// http.Response Body if it receives an error.
func (client DatasetsClient) ListByFactorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByFactoryResponder handles the response to the ListByFactory request. The method always
diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go b/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go
index 6b157276427e..7463fdaa347e 100644
--- a/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go
+++ b/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go
@@ -103,8 +103,8 @@ func (client ExposureControlClient) GetFeatureValuePreparer(ctx context.Context,
// GetFeatureValueSender sends the GetFeatureValue request. The method will close the
// http.Response Body if it receives an error.
func (client ExposureControlClient) GetFeatureValueSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFeatureValueResponder handles the response to the GetFeatureValue request. The method always
@@ -195,8 +195,8 @@ func (client ExposureControlClient) GetFeatureValueByFactoryPreparer(ctx context
// GetFeatureValueByFactorySender sends the GetFeatureValueByFactory request. The method will close the
// http.Response Body if it receives an error.
func (client ExposureControlClient) GetFeatureValueByFactorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetFeatureValueByFactoryResponder handles the response to the GetFeatureValueByFactory request. The method always
diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/factories.go b/services/datafactory/mgmt/2018-06-01/datafactory/factories.go
index 09e0ed6d9283..a38f605234f1 100644
--- a/services/datafactory/mgmt/2018-06-01/datafactory/factories.go
+++ b/services/datafactory/mgmt/2018-06-01/datafactory/factories.go
@@ -114,8 +114,8 @@ func (client FactoriesClient) ConfigureFactoryRepoPreparer(ctx context.Context,
// ConfigureFactoryRepoSender sends the ConfigureFactoryRepo request. The method will close the
// http.Response Body if it receives an error.
func (client FactoriesClient) ConfigureFactoryRepoSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ConfigureFactoryRepoResponder handles the response to the ConfigureFactoryRepo request. The method always
@@ -223,8 +223,8 @@ func (client FactoriesClient) CreateOrUpdatePreparer(ctx context.Context, resour
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client FactoriesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -312,8 +312,8 @@ func (client FactoriesClient) DeletePreparer(ctx context.Context, resourceGroupN
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client FactoriesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -406,8 +406,8 @@ func (client FactoriesClient) GetPreparer(ctx context.Context, resourceGroupName
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client FactoriesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -498,8 +498,8 @@ func (client FactoriesClient) GetDataPlaneAccessPreparer(ctx context.Context, re
// GetDataPlaneAccessSender sends the GetDataPlaneAccess request. The method will close the
// http.Response Body if it receives an error.
func (client FactoriesClient) GetDataPlaneAccessSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetDataPlaneAccessResponder handles the response to the GetDataPlaneAccess request. The method always
@@ -593,8 +593,8 @@ func (client FactoriesClient) GetGitHubAccessTokenPreparer(ctx context.Context,
// GetGitHubAccessTokenSender sends the GetGitHubAccessToken request. The method will close the
// http.Response Body if it receives an error.
func (client FactoriesClient) GetGitHubAccessTokenSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetGitHubAccessTokenResponder handles the response to the GetGitHubAccessToken request. The method always
@@ -666,8 +666,8 @@ func (client FactoriesClient) ListPreparer(ctx context.Context) (*http.Request,
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client FactoriesClient) ListSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListResponder handles the response to the List request. The method always
@@ -787,8 +787,8 @@ func (client FactoriesClient) ListByResourceGroupPreparer(ctx context.Context, r
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
// http.Response Body if it receives an error.
func (client FactoriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
@@ -916,8 +916,8 @@ func (client FactoriesClient) UpdatePreparer(ctx context.Context, resourceGroupN
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client FactoriesClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go
index f92a7f2692de..007184ec149e 100644
--- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go
+++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go
@@ -126,8 +126,8 @@ func (client IntegrationRuntimeNodesClient) DeletePreparer(ctx context.Context,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimeNodesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -226,8 +226,8 @@ func (client IntegrationRuntimeNodesClient) GetPreparer(ctx context.Context, res
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimeNodesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -327,8 +327,8 @@ func (client IntegrationRuntimeNodesClient) GetIPAddressPreparer(ctx context.Con
// GetIPAddressSender sends the GetIPAddress request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimeNodesClient) GetIPAddressSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetIPAddressResponder handles the response to the GetIPAddress request. The method always
@@ -431,8 +431,8 @@ func (client IntegrationRuntimeNodesClient) UpdatePreparer(ctx context.Context,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimeNodesClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go
index a97b530b1c0b..a32e614cd3f1 100644
--- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go
+++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go
@@ -127,8 +127,8 @@ func (client IntegrationRuntimeObjectMetadataClient) GetPreparer(ctx context.Con
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimeObjectMetadataClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -216,9 +216,9 @@ func (client IntegrationRuntimeObjectMetadataClient) RefreshPreparer(ctx context
// RefreshSender sends the Refresh request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimeObjectMetadataClient) RefreshSender(req *http.Request) (future IntegrationRuntimeObjectMetadataRefreshFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go
index 9d56d985b159..7be42541bdae 100644
--- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go
+++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go
@@ -123,8 +123,8 @@ func (client IntegrationRuntimesClient) CreateLinkedIntegrationRuntimePreparer(c
// CreateLinkedIntegrationRuntimeSender sends the CreateLinkedIntegrationRuntime request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) CreateLinkedIntegrationRuntimeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateLinkedIntegrationRuntimeResponder handles the response to the CreateLinkedIntegrationRuntime request. The method always
@@ -229,8 +229,8 @@ func (client IntegrationRuntimesClient) CreateOrUpdatePreparer(ctx context.Conte
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -324,8 +324,8 @@ func (client IntegrationRuntimesClient) DeletePreparer(ctx context.Context, reso
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -424,8 +424,8 @@ func (client IntegrationRuntimesClient) GetPreparer(ctx context.Context, resourc
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -520,8 +520,8 @@ func (client IntegrationRuntimesClient) GetConnectionInfoPreparer(ctx context.Co
// GetConnectionInfoSender sends the GetConnectionInfo request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) GetConnectionInfoSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetConnectionInfoResponder handles the response to the GetConnectionInfo request. The method always
@@ -616,8 +616,8 @@ func (client IntegrationRuntimesClient) GetMonitoringDataPreparer(ctx context.Co
// GetMonitoringDataSender sends the GetMonitoringData request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) GetMonitoringDataSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetMonitoringDataResponder handles the response to the GetMonitoringData request. The method always
@@ -711,8 +711,8 @@ func (client IntegrationRuntimesClient) GetStatusPreparer(ctx context.Context, r
// GetStatusSender sends the GetStatus request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) GetStatusSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetStatusResponder handles the response to the GetStatus request. The method always
@@ -806,8 +806,8 @@ func (client IntegrationRuntimesClient) ListAuthKeysPreparer(ctx context.Context
// ListAuthKeysSender sends the ListAuthKeys request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) ListAuthKeysSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListAuthKeysResponder handles the response to the ListAuthKeys request. The method always
@@ -896,8 +896,8 @@ func (client IntegrationRuntimesClient) ListByFactoryPreparer(ctx context.Contex
// ListByFactorySender sends the ListByFactory request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) ListByFactorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByFactoryResponder handles the response to the ListByFactory request. The method always
@@ -1031,8 +1031,8 @@ func (client IntegrationRuntimesClient) RegenerateAuthKeyPreparer(ctx context.Co
// RegenerateAuthKeySender sends the RegenerateAuthKey request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) RegenerateAuthKeySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RegenerateAuthKeyResponder handles the response to the RegenerateAuthKey request. The method always
@@ -1131,8 +1131,8 @@ func (client IntegrationRuntimesClient) RemoveLinksPreparer(ctx context.Context,
// RemoveLinksSender sends the RemoveLinks request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) RemoveLinksSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// RemoveLinksResponder handles the response to the RemoveLinks request. The method always
@@ -1219,9 +1219,9 @@ func (client IntegrationRuntimesClient) StartPreparer(ctx context.Context, resou
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) StartSender(req *http.Request) (future IntegrationRuntimesStartFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1314,9 +1314,9 @@ func (client IntegrationRuntimesClient) StopPreparer(ctx context.Context, resour
// StopSender sends the Stop request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) StopSender(req *http.Request) (future IntegrationRuntimesStopFuture, err error) {
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ resp, err = autorest.SendWithSender(client, req, sd...)
if err != nil {
return
}
@@ -1417,8 +1417,8 @@ func (client IntegrationRuntimesClient) SyncCredentialsPreparer(ctx context.Cont
// SyncCredentialsSender sends the SyncCredentials request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) SyncCredentialsSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// SyncCredentialsResponder handles the response to the SyncCredentials request. The method always
@@ -1514,8 +1514,8 @@ func (client IntegrationRuntimesClient) UpdatePreparer(ctx context.Context, reso
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) UpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateResponder handles the response to the Update request. The method always
@@ -1609,8 +1609,8 @@ func (client IntegrationRuntimesClient) UpgradePreparer(ctx context.Context, res
// UpgradeSender sends the Upgrade request. The method will close the
// http.Response Body if it receives an error.
func (client IntegrationRuntimesClient) UpgradeSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// UpgradeResponder handles the response to the Upgrade request. The method always
diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go b/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go
index 952b6a5a0453..2dc34f42c5d8 100644
--- a/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go
+++ b/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go
@@ -136,8 +136,8 @@ func (client LinkedServicesClient) CreateOrUpdatePreparer(ctx context.Context, r
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client LinkedServicesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
@@ -231,8 +231,8 @@ func (client LinkedServicesClient) DeletePreparer(ctx context.Context, resourceG
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client LinkedServicesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -331,8 +331,8 @@ func (client LinkedServicesClient) GetPreparer(ctx context.Context, resourceGrou
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client LinkedServicesClient) GetSender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// GetResponder handles the response to the Get request. The method always
@@ -421,8 +421,8 @@ func (client LinkedServicesClient) ListByFactoryPreparer(ctx context.Context, re
// ListByFactorySender sends the ListByFactory request. The method will close the
// http.Response Body if it receives an error.
func (client LinkedServicesClient) ListByFactorySender(req *http.Request) (*http.Response, error) {
- return autorest.SendWithSender(client, req,
- azure.DoRetryWithRegistration(client.Client))
+ sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
+ return autorest.SendWithSender(client, req, sd...)
}
// ListByFactoryResponder handles the response to the ListByFactory request. The method always
diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go
index 8756dbbf1ce9..59b25301eaed 100644
--- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go
+++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go
@@ -93,6 +93,21 @@ func PossibleAzureFunctionActivityMethodValues() []AzureFunctionActivityMethod {
return []AzureFunctionActivityMethod{DELETE, GET, HEAD, OPTIONS, POST, PUT, TRACE}
}
+// AzureSearchIndexWriteBehaviorType enumerates the values for azure search index write behavior type.
+type AzureSearchIndexWriteBehaviorType string
+
+const (
+ // Merge ...
+ Merge AzureSearchIndexWriteBehaviorType = "Merge"
+ // Upload ...
+ Upload AzureSearchIndexWriteBehaviorType = "Upload"
+)
+
+// PossibleAzureSearchIndexWriteBehaviorTypeValues returns an array of possible values for the AzureSearchIndexWriteBehaviorType const type.
+func PossibleAzureSearchIndexWriteBehaviorTypeValues() []AzureSearchIndexWriteBehaviorType {
+ return []AzureSearchIndexWriteBehaviorType{Merge, Upload}
+}
+
// BlobEventTypes enumerates the values for blob event types.
type BlobEventTypes string
@@ -108,6 +123,37 @@ func PossibleBlobEventTypesValues() []BlobEventTypes {
return []BlobEventTypes{MicrosoftStorageBlobCreated, MicrosoftStorageBlobDeleted}
}
+// CassandraSourceReadConsistencyLevels enumerates the values for cassandra source read consistency levels.
+type CassandraSourceReadConsistencyLevels string
+
+const (
+ // ALL ...
+ ALL CassandraSourceReadConsistencyLevels = "ALL"
+ // EACHQUORUM ...
+ EACHQUORUM CassandraSourceReadConsistencyLevels = "EACH_QUORUM"
+ // LOCALONE ...
+ LOCALONE CassandraSourceReadConsistencyLevels = "LOCAL_ONE"
+ // LOCALQUORUM ...
+ LOCALQUORUM CassandraSourceReadConsistencyLevels = "LOCAL_QUORUM"
+ // LOCALSERIAL ...
+ LOCALSERIAL CassandraSourceReadConsistencyLevels = "LOCAL_SERIAL"
+ // ONE ...
+ ONE CassandraSourceReadConsistencyLevels = "ONE"
+ // QUORUM ...
+ QUORUM CassandraSourceReadConsistencyLevels = "QUORUM"
+ // SERIAL ...
+ SERIAL CassandraSourceReadConsistencyLevels = "SERIAL"
+ // THREE ...
+ THREE CassandraSourceReadConsistencyLevels = "THREE"
+ // TWO ...
+ TWO CassandraSourceReadConsistencyLevels = "TWO"
+)
+
+// PossibleCassandraSourceReadConsistencyLevelsValues returns an array of possible values for the CassandraSourceReadConsistencyLevels const type.
+func PossibleCassandraSourceReadConsistencyLevelsValues() []CassandraSourceReadConsistencyLevels {
+ return []CassandraSourceReadConsistencyLevels{ALL, EACHQUORUM, LOCALONE, LOCALQUORUM, LOCALSERIAL, ONE, QUORUM, SERIAL, THREE, TWO}
+}
+
// DayOfWeek enumerates the values for day of week.
type DayOfWeek string
@@ -190,6 +236,36 @@ func PossibleDependencyConditionValues() []DependencyCondition {
return []DependencyCondition{Completed, Failed, Skipped, Succeeded}
}
+// DynamicsAuthenticationType enumerates the values for dynamics authentication type.
+type DynamicsAuthenticationType string
+
+const (
+ // Ifd ...
+ Ifd DynamicsAuthenticationType = "Ifd"
+ // Office365 ...
+ Office365 DynamicsAuthenticationType = "Office365"
+)
+
+// PossibleDynamicsAuthenticationTypeValues returns an array of possible values for the DynamicsAuthenticationType const type.
+func PossibleDynamicsAuthenticationTypeValues() []DynamicsAuthenticationType {
+ return []DynamicsAuthenticationType{Ifd, Office365}
+}
+
+// DynamicsDeploymentType enumerates the values for dynamics deployment type.
+type DynamicsDeploymentType string
+
+const (
+ // Online ...
+ Online DynamicsDeploymentType = "Online"
+ // OnPremisesWithIfd ...
+ OnPremisesWithIfd DynamicsDeploymentType = "OnPremisesWithIfd"
+)
+
+// PossibleDynamicsDeploymentTypeValues returns an array of possible values for the DynamicsDeploymentType const type.
+func PossibleDynamicsDeploymentTypeValues() []DynamicsDeploymentType {
+ return []DynamicsDeploymentType{Online, OnPremisesWithIfd}
+}
+
// FtpAuthenticationType enumerates the values for ftp authentication type.
type FtpAuthenticationType string
@@ -475,31 +551,31 @@ func PossibleIntegrationRuntimeSsisCatalogPricingTierValues() []IntegrationRunti
type IntegrationRuntimeState string
const (
- // AccessDenied ...
- AccessDenied IntegrationRuntimeState = "AccessDenied"
- // 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"
+ // IntegrationRuntimeStateAccessDenied ...
+ IntegrationRuntimeStateAccessDenied IntegrationRuntimeState = "AccessDenied"
+ // IntegrationRuntimeStateInitial ...
+ IntegrationRuntimeStateInitial IntegrationRuntimeState = "Initial"
+ // IntegrationRuntimeStateLimited ...
+ IntegrationRuntimeStateLimited IntegrationRuntimeState = "Limited"
+ // IntegrationRuntimeStateNeedRegistration ...
+ IntegrationRuntimeStateNeedRegistration IntegrationRuntimeState = "NeedRegistration"
+ // IntegrationRuntimeStateOffline ...
+ IntegrationRuntimeStateOffline IntegrationRuntimeState = "Offline"
+ // IntegrationRuntimeStateOnline ...
+ IntegrationRuntimeStateOnline IntegrationRuntimeState = "Online"
+ // IntegrationRuntimeStateStarted ...
+ IntegrationRuntimeStateStarted IntegrationRuntimeState = "Started"
+ // IntegrationRuntimeStateStarting ...
+ IntegrationRuntimeStateStarting IntegrationRuntimeState = "Starting"
+ // IntegrationRuntimeStateStopped ...
+ IntegrationRuntimeStateStopped IntegrationRuntimeState = "Stopped"
+ // IntegrationRuntimeStateStopping ...
+ IntegrationRuntimeStateStopping IntegrationRuntimeState = "Stopping"
)
// PossibleIntegrationRuntimeStateValues returns an array of possible values for the IntegrationRuntimeState const type.
func PossibleIntegrationRuntimeStateValues() []IntegrationRuntimeState {
- return []IntegrationRuntimeState{AccessDenied, Initial, Limited, NeedRegistration, Offline, Online, Started, Starting, Stopped, Stopping}
+ return []IntegrationRuntimeState{IntegrationRuntimeStateAccessDenied, IntegrationRuntimeStateInitial, IntegrationRuntimeStateLimited, IntegrationRuntimeStateNeedRegistration, IntegrationRuntimeStateOffline, IntegrationRuntimeStateOnline, IntegrationRuntimeStateStarted, IntegrationRuntimeStateStarting, IntegrationRuntimeStateStopped, IntegrationRuntimeStateStopping}
}
// IntegrationRuntimeType enumerates the values for integration runtime type.
@@ -538,19 +614,19 @@ func PossibleIntegrationRuntimeUpdateResultValues() []IntegrationRuntimeUpdateRe
type ManagedIntegrationRuntimeNodeStatus string
const (
- // ManagedIntegrationRuntimeNodeStatusAvailable ...
- ManagedIntegrationRuntimeNodeStatusAvailable ManagedIntegrationRuntimeNodeStatus = "Available"
- // ManagedIntegrationRuntimeNodeStatusRecycling ...
- ManagedIntegrationRuntimeNodeStatusRecycling ManagedIntegrationRuntimeNodeStatus = "Recycling"
- // ManagedIntegrationRuntimeNodeStatusStarting ...
- ManagedIntegrationRuntimeNodeStatusStarting ManagedIntegrationRuntimeNodeStatus = "Starting"
- // ManagedIntegrationRuntimeNodeStatusUnavailable ...
- ManagedIntegrationRuntimeNodeStatusUnavailable ManagedIntegrationRuntimeNodeStatus = "Unavailable"
+ // Available ...
+ Available ManagedIntegrationRuntimeNodeStatus = "Available"
+ // Recycling ...
+ Recycling ManagedIntegrationRuntimeNodeStatus = "Recycling"
+ // Starting ...
+ Starting ManagedIntegrationRuntimeNodeStatus = "Starting"
+ // Unavailable ...
+ Unavailable ManagedIntegrationRuntimeNodeStatus = "Unavailable"
)
// PossibleManagedIntegrationRuntimeNodeStatusValues returns an array of possible values for the ManagedIntegrationRuntimeNodeStatus const type.
func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRuntimeNodeStatus {
- return []ManagedIntegrationRuntimeNodeStatus{ManagedIntegrationRuntimeNodeStatusAvailable, ManagedIntegrationRuntimeNodeStatusRecycling, ManagedIntegrationRuntimeNodeStatusStarting, ManagedIntegrationRuntimeNodeStatusUnavailable}
+ return []ManagedIntegrationRuntimeNodeStatus{Available, Recycling, Starting, Unavailable}
}
// MongoDbAuthenticationType enumerates the values for mongo db authentication type.
@@ -568,6 +644,23 @@ func PossibleMongoDbAuthenticationTypeValues() []MongoDbAuthenticationType {
return []MongoDbAuthenticationType{MongoDbAuthenticationTypeAnonymous, MongoDbAuthenticationTypeBasic}
}
+// NetezzaPartitionOption enumerates the values for netezza partition option.
+type NetezzaPartitionOption string
+
+const (
+ // NetezzaPartitionOptionDataSlice ...
+ NetezzaPartitionOptionDataSlice NetezzaPartitionOption = "DataSlice"
+ // NetezzaPartitionOptionDynamicRange ...
+ NetezzaPartitionOptionDynamicRange NetezzaPartitionOption = "DynamicRange"
+ // NetezzaPartitionOptionNone ...
+ NetezzaPartitionOptionNone NetezzaPartitionOption = "None"
+)
+
+// PossibleNetezzaPartitionOptionValues returns an array of possible values for the NetezzaPartitionOption const type.
+func PossibleNetezzaPartitionOptionValues() []NetezzaPartitionOption {
+ return []NetezzaPartitionOption{NetezzaPartitionOptionDataSlice, NetezzaPartitionOptionDynamicRange, NetezzaPartitionOptionNone}
+}
+
// ODataAadServicePrincipalCredentialType enumerates the values for o data aad service principal credential
// type.
type ODataAadServicePrincipalCredentialType string
@@ -605,6 +698,23 @@ func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType {
return []ODataAuthenticationType{ODataAuthenticationTypeAadServicePrincipal, ODataAuthenticationTypeAnonymous, ODataAuthenticationTypeBasic, ODataAuthenticationTypeManagedServiceIdentity, ODataAuthenticationTypeWindows}
}
+// OraclePartitionOption enumerates the values for oracle partition option.
+type OraclePartitionOption string
+
+const (
+ // OraclePartitionOptionDynamicRange ...
+ OraclePartitionOptionDynamicRange OraclePartitionOption = "DynamicRange"
+ // OraclePartitionOptionNone ...
+ OraclePartitionOptionNone OraclePartitionOption = "None"
+ // OraclePartitionOptionPhysicalPartitionsOfTable ...
+ OraclePartitionOptionPhysicalPartitionsOfTable OraclePartitionOption = "PhysicalPartitionsOfTable"
+)
+
+// PossibleOraclePartitionOptionValues returns an array of possible values for the OraclePartitionOption const type.
+func PossibleOraclePartitionOptionValues() []OraclePartitionOption {
+ return []OraclePartitionOption{OraclePartitionOptionDynamicRange, OraclePartitionOptionNone, OraclePartitionOptionPhysicalPartitionsOfTable}
+}
+
// ParameterType enumerates the values for parameter type.
type ParameterType string
@@ -819,6 +929,51 @@ func PossibleRunQueryOrderByFieldValues() []RunQueryOrderByField {
return []RunQueryOrderByField{RunQueryOrderByFieldActivityName, RunQueryOrderByFieldActivityRunEnd, RunQueryOrderByFieldActivityRunStart, RunQueryOrderByFieldPipelineName, RunQueryOrderByFieldRunEnd, RunQueryOrderByFieldRunStart, RunQueryOrderByFieldStatus, RunQueryOrderByFieldTriggerName, RunQueryOrderByFieldTriggerRunTimestamp}
}
+// SalesforceSinkWriteBehavior enumerates the values for salesforce sink write behavior.
+type SalesforceSinkWriteBehavior string
+
+const (
+ // Insert ...
+ Insert SalesforceSinkWriteBehavior = "Insert"
+ // Upsert ...
+ Upsert SalesforceSinkWriteBehavior = "Upsert"
+)
+
+// PossibleSalesforceSinkWriteBehaviorValues returns an array of possible values for the SalesforceSinkWriteBehavior const type.
+func PossibleSalesforceSinkWriteBehaviorValues() []SalesforceSinkWriteBehavior {
+ return []SalesforceSinkWriteBehavior{Insert, Upsert}
+}
+
+// SalesforceSourceReadBehavior enumerates the values for salesforce source read behavior.
+type SalesforceSourceReadBehavior string
+
+const (
+ // Query ...
+ Query SalesforceSourceReadBehavior = "Query"
+ // QueryAll ...
+ QueryAll SalesforceSourceReadBehavior = "QueryAll"
+)
+
+// PossibleSalesforceSourceReadBehaviorValues returns an array of possible values for the SalesforceSourceReadBehavior const type.
+func PossibleSalesforceSourceReadBehaviorValues() []SalesforceSourceReadBehavior {
+ return []SalesforceSourceReadBehavior{Query, QueryAll}
+}
+
+// SapCloudForCustomerSinkWriteBehavior enumerates the values for sap cloud for customer sink write behavior.
+type SapCloudForCustomerSinkWriteBehavior string
+
+const (
+ // SapCloudForCustomerSinkWriteBehaviorInsert ...
+ SapCloudForCustomerSinkWriteBehaviorInsert SapCloudForCustomerSinkWriteBehavior = "Insert"
+ // SapCloudForCustomerSinkWriteBehaviorUpdate ...
+ SapCloudForCustomerSinkWriteBehaviorUpdate SapCloudForCustomerSinkWriteBehavior = "Update"
+)
+
+// PossibleSapCloudForCustomerSinkWriteBehaviorValues returns an array of possible values for the SapCloudForCustomerSinkWriteBehavior const type.
+func PossibleSapCloudForCustomerSinkWriteBehaviorValues() []SapCloudForCustomerSinkWriteBehavior {
+ return []SapCloudForCustomerSinkWriteBehavior{SapCloudForCustomerSinkWriteBehaviorInsert, SapCloudForCustomerSinkWriteBehaviorUpdate}
+}
+
// SapHanaAuthenticationType enumerates the values for sap hana authentication type.
type SapHanaAuthenticationType string
@@ -834,6 +989,29 @@ func PossibleSapHanaAuthenticationTypeValues() []SapHanaAuthenticationType {
return []SapHanaAuthenticationType{SapHanaAuthenticationTypeBasic, SapHanaAuthenticationTypeWindows}
}
+// SapTablePartitionOption enumerates the values for sap table partition option.
+type SapTablePartitionOption string
+
+const (
+ // SapTablePartitionOptionNone ...
+ SapTablePartitionOptionNone SapTablePartitionOption = "None"
+ // SapTablePartitionOptionPartitionOnCalendarDate ...
+ SapTablePartitionOptionPartitionOnCalendarDate SapTablePartitionOption = "PartitionOnCalendarDate"
+ // SapTablePartitionOptionPartitionOnCalendarMonth ...
+ SapTablePartitionOptionPartitionOnCalendarMonth SapTablePartitionOption = "PartitionOnCalendarMonth"
+ // SapTablePartitionOptionPartitionOnCalendarYear ...
+ SapTablePartitionOptionPartitionOnCalendarYear SapTablePartitionOption = "PartitionOnCalendarYear"
+ // SapTablePartitionOptionPartitionOnInt ...
+ SapTablePartitionOptionPartitionOnInt SapTablePartitionOption = "PartitionOnInt"
+ // SapTablePartitionOptionPartitionOnTime ...
+ SapTablePartitionOptionPartitionOnTime SapTablePartitionOption = "PartitionOnTime"
+)
+
+// PossibleSapTablePartitionOptionValues returns an array of possible values for the SapTablePartitionOption const type.
+func PossibleSapTablePartitionOptionValues() []SapTablePartitionOption {
+ return []SapTablePartitionOption{SapTablePartitionOptionNone, SapTablePartitionOptionPartitionOnCalendarDate, SapTablePartitionOptionPartitionOnCalendarMonth, SapTablePartitionOptionPartitionOnCalendarYear, SapTablePartitionOptionPartitionOnInt, SapTablePartitionOptionPartitionOnTime}
+}
+
// SelfHostedIntegrationRuntimeNodeStatus enumerates the values for self hosted integration runtime node
// status.
type SelfHostedIntegrationRuntimeNodeStatus string
@@ -962,6 +1140,21 @@ func PossibleSsisObjectMetadataTypeValues() []SsisObjectMetadataType {
return []SsisObjectMetadataType{Environment, Folder, Package, Project}
}
+// 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}
+}
+
// StoredProcedureParameterType enumerates the values for stored procedure parameter type.
type StoredProcedureParameterType string
@@ -1017,6 +1210,23 @@ func PossibleTeradataAuthenticationTypeValues() []TeradataAuthenticationType {
return []TeradataAuthenticationType{TeradataAuthenticationTypeBasic, TeradataAuthenticationTypeWindows}
}
+// TeradataPartitionOption enumerates the values for teradata partition option.
+type TeradataPartitionOption string
+
+const (
+ // TeradataPartitionOptionDynamicRange ...
+ TeradataPartitionOptionDynamicRange TeradataPartitionOption = "DynamicRange"
+ // TeradataPartitionOptionHash ...
+ TeradataPartitionOptionHash TeradataPartitionOption = "Hash"
+ // TeradataPartitionOptionNone ...
+ TeradataPartitionOptionNone TeradataPartitionOption = "None"
+)
+
+// PossibleTeradataPartitionOptionValues returns an array of possible values for the TeradataPartitionOption const type.
+func PossibleTeradataPartitionOptionValues() []TeradataPartitionOption {
+ return []TeradataPartitionOption{TeradataPartitionOptionDynamicRange, TeradataPartitionOptionHash, TeradataPartitionOptionNone}
+}
+
// TriggerRunStatus enumerates the values for trigger run status.
type TriggerRunStatus string
@@ -1038,17 +1248,17 @@ func PossibleTriggerRunStatusValues() []TriggerRunStatus {
type TriggerRuntimeState string
const (
- // TriggerRuntimeStateDisabled ...
- TriggerRuntimeStateDisabled TriggerRuntimeState = "Disabled"
- // TriggerRuntimeStateStarted ...
- TriggerRuntimeStateStarted TriggerRuntimeState = "Started"
- // TriggerRuntimeStateStopped ...
- TriggerRuntimeStateStopped TriggerRuntimeState = "Stopped"
+ // Disabled ...
+ Disabled TriggerRuntimeState = "Disabled"
+ // Started ...
+ Started TriggerRuntimeState = "Started"
+ // Stopped ...
+ Stopped TriggerRuntimeState = "Stopped"
)
// PossibleTriggerRuntimeStateValues returns an array of possible values for the TriggerRuntimeState const type.
func PossibleTriggerRuntimeStateValues() []TriggerRuntimeState {
- return []TriggerRuntimeState{TriggerRuntimeStateDisabled, TriggerRuntimeStateStarted, TriggerRuntimeStateStopped}
+ return []TriggerRuntimeState{Disabled, Started, Stopped}
}
// TumblingWindowFrequency enumerates the values for tumbling window frequency.
@@ -1091,6 +1301,8 @@ const (
TypeActivity TypeBasicActivity = "Activity"
// TypeAppendVariable ...
TypeAppendVariable TypeBasicActivity = "AppendVariable"
+ // TypeAzureDataExplorerCommand ...
+ TypeAzureDataExplorerCommand TypeBasicActivity = "AzureDataExplorerCommand"
// TypeAzureFunctionActivity ...
TypeAzureFunctionActivity TypeBasicActivity = "AzureFunctionActivity"
// TypeAzureMLBatchExecution ...
@@ -1157,7 +1369,7 @@ const (
// PossibleTypeBasicActivityValues returns an array of possible values for the TypeBasicActivity const type.
func PossibleTypeBasicActivityValues() []TypeBasicActivity {
- return []TypeBasicActivity{TypeActivity, TypeAppendVariable, TypeAzureFunctionActivity, TypeAzureMLBatchExecution, TypeAzureMLUpdateResource, TypeContainer, TypeCopy, TypeCustom, TypeDatabricksNotebook, TypeDatabricksSparkJar, TypeDatabricksSparkPython, TypeDataLakeAnalyticsUSQL, TypeDelete, TypeExecutePipeline, TypeExecuteSSISPackage, TypeExecution, TypeFilter, TypeForEach, TypeGetMetadata, TypeHDInsightHive, TypeHDInsightMapReduce, TypeHDInsightPig, TypeHDInsightSpark, TypeHDInsightStreaming, TypeIfCondition, TypeLookup, TypeSetVariable, TypeSQLServerStoredProcedure, TypeUntil, TypeValidation, TypeWait, TypeWebActivity, TypeWebHook}
+ return []TypeBasicActivity{TypeActivity, TypeAppendVariable, TypeAzureDataExplorerCommand, TypeAzureFunctionActivity, TypeAzureMLBatchExecution, TypeAzureMLUpdateResource, TypeContainer, TypeCopy, TypeCustom, TypeDatabricksNotebook, TypeDatabricksSparkJar, TypeDatabricksSparkPython, TypeDataLakeAnalyticsUSQL, TypeDelete, TypeExecutePipeline, TypeExecuteSSISPackage, TypeExecution, TypeFilter, TypeForEach, TypeGetMetadata, TypeHDInsightHive, TypeHDInsightMapReduce, TypeHDInsightPig, TypeHDInsightSpark, TypeHDInsightStreaming, TypeIfCondition, TypeLookup, TypeSetVariable, TypeSQLServerStoredProcedure, TypeUntil, TypeValidation, TypeWait, TypeWebActivity, TypeWebHook}
}
// TypeBasicCopySink enumerates the values for type basic copy sink.
@@ -1170,6 +1382,8 @@ const (
TypeAzureDataExplorerSink TypeBasicCopySink = "AzureDataExplorerSink"
// TypeAzureDataLakeStoreSink ...
TypeAzureDataLakeStoreSink TypeBasicCopySink = "AzureDataLakeStoreSink"
+ // TypeAzurePostgreSQLSink ...
+ TypeAzurePostgreSQLSink TypeBasicCopySink = "AzurePostgreSqlSink"
// TypeAzureQueueSink ...
TypeAzureQueueSink TypeBasicCopySink = "AzureQueueSink"
// TypeAzureSearchIndexSink ...
@@ -1178,8 +1392,12 @@ const (
TypeAzureSQLSink TypeBasicCopySink = "AzureSqlSink"
// TypeAzureTableSink ...
TypeAzureTableSink TypeBasicCopySink = "AzureTableSink"
+ // TypeBinarySink ...
+ TypeBinarySink TypeBasicCopySink = "BinarySink"
// TypeBlobSink ...
TypeBlobSink TypeBasicCopySink = "BlobSink"
+ // TypeCommonDataServiceForAppsSink ...
+ TypeCommonDataServiceForAppsSink TypeBasicCopySink = "CommonDataServiceForAppsSink"
// TypeCopySink ...
TypeCopySink TypeBasicCopySink = "CopySink"
// TypeCosmosDbMongoDbAPISink ...
@@ -1188,22 +1406,32 @@ const (
TypeDelimitedTextSink TypeBasicCopySink = "DelimitedTextSink"
// TypeDocumentDbCollectionSink ...
TypeDocumentDbCollectionSink TypeBasicCopySink = "DocumentDbCollectionSink"
+ // TypeDynamicsCrmSink ...
+ TypeDynamicsCrmSink TypeBasicCopySink = "DynamicsCrmSink"
// TypeDynamicsSink ...
TypeDynamicsSink TypeBasicCopySink = "DynamicsSink"
// TypeFileSystemSink ...
TypeFileSystemSink TypeBasicCopySink = "FileSystemSink"
+ // TypeInformixSink ...
+ TypeInformixSink TypeBasicCopySink = "InformixSink"
+ // TypeMicrosoftAccessSink ...
+ TypeMicrosoftAccessSink TypeBasicCopySink = "MicrosoftAccessSink"
// TypeOdbcSink ...
TypeOdbcSink TypeBasicCopySink = "OdbcSink"
// TypeOracleSink ...
TypeOracleSink TypeBasicCopySink = "OracleSink"
// TypeParquetSink ...
TypeParquetSink TypeBasicCopySink = "ParquetSink"
+ // TypeSalesforceServiceCloudSink ...
+ TypeSalesforceServiceCloudSink TypeBasicCopySink = "SalesforceServiceCloudSink"
// TypeSalesforceSink ...
TypeSalesforceSink TypeBasicCopySink = "SalesforceSink"
// TypeSapCloudForCustomerSink ...
TypeSapCloudForCustomerSink TypeBasicCopySink = "SapCloudForCustomerSink"
// TypeSQLDWSink ...
TypeSQLDWSink TypeBasicCopySink = "SqlDWSink"
+ // TypeSQLMISink ...
+ TypeSQLMISink TypeBasicCopySink = "SqlMISink"
// TypeSQLServerSink ...
TypeSQLServerSink TypeBasicCopySink = "SqlServerSink"
// TypeSQLSink ...
@@ -1212,7 +1440,7 @@ const (
// PossibleTypeBasicCopySinkValues returns an array of possible values for the TypeBasicCopySink const type.
func PossibleTypeBasicCopySinkValues() []TypeBasicCopySink {
- return []TypeBasicCopySink{TypeAzureBlobFSSink, TypeAzureDataExplorerSink, TypeAzureDataLakeStoreSink, TypeAzureQueueSink, TypeAzureSearchIndexSink, TypeAzureSQLSink, TypeAzureTableSink, TypeBlobSink, TypeCopySink, TypeCosmosDbMongoDbAPISink, TypeDelimitedTextSink, TypeDocumentDbCollectionSink, TypeDynamicsSink, TypeFileSystemSink, TypeOdbcSink, TypeOracleSink, TypeParquetSink, TypeSalesforceSink, TypeSapCloudForCustomerSink, TypeSQLDWSink, TypeSQLServerSink, TypeSQLSink}
+ return []TypeBasicCopySink{TypeAzureBlobFSSink, TypeAzureDataExplorerSink, TypeAzureDataLakeStoreSink, TypeAzurePostgreSQLSink, TypeAzureQueueSink, TypeAzureSearchIndexSink, TypeAzureSQLSink, TypeAzureTableSink, TypeBinarySink, TypeBlobSink, TypeCommonDataServiceForAppsSink, TypeCopySink, TypeCosmosDbMongoDbAPISink, TypeDelimitedTextSink, TypeDocumentDbCollectionSink, TypeDynamicsCrmSink, TypeDynamicsSink, TypeFileSystemSink, TypeInformixSink, TypeMicrosoftAccessSink, TypeOdbcSink, TypeOracleSink, TypeParquetSink, TypeSalesforceServiceCloudSink, TypeSalesforceSink, TypeSapCloudForCustomerSink, TypeSQLDWSink, TypeSQLMISink, TypeSQLServerSink, TypeSQLSink}
}
// TypeBasicCopySource enumerates the values for type basic copy source.
@@ -1237,10 +1465,14 @@ const (
TypeAzureSQLSource TypeBasicCopySource = "AzureSqlSource"
// TypeAzureTableSource ...
TypeAzureTableSource TypeBasicCopySource = "AzureTableSource"
+ // TypeBinarySource ...
+ TypeBinarySource TypeBasicCopySource = "BinarySource"
// TypeBlobSource ...
TypeBlobSource TypeBasicCopySource = "BlobSource"
// TypeCassandraSource ...
TypeCassandraSource TypeBasicCopySource = "CassandraSource"
+ // TypeCommonDataServiceForAppsSource ...
+ TypeCommonDataServiceForAppsSource TypeBasicCopySource = "CommonDataServiceForAppsSource"
// TypeConcurSource ...
TypeConcurSource TypeBasicCopySource = "ConcurSource"
// TypeCopySource ...
@@ -1249,6 +1481,8 @@ const (
TypeCosmosDbMongoDbAPISource TypeBasicCopySource = "CosmosDbMongoDbApiSource"
// TypeCouchbaseSource ...
TypeCouchbaseSource TypeBasicCopySource = "CouchbaseSource"
+ // TypeDb2Source ...
+ TypeDb2Source TypeBasicCopySource = "Db2Source"
// TypeDelimitedTextSource ...
TypeDelimitedTextSource TypeBasicCopySource = "DelimitedTextSource"
// TypeDocumentDbCollectionSource ...
@@ -1257,6 +1491,8 @@ const (
TypeDrillSource TypeBasicCopySource = "DrillSource"
// TypeDynamicsAXSource ...
TypeDynamicsAXSource TypeBasicCopySource = "DynamicsAXSource"
+ // TypeDynamicsCrmSource ...
+ TypeDynamicsCrmSource TypeBasicCopySource = "DynamicsCrmSource"
// TypeDynamicsSource ...
TypeDynamicsSource TypeBasicCopySource = "DynamicsSource"
// TypeEloquaSource ...
@@ -1281,6 +1517,8 @@ const (
TypeHubspotSource TypeBasicCopySource = "HubspotSource"
// TypeImpalaSource ...
TypeImpalaSource TypeBasicCopySource = "ImpalaSource"
+ // TypeInformixSource ...
+ TypeInformixSource TypeBasicCopySource = "InformixSource"
// TypeJiraSource ...
TypeJiraSource TypeBasicCopySource = "JiraSource"
// TypeMagentoSource ...
@@ -1289,12 +1527,20 @@ const (
TypeMariaDBSource TypeBasicCopySource = "MariaDBSource"
// TypeMarketoSource ...
TypeMarketoSource TypeBasicCopySource = "MarketoSource"
+ // TypeMicrosoftAccessSource ...
+ TypeMicrosoftAccessSource TypeBasicCopySource = "MicrosoftAccessSource"
// TypeMongoDbSource ...
TypeMongoDbSource TypeBasicCopySource = "MongoDbSource"
// TypeMongoDbV2Source ...
TypeMongoDbV2Source TypeBasicCopySource = "MongoDbV2Source"
+ // TypeMySQLSource ...
+ TypeMySQLSource TypeBasicCopySource = "MySqlSource"
// TypeNetezzaSource ...
TypeNetezzaSource TypeBasicCopySource = "NetezzaSource"
+ // TypeODataSource ...
+ TypeODataSource TypeBasicCopySource = "ODataSource"
+ // TypeOdbcSource ...
+ TypeOdbcSource TypeBasicCopySource = "OdbcSource"
// TypeOffice365Source ...
TypeOffice365Source TypeBasicCopySource = "Office365Source"
// TypeOracleServiceCloudSource ...
@@ -1307,6 +1553,8 @@ const (
TypePaypalSource TypeBasicCopySource = "PaypalSource"
// TypePhoenixSource ...
TypePhoenixSource TypeBasicCopySource = "PhoenixSource"
+ // TypePostgreSQLSource ...
+ TypePostgreSQLSource TypeBasicCopySource = "PostgreSqlSource"
// TypePrestoSource ...
TypePrestoSource TypeBasicCopySource = "PrestoSource"
// TypeQuickBooksSource ...
@@ -1319,6 +1567,8 @@ const (
TypeRestSource TypeBasicCopySource = "RestSource"
// TypeSalesforceMarketingCloudSource ...
TypeSalesforceMarketingCloudSource TypeBasicCopySource = "SalesforceMarketingCloudSource"
+ // TypeSalesforceServiceCloudSource ...
+ TypeSalesforceServiceCloudSource TypeBasicCopySource = "SalesforceServiceCloudSource"
// TypeSalesforceSource ...
TypeSalesforceSource TypeBasicCopySource = "SalesforceSource"
// TypeSapCloudForCustomerSource ...
@@ -1339,12 +1589,16 @@ const (
TypeSparkSource TypeBasicCopySource = "SparkSource"
// TypeSQLDWSource ...
TypeSQLDWSource TypeBasicCopySource = "SqlDWSource"
+ // TypeSQLMISource ...
+ TypeSQLMISource TypeBasicCopySource = "SqlMISource"
// TypeSQLServerSource ...
TypeSQLServerSource TypeBasicCopySource = "SqlServerSource"
// TypeSQLSource ...
TypeSQLSource TypeBasicCopySource = "SqlSource"
// TypeSquareSource ...
TypeSquareSource TypeBasicCopySource = "SquareSource"
+ // TypeSybaseSource ...
+ TypeSybaseSource TypeBasicCopySource = "SybaseSource"
// TypeTeradataSource ...
TypeTeradataSource TypeBasicCopySource = "TeradataSource"
// TypeVerticaSource ...
@@ -1359,7 +1613,7 @@ const (
// PossibleTypeBasicCopySourceValues returns an array of possible values for the TypeBasicCopySource const type.
func PossibleTypeBasicCopySourceValues() []TypeBasicCopySource {
- return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAzureBlobFSSource, TypeAzureDataExplorerSource, TypeAzureDataLakeStoreSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureSQLSource, TypeAzureTableSource, TypeBlobSource, TypeCassandraSource, TypeConcurSource, TypeCopySource, TypeCosmosDbMongoDbAPISource, TypeCouchbaseSource, TypeDelimitedTextSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsAXSource, TypeDynamicsSource, TypeEloquaSource, TypeFileSystemSource, TypeGoogleAdWordsSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeJiraSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMongoDbSource, TypeMongoDbV2Source, TypeNetezzaSource, TypeOffice365Source, TypeOracleServiceCloudSource, TypeOracleSource, TypeParquetSource, TypePaypalSource, TypePhoenixSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeRestSource, TypeSalesforceMarketingCloudSource, TypeSalesforceSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeSapHanaSource, TypeSapOpenHubSource, TypeSapTableSource, TypeServiceNowSource, TypeShopifySource, TypeSparkSource, TypeSQLDWSource, TypeSQLServerSource, TypeSQLSource, TypeSquareSource, TypeTeradataSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource}
+ return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAzureBlobFSSource, TypeAzureDataExplorerSource, TypeAzureDataLakeStoreSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureSQLSource, TypeAzureTableSource, TypeBinarySource, TypeBlobSource, TypeCassandraSource, TypeCommonDataServiceForAppsSource, TypeConcurSource, TypeCopySource, TypeCosmosDbMongoDbAPISource, TypeCouchbaseSource, TypeDb2Source, TypeDelimitedTextSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsAXSource, TypeDynamicsCrmSource, TypeDynamicsSource, TypeEloquaSource, TypeFileSystemSource, TypeGoogleAdWordsSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeInformixSource, TypeJiraSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMicrosoftAccessSource, TypeMongoDbSource, TypeMongoDbV2Source, TypeMySQLSource, TypeNetezzaSource, TypeODataSource, TypeOdbcSource, TypeOffice365Source, TypeOracleServiceCloudSource, TypeOracleSource, TypeParquetSource, TypePaypalSource, TypePhoenixSource, TypePostgreSQLSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeRestSource, TypeSalesforceMarketingCloudSource, TypeSalesforceServiceCloudSource, TypeSalesforceSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeSapHanaSource, TypeSapOpenHubSource, TypeSapTableSource, TypeServiceNowSource, TypeShopifySource, TypeSparkSource, TypeSQLDWSource, TypeSQLMISource, TypeSQLServerSource, TypeSQLSource, TypeSquareSource, TypeSybaseSource, TypeTeradataSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource}
}
// TypeBasicDataset enumerates the values for type basic dataset.
@@ -1386,12 +1640,18 @@ const (
TypeAzureSearchIndex TypeBasicDataset = "AzureSearchIndex"
// TypeAzureSQLDWTable ...
TypeAzureSQLDWTable TypeBasicDataset = "AzureSqlDWTable"
+ // TypeAzureSQLMITable ...
+ TypeAzureSQLMITable TypeBasicDataset = "AzureSqlMITable"
// TypeAzureSQLTable ...
TypeAzureSQLTable TypeBasicDataset = "AzureSqlTable"
// TypeAzureTable ...
TypeAzureTable TypeBasicDataset = "AzureTable"
+ // TypeBinary ...
+ TypeBinary TypeBasicDataset = "Binary"
// TypeCassandraTable ...
TypeCassandraTable TypeBasicDataset = "CassandraTable"
+ // TypeCommonDataServiceForAppsEntity ...
+ TypeCommonDataServiceForAppsEntity TypeBasicDataset = "CommonDataServiceForAppsEntity"
// TypeConcurObject ...
TypeConcurObject TypeBasicDataset = "ConcurObject"
// TypeCosmosDbMongoDbAPICollection ...
@@ -1410,6 +1670,8 @@ const (
TypeDrillTable TypeBasicDataset = "DrillTable"
// TypeDynamicsAXResource ...
TypeDynamicsAXResource TypeBasicDataset = "DynamicsAXResource"
+ // TypeDynamicsCrmEntity ...
+ TypeDynamicsCrmEntity TypeBasicDataset = "DynamicsCrmEntity"
// TypeDynamicsEntity ...
TypeDynamicsEntity TypeBasicDataset = "DynamicsEntity"
// TypeEloquaObject ...
@@ -1432,6 +1694,8 @@ const (
TypeHubspotObject TypeBasicDataset = "HubspotObject"
// TypeImpalaObject ...
TypeImpalaObject TypeBasicDataset = "ImpalaObject"
+ // TypeInformixTable ...
+ TypeInformixTable TypeBasicDataset = "InformixTable"
// TypeJiraObject ...
TypeJiraObject TypeBasicDataset = "JiraObject"
// TypeMagentoObject ...
@@ -1440,14 +1704,20 @@ const (
TypeMariaDBTable TypeBasicDataset = "MariaDBTable"
// TypeMarketoObject ...
TypeMarketoObject TypeBasicDataset = "MarketoObject"
+ // TypeMicrosoftAccessTable ...
+ TypeMicrosoftAccessTable TypeBasicDataset = "MicrosoftAccessTable"
// TypeMongoDbCollection ...
TypeMongoDbCollection TypeBasicDataset = "MongoDbCollection"
// TypeMongoDbV2Collection ...
TypeMongoDbV2Collection TypeBasicDataset = "MongoDbV2Collection"
+ // TypeMySQLTable ...
+ TypeMySQLTable TypeBasicDataset = "MySqlTable"
// TypeNetezzaTable ...
TypeNetezzaTable TypeBasicDataset = "NetezzaTable"
// TypeODataResource ...
TypeODataResource TypeBasicDataset = "ODataResource"
+ // TypeOdbcTable ...
+ TypeOdbcTable TypeBasicDataset = "OdbcTable"
// TypeOffice365Table ...
TypeOffice365Table TypeBasicDataset = "Office365Table"
// TypeOracleServiceCloudObject ...
@@ -1460,6 +1730,8 @@ const (
TypePaypalObject TypeBasicDataset = "PaypalObject"
// TypePhoenixObject ...
TypePhoenixObject TypeBasicDataset = "PhoenixObject"
+ // TypePostgreSQLTable ...
+ TypePostgreSQLTable TypeBasicDataset = "PostgreSqlTable"
// TypePrestoObject ...
TypePrestoObject TypeBasicDataset = "PrestoObject"
// TypeQuickBooksObject ...
@@ -1474,6 +1746,8 @@ const (
TypeSalesforceMarketingCloudObject TypeBasicDataset = "SalesforceMarketingCloudObject"
// TypeSalesforceObject ...
TypeSalesforceObject TypeBasicDataset = "SalesforceObject"
+ // TypeSalesforceServiceCloudObject ...
+ TypeSalesforceServiceCloudObject TypeBasicDataset = "SalesforceServiceCloudObject"
// TypeSapCloudForCustomerResource ...
TypeSapCloudForCustomerResource TypeBasicDataset = "SapCloudForCustomerResource"
// TypeSapEccResource ...
@@ -1508,7 +1782,7 @@ const (
// PossibleTypeBasicDatasetValues returns an array of possible values for the TypeBasicDataset const type.
func PossibleTypeBasicDatasetValues() []TypeBasicDataset {
- return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonS3Object, TypeAzureBlob, TypeAzureBlobFSFile, TypeAzureDataExplorerTable, TypeAzureDataLakeStoreFile, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLTable, TypeAzureTable, TypeCassandraTable, TypeConcurObject, TypeCosmosDbMongoDbAPICollection, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDelimitedText, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsAXResource, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleAdWordsObject, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeJiraObject, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMongoDbCollection, TypeMongoDbV2Collection, TypeNetezzaTable, TypeODataResource, TypeOffice365Table, TypeOracleServiceCloudObject, TypeOracleTable, TypeParquet, TypePaypalObject, TypePhoenixObject, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeRestResource, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeSapHanaTable, TypeSapOpenHubTable, TypeSapTableResource, TypeServiceNowObject, TypeShopifyObject, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeTeradataTable, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeZohoObject}
+ return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonS3Object, TypeAzureBlob, TypeAzureBlobFSFile, TypeAzureDataExplorerTable, TypeAzureDataLakeStoreFile, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLMITable, TypeAzureSQLTable, TypeAzureTable, TypeBinary, TypeCassandraTable, TypeCommonDataServiceForAppsEntity, TypeConcurObject, TypeCosmosDbMongoDbAPICollection, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDelimitedText, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsAXResource, TypeDynamicsCrmEntity, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleAdWordsObject, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeInformixTable, TypeJiraObject, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMicrosoftAccessTable, TypeMongoDbCollection, TypeMongoDbV2Collection, TypeMySQLTable, TypeNetezzaTable, TypeODataResource, TypeOdbcTable, TypeOffice365Table, TypeOracleServiceCloudObject, TypeOracleTable, TypeParquet, TypePaypalObject, TypePhoenixObject, TypePostgreSQLTable, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeRestResource, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSalesforceServiceCloudObject, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeSapHanaTable, TypeSapOpenHubTable, TypeSapTableResource, TypeServiceNowObject, TypeShopifyObject, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeTeradataTable, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeZohoObject}
}
// TypeBasicDatasetCompression enumerates the values for type basic dataset compression.
@@ -1665,12 +1939,16 @@ const (
TypeAzureSQLDatabase TypeBasicLinkedService = "AzureSqlDatabase"
// TypeAzureSQLDW ...
TypeAzureSQLDW TypeBasicLinkedService = "AzureSqlDW"
+ // TypeAzureSQLMI ...
+ TypeAzureSQLMI TypeBasicLinkedService = "AzureSqlMI"
// TypeAzureStorage ...
TypeAzureStorage TypeBasicLinkedService = "AzureStorage"
// TypeAzureTableStorage ...
TypeAzureTableStorage TypeBasicLinkedService = "AzureTableStorage"
// TypeCassandra ...
TypeCassandra TypeBasicLinkedService = "Cassandra"
+ // TypeCommonDataServiceForApps ...
+ TypeCommonDataServiceForApps TypeBasicLinkedService = "CommonDataServiceForApps"
// TypeConcur ...
TypeConcur TypeBasicLinkedService = "Concur"
// TypeCosmosDb ...
@@ -1689,6 +1967,8 @@ const (
TypeDynamics TypeBasicLinkedService = "Dynamics"
// TypeDynamicsAX ...
TypeDynamicsAX TypeBasicLinkedService = "DynamicsAX"
+ // TypeDynamicsCrm ...
+ TypeDynamicsCrm TypeBasicLinkedService = "DynamicsCrm"
// TypeEloqua ...
TypeEloqua TypeBasicLinkedService = "Eloqua"
// TypeFileServer ...
@@ -1717,6 +1997,8 @@ const (
TypeHubspot TypeBasicLinkedService = "Hubspot"
// TypeImpala ...
TypeImpala TypeBasicLinkedService = "Impala"
+ // TypeInformix ...
+ TypeInformix TypeBasicLinkedService = "Informix"
// TypeJira ...
TypeJira TypeBasicLinkedService = "Jira"
// TypeLinkedService ...
@@ -1727,6 +2009,8 @@ const (
TypeMariaDB TypeBasicLinkedService = "MariaDB"
// TypeMarketo ...
TypeMarketo TypeBasicLinkedService = "Marketo"
+ // TypeMicrosoftAccess ...
+ TypeMicrosoftAccess TypeBasicLinkedService = "MicrosoftAccess"
// TypeMongoDb ...
TypeMongoDb TypeBasicLinkedService = "MongoDb"
// TypeMongoDbV2 ...
@@ -1763,6 +2047,8 @@ const (
TypeSalesforce TypeBasicLinkedService = "Salesforce"
// TypeSalesforceMarketingCloud ...
TypeSalesforceMarketingCloud TypeBasicLinkedService = "SalesforceMarketingCloud"
+ // TypeSalesforceServiceCloud ...
+ TypeSalesforceServiceCloud TypeBasicLinkedService = "SalesforceServiceCloud"
// TypeSapBW ...
TypeSapBW TypeBasicLinkedService = "SapBW"
// TypeSapCloudForCustomer ...
@@ -1803,7 +2089,7 @@ const (
// PossibleTypeBasicLinkedServiceValues returns an array of possible values for the TypeBasicLinkedService const type.
func PossibleTypeBasicLinkedServiceValues() []TypeBasicLinkedService {
- return []TypeBasicLinkedService{TypeAmazonMWS, TypeAmazonRedshift, TypeAmazonS3, TypeAzureBatch, TypeAzureBlobFS, TypeAzureBlobStorage, TypeAzureDatabricks, TypeAzureDataExplorer, TypeAzureDataLakeAnalytics, TypeAzureDataLakeStore, TypeAzureFunction, TypeAzureKeyVault, TypeAzureML, TypeAzureMySQL, TypeAzurePostgreSQL, TypeAzureSearch, TypeAzureSQLDatabase, TypeAzureSQLDW, TypeAzureStorage, TypeAzureTableStorage, TypeCassandra, TypeConcur, TypeCosmosDb, TypeCosmosDbMongoDbAPI, TypeCouchbase, TypeCustomDataSource, TypeDb2, TypeDrill, TypeDynamics, TypeDynamicsAX, TypeEloqua, TypeFileServer, TypeFtpServer, TypeGoogleAdWords, TypeGoogleBigQuery, TypeGreenplum, TypeHBase, TypeHdfs, TypeHDInsight, TypeHDInsightOnDemand, TypeHive, TypeHTTPServer, TypeHubspot, TypeImpala, TypeJira, TypeLinkedService, TypeMagento, TypeMariaDB, TypeMarketo, TypeMongoDb, TypeMongoDbV2, TypeMySQL, TypeNetezza, TypeOData, TypeOdbc, TypeOffice365, TypeOracle, TypeOracleServiceCloud, TypePaypal, TypePhoenix, TypePostgreSQL, TypePresto, TypeQuickBooks, TypeResponsys, TypeRestService, TypeSalesforce, TypeSalesforceMarketingCloud, TypeSapBW, TypeSapCloudForCustomer, TypeSapEcc, TypeSapHana, TypeSapOpenHub, TypeSapTable, TypeServiceNow, TypeSftp, TypeShopify, TypeSpark, TypeSQLServer, TypeSquare, TypeSybase, TypeTeradata, TypeVertica, TypeWeb, TypeXero, TypeZoho}
+ return []TypeBasicLinkedService{TypeAmazonMWS, TypeAmazonRedshift, TypeAmazonS3, TypeAzureBatch, TypeAzureBlobFS, TypeAzureBlobStorage, TypeAzureDatabricks, TypeAzureDataExplorer, TypeAzureDataLakeAnalytics, TypeAzureDataLakeStore, TypeAzureFunction, TypeAzureKeyVault, TypeAzureML, TypeAzureMySQL, TypeAzurePostgreSQL, TypeAzureSearch, TypeAzureSQLDatabase, TypeAzureSQLDW, TypeAzureSQLMI, TypeAzureStorage, TypeAzureTableStorage, TypeCassandra, TypeCommonDataServiceForApps, TypeConcur, TypeCosmosDb, TypeCosmosDbMongoDbAPI, TypeCouchbase, TypeCustomDataSource, TypeDb2, TypeDrill, TypeDynamics, TypeDynamicsAX, TypeDynamicsCrm, TypeEloqua, TypeFileServer, TypeFtpServer, TypeGoogleAdWords, TypeGoogleBigQuery, TypeGreenplum, TypeHBase, TypeHdfs, TypeHDInsight, TypeHDInsightOnDemand, TypeHive, TypeHTTPServer, TypeHubspot, TypeImpala, TypeInformix, TypeJira, TypeLinkedService, TypeMagento, TypeMariaDB, TypeMarketo, TypeMicrosoftAccess, TypeMongoDb, TypeMongoDbV2, TypeMySQL, TypeNetezza, TypeOData, TypeOdbc, TypeOffice365, TypeOracle, TypeOracleServiceCloud, TypePaypal, TypePhoenix, TypePostgreSQL, TypePresto, TypeQuickBooks, TypeResponsys, TypeRestService, TypeSalesforce, TypeSalesforceMarketingCloud, TypeSalesforceServiceCloud, TypeSapBW, TypeSapCloudForCustomer, TypeSapEcc, TypeSapHana, TypeSapOpenHub, TypeSapTable, TypeServiceNow, TypeSftp, TypeShopify, TypeSpark, TypeSQLServer, TypeSquare, TypeSybase, TypeTeradata, TypeVertica, TypeWeb, TypeXero, TypeZoho}
}
// TypeBasicSsisObjectMetadata enumerates the values for type basic ssis object metadata.
@@ -1924,6 +2210,7 @@ type BasicActivity interface {
AsGetMetadataActivity() (*GetMetadataActivity, bool)
AsWebActivity() (*WebActivity, bool)
AsLookupActivity() (*LookupActivity, bool)
+ AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool)
AsDeleteActivity() (*DeleteActivity, bool)
AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool)
AsCustomActivity() (*CustomActivity, bool)
@@ -1963,7 +2250,7 @@ type Activity struct {
DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
// UserProperties - Activity user properties.
UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
Type TypeBasicActivity `json:"type,omitempty"`
}
@@ -2015,6 +2302,10 @@ func unmarshalBasicActivity(body []byte) (BasicActivity, error) {
var la LookupActivity
err := json.Unmarshal(body, &la)
return la, err
+ case string(TypeAzureDataExplorerCommand):
+ var adeca AzureDataExplorerCommandActivity
+ err := json.Unmarshal(body, &adeca)
+ return adeca, err
case string(TypeDelete):
var da DeleteActivity
err := json.Unmarshal(body, &da)
@@ -2203,6 +2494,11 @@ func (a Activity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for Activity.
+func (a Activity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return nil, false
+}
+
// AsDeleteActivity is the BasicActivity implementation for Activity.
func (a Activity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
@@ -2795,7 +3091,7 @@ type AmazonMWSLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -3087,6 +3383,11 @@ func (amls AmazonMWSLinkedService) AsSapCloudForCustomerLinkedService() (*SapClo
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
+func (amls AmazonMWSLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
func (amls AmazonMWSLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -3142,6 +3443,16 @@ func (amls AmazonMWSLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bo
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
+func (amls AmazonMWSLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
+func (amls AmazonMWSLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
func (amls AmazonMWSLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -3197,6 +3508,16 @@ func (amls AmazonMWSLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedS
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
+func (amls AmazonMWSLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
+func (amls AmazonMWSLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
func (amls AmazonMWSLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -3217,6 +3538,11 @@ func (amls AmazonMWSLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinke
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
+func (amls AmazonMWSLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
func (amls AmazonMWSLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -3485,7 +3811,7 @@ type AmazonMWSObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -3746,11 +4072,41 @@ func (amod AmazonMWSObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapC
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
+func (amod AmazonMWSObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
func (amod AmazonMWSObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
+func (amod AmazonMWSObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
+func (amod AmazonMWSObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
+func (amod AmazonMWSObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
+func (amod AmazonMWSObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
+func (amod AmazonMWSObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
func (amod AmazonMWSObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -3811,6 +4167,16 @@ func (amod AmazonMWSObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLake
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
+func (amod AmazonMWSObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
+func (amod AmazonMWSObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
func (amod AmazonMWSObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -3836,6 +4202,11 @@ func (amod AmazonMWSObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableD
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
+func (amod AmazonMWSObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
func (amod AmazonMWSObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -3851,6 +4222,11 @@ func (amod AmazonMWSObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
+func (amod AmazonMWSObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
func (amod AmazonMWSObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -3996,7 +4372,7 @@ type AmazonMWSSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -4275,6 +4651,11 @@ func (ams AmazonMWSSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for AmazonMWSSource.
func (ams AmazonMWSSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -4320,16 +4701,71 @@ func (ams AmazonMWSSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSo
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for AmazonMWSSource.
func (ams AmazonMWSSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for AmazonMWSSource.
func (ams AmazonMWSSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for AmazonMWSSource.
func (ams AmazonMWSSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -4350,6 +4786,11 @@ func (ams AmazonMWSSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for AmazonMWSSource.
+func (ams AmazonMWSSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for AmazonMWSSource.
func (ams AmazonMWSSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -4456,7 +4897,7 @@ type AmazonRedshiftLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -4748,6 +5189,11 @@ func (arls AmazonRedshiftLinkedService) AsSapCloudForCustomerLinkedService() (*S
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
+func (arls AmazonRedshiftLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
func (arls AmazonRedshiftLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -4803,6 +5249,16 @@ func (arls AmazonRedshiftLinkedService) AsHdfsLinkedService() (*HdfsLinkedServic
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
+func (arls AmazonRedshiftLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
+func (arls AmazonRedshiftLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
func (arls AmazonRedshiftLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -4858,6 +5314,16 @@ func (arls AmazonRedshiftLinkedService) AsHDInsightLinkedService() (*HDInsightLi
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
+func (arls AmazonRedshiftLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
+func (arls AmazonRedshiftLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
func (arls AmazonRedshiftLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -4878,6 +5344,11 @@ func (arls AmazonRedshiftLinkedService) AsAzureBatchLinkedService() (*AzureBatch
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
+func (arls AmazonRedshiftLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
func (arls AmazonRedshiftLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -5097,7 +5568,7 @@ type AmazonRedshiftSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -5379,6 +5850,11 @@ func (ars AmazonRedshiftSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for AmazonRedshiftSource.
func (ars AmazonRedshiftSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -5424,16 +5900,71 @@ func (ars AmazonRedshiftSource) AsSapCloudForCustomerSource() (*SapCloudForCusto
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for AmazonRedshiftSource.
func (ars AmazonRedshiftSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for AmazonRedshiftSource.
func (ars AmazonRedshiftSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for AmazonRedshiftSource.
func (ars AmazonRedshiftSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -5454,6 +5985,11 @@ func (ars AmazonRedshiftSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for AmazonRedshiftSource.
+func (ars AmazonRedshiftSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for AmazonRedshiftSource.
func (ars AmazonRedshiftSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -5575,7 +6111,7 @@ type AmazonS3Dataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -5836,11 +6372,41 @@ func (asd AmazonS3Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForC
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
+func (asd AmazonS3Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
func (asd AmazonS3Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AmazonS3Dataset.
+func (asd AmazonS3Dataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AmazonS3Dataset.
+func (asd AmazonS3Dataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for AmazonS3Dataset.
+func (asd AmazonS3Dataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for AmazonS3Dataset.
+func (asd AmazonS3Dataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for AmazonS3Dataset.
+func (asd AmazonS3Dataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for AmazonS3Dataset.
func (asd AmazonS3Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -5901,6 +6467,16 @@ func (asd AmazonS3Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDat
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AmazonS3Dataset.
+func (asd AmazonS3Dataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AmazonS3Dataset.
+func (asd AmazonS3Dataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for AmazonS3Dataset.
func (asd AmazonS3Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -5926,6 +6502,11 @@ func (asd AmazonS3Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset,
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AmazonS3Dataset.
+func (asd AmazonS3Dataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for AmazonS3Dataset.
func (asd AmazonS3Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -5941,6 +6522,11 @@ func (asd AmazonS3Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for AmazonS3Dataset.
+func (asd AmazonS3Dataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for AmazonS3Dataset.
func (asd AmazonS3Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -6193,7 +6779,7 @@ type AmazonS3LinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -6485,6 +7071,11 @@ func (asls AmazonS3LinkedService) AsSapCloudForCustomerLinkedService() (*SapClou
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
+func (asls AmazonS3LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
func (asls AmazonS3LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -6540,6 +7131,16 @@ func (asls AmazonS3LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, boo
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
+func (asls AmazonS3LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
+func (asls AmazonS3LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
func (asls AmazonS3LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -6595,6 +7196,16 @@ func (asls AmazonS3LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedSe
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
+func (asls AmazonS3LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
+func (asls AmazonS3LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
func (asls AmazonS3LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -6615,6 +7226,11 @@ func (asls AmazonS3LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinked
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
+func (asls AmazonS3LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
func (asls AmazonS3LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -6910,8 +7526,8 @@ func (asl *AmazonS3Location) UnmarshalJSON(body []byte) error {
return nil
}
-// AmazonS3ReadSetting azure data lake store read settings.
-type AmazonS3ReadSetting struct {
+// AmazonS3ReadSettings azure data lake store read settings.
+type AmazonS3ReadSettings struct {
// Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
Recursive interface{} `json:"recursive,omitempty"`
// WildcardFolderPath - AmazonS3 wildcardFolderPath. Type: string (or Expression with resultType string).
@@ -6934,8 +7550,8 @@ type AmazonS3ReadSetting struct {
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
}
-// MarshalJSON is the custom marshaler for AmazonS3ReadSetting.
-func (asrs AmazonS3ReadSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for AmazonS3ReadSettings.
+func (asrs AmazonS3ReadSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if asrs.Recursive != nil {
objectMap["recursive"] = asrs.Recursive
@@ -6970,8 +7586,8 @@ func (asrs AmazonS3ReadSetting) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for AmazonS3ReadSetting struct.
-func (asrs *AmazonS3ReadSetting) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AmazonS3ReadSettings struct.
+func (asrs *AmazonS3ReadSettings) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -7092,7 +7708,7 @@ type AppendVariableActivity struct {
DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
// UserProperties - Activity user properties.
UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
Type TypeBasicActivity `json:"type,omitempty"`
}
@@ -7174,6 +7790,11 @@ func (ava AppendVariableActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AppendVariableActivity.
+func (ava AppendVariableActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return nil, false
+}
+
// AsDeleteActivity is the BasicActivity implementation for AppendVariableActivity.
func (ava AppendVariableActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
@@ -7527,7 +8148,7 @@ type AzureBatchLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -7819,6 +8440,11 @@ func (abls AzureBatchLinkedService) AsSapCloudForCustomerLinkedService() (*SapCl
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
+func (abls AzureBatchLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
func (abls AzureBatchLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -7874,6 +8500,16 @@ func (abls AzureBatchLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, b
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
+func (abls AzureBatchLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
+func (abls AzureBatchLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
func (abls AzureBatchLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -7929,6 +8565,16 @@ func (abls AzureBatchLinkedService) AsHDInsightLinkedService() (*HDInsightLinked
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
+func (abls AzureBatchLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
+func (abls AzureBatchLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
func (abls AzureBatchLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -7949,6 +8595,11 @@ func (abls AzureBatchLinkedService) AsAzureBatchLinkedService() (*AzureBatchLink
return &abls, true
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
+func (abls AzureBatchLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
func (abls AzureBatchLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -8174,7 +8825,7 @@ type AzureBlobDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -8435,11 +9086,41 @@ func (abd AzureBlobDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudFor
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureBlobDataset.
+func (abd AzureBlobDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for AzureBlobDataset.
func (abd AzureBlobDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureBlobDataset.
+func (abd AzureBlobDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureBlobDataset.
+func (abd AzureBlobDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for AzureBlobDataset.
+func (abd AzureBlobDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for AzureBlobDataset.
+func (abd AzureBlobDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for AzureBlobDataset.
+func (abd AzureBlobDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for AzureBlobDataset.
func (abd AzureBlobDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -8500,6 +9181,16 @@ func (abd AzureBlobDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDa
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureBlobDataset.
+func (abd AzureBlobDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureBlobDataset.
+func (abd AzureBlobDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for AzureBlobDataset.
func (abd AzureBlobDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -8525,6 +9216,11 @@ func (abd AzureBlobDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset,
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureBlobDataset.
+func (abd AzureBlobDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for AzureBlobDataset.
func (abd AzureBlobDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -8540,6 +9236,11 @@ func (abd AzureBlobDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return &abd, true
}
+// AsBinaryDataset is the BasicDataset implementation for AzureBlobDataset.
+func (abd AzureBlobDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for AzureBlobDataset.
func (abd AzureBlobDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -8787,7 +9488,7 @@ type AzureBlobFSDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -9048,11 +9749,41 @@ func (abfd AzureBlobFSDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureBlobFSDataset.
+func (abfd AzureBlobFSDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for AzureBlobFSDataset.
func (abfd AzureBlobFSDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureBlobFSDataset.
+func (abfd AzureBlobFSDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureBlobFSDataset.
+func (abfd AzureBlobFSDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for AzureBlobFSDataset.
+func (abfd AzureBlobFSDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for AzureBlobFSDataset.
+func (abfd AzureBlobFSDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for AzureBlobFSDataset.
+func (abfd AzureBlobFSDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for AzureBlobFSDataset.
func (abfd AzureBlobFSDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -9113,6 +9844,16 @@ func (abfd AzureBlobFSDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStor
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureBlobFSDataset.
+func (abfd AzureBlobFSDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureBlobFSDataset.
+func (abfd AzureBlobFSDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for AzureBlobFSDataset.
func (abfd AzureBlobFSDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -9138,6 +9879,11 @@ func (abfd AzureBlobFSDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDatas
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureBlobFSDataset.
+func (abfd AzureBlobFSDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for AzureBlobFSDataset.
func (abfd AzureBlobFSDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -9153,6 +9899,11 @@ func (abfd AzureBlobFSDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for AzureBlobFSDataset.
+func (abfd AzureBlobFSDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for AzureBlobFSDataset.
func (abfd AzureBlobFSDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -9361,7 +10112,7 @@ type AzureBlobFSLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -9653,6 +10404,11 @@ func (abfls AzureBlobFSLinkedService) AsSapCloudForCustomerLinkedService() (*Sap
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService.
+func (abfls AzureBlobFSLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService.
func (abfls AzureBlobFSLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -9708,6 +10464,16 @@ func (abfls AzureBlobFSLinkedService) AsHdfsLinkedService() (*HdfsLinkedService,
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService.
+func (abfls AzureBlobFSLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService.
+func (abfls AzureBlobFSLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService.
func (abfls AzureBlobFSLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -9763,6 +10529,16 @@ func (abfls AzureBlobFSLinkedService) AsHDInsightLinkedService() (*HDInsightLink
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService.
+func (abfls AzureBlobFSLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService.
+func (abfls AzureBlobFSLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService.
func (abfls AzureBlobFSLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -9783,6 +10559,11 @@ func (abfls AzureBlobFSLinkedService) AsAzureBatchLinkedService() (*AzureBatchLi
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService.
+func (abfls AzureBlobFSLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService.
func (abfls AzureBlobFSLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -10086,8 +10867,8 @@ func (abfl *AzureBlobFSLocation) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureBlobFSReadSetting azure blobFS read settings.
-type AzureBlobFSReadSetting struct {
+// AzureBlobFSReadSettings azure blobFS read settings.
+type AzureBlobFSReadSettings struct {
// Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
Recursive interface{} `json:"recursive,omitempty"`
// WildcardFolderPath - Azure blobFS wildcardFolderPath. Type: string (or Expression with resultType string).
@@ -10108,8 +10889,8 @@ type AzureBlobFSReadSetting struct {
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureBlobFSReadSetting.
-func (abfrs AzureBlobFSReadSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for AzureBlobFSReadSettings.
+func (abfrs AzureBlobFSReadSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if abfrs.Recursive != nil {
objectMap["recursive"] = abfrs.Recursive
@@ -10141,8 +10922,8 @@ func (abfrs AzureBlobFSReadSetting) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for AzureBlobFSReadSetting struct.
-func (abfrs *AzureBlobFSReadSetting) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AzureBlobFSReadSettings struct.
+func (abfrs *AzureBlobFSReadSettings) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -10256,7 +11037,7 @@ type AzureBlobFSSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
@@ -10296,6 +11077,11 @@ func (abfs AzureBlobFSSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink,
return nil, false
}
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureBlobFSSink.
+func (abfs AzureBlobFSSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
// AsSalesforceSink is the BasicCopySink implementation for AzureBlobFSSink.
func (abfs AzureBlobFSSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
@@ -10306,11 +11092,31 @@ func (abfs AzureBlobFSSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, b
return nil, false
}
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureBlobFSSink.
+func (abfs AzureBlobFSSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for AzureBlobFSSink.
+func (abfs AzureBlobFSSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
// AsDynamicsSink is the BasicCopySink implementation for AzureBlobFSSink.
func (abfs AzureBlobFSSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
+// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureBlobFSSink.
+func (abfs AzureBlobFSSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for AzureBlobFSSink.
+func (abfs AzureBlobFSSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
// AsOdbcSink is the BasicCopySink implementation for AzureBlobFSSink.
func (abfs AzureBlobFSSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
@@ -10341,6 +11147,11 @@ func (abfs AzureBlobFSSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
+// AsSQLMISink is the BasicCopySink implementation for AzureBlobFSSink.
+func (abfs AzureBlobFSSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
// AsAzureSQLSink is the BasicCopySink implementation for AzureBlobFSSink.
func (abfs AzureBlobFSSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
@@ -10371,6 +11182,11 @@ func (abfs AzureBlobFSSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
+// AsBinarySink is the BasicCopySink implementation for AzureBlobFSSink.
+func (abfs AzureBlobFSSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
// AsParquetSink is the BasicCopySink implementation for AzureBlobFSSink.
func (abfs AzureBlobFSSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
@@ -10391,6 +11207,11 @@ func (abfs AzureBlobFSSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSin
return nil, false
}
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureBlobFSSink.
+func (abfs AzureBlobFSSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSink is the BasicCopySink implementation for AzureBlobFSSink.
func (abfs AzureBlobFSSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
@@ -10512,7 +11333,7 @@ type AzureBlobFSSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -10797,6 +11618,11 @@ func (abfs AzureBlobFSSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for AzureBlobFSSource.
func (abfs AzureBlobFSSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -10842,16 +11668,71 @@ func (abfs AzureBlobFSSource) AsSapCloudForCustomerSource() (*SapCloudForCustome
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for AzureBlobFSSource.
func (abfs AzureBlobFSSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for AzureBlobFSSource.
func (abfs AzureBlobFSSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for AzureBlobFSSource.
func (abfs AzureBlobFSSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -10872,6 +11753,11 @@ func (abfs AzureBlobFSSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for AzureBlobFSSource.
+func (abfs AzureBlobFSSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for AzureBlobFSSource.
func (abfs AzureBlobFSSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -10982,8 +11868,8 @@ func (abfs *AzureBlobFSSource) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureBlobFSWriteSetting azure blobFS write settings.
-type AzureBlobFSWriteSetting struct {
+// AzureBlobFSWriteSettings azure blobFS write settings.
+type AzureBlobFSWriteSettings struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Type - The write setting type.
@@ -10994,8 +11880,8 @@ type AzureBlobFSWriteSetting struct {
CopyBehavior interface{} `json:"copyBehavior,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureBlobFSWriteSetting.
-func (abfws AzureBlobFSWriteSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for AzureBlobFSWriteSettings.
+func (abfws AzureBlobFSWriteSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if abfws.Type != nil {
objectMap["type"] = abfws.Type
@@ -11012,8 +11898,8 @@ func (abfws AzureBlobFSWriteSetting) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for AzureBlobFSWriteSetting struct.
-func (abfws *AzureBlobFSWriteSetting) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AzureBlobFSWriteSettings struct.
+func (abfws *AzureBlobFSWriteSettings) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -11080,7 +11966,7 @@ type AzureBlobStorageLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -11372,6 +12258,11 @@ func (absls AzureBlobStorageLinkedService) AsSapCloudForCustomerLinkedService()
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService.
+func (absls AzureBlobStorageLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService.
func (absls AzureBlobStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -11427,6 +12318,16 @@ func (absls AzureBlobStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedSer
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService.
+func (absls AzureBlobStorageLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService.
+func (absls AzureBlobStorageLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService.
func (absls AzureBlobStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -11482,6 +12383,16 @@ func (absls AzureBlobStorageLinkedService) AsHDInsightLinkedService() (*HDInsigh
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService.
+func (absls AzureBlobStorageLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService.
+func (absls AzureBlobStorageLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService.
func (absls AzureBlobStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -11502,6 +12413,11 @@ func (absls AzureBlobStorageLinkedService) AsAzureBatchLinkedService() (*AzureBa
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService.
+func (absls AzureBlobStorageLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService.
func (absls AzureBlobStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -11838,8 +12754,8 @@ func (absl *AzureBlobStorageLocation) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureBlobStorageReadSetting azure blob read settings.
-type AzureBlobStorageReadSetting struct {
+// AzureBlobStorageReadSettings azure blob read settings.
+type AzureBlobStorageReadSettings struct {
// Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
Recursive interface{} `json:"recursive,omitempty"`
// WildcardFolderPath - Azure blob wildcardFolderPath. Type: string (or Expression with resultType string).
@@ -11860,8 +12776,8 @@ type AzureBlobStorageReadSetting struct {
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureBlobStorageReadSetting.
-func (absrs AzureBlobStorageReadSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for AzureBlobStorageReadSettings.
+func (absrs AzureBlobStorageReadSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if absrs.Recursive != nil {
objectMap["recursive"] = absrs.Recursive
@@ -11893,8 +12809,8 @@ func (absrs AzureBlobStorageReadSetting) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for AzureBlobStorageReadSetting struct.
-func (absrs *AzureBlobStorageReadSetting) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AzureBlobStorageReadSettings struct.
+func (absrs *AzureBlobStorageReadSettings) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -11992,8 +12908,8 @@ func (absrs *AzureBlobStorageReadSetting) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureBlobStorageWriteSetting azure blob write settings.
-type AzureBlobStorageWriteSetting struct {
+// AzureBlobStorageWriteSettings azure blob write settings.
+type AzureBlobStorageWriteSettings struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Type - The write setting type.
@@ -12004,8 +12920,8 @@ type AzureBlobStorageWriteSetting struct {
CopyBehavior interface{} `json:"copyBehavior,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureBlobStorageWriteSetting.
-func (absws AzureBlobStorageWriteSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for AzureBlobStorageWriteSettings.
+func (absws AzureBlobStorageWriteSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if absws.Type != nil {
objectMap["type"] = absws.Type
@@ -12022,8 +12938,8 @@ func (absws AzureBlobStorageWriteSetting) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for AzureBlobStorageWriteSetting struct.
-func (absws *AzureBlobStorageWriteSetting) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AzureBlobStorageWriteSettings struct.
+func (absws *AzureBlobStorageWriteSettings) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -12090,7 +13006,7 @@ type AzureDatabricksLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -12382,6 +13298,11 @@ func (adls AzureDatabricksLinkedService) AsSapCloudForCustomerLinkedService() (*
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
+func (adls AzureDatabricksLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
func (adls AzureDatabricksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -12437,6 +13358,16 @@ func (adls AzureDatabricksLinkedService) AsHdfsLinkedService() (*HdfsLinkedServi
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
+func (adls AzureDatabricksLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
+func (adls AzureDatabricksLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
func (adls AzureDatabricksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -12492,6 +13423,16 @@ func (adls AzureDatabricksLinkedService) AsHDInsightLinkedService() (*HDInsightL
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
+func (adls AzureDatabricksLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
+func (adls AzureDatabricksLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
func (adls AzureDatabricksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -12512,6 +13453,11 @@ func (adls AzureDatabricksLinkedService) AsAzureBatchLinkedService() (*AzureBatc
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
+func (adls AzureDatabricksLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
func (adls AzureDatabricksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -12837,6 +13783,354 @@ func (adlstp *AzureDatabricksLinkedServiceTypeProperties) UnmarshalJSON(body []b
return nil
}
+// AzureDataExplorerCommandActivity azure Data Explorer command activity.
+type AzureDataExplorerCommandActivity struct {
+ // AzureDataExplorerCommandActivityTypeProperties - Azure Data Explorer command activity properties.
+ *AzureDataExplorerCommandActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) MarshalJSON() ([]byte, error) {
+ adeca.Type = TypeAzureDataExplorerCommand
+ objectMap := make(map[string]interface{})
+ if adeca.AzureDataExplorerCommandActivityTypeProperties != nil {
+ objectMap["typeProperties"] = adeca.AzureDataExplorerCommandActivityTypeProperties
+ }
+ if adeca.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = adeca.LinkedServiceName
+ }
+ if adeca.Policy != nil {
+ objectMap["policy"] = adeca.Policy
+ }
+ if adeca.Name != nil {
+ objectMap["name"] = adeca.Name
+ }
+ if adeca.Description != nil {
+ objectMap["description"] = adeca.Description
+ }
+ if adeca.DependsOn != nil {
+ objectMap["dependsOn"] = adeca.DependsOn
+ }
+ if adeca.UserProperties != nil {
+ objectMap["userProperties"] = adeca.UserProperties
+ }
+ if adeca.Type != "" {
+ objectMap["type"] = adeca.Type
+ }
+ for k, v := range adeca.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+ return nil, false
+}
+
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+ return nil, false
+}
+
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+ return nil, false
+}
+
+// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+ return nil, false
+}
+
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+ return nil, false
+}
+
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+ return nil, false
+}
+
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+ return nil, false
+}
+
+// AsGetMetadataActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+ return nil, false
+}
+
+// AsWebActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsWebActivity() (*WebActivity, bool) {
+ return nil, false
+}
+
+// AsLookupActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsLookupActivity() (*LookupActivity, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return &adeca, true
+}
+
+// AsDeleteActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+ return nil, false
+}
+
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+ return nil, false
+}
+
+// AsCustomActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsCustomActivity() (*CustomActivity, bool) {
+ return nil, false
+}
+
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightSparkActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightPigActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightHiveActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+ return nil, false
+}
+
+// AsCopyActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsCopyActivity() (*CopyActivity, bool) {
+ return nil, false
+}
+
+// AsExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+ return nil, false
+}
+
+// AsBasicExecutionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &adeca, true
+}
+
+// AsWebHookActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+ return nil, false
+}
+
+// AsAppendVariableActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+ return nil, false
+}
+
+// AsSetVariableActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+ return nil, false
+}
+
+// AsFilterActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsFilterActivity() (*FilterActivity, bool) {
+ return nil, false
+}
+
+// AsValidationActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsValidationActivity() (*ValidationActivity, bool) {
+ return nil, false
+}
+
+// AsUntilActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsUntilActivity() (*UntilActivity, bool) {
+ return nil, false
+}
+
+// AsWaitActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsWaitActivity() (*WaitActivity, bool) {
+ return nil, false
+}
+
+// AsForEachActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsForEachActivity() (*ForEachActivity, bool) {
+ return nil, false
+}
+
+// AsIfConditionActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+ return nil, false
+}
+
+// AsExecutePipelineActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+ return nil, false
+}
+
+// AsControlActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsControlActivity() (*ControlActivity, bool) {
+ return nil, false
+}
+
+// AsBasicControlActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return nil, false
+}
+
+// AsActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsActivity() (*Activity, bool) {
+ return nil, false
+}
+
+// AsBasicActivity is the BasicActivity implementation for AzureDataExplorerCommandActivity.
+func (adeca AzureDataExplorerCommandActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &adeca, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for AzureDataExplorerCommandActivity struct.
+func (adeca *AzureDataExplorerCommandActivity) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var azureDataExplorerCommandActivityTypeProperties AzureDataExplorerCommandActivityTypeProperties
+ err = json.Unmarshal(*v, &azureDataExplorerCommandActivityTypeProperties)
+ if err != nil {
+ return err
+ }
+ adeca.AzureDataExplorerCommandActivityTypeProperties = &azureDataExplorerCommandActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ adeca.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ adeca.Policy = &policy
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if adeca.AdditionalProperties == nil {
+ adeca.AdditionalProperties = make(map[string]interface{})
+ }
+ adeca.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ adeca.Name = &name
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ adeca.Description = &description
+ }
+ case "dependsOn":
+ if v != nil {
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
+ if err != nil {
+ return err
+ }
+ adeca.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ adeca.UserProperties = &userProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ adeca.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// AzureDataExplorerCommandActivityTypeProperties azure Data Explorer command activity properties.
+type AzureDataExplorerCommandActivityTypeProperties struct {
+ // Command - A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string).
+ Command interface{} `json:"command,omitempty"`
+ // CommandTimeout - Control command timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..)
+ CommandTimeout interface{} `json:"commandTimeout,omitempty"`
+}
+
// AzureDataExplorerDatasetTypeProperties azure Data Explorer (Kusto) dataset properties.
type AzureDataExplorerDatasetTypeProperties struct {
// Table - The table name of the Azure Data Explorer database. Type: string (or Expression with resultType string).
@@ -12857,7 +14151,7 @@ type AzureDataExplorerLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -13149,6 +14443,11 @@ func (adels AzureDataExplorerLinkedService) AsSapCloudForCustomerLinkedService()
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService.
+func (adels AzureDataExplorerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService.
func (adels AzureDataExplorerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -13204,6 +14503,16 @@ func (adels AzureDataExplorerLinkedService) AsHdfsLinkedService() (*HdfsLinkedSe
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService.
+func (adels AzureDataExplorerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService.
+func (adels AzureDataExplorerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService.
func (adels AzureDataExplorerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -13259,6 +14568,16 @@ func (adels AzureDataExplorerLinkedService) AsHDInsightLinkedService() (*HDInsig
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService.
+func (adels AzureDataExplorerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService.
+func (adels AzureDataExplorerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService.
func (adels AzureDataExplorerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -13279,6 +14598,11 @@ func (adels AzureDataExplorerLinkedService) AsAzureBatchLinkedService() (*AzureB
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService.
+func (adels AzureDataExplorerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService.
func (adels AzureDataExplorerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -13493,7 +14817,7 @@ type AzureDataExplorerSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
@@ -13539,6 +14863,11 @@ func (ades AzureDataExplorerSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAP
return nil, false
}
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureDataExplorerSink.
+func (ades AzureDataExplorerSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
// AsSalesforceSink is the BasicCopySink implementation for AzureDataExplorerSink.
func (ades AzureDataExplorerSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
@@ -13549,11 +14878,31 @@ func (ades AzureDataExplorerSink) AsAzureDataExplorerSink() (*AzureDataExplorerS
return &ades, true
}
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureDataExplorerSink.
+func (ades AzureDataExplorerSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for AzureDataExplorerSink.
+func (ades AzureDataExplorerSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
// AsDynamicsSink is the BasicCopySink implementation for AzureDataExplorerSink.
func (ades AzureDataExplorerSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
+// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureDataExplorerSink.
+func (ades AzureDataExplorerSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for AzureDataExplorerSink.
+func (ades AzureDataExplorerSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
// AsOdbcSink is the BasicCopySink implementation for AzureDataExplorerSink.
func (ades AzureDataExplorerSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
@@ -13584,6 +14933,11 @@ func (ades AzureDataExplorerSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
+// AsSQLMISink is the BasicCopySink implementation for AzureDataExplorerSink.
+func (ades AzureDataExplorerSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
// AsAzureSQLSink is the BasicCopySink implementation for AzureDataExplorerSink.
func (ades AzureDataExplorerSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
@@ -13614,6 +14968,11 @@ func (ades AzureDataExplorerSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
+// AsBinarySink is the BasicCopySink implementation for AzureDataExplorerSink.
+func (ades AzureDataExplorerSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
// AsParquetSink is the BasicCopySink implementation for AzureDataExplorerSink.
func (ades AzureDataExplorerSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
@@ -13634,6 +14993,11 @@ func (ades AzureDataExplorerSink) AsSapCloudForCustomerSink() (*SapCloudForCusto
return nil, false
}
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureDataExplorerSink.
+func (ades AzureDataExplorerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSink is the BasicCopySink implementation for AzureDataExplorerSink.
func (ades AzureDataExplorerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
@@ -13773,7 +15137,7 @@ type AzureDataExplorerSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -14058,6 +15422,11 @@ func (ades AzureDataExplorerSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for AzureDataExplorerSource.
func (ades AzureDataExplorerSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -14103,16 +15472,71 @@ func (ades AzureDataExplorerSource) AsSapCloudForCustomerSource() (*SapCloudForC
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for AzureDataExplorerSource.
func (ades AzureDataExplorerSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for AzureDataExplorerSource.
func (ades AzureDataExplorerSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for AzureDataExplorerSource.
func (ades AzureDataExplorerSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -14133,6 +15557,11 @@ func (ades AzureDataExplorerSource) AsAzureTableSource() (*AzureTableSource, boo
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for AzureDataExplorerSource.
+func (ades AzureDataExplorerSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for AzureDataExplorerSource.
func (ades AzureDataExplorerSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -14263,7 +15692,7 @@ type AzureDataExplorerTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -14524,11 +15953,41 @@ func (adetd AzureDataExplorerTableDataset) AsSapCloudForCustomerResourceDataset(
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
+func (adetd AzureDataExplorerTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
func (adetd AzureDataExplorerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
+func (adetd AzureDataExplorerTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
+func (adetd AzureDataExplorerTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
+func (adetd AzureDataExplorerTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
+func (adetd AzureDataExplorerTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
+func (adetd AzureDataExplorerTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
func (adetd AzureDataExplorerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -14589,6 +16048,16 @@ func (adetd AzureDataExplorerTableDataset) AsAzureDataLakeStoreDataset() (*Azure
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
+func (adetd AzureDataExplorerTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
+func (adetd AzureDataExplorerTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
func (adetd AzureDataExplorerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -14614,6 +16083,11 @@ func (adetd AzureDataExplorerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQL
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
+func (adetd AzureDataExplorerTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
func (adetd AzureDataExplorerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -14629,6 +16103,11 @@ func (adetd AzureDataExplorerTableDataset) AsAzureBlobDataset() (*AzureBlobDatas
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
+func (adetd AzureDataExplorerTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for AzureDataExplorerTableDataset.
func (adetd AzureDataExplorerTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -14776,7 +16255,7 @@ type AzureDataLakeAnalyticsLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -15068,6 +16547,11 @@ func (adlals AzureDataLakeAnalyticsLinkedService) AsSapCloudForCustomerLinkedSer
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
+func (adlals AzureDataLakeAnalyticsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
func (adlals AzureDataLakeAnalyticsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -15123,6 +16607,16 @@ func (adlals AzureDataLakeAnalyticsLinkedService) AsHdfsLinkedService() (*HdfsLi
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
+func (adlals AzureDataLakeAnalyticsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
+func (adlals AzureDataLakeAnalyticsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
func (adlals AzureDataLakeAnalyticsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -15178,6 +16672,16 @@ func (adlals AzureDataLakeAnalyticsLinkedService) AsHDInsightLinkedService() (*H
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
+func (adlals AzureDataLakeAnalyticsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
+func (adlals AzureDataLakeAnalyticsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
func (adlals AzureDataLakeAnalyticsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -15198,6 +16702,11 @@ func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureBatchLinkedService() (*
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
+func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -15445,7 +16954,7 @@ type AzureDataLakeStoreDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -15706,11 +17215,41 @@ func (adlsd AzureDataLakeStoreDataset) AsSapCloudForCustomerResourceDataset() (*
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
+func (adlsd AzureDataLakeStoreDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
func (adlsd AzureDataLakeStoreDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
+func (adlsd AzureDataLakeStoreDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
+func (adlsd AzureDataLakeStoreDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
+func (adlsd AzureDataLakeStoreDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
+func (adlsd AzureDataLakeStoreDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
+func (adlsd AzureDataLakeStoreDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
func (adlsd AzureDataLakeStoreDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -15771,6 +17310,16 @@ func (adlsd AzureDataLakeStoreDataset) AsAzureDataLakeStoreDataset() (*AzureData
return &adlsd, true
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
+func (adlsd AzureDataLakeStoreDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
+func (adlsd AzureDataLakeStoreDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
func (adlsd AzureDataLakeStoreDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -15796,6 +17345,11 @@ func (adlsd AzureDataLakeStoreDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTa
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
+func (adlsd AzureDataLakeStoreDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
func (adlsd AzureDataLakeStoreDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -15811,6 +17365,11 @@ func (adlsd AzureDataLakeStoreDataset) AsAzureBlobDataset() (*AzureBlobDataset,
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
+func (adlsd AzureDataLakeStoreDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
func (adlsd AzureDataLakeStoreDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -16019,7 +17578,7 @@ type AzureDataLakeStoreLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -16311,6 +17870,11 @@ func (adlsls AzureDataLakeStoreLinkedService) AsSapCloudForCustomerLinkedService
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
+func (adlsls AzureDataLakeStoreLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
func (adlsls AzureDataLakeStoreLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -16366,6 +17930,16 @@ func (adlsls AzureDataLakeStoreLinkedService) AsHdfsLinkedService() (*HdfsLinked
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
+func (adlsls AzureDataLakeStoreLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
+func (adlsls AzureDataLakeStoreLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
func (adlsls AzureDataLakeStoreLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -16421,6 +17995,16 @@ func (adlsls AzureDataLakeStoreLinkedService) AsHDInsightLinkedService() (*HDIns
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
+func (adlsls AzureDataLakeStoreLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
+func (adlsls AzureDataLakeStoreLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
func (adlsls AzureDataLakeStoreLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -16441,6 +18025,11 @@ func (adlsls AzureDataLakeStoreLinkedService) AsAzureBatchLinkedService() (*Azur
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
+func (adlsls AzureDataLakeStoreLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
func (adlsls AzureDataLakeStoreLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -16752,8 +18341,8 @@ func (adlsl *AzureDataLakeStoreLocation) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureDataLakeStoreReadSetting azure data lake store read settings.
-type AzureDataLakeStoreReadSetting struct {
+// AzureDataLakeStoreReadSettings azure data lake store read settings.
+type AzureDataLakeStoreReadSettings struct {
// Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
Recursive interface{} `json:"recursive,omitempty"`
// WildcardFolderPath - ADLS wildcardFolderPath. Type: string (or Expression with resultType string).
@@ -16774,8 +18363,8 @@ type AzureDataLakeStoreReadSetting struct {
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureDataLakeStoreReadSetting.
-func (adlsrs AzureDataLakeStoreReadSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for AzureDataLakeStoreReadSettings.
+func (adlsrs AzureDataLakeStoreReadSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if adlsrs.Recursive != nil {
objectMap["recursive"] = adlsrs.Recursive
@@ -16807,8 +18396,8 @@ func (adlsrs AzureDataLakeStoreReadSetting) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreReadSetting struct.
-func (adlsrs *AzureDataLakeStoreReadSetting) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreReadSettings struct.
+func (adlsrs *AzureDataLakeStoreReadSettings) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -16924,7 +18513,7 @@ type AzureDataLakeStoreSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
@@ -16967,6 +18556,11 @@ func (adlss AzureDataLakeStoreSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDb
return nil, false
}
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
+func (adlss AzureDataLakeStoreSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
// AsSalesforceSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
func (adlss AzureDataLakeStoreSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
@@ -16977,11 +18571,31 @@ func (adlss AzureDataLakeStoreSink) AsAzureDataExplorerSink() (*AzureDataExplore
return nil, false
}
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
+func (adlss AzureDataLakeStoreSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
+func (adlss AzureDataLakeStoreSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
// AsDynamicsSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
func (adlss AzureDataLakeStoreSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
+// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
+func (adlss AzureDataLakeStoreSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
+func (adlss AzureDataLakeStoreSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
// AsOdbcSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
func (adlss AzureDataLakeStoreSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
@@ -17012,6 +18626,11 @@ func (adlss AzureDataLakeStoreSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
+// AsSQLMISink is the BasicCopySink implementation for AzureDataLakeStoreSink.
+func (adlss AzureDataLakeStoreSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
// AsAzureSQLSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
func (adlss AzureDataLakeStoreSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
@@ -17042,6 +18661,11 @@ func (adlss AzureDataLakeStoreSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
+// AsBinarySink is the BasicCopySink implementation for AzureDataLakeStoreSink.
+func (adlss AzureDataLakeStoreSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
// AsParquetSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
func (adlss AzureDataLakeStoreSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
@@ -17062,6 +18686,11 @@ func (adlss AzureDataLakeStoreSink) AsSapCloudForCustomerSink() (*SapCloudForCus
return nil, false
}
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
+func (adlss AzureDataLakeStoreSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
func (adlss AzureDataLakeStoreSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
@@ -17188,7 +18817,7 @@ type AzureDataLakeStoreSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -17467,6 +19096,11 @@ func (adlss AzureDataLakeStoreSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
func (adlss AzureDataLakeStoreSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -17512,16 +19146,71 @@ func (adlss AzureDataLakeStoreSource) AsSapCloudForCustomerSource() (*SapCloudFo
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
func (adlss AzureDataLakeStoreSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
func (adlss AzureDataLakeStoreSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
func (adlss AzureDataLakeStoreSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -17542,6 +19231,11 @@ func (adlss AzureDataLakeStoreSource) AsAzureTableSource() (*AzureTableSource, b
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for AzureDataLakeStoreSource.
+func (adlss AzureDataLakeStoreSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
func (adlss AzureDataLakeStoreSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -17634,8 +19328,8 @@ func (adlss *AzureDataLakeStoreSource) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureDataLakeStoreWriteSetting azure data lake store write settings.
-type AzureDataLakeStoreWriteSetting struct {
+// AzureDataLakeStoreWriteSettings azure data lake store write settings.
+type AzureDataLakeStoreWriteSettings struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Type - The write setting type.
@@ -17646,8 +19340,8 @@ type AzureDataLakeStoreWriteSetting struct {
CopyBehavior interface{} `json:"copyBehavior,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureDataLakeStoreWriteSetting.
-func (adlsws AzureDataLakeStoreWriteSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for AzureDataLakeStoreWriteSettings.
+func (adlsws AzureDataLakeStoreWriteSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if adlsws.Type != nil {
objectMap["type"] = adlsws.Type
@@ -17664,8 +19358,8 @@ func (adlsws AzureDataLakeStoreWriteSetting) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreWriteSetting struct.
-func (adlsws *AzureDataLakeStoreWriteSetting) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreWriteSettings struct.
+func (adlsws *AzureDataLakeStoreWriteSettings) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -17736,7 +19430,7 @@ type AzureFunctionActivity struct {
DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
// UserProperties - Activity user properties.
UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
Type TypeBasicActivity `json:"type,omitempty"`
}
@@ -17824,6 +19518,11 @@ func (afa AzureFunctionActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureFunctionActivity.
+func (afa AzureFunctionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return nil, false
+}
+
// AsDeleteActivity is the BasicActivity implementation for AzureFunctionActivity.
func (afa AzureFunctionActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
@@ -18079,7 +19778,7 @@ type AzureFunctionLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -18371,6 +20070,11 @@ func (afls AzureFunctionLinkedService) AsSapCloudForCustomerLinkedService() (*Sa
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService.
+func (afls AzureFunctionLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService.
func (afls AzureFunctionLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -18426,6 +20130,16 @@ func (afls AzureFunctionLinkedService) AsHdfsLinkedService() (*HdfsLinkedService
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService.
+func (afls AzureFunctionLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService.
+func (afls AzureFunctionLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService.
func (afls AzureFunctionLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -18481,6 +20195,16 @@ func (afls AzureFunctionLinkedService) AsHDInsightLinkedService() (*HDInsightLin
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService.
+func (afls AzureFunctionLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService.
+func (afls AzureFunctionLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService.
func (afls AzureFunctionLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -18501,6 +20225,11 @@ func (afls AzureFunctionLinkedService) AsAzureBatchLinkedService() (*AzureBatchL
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService.
+func (afls AzureFunctionLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService.
func (afls AzureFunctionLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -18687,7 +20416,7 @@ type AzureKeyVaultLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -18979,6 +20708,11 @@ func (akvls AzureKeyVaultLinkedService) AsSapCloudForCustomerLinkedService() (*S
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
+func (akvls AzureKeyVaultLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
func (akvls AzureKeyVaultLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -19034,6 +20768,16 @@ func (akvls AzureKeyVaultLinkedService) AsHdfsLinkedService() (*HdfsLinkedServic
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
+func (akvls AzureKeyVaultLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
+func (akvls AzureKeyVaultLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
func (akvls AzureKeyVaultLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -19089,6 +20833,16 @@ func (akvls AzureKeyVaultLinkedService) AsHDInsightLinkedService() (*HDInsightLi
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
+func (akvls AzureKeyVaultLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
+func (akvls AzureKeyVaultLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
func (akvls AzureKeyVaultLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -19109,6 +20863,11 @@ func (akvls AzureKeyVaultLinkedService) AsAzureBatchLinkedService() (*AzureBatch
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
+func (akvls AzureKeyVaultLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
func (akvls AzureKeyVaultLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -19305,7 +21064,7 @@ type AzureMLBatchExecutionActivity struct {
DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
// UserProperties - Activity user properties.
UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
Type TypeBasicActivity `json:"type,omitempty"`
}
@@ -19393,6 +21152,11 @@ func (ambea AzureMLBatchExecutionActivity) AsLookupActivity() (*LookupActivity,
return nil, false
}
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
+func (ambea AzureMLBatchExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return nil, false
+}
+
// AsDeleteActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
func (ambea AzureMLBatchExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
@@ -19661,7 +21425,7 @@ type AzureMLLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -19953,6 +21717,11 @@ func (amls AzureMLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloud
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
+func (amls AzureMLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
func (amls AzureMLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -20008,6 +21777,16 @@ func (amls AzureMLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
+func (amls AzureMLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
+func (amls AzureMLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
func (amls AzureMLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -20063,6 +21842,16 @@ func (amls AzureMLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedSer
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
+func (amls AzureMLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
+func (amls AzureMLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
func (amls AzureMLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -20083,6 +21872,11 @@ func (amls AzureMLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedS
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
+func (amls AzureMLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
func (amls AzureMLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -20316,7 +22110,7 @@ type AzureMLUpdateResourceActivity struct {
DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
// UserProperties - Activity user properties.
UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
Type TypeBasicActivity `json:"type,omitempty"`
}
@@ -20404,6 +22198,11 @@ func (amura AzureMLUpdateResourceActivity) AsLookupActivity() (*LookupActivity,
return nil, false
}
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
+func (amura AzureMLUpdateResourceActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return nil, false
+}
+
// AsDeleteActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
func (amura AzureMLUpdateResourceActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
@@ -20665,7 +22464,7 @@ type AzureMySQLLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -20957,6 +22756,11 @@ func (amsls AzureMySQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapC
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
+func (amsls AzureMySQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
func (amsls AzureMySQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -21012,6 +22816,16 @@ func (amsls AzureMySQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService,
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
+func (amsls AzureMySQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
+func (amsls AzureMySQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
func (amsls AzureMySQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -21067,6 +22881,16 @@ func (amsls AzureMySQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinke
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
+func (amsls AzureMySQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
+func (amsls AzureMySQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
func (amsls AzureMySQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -21087,6 +22911,11 @@ func (amsls AzureMySQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLin
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
+func (amsls AzureMySQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
func (amsls AzureMySQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -21230,7 +23059,7 @@ type AzureMySQLSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -21509,6 +23338,11 @@ func (amss AzureMySQLSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for AzureMySQLSource.
func (amss AzureMySQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -21554,16 +23388,71 @@ func (amss AzureMySQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomer
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for AzureMySQLSource.
func (amss AzureMySQLSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for AzureMySQLSource.
func (amss AzureMySQLSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for AzureMySQLSource.
func (amss AzureMySQLSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -21584,6 +23473,11 @@ func (amss AzureMySQLSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for AzureMySQLSource.
+func (amss AzureMySQLSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for AzureMySQLSource.
func (amss AzureMySQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -21696,7 +23590,7 @@ type AzureMySQLTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -21957,11 +23851,41 @@ func (amstd AzureMySQLTableDataset) AsSapCloudForCustomerResourceDataset() (*Sap
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
+func (amstd AzureMySQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
func (amstd AzureMySQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
+func (amstd AzureMySQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
+func (amstd AzureMySQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
+func (amstd AzureMySQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
+func (amstd AzureMySQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
+func (amstd AzureMySQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
func (amstd AzureMySQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -22022,6 +23946,16 @@ func (amstd AzureMySQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset.
+func (amstd AzureMySQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset.
+func (amstd AzureMySQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset.
func (amstd AzureMySQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -22047,6 +23981,11 @@ func (amstd AzureMySQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
+func (amstd AzureMySQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
func (amstd AzureMySQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -22062,6 +24001,11 @@ func (amstd AzureMySQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for AzureMySQLTableDataset.
+func (amstd AzureMySQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for AzureMySQLTableDataset.
func (amstd AzureMySQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -22215,7 +24159,7 @@ type AzurePostgreSQLLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -22507,6 +24451,11 @@ func (apsls AzurePostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
+func (apsls AzurePostgreSQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
func (apsls AzurePostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -22562,6 +24511,16 @@ func (apsls AzurePostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedServ
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
+func (apsls AzurePostgreSQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
+func (apsls AzurePostgreSQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
func (apsls AzurePostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -22617,6 +24576,16 @@ func (apsls AzurePostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsight
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
+func (apsls AzurePostgreSQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
+func (apsls AzurePostgreSQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
func (apsls AzurePostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -22637,6 +24606,11 @@ func (apsls AzurePostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBat
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
+func (apsls AzurePostgreSQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
func (apsls AzurePostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -22768,6 +24742,302 @@ type AzurePostgreSQLLinkedServiceTypeProperties struct {
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
+// AzurePostgreSQLSink a copy activity Azure PostgreSQL sink.
+type AzurePostgreSQLSink struct {
+ // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string).
+ PreCopyScript interface{} `json:"preCopyScript,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) MarshalJSON() ([]byte, error) {
+ apss.Type = TypeAzurePostgreSQLSink
+ objectMap := make(map[string]interface{})
+ if apss.PreCopyScript != nil {
+ objectMap["preCopyScript"] = apss.PreCopyScript
+ }
+ if apss.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = apss.WriteBatchSize
+ }
+ if apss.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = apss.WriteBatchTimeout
+ }
+ if apss.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = apss.SinkRetryCount
+ }
+ if apss.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = apss.SinkRetryWait
+ }
+ if apss.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = apss.MaxConcurrentConnections
+ }
+ if apss.Type != "" {
+ objectMap["type"] = apss.Type
+ }
+ for k, v := range apss.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
+// AsSalesforceSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsSalesforceSink() (*SalesforceSink, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsDynamicsSink() (*DynamicsSink, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
+// AsOdbcSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsOdbcSink() (*OdbcSink, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+ return nil, false
+}
+
+// AsOracleSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsOracleSink() (*OracleSink, bool) {
+ return nil, false
+}
+
+// AsSQLDWSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsSQLDWSink() (*SQLDWSink, bool) {
+ return nil, false
+}
+
+// AsSQLMISink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+ return nil, false
+}
+
+// AsSQLServerSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsSQLServerSink() (*SQLServerSink, bool) {
+ return nil, false
+}
+
+// AsSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsSQLSink() (*SQLSink, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+ return nil, false
+}
+
+// AsFileSystemSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsFileSystemSink() (*FileSystemSink, bool) {
+ return nil, false
+}
+
+// AsBlobSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsBlobSink() (*BlobSink, bool) {
+ return nil, false
+}
+
+// AsBinarySink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
+// AsParquetSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsParquetSink() (*ParquetSink, bool) {
+ return nil, false
+}
+
+// AsAzureTableSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsAzureTableSink() (*AzureTableSink, bool) {
+ return nil, false
+}
+
+// AsAzureQueueSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return &apss, true
+}
+
+// AsDelimitedTextSink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+ return nil, false
+}
+
+// AsCopySink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsCopySink() (*CopySink, bool) {
+ return nil, false
+}
+
+// AsBasicCopySink is the BasicCopySink implementation for AzurePostgreSQLSink.
+func (apss AzurePostgreSQLSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &apss, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for AzurePostgreSQLSink struct.
+func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "preCopyScript":
+ if v != nil {
+ var preCopyScript interface{}
+ err = json.Unmarshal(*v, &preCopyScript)
+ if err != nil {
+ return err
+ }
+ apss.PreCopyScript = preCopyScript
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if apss.AdditionalProperties == nil {
+ apss.AdditionalProperties = make(map[string]interface{})
+ }
+ apss.AdditionalProperties[k] = additionalProperties
+ }
+ case "writeBatchSize":
+ if v != nil {
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
+ if err != nil {
+ return err
+ }
+ apss.WriteBatchSize = writeBatchSize
+ }
+ case "writeBatchTimeout":
+ if v != nil {
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
+ if err != nil {
+ return err
+ }
+ apss.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ apss.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ apss.SinkRetryWait = sinkRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ apss.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySink
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ apss.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
// AzurePostgreSQLSource a copy activity Azure PostgreSQL source.
type AzurePostgreSQLSource struct {
// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
@@ -22780,7 +25050,7 @@ type AzurePostgreSQLSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -23059,6 +25329,11 @@ func (apss AzurePostgreSQLSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource.
func (apss AzurePostgreSQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -23104,16 +25379,71 @@ func (apss AzurePostgreSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCus
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for AzurePostgreSQLSource.
func (apss AzurePostgreSQLSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for AzurePostgreSQLSource.
func (apss AzurePostgreSQLSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for AzurePostgreSQLSource.
func (apss AzurePostgreSQLSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -23134,6 +25464,11 @@ func (apss AzurePostgreSQLSource) AsAzureTableSource() (*AzureTableSource, bool)
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for AzurePostgreSQLSource.
+func (apss AzurePostgreSQLSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for AzurePostgreSQLSource.
func (apss AzurePostgreSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -23228,8 +25563,8 @@ func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error {
// AzurePostgreSQLTableDataset azure PostgreSQL dataset.
type AzurePostgreSQLTableDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AzurePostgreSQLTableDatasetTypeProperties - Properties specific to this dataset type.
+ *AzurePostgreSQLTableDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Description - Dataset description.
@@ -23246,7 +25581,7 @@ type AzurePostgreSQLTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -23254,8 +25589,8 @@ type AzurePostgreSQLTableDataset struct {
func (apstd AzurePostgreSQLTableDataset) MarshalJSON() ([]byte, error) {
apstd.Type = TypeAzurePostgreSQLTable
objectMap := make(map[string]interface{})
- if apstd.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = apstd.GenericDatasetTypeProperties
+ if apstd.AzurePostgreSQLTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = apstd.AzurePostgreSQLTableDatasetTypeProperties
}
if apstd.Description != nil {
objectMap["description"] = apstd.Description
@@ -23507,11 +25842,41 @@ func (apstd AzurePostgreSQLTableDataset) AsSapCloudForCustomerResourceDataset()
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
+func (apstd AzurePostgreSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
func (apstd AzurePostgreSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
+func (apstd AzurePostgreSQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
+func (apstd AzurePostgreSQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
+func (apstd AzurePostgreSQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
+func (apstd AzurePostgreSQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
+func (apstd AzurePostgreSQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
func (apstd AzurePostgreSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -23572,6 +25937,16 @@ func (apstd AzurePostgreSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDa
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
+func (apstd AzurePostgreSQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
+func (apstd AzurePostgreSQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
func (apstd AzurePostgreSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -23597,6 +25972,11 @@ func (apstd AzurePostgreSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDW
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
+func (apstd AzurePostgreSQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
func (apstd AzurePostgreSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -23612,6 +25992,11 @@ func (apstd AzurePostgreSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
+func (apstd AzurePostgreSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
func (apstd AzurePostgreSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -23648,12 +26033,12 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var azurePostgreSQLTableDatasetTypeProperties AzurePostgreSQLTableDatasetTypeProperties
+ err = json.Unmarshal(*v, &azurePostgreSQLTableDatasetTypeProperties)
if err != nil {
return err
}
- apstd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ apstd.AzurePostgreSQLTableDatasetTypeProperties = &azurePostgreSQLTableDatasetTypeProperties
}
default:
if v != nil {
@@ -23745,6 +26130,16 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error {
return nil
}
+// AzurePostgreSQLTableDatasetTypeProperties azure PostgreSQL dataset properties.
+type AzurePostgreSQLTableDatasetTypeProperties struct {
+ // TableName - The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
+ // Table - The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string).
+ Table interface{} `json:"table,omitempty"`
+ // Schema - The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string).
+ Schema interface{} `json:"schema,omitempty"`
+}
+
// AzureQueueSink a copy activity Azure Queue sink.
type AzureQueueSink struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -23759,7 +26154,7 @@ type AzureQueueSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
@@ -23796,6 +26191,11 @@ func (aqs AzureQueueSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, b
return nil, false
}
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureQueueSink.
+func (aqs AzureQueueSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
// AsSalesforceSink is the BasicCopySink implementation for AzureQueueSink.
func (aqs AzureQueueSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
@@ -23806,11 +26206,31 @@ func (aqs AzureQueueSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, boo
return nil, false
}
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureQueueSink.
+func (aqs AzureQueueSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for AzureQueueSink.
+func (aqs AzureQueueSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
// AsDynamicsSink is the BasicCopySink implementation for AzureQueueSink.
func (aqs AzureQueueSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
+// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureQueueSink.
+func (aqs AzureQueueSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for AzureQueueSink.
+func (aqs AzureQueueSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
// AsOdbcSink is the BasicCopySink implementation for AzureQueueSink.
func (aqs AzureQueueSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
@@ -23841,6 +26261,11 @@ func (aqs AzureQueueSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
+// AsSQLMISink is the BasicCopySink implementation for AzureQueueSink.
+func (aqs AzureQueueSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
// AsAzureSQLSink is the BasicCopySink implementation for AzureQueueSink.
func (aqs AzureQueueSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
@@ -23871,6 +26296,11 @@ func (aqs AzureQueueSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
+// AsBinarySink is the BasicCopySink implementation for AzureQueueSink.
+func (aqs AzureQueueSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
// AsParquetSink is the BasicCopySink implementation for AzureQueueSink.
func (aqs AzureQueueSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
@@ -23891,6 +26321,11 @@ func (aqs AzureQueueSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink,
return nil, false
}
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureQueueSink.
+func (aqs AzureQueueSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSink is the BasicCopySink implementation for AzureQueueSink.
func (aqs AzureQueueSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
@@ -24007,7 +26442,7 @@ type AzureSearchIndexDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -24268,11 +26703,41 @@ func (asid AzureSearchIndexDataset) AsSapCloudForCustomerResourceDataset() (*Sap
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
+func (asid AzureSearchIndexDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
func (asid AzureSearchIndexDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
+func (asid AzureSearchIndexDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
+func (asid AzureSearchIndexDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
+func (asid AzureSearchIndexDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
+func (asid AzureSearchIndexDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
+func (asid AzureSearchIndexDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
func (asid AzureSearchIndexDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -24333,6 +26798,16 @@ func (asid AzureSearchIndexDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset.
+func (asid AzureSearchIndexDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset.
+func (asid AzureSearchIndexDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset.
func (asid AzureSearchIndexDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -24358,6 +26833,11 @@ func (asid AzureSearchIndexDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
+func (asid AzureSearchIndexDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
func (asid AzureSearchIndexDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -24373,6 +26853,11 @@ func (asid AzureSearchIndexDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for AzureSearchIndexDataset.
+func (asid AzureSearchIndexDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for AzureSearchIndexDataset.
func (asid AzureSearchIndexDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -24514,8 +26999,8 @@ type AzureSearchIndexDatasetTypeProperties struct {
// AzureSearchIndexSink a copy activity Azure Search Index sink.
type AzureSearchIndexSink struct {
- // WriteBehavior - Specify the write behavior when upserting documents into Azure Search Index.
- WriteBehavior interface{} `json:"writeBehavior,omitempty"`
+ // WriteBehavior - Specify the write behavior when upserting documents into Azure Search Index. Possible values include: 'Merge', 'Upload'
+ WriteBehavior AzureSearchIndexWriteBehaviorType `json:"writeBehavior,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
@@ -24528,7 +27013,7 @@ type AzureSearchIndexSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
@@ -24536,7 +27021,7 @@ type AzureSearchIndexSink struct {
func (asis AzureSearchIndexSink) MarshalJSON() ([]byte, error) {
asis.Type = TypeAzureSearchIndexSink
objectMap := make(map[string]interface{})
- if asis.WriteBehavior != nil {
+ if asis.WriteBehavior != "" {
objectMap["writeBehavior"] = asis.WriteBehavior
}
if asis.WriteBatchSize != nil {
@@ -24568,6 +27053,11 @@ func (asis AzureSearchIndexSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPI
return nil, false
}
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureSearchIndexSink.
+func (asis AzureSearchIndexSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
// AsSalesforceSink is the BasicCopySink implementation for AzureSearchIndexSink.
func (asis AzureSearchIndexSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
@@ -24578,11 +27068,31 @@ func (asis AzureSearchIndexSink) AsAzureDataExplorerSink() (*AzureDataExplorerSi
return nil, false
}
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureSearchIndexSink.
+func (asis AzureSearchIndexSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for AzureSearchIndexSink.
+func (asis AzureSearchIndexSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
// AsDynamicsSink is the BasicCopySink implementation for AzureSearchIndexSink.
func (asis AzureSearchIndexSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
+// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureSearchIndexSink.
+func (asis AzureSearchIndexSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for AzureSearchIndexSink.
+func (asis AzureSearchIndexSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
// AsOdbcSink is the BasicCopySink implementation for AzureSearchIndexSink.
func (asis AzureSearchIndexSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
@@ -24613,6 +27123,11 @@ func (asis AzureSearchIndexSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
+// AsSQLMISink is the BasicCopySink implementation for AzureSearchIndexSink.
+func (asis AzureSearchIndexSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
// AsAzureSQLSink is the BasicCopySink implementation for AzureSearchIndexSink.
func (asis AzureSearchIndexSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
@@ -24643,6 +27158,11 @@ func (asis AzureSearchIndexSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
+// AsBinarySink is the BasicCopySink implementation for AzureSearchIndexSink.
+func (asis AzureSearchIndexSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
// AsParquetSink is the BasicCopySink implementation for AzureSearchIndexSink.
func (asis AzureSearchIndexSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
@@ -24663,6 +27183,11 @@ func (asis AzureSearchIndexSink) AsSapCloudForCustomerSink() (*SapCloudForCustom
return nil, false
}
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureSearchIndexSink.
+func (asis AzureSearchIndexSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSink is the BasicCopySink implementation for AzureSearchIndexSink.
func (asis AzureSearchIndexSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
@@ -24689,7 +27214,7 @@ func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error {
switch k {
case "writeBehavior":
if v != nil {
- var writeBehavior interface{}
+ var writeBehavior AzureSearchIndexWriteBehaviorType
err = json.Unmarshal(*v, &writeBehavior)
if err != nil {
return err
@@ -24782,7 +27307,7 @@ type AzureSearchLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -25074,6 +27599,11 @@ func (asls AzureSearchLinkedService) AsSapCloudForCustomerLinkedService() (*SapC
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
+func (asls AzureSearchLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
func (asls AzureSearchLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -25129,6 +27659,16 @@ func (asls AzureSearchLinkedService) AsHdfsLinkedService() (*HdfsLinkedService,
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
+func (asls AzureSearchLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
+func (asls AzureSearchLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
func (asls AzureSearchLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -25184,6 +27724,16 @@ func (asls AzureSearchLinkedService) AsHDInsightLinkedService() (*HDInsightLinke
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
+func (asls AzureSearchLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
+func (asls AzureSearchLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
func (asls AzureSearchLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -25204,6 +27754,11 @@ func (asls AzureSearchLinkedService) AsAzureBatchLinkedService() (*AzureBatchLin
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
+func (asls AzureSearchLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
func (asls AzureSearchLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -25390,7 +27945,7 @@ type AzureSQLDatabaseLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -25682,6 +28237,11 @@ func (asdls AzureSQLDatabaseLinkedService) AsSapCloudForCustomerLinkedService()
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
+func (asdls AzureSQLDatabaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
func (asdls AzureSQLDatabaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -25737,6 +28297,16 @@ func (asdls AzureSQLDatabaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedSer
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
+func (asdls AzureSQLDatabaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
+func (asdls AzureSQLDatabaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
func (asdls AzureSQLDatabaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -25792,6 +28362,16 @@ func (asdls AzureSQLDatabaseLinkedService) AsHDInsightLinkedService() (*HDInsigh
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
+func (asdls AzureSQLDatabaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
+func (asdls AzureSQLDatabaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
func (asdls AzureSQLDatabaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -25812,6 +28392,11 @@ func (asdls AzureSQLDatabaseLinkedService) AsAzureBatchLinkedService() (*AzureBa
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
+func (asdls AzureSQLDatabaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
func (asdls AzureSQLDatabaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return &asdls, true
@@ -26031,7 +28616,7 @@ type AzureSQLDWLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -26323,6 +28908,11 @@ func (asdls AzureSQLDWLinkedService) AsSapCloudForCustomerLinkedService() (*SapC
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
+func (asdls AzureSQLDWLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
func (asdls AzureSQLDWLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -26378,6 +28968,16 @@ func (asdls AzureSQLDWLinkedService) AsHdfsLinkedService() (*HdfsLinkedService,
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
+func (asdls AzureSQLDWLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
+func (asdls AzureSQLDWLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
func (asdls AzureSQLDWLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -26433,6 +29033,16 @@ func (asdls AzureSQLDWLinkedService) AsHDInsightLinkedService() (*HDInsightLinke
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
+func (asdls AzureSQLDWLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
+func (asdls AzureSQLDWLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
func (asdls AzureSQLDWLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -26453,6 +29063,11 @@ func (asdls AzureSQLDWLinkedService) AsAzureBatchLinkedService() (*AzureBatchLin
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
+func (asdls AzureSQLDWLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
func (asdls AzureSQLDWLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -26678,7 +29293,7 @@ type AzureSQLDWTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -26939,11 +29554,41 @@ func (asdtd AzureSQLDWTableDataset) AsSapCloudForCustomerResourceDataset() (*Sap
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
+func (asdtd AzureSQLDWTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
func (asdtd AzureSQLDWTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
+func (asdtd AzureSQLDWTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
+func (asdtd AzureSQLDWTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
+func (asdtd AzureSQLDWTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
+func (asdtd AzureSQLDWTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
+func (asdtd AzureSQLDWTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
func (asdtd AzureSQLDWTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -27004,6 +29649,16 @@ func (asdtd AzureSQLDWTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
+func (asdtd AzureSQLDWTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
+func (asdtd AzureSQLDWTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
func (asdtd AzureSQLDWTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -27029,6 +29684,11 @@ func (asdtd AzureSQLDWTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable
return &asdtd, true
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
+func (asdtd AzureSQLDWTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
func (asdtd AzureSQLDWTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -27044,6 +29704,11 @@ func (asdtd AzureSQLDWTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
+func (asdtd AzureSQLDWTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
func (asdtd AzureSQLDWTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -27183,721 +29848,514 @@ type AzureSQLDWTableDatasetTypeProperties struct {
TableName interface{} `json:"tableName,omitempty"`
}
-// AzureSQLSink a copy activity Azure SQL sink.
-type AzureSQLSink struct {
- // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string).
- SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"`
- // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string).
- SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"`
- // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string).
- PreCopyScript interface{} `json:"preCopyScript,omitempty"`
- // StoredProcedureParameters - SQL stored procedure parameters.
- StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"`
- // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string).
- StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"`
+// AzureSQLMILinkedService azure SQL Managed Instance linked service.
+type AzureSQLMILinkedService struct {
+ // AzureSQLMILinkedServiceTypeProperties - Azure SQL Managed Instance linked service properties.
+ *AzureSQLMILinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
- WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
- // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
- // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
- SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
- // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
- Type TypeBasicCopySink `json:"type,omitempty"`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureSQLSink.
-func (ass AzureSQLSink) MarshalJSON() ([]byte, error) {
- ass.Type = TypeAzureSQLSink
+// MarshalJSON is the custom marshaler for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) MarshalJSON() ([]byte, error) {
+ asmls.Type = TypeAzureSQLMI
objectMap := make(map[string]interface{})
- if ass.SQLWriterStoredProcedureName != nil {
- objectMap["sqlWriterStoredProcedureName"] = ass.SQLWriterStoredProcedureName
- }
- if ass.SQLWriterTableType != nil {
- objectMap["sqlWriterTableType"] = ass.SQLWriterTableType
- }
- if ass.PreCopyScript != nil {
- objectMap["preCopyScript"] = ass.PreCopyScript
- }
- if ass.StoredProcedureParameters != nil {
- objectMap["storedProcedureParameters"] = ass.StoredProcedureParameters
+ if asmls.AzureSQLMILinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = asmls.AzureSQLMILinkedServiceTypeProperties
}
- if ass.StoredProcedureTableTypeParameterName != nil {
- objectMap["storedProcedureTableTypeParameterName"] = ass.StoredProcedureTableTypeParameterName
- }
- if ass.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = ass.WriteBatchSize
- }
- if ass.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = ass.WriteBatchTimeout
+ if asmls.ConnectVia != nil {
+ objectMap["connectVia"] = asmls.ConnectVia
}
- if ass.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = ass.SinkRetryCount
+ if asmls.Description != nil {
+ objectMap["description"] = asmls.Description
}
- if ass.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = ass.SinkRetryWait
+ if asmls.Parameters != nil {
+ objectMap["parameters"] = asmls.Parameters
}
- if ass.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ass.MaxConcurrentConnections
+ if asmls.Annotations != nil {
+ objectMap["annotations"] = asmls.Annotations
}
- if ass.Type != "" {
- objectMap["type"] = ass.Type
+ if asmls.Type != "" {
+ objectMap["type"] = asmls.Type
}
- for k, v := range ass.AdditionalProperties {
+ for k, v := range asmls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsSalesforceSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsSalesforceSink() (*SalesforceSink, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsDynamicsSink() (*DynamicsSink, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOdbcSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsOdbcSink() (*OdbcSink, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsOracleSink() (*OracleSink, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsSQLDWSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
- return &ass, true
-}
-
-// AsSQLServerSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsSQLSink() (*SQLSink, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsFileSystemSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsFileSystemSink() (*FileSystemSink, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsBlobSink() (*BlobSink, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsParquetSink() (*ParquetSink, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsAzureTableSink() (*AzureTableSink, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsAzureQueueSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsCopySink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsCopySink() (*CopySink, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsBasicCopySink is the BasicCopySink implementation for AzureSQLSink.
-func (ass AzureSQLSink) AsBasicCopySink() (BasicCopySink, bool) {
- return &ass, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for AzureSQLSink struct.
-func (ass *AzureSQLSink) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "sqlWriterStoredProcedureName":
- if v != nil {
- var SQLWriterStoredProcedureName interface{}
- err = json.Unmarshal(*v, &SQLWriterStoredProcedureName)
- if err != nil {
- return err
- }
- ass.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName
- }
- case "sqlWriterTableType":
- if v != nil {
- var SQLWriterTableType interface{}
- err = json.Unmarshal(*v, &SQLWriterTableType)
- if err != nil {
- return err
- }
- ass.SQLWriterTableType = SQLWriterTableType
- }
- case "preCopyScript":
- if v != nil {
- var preCopyScript interface{}
- err = json.Unmarshal(*v, &preCopyScript)
- if err != nil {
- return err
- }
- ass.PreCopyScript = preCopyScript
- }
- case "storedProcedureParameters":
- if v != nil {
- var storedProcedureParameters map[string]*StoredProcedureParameter
- err = json.Unmarshal(*v, &storedProcedureParameters)
- if err != nil {
- return err
- }
- ass.StoredProcedureParameters = storedProcedureParameters
- }
- case "storedProcedureTableTypeParameterName":
- if v != nil {
- var storedProcedureTableTypeParameterName interface{}
- err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName)
- if err != nil {
- return err
- }
- ass.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if ass.AdditionalProperties == nil {
- ass.AdditionalProperties = make(map[string]interface{})
- }
- ass.AdditionalProperties[k] = additionalProperties
- }
- case "writeBatchSize":
- if v != nil {
- var writeBatchSize interface{}
- err = json.Unmarshal(*v, &writeBatchSize)
- if err != nil {
- return err
- }
- ass.WriteBatchSize = writeBatchSize
- }
- case "writeBatchTimeout":
- if v != nil {
- var writeBatchTimeout interface{}
- err = json.Unmarshal(*v, &writeBatchTimeout)
- if err != nil {
- return err
- }
- ass.WriteBatchTimeout = writeBatchTimeout
- }
- case "sinkRetryCount":
- if v != nil {
- var sinkRetryCount interface{}
- err = json.Unmarshal(*v, &sinkRetryCount)
- if err != nil {
- return err
- }
- ass.SinkRetryCount = sinkRetryCount
- }
- case "sinkRetryWait":
- if v != nil {
- var sinkRetryWait interface{}
- err = json.Unmarshal(*v, &sinkRetryWait)
- if err != nil {
- return err
- }
- ass.SinkRetryWait = sinkRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- ass.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySink
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ass.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// AzureSQLSource a copy activity Azure SQL source.
-type AzureSQLSource struct {
- // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string).
- SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"`
- // SQLReaderStoredProcedureName - Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string).
- SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"`
- // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
- StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"`
- // ProduceAdditionalTypes - Which additional types to produce.
- ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for AzureSQLSource.
-func (ass AzureSQLSource) MarshalJSON() ([]byte, error) {
- ass.Type = TypeAzureSQLSource
- objectMap := make(map[string]interface{})
- if ass.SQLReaderQuery != nil {
- objectMap["sqlReaderQuery"] = ass.SQLReaderQuery
- }
- if ass.SQLReaderStoredProcedureName != nil {
- objectMap["sqlReaderStoredProcedureName"] = ass.SQLReaderStoredProcedureName
- }
- if ass.StoredProcedureParameters != nil {
- objectMap["storedProcedureParameters"] = ass.StoredProcedureParameters
- }
- if ass.ProduceAdditionalTypes != nil {
- objectMap["produceAdditionalTypes"] = ass.ProduceAdditionalTypes
- }
- if ass.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ass.SourceRetryCount
- }
- if ass.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ass.SourceRetryWait
- }
- if ass.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ass.MaxConcurrentConnections
- }
- if ass.Type != "" {
- objectMap["type"] = ass.Type
- }
- for k, v := range ass.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsZohoSource() (*ZohoSource, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsXeroSource() (*XeroSource, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSquareSource() (*SquareSource, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSparkSource() (*SparkSource, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsShopifySource() (*ShopifySource, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsJiraSource() (*JiraSource, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsHiveSource() (*HiveSource, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsDrillSource() (*DrillSource, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsConcurSource() (*ConcurSource, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsOffice365Source() (*Office365Source, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsWebSource() (*WebSource, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsOracleSource() (*OracleSource, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
- return &ass, true
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSQLSource() (*SQLSource, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsRestSource() (*RestSource, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsRelationalSource() (*RelationalSource, bool) {
- return nil, false
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return &asmls, true
}
-// AsDynamicsSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsBlobSource() (*BlobSource, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsParquetSource() (*ParquetSource, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsCopySource() (*CopySource, bool) {
+// AsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for AzureSQLSource.
-func (ass AzureSQLSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ass, true
+// AsBasicLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService.
+func (asmls AzureSQLMILinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &asmls, true
}
-// UnmarshalJSON is the custom unmarshaler for AzureSQLSource struct.
-func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AzureSQLMILinkedService struct.
+func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -27905,89 +30363,155 @@ func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "sqlReaderQuery":
+ case "typeProperties":
if v != nil {
- var SQLReaderQuery interface{}
- err = json.Unmarshal(*v, &SQLReaderQuery)
+ var azureSQLMILinkedServiceTypeProperties AzureSQLMILinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &azureSQLMILinkedServiceTypeProperties)
if err != nil {
return err
}
- ass.SQLReaderQuery = SQLReaderQuery
+ asmls.AzureSQLMILinkedServiceTypeProperties = &azureSQLMILinkedServiceTypeProperties
}
- case "sqlReaderStoredProcedureName":
+ default:
if v != nil {
- var SQLReaderStoredProcedureName interface{}
- err = json.Unmarshal(*v, &SQLReaderStoredProcedureName)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- ass.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName
+ if asmls.AdditionalProperties == nil {
+ asmls.AdditionalProperties = make(map[string]interface{})
+ }
+ asmls.AdditionalProperties[k] = additionalProperties
}
- case "storedProcedureParameters":
+ case "connectVia":
if v != nil {
- var storedProcedureParameters map[string]*StoredProcedureParameter
- err = json.Unmarshal(*v, &storedProcedureParameters)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- ass.StoredProcedureParameters = storedProcedureParameters
+ asmls.ConnectVia = &connectVia
}
- case "produceAdditionalTypes":
+ case "description":
if v != nil {
- var produceAdditionalTypes interface{}
- err = json.Unmarshal(*v, &produceAdditionalTypes)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- ass.ProduceAdditionalTypes = produceAdditionalTypes
+ asmls.Description = &description
}
- default:
+ case "parameters":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- if ass.AdditionalProperties == nil {
- ass.AdditionalProperties = make(map[string]interface{})
+ asmls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
}
- ass.AdditionalProperties[k] = additionalProperties
+ asmls.Annotations = &annotations
}
- case "sourceRetryCount":
+ case "type":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ass.SourceRetryCount = sourceRetryCount
+ asmls.Type = typeVar
}
- case "sourceRetryWait":
+ }
+ }
+
+ return nil
+}
+
+// AzureSQLMILinkedServiceTypeProperties azure SQL Managed Instance linked service properties.
+type AzureSQLMILinkedServiceTypeProperties struct {
+ // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // Password - The Azure key vault secret reference of password in connection string.
+ Password *AzureKeyVaultSecretReference `json:"password,omitempty"`
+ // ServicePrincipalID - The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string).
+ ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
+ // ServicePrincipalKey - The key of the service principal used to authenticate against Azure SQL Managed Instance.
+ ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
+ // Tenant - The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
+ Tenant interface{} `json:"tenant,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for AzureSQLMILinkedServiceTypeProperties struct.
+func (asmlstp *AzureSQLMILinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "connectionString":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var connectionString interface{}
+ err = json.Unmarshal(*v, &connectionString)
if err != nil {
return err
}
- ass.SourceRetryWait = sourceRetryWait
+ asmlstp.ConnectionString = connectionString
}
- case "maxConcurrentConnections":
+ case "password":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var password AzureKeyVaultSecretReference
+ err = json.Unmarshal(*v, &password)
if err != nil {
return err
}
- ass.MaxConcurrentConnections = maxConcurrentConnections
+ asmlstp.Password = &password
}
- case "type":
+ case "servicePrincipalId":
if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
+ var servicePrincipalID interface{}
+ err = json.Unmarshal(*v, &servicePrincipalID)
if err != nil {
return err
}
- ass.Type = typeVar
+ asmlstp.ServicePrincipalID = servicePrincipalID
+ }
+ case "servicePrincipalKey":
+ if v != nil {
+ servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ asmlstp.ServicePrincipalKey = servicePrincipalKey
+ }
+ case "tenant":
+ if v != nil {
+ var tenant interface{}
+ err = json.Unmarshal(*v, &tenant)
+ if err != nil {
+ return err
+ }
+ asmlstp.Tenant = tenant
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ asmlstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -27995,10 +30519,10 @@ func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureSQLTableDataset the Azure SQL Server database dataset.
-type AzureSQLTableDataset struct {
- // AzureSQLTableDatasetTypeProperties - Azure SQL dataset properties.
- *AzureSQLTableDatasetTypeProperties `json:"typeProperties,omitempty"`
+// AzureSQLMITableDataset the Azure SQL Managed Instance dataset.
+type AzureSQLMITableDataset struct {
+ // AzureSQLMITableDatasetTypeProperties - Azure SQL Managed Instance dataset properties.
+ *AzureSQLMITableDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Description - Dataset description.
@@ -28015,399 +30539,449 @@ type AzureSQLTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) MarshalJSON() ([]byte, error) {
- astd.Type = TypeAzureSQLTable
+// MarshalJSON is the custom marshaler for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) MarshalJSON() ([]byte, error) {
+ asmtd.Type = TypeAzureSQLMITable
objectMap := make(map[string]interface{})
- if astd.AzureSQLTableDatasetTypeProperties != nil {
- objectMap["typeProperties"] = astd.AzureSQLTableDatasetTypeProperties
+ if asmtd.AzureSQLMITableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = asmtd.AzureSQLMITableDatasetTypeProperties
}
- if astd.Description != nil {
- objectMap["description"] = astd.Description
+ if asmtd.Description != nil {
+ objectMap["description"] = asmtd.Description
}
- if astd.Structure != nil {
- objectMap["structure"] = astd.Structure
+ if asmtd.Structure != nil {
+ objectMap["structure"] = asmtd.Structure
}
- if astd.Schema != nil {
- objectMap["schema"] = astd.Schema
+ if asmtd.Schema != nil {
+ objectMap["schema"] = asmtd.Schema
}
- if astd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = astd.LinkedServiceName
+ if asmtd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = asmtd.LinkedServiceName
}
- if astd.Parameters != nil {
- objectMap["parameters"] = astd.Parameters
+ if asmtd.Parameters != nil {
+ objectMap["parameters"] = asmtd.Parameters
}
- if astd.Annotations != nil {
- objectMap["annotations"] = astd.Annotations
+ if asmtd.Annotations != nil {
+ objectMap["annotations"] = asmtd.Annotations
}
- if astd.Folder != nil {
- objectMap["folder"] = astd.Folder
+ if asmtd.Folder != nil {
+ objectMap["folder"] = asmtd.Folder
}
- if astd.Type != "" {
- objectMap["type"] = astd.Type
+ if asmtd.Type != "" {
+ objectMap["type"] = asmtd.Type
}
- for k, v := range astd.AdditionalProperties {
+ for k, v := range asmtd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
- return &astd, true
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsDataset() (*Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for AzureSQLTableDataset.
-func (astd AzureSQLTableDataset) AsBasicDataset() (BasicDataset, bool) {
- return &astd, true
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for AzureSQLTableDataset struct.
-func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return &asmtd, true
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for AzureSQLMITableDataset.
+func (asmtd AzureSQLMITableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &asmtd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for AzureSQLMITableDataset struct.
+func (asmtd *AzureSQLMITableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -28417,12 +30991,12 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var azureSQLTableDatasetTypeProperties AzureSQLTableDatasetTypeProperties
- err = json.Unmarshal(*v, &azureSQLTableDatasetTypeProperties)
+ var azureSQLMITableDatasetTypeProperties AzureSQLMITableDatasetTypeProperties
+ err = json.Unmarshal(*v, &azureSQLMITableDatasetTypeProperties)
if err != nil {
return err
}
- astd.AzureSQLTableDatasetTypeProperties = &azureSQLTableDatasetTypeProperties
+ asmtd.AzureSQLMITableDatasetTypeProperties = &azureSQLMITableDatasetTypeProperties
}
default:
if v != nil {
@@ -28431,10 +31005,10 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if astd.AdditionalProperties == nil {
- astd.AdditionalProperties = make(map[string]interface{})
+ if asmtd.AdditionalProperties == nil {
+ asmtd.AdditionalProperties = make(map[string]interface{})
}
- astd.AdditionalProperties[k] = additionalProperties
+ asmtd.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -28443,7 +31017,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- astd.Description = &description
+ asmtd.Description = &description
}
case "structure":
if v != nil {
@@ -28452,7 +31026,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- astd.Structure = structure
+ asmtd.Structure = structure
}
case "schema":
if v != nil {
@@ -28461,7 +31035,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- astd.Schema = schema
+ asmtd.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -28470,7 +31044,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- astd.LinkedServiceName = &linkedServiceName
+ asmtd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -28479,7 +31053,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- astd.Parameters = parameters
+ asmtd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -28488,7 +31062,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- astd.Annotations = &annotations
+ asmtd.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -28497,7 +31071,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- astd.Folder = &folder
+ asmtd.Folder = &folder
}
case "type":
if v != nil {
@@ -28506,7 +31080,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- astd.Type = typeVar
+ asmtd.Type = typeVar
}
}
}
@@ -28514,490 +31088,836 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureSQLTableDatasetTypeProperties azure SQL dataset properties.
-type AzureSQLTableDatasetTypeProperties struct {
- // TableName - The table name of the Azure SQL database. Type: string (or Expression with resultType string).
+// AzureSQLMITableDatasetTypeProperties azure SQL Managed Instance dataset properties.
+type AzureSQLMITableDatasetTypeProperties struct {
+ // TableName - This property will be retired. Please consider using schema + table properties instead.
TableName interface{} `json:"tableName,omitempty"`
+ // Schema - The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string).
+ Schema interface{} `json:"schema,omitempty"`
+ // Table - The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string).
+ Table interface{} `json:"table,omitempty"`
}
-// AzureStorageLinkedService the storage account linked service.
-type AzureStorageLinkedService struct {
- // AzureStorageLinkedServiceTypeProperties - Azure Storage linked service properties.
- *AzureStorageLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+// AzureSQLSink a copy activity Azure SQL sink.
+type AzureSQLSink struct {
+ // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string).
+ SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"`
+ // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string).
+ SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"`
+ // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string).
+ PreCopyScript interface{} `json:"preCopyScript,omitempty"`
+ // StoredProcedureParameters - SQL stored procedure parameters.
+ StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"`
+ // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string).
+ StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) MarshalJSON() ([]byte, error) {
- asls.Type = TypeAzureStorage
+// MarshalJSON is the custom marshaler for AzureSQLSink.
+func (ass AzureSQLSink) MarshalJSON() ([]byte, error) {
+ ass.Type = TypeAzureSQLSink
objectMap := make(map[string]interface{})
- if asls.AzureStorageLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = asls.AzureStorageLinkedServiceTypeProperties
+ if ass.SQLWriterStoredProcedureName != nil {
+ objectMap["sqlWriterStoredProcedureName"] = ass.SQLWriterStoredProcedureName
}
- if asls.ConnectVia != nil {
- objectMap["connectVia"] = asls.ConnectVia
+ if ass.SQLWriterTableType != nil {
+ objectMap["sqlWriterTableType"] = ass.SQLWriterTableType
}
- if asls.Description != nil {
- objectMap["description"] = asls.Description
+ if ass.PreCopyScript != nil {
+ objectMap["preCopyScript"] = ass.PreCopyScript
}
- if asls.Parameters != nil {
- objectMap["parameters"] = asls.Parameters
+ if ass.StoredProcedureParameters != nil {
+ objectMap["storedProcedureParameters"] = ass.StoredProcedureParameters
}
- if asls.Annotations != nil {
- objectMap["annotations"] = asls.Annotations
+ if ass.StoredProcedureTableTypeParameterName != nil {
+ objectMap["storedProcedureTableTypeParameterName"] = ass.StoredProcedureTableTypeParameterName
}
- if asls.Type != "" {
- objectMap["type"] = asls.Type
+ if ass.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = ass.WriteBatchSize
}
- for k, v := range asls.AdditionalProperties {
+ if ass.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = ass.WriteBatchTimeout
+ }
+ if ass.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = ass.SinkRetryCount
+ }
+ if ass.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = ass.SinkRetryWait
+ }
+ if ass.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ass.MaxConcurrentConnections
+ }
+ if ass.Type != "" {
+ objectMap["type"] = ass.Type
+ }
+ for k, v := range ass.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsInformixSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsOdbcSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsOracleSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSQLMISink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+ return &ass, true
+}
+
+// AsSQLServerSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsSQLSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsBlobSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsBinarySink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsParquetSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsCopySink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsCopySink() (*CopySink, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsBasicCopySink is the BasicCopySink implementation for AzureSQLSink.
+func (ass AzureSQLSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &ass, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for AzureSQLSink struct.
+func (ass *AzureSQLSink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "sqlWriterStoredProcedureName":
+ if v != nil {
+ var SQLWriterStoredProcedureName interface{}
+ err = json.Unmarshal(*v, &SQLWriterStoredProcedureName)
+ if err != nil {
+ return err
+ }
+ ass.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName
+ }
+ case "sqlWriterTableType":
+ if v != nil {
+ var SQLWriterTableType interface{}
+ err = json.Unmarshal(*v, &SQLWriterTableType)
+ if err != nil {
+ return err
+ }
+ ass.SQLWriterTableType = SQLWriterTableType
+ }
+ case "preCopyScript":
+ if v != nil {
+ var preCopyScript interface{}
+ err = json.Unmarshal(*v, &preCopyScript)
+ if err != nil {
+ return err
+ }
+ ass.PreCopyScript = preCopyScript
+ }
+ case "storedProcedureParameters":
+ if v != nil {
+ var storedProcedureParameters map[string]*StoredProcedureParameter
+ err = json.Unmarshal(*v, &storedProcedureParameters)
+ if err != nil {
+ return err
+ }
+ ass.StoredProcedureParameters = storedProcedureParameters
+ }
+ case "storedProcedureTableTypeParameterName":
+ if v != nil {
+ var storedProcedureTableTypeParameterName interface{}
+ err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName)
+ if err != nil {
+ return err
+ }
+ ass.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ass.AdditionalProperties == nil {
+ ass.AdditionalProperties = make(map[string]interface{})
+ }
+ ass.AdditionalProperties[k] = additionalProperties
+ }
+ case "writeBatchSize":
+ if v != nil {
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
+ if err != nil {
+ return err
+ }
+ ass.WriteBatchSize = writeBatchSize
+ }
+ case "writeBatchTimeout":
+ if v != nil {
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
+ if err != nil {
+ return err
+ }
+ ass.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ ass.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ ass.SinkRetryWait = sinkRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ ass.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySink
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ass.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// AzureSQLSource a copy activity Azure SQL source.
+type AzureSQLSource struct {
+ // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string).
+ SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"`
+ // SQLReaderStoredProcedureName - Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string).
+ SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"`
+ // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
+ StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"`
+ // ProduceAdditionalTypes - Which additional types to produce.
+ ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for AzureSQLSource.
+func (ass AzureSQLSource) MarshalJSON() ([]byte, error) {
+ ass.Type = TypeAzureSQLSource
+ objectMap := make(map[string]interface{})
+ if ass.SQLReaderQuery != nil {
+ objectMap["sqlReaderQuery"] = ass.SQLReaderQuery
+ }
+ if ass.SQLReaderStoredProcedureName != nil {
+ objectMap["sqlReaderStoredProcedureName"] = ass.SQLReaderStoredProcedureName
+ }
+ if ass.StoredProcedureParameters != nil {
+ objectMap["storedProcedureParameters"] = ass.StoredProcedureParameters
+ }
+ if ass.ProduceAdditionalTypes != nil {
+ objectMap["produceAdditionalTypes"] = ass.ProduceAdditionalTypes
+ }
+ if ass.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ass.SourceRetryCount
+ }
+ if ass.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ass.SourceRetryWait
+ }
+ if ass.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ass.MaxConcurrentConnections
+ }
+ if ass.Type != "" {
+ objectMap["type"] = ass.Type
+ }
+ for k, v := range ass.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return &ass, true
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
- return &asls, true
+// AsSapTableSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
-func (asls AzureStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &asls, true
+// AsSapHanaSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for AzureStorageLinkedService struct.
-func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error {
+// AsSapEccSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for AzureSQLSource.
+func (ass AzureSQLSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ass, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for AzureSQLSource struct.
+func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -29005,71 +31925,89 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "sqlReaderQuery":
if v != nil {
- var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties)
+ var SQLReaderQuery interface{}
+ err = json.Unmarshal(*v, &SQLReaderQuery)
if err != nil {
return err
}
- asls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties
+ ass.SQLReaderQuery = SQLReaderQuery
}
- default:
+ case "sqlReaderStoredProcedureName":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var SQLReaderStoredProcedureName interface{}
+ err = json.Unmarshal(*v, &SQLReaderStoredProcedureName)
if err != nil {
return err
}
- if asls.AdditionalProperties == nil {
- asls.AdditionalProperties = make(map[string]interface{})
+ ass.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName
+ }
+ case "storedProcedureParameters":
+ if v != nil {
+ var storedProcedureParameters map[string]*StoredProcedureParameter
+ err = json.Unmarshal(*v, &storedProcedureParameters)
+ if err != nil {
+ return err
}
- asls.AdditionalProperties[k] = additionalProperties
+ ass.StoredProcedureParameters = storedProcedureParameters
}
- case "connectVia":
+ case "produceAdditionalTypes":
if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
+ var produceAdditionalTypes interface{}
+ err = json.Unmarshal(*v, &produceAdditionalTypes)
if err != nil {
return err
}
- asls.ConnectVia = &connectVia
+ ass.ProduceAdditionalTypes = produceAdditionalTypes
}
- case "description":
+ default:
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- asls.Description = &description
+ if ass.AdditionalProperties == nil {
+ ass.AdditionalProperties = make(map[string]interface{})
+ }
+ ass.AdditionalProperties[k] = additionalProperties
}
- case "parameters":
+ case "sourceRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- asls.Parameters = parameters
+ ass.SourceRetryCount = sourceRetryCount
}
- case "annotations":
+ case "sourceRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- asls.Annotations = &annotations
+ ass.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ ass.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- asls.Type = typeVar
+ ass.Type = typeVar
}
}
}
@@ -29077,24 +32015,10 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureStorageLinkedServiceTypeProperties azure Storage linked service properties.
-type AzureStorageLinkedServiceTypeProperties struct {
- // ConnectionString - The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // AccountKey - The Azure key vault secret reference of accountKey in connection string.
- AccountKey *AzureKeyVaultSecretReference `json:"accountKey,omitempty"`
- // SasURI - SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.
- SasURI interface{} `json:"sasUri,omitempty"`
- // SasToken - The Azure key vault secret reference of sasToken in sas uri.
- SasToken *AzureKeyVaultSecretReference `json:"sasToken,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential *string `json:"encryptedCredential,omitempty"`
-}
-
-// AzureTableDataset the Azure Table storage dataset.
-type AzureTableDataset struct {
- // AzureTableDatasetTypeProperties - Azure Table dataset properties.
- *AzureTableDatasetTypeProperties `json:"typeProperties,omitempty"`
+// AzureSQLTableDataset the Azure SQL Server database dataset.
+type AzureSQLTableDataset struct {
+ // AzureSQLTableDatasetTypeProperties - Azure SQL dataset properties.
+ *AzureSQLTableDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Description - Dataset description.
@@ -29111,399 +32035,449 @@ type AzureTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureTableDataset.
-func (atd AzureTableDataset) MarshalJSON() ([]byte, error) {
- atd.Type = TypeAzureTable
+// MarshalJSON is the custom marshaler for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) MarshalJSON() ([]byte, error) {
+ astd.Type = TypeAzureSQLTable
objectMap := make(map[string]interface{})
- if atd.AzureTableDatasetTypeProperties != nil {
- objectMap["typeProperties"] = atd.AzureTableDatasetTypeProperties
+ if astd.AzureSQLTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = astd.AzureSQLTableDatasetTypeProperties
}
- if atd.Description != nil {
- objectMap["description"] = atd.Description
+ if astd.Description != nil {
+ objectMap["description"] = astd.Description
}
- if atd.Structure != nil {
- objectMap["structure"] = atd.Structure
+ if astd.Structure != nil {
+ objectMap["structure"] = astd.Structure
}
- if atd.Schema != nil {
- objectMap["schema"] = atd.Schema
+ if astd.Schema != nil {
+ objectMap["schema"] = astd.Schema
}
- if atd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = atd.LinkedServiceName
+ if astd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = astd.LinkedServiceName
}
- if atd.Parameters != nil {
- objectMap["parameters"] = atd.Parameters
+ if astd.Parameters != nil {
+ objectMap["parameters"] = astd.Parameters
}
- if atd.Annotations != nil {
- objectMap["annotations"] = atd.Annotations
+ if astd.Annotations != nil {
+ objectMap["annotations"] = astd.Annotations
}
- if atd.Folder != nil {
- objectMap["folder"] = atd.Folder
+ if astd.Folder != nil {
+ objectMap["folder"] = astd.Folder
}
- if atd.Type != "" {
- objectMap["type"] = atd.Type
+ if astd.Type != "" {
+ objectMap["type"] = astd.Type
}
- for k, v := range atd.AdditionalProperties {
+ for k, v := range astd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
- return &atd, true
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsDataset() (*Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for AzureTableDataset.
-func (atd AzureTableDataset) AsBasicDataset() (BasicDataset, bool) {
- return &atd, true
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for AzureTableDataset struct.
-func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return &astd, true
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for AzureSQLTableDataset.
+func (astd AzureSQLTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &astd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for AzureSQLTableDataset struct.
+func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -29513,12 +32487,12 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var azureTableDatasetTypeProperties AzureTableDatasetTypeProperties
- err = json.Unmarshal(*v, &azureTableDatasetTypeProperties)
+ var azureSQLTableDatasetTypeProperties AzureSQLTableDatasetTypeProperties
+ err = json.Unmarshal(*v, &azureSQLTableDatasetTypeProperties)
if err != nil {
return err
}
- atd.AzureTableDatasetTypeProperties = &azureTableDatasetTypeProperties
+ astd.AzureSQLTableDatasetTypeProperties = &azureSQLTableDatasetTypeProperties
}
default:
if v != nil {
@@ -29527,10 +32501,10 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if atd.AdditionalProperties == nil {
- atd.AdditionalProperties = make(map[string]interface{})
+ if astd.AdditionalProperties == nil {
+ astd.AdditionalProperties = make(map[string]interface{})
}
- atd.AdditionalProperties[k] = additionalProperties
+ astd.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -29539,7 +32513,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- atd.Description = &description
+ astd.Description = &description
}
case "structure":
if v != nil {
@@ -29548,7 +32522,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- atd.Structure = structure
+ astd.Structure = structure
}
case "schema":
if v != nil {
@@ -29557,7 +32531,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- atd.Schema = schema
+ astd.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -29566,7 +32540,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- atd.LinkedServiceName = &linkedServiceName
+ astd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -29575,7 +32549,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- atd.Parameters = parameters
+ astd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -29584,7 +32558,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- atd.Annotations = &annotations
+ astd.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -29593,7 +32567,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- atd.Folder = &folder
+ astd.Folder = &folder
}
case "type":
if v != nil {
@@ -29602,7 +32576,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- atd.Type = typeVar
+ astd.Type = typeVar
}
}
}
@@ -29610,703 +32584,520 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureTableDatasetTypeProperties azure Table dataset properties.
-type AzureTableDatasetTypeProperties struct {
- // TableName - The table name of the Azure Table storage. Type: string (or Expression with resultType string).
+// AzureSQLTableDatasetTypeProperties azure SQL dataset properties.
+type AzureSQLTableDatasetTypeProperties struct {
+ // TableName - The table name of the Azure SQL database. Type: string (or Expression with resultType string).
TableName interface{} `json:"tableName,omitempty"`
}
-// AzureTableSink a copy activity Azure Table sink.
-type AzureTableSink struct {
- // AzureTableDefaultPartitionKeyValue - Azure Table default partition key value. Type: string (or Expression with resultType string).
- AzureTableDefaultPartitionKeyValue interface{} `json:"azureTableDefaultPartitionKeyValue,omitempty"`
- // AzureTablePartitionKeyName - Azure Table partition key name. Type: string (or Expression with resultType string).
- AzureTablePartitionKeyName interface{} `json:"azureTablePartitionKeyName,omitempty"`
- // AzureTableRowKeyName - Azure Table row key name. Type: string (or Expression with resultType string).
- AzureTableRowKeyName interface{} `json:"azureTableRowKeyName,omitempty"`
- // AzureTableInsertType - Azure Table insert type. Type: string (or Expression with resultType string).
- AzureTableInsertType interface{} `json:"azureTableInsertType,omitempty"`
+// AzureStorageLinkedService the storage account linked service.
+type AzureStorageLinkedService struct {
+ // AzureStorageLinkedServiceTypeProperties - Azure Storage linked service properties.
+ *AzureStorageLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
- WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
- // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
- // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
- SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
- // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
- Type TypeBasicCopySink `json:"type,omitempty"`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureTableSink.
-func (ats AzureTableSink) MarshalJSON() ([]byte, error) {
- ats.Type = TypeAzureTableSink
+// MarshalJSON is the custom marshaler for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) MarshalJSON() ([]byte, error) {
+ asls.Type = TypeAzureStorage
objectMap := make(map[string]interface{})
- if ats.AzureTableDefaultPartitionKeyValue != nil {
- objectMap["azureTableDefaultPartitionKeyValue"] = ats.AzureTableDefaultPartitionKeyValue
- }
- if ats.AzureTablePartitionKeyName != nil {
- objectMap["azureTablePartitionKeyName"] = ats.AzureTablePartitionKeyName
- }
- if ats.AzureTableRowKeyName != nil {
- objectMap["azureTableRowKeyName"] = ats.AzureTableRowKeyName
- }
- if ats.AzureTableInsertType != nil {
- objectMap["azureTableInsertType"] = ats.AzureTableInsertType
- }
- if ats.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = ats.WriteBatchSize
+ if asls.AzureStorageLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = asls.AzureStorageLinkedServiceTypeProperties
}
- if ats.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = ats.WriteBatchTimeout
+ if asls.ConnectVia != nil {
+ objectMap["connectVia"] = asls.ConnectVia
}
- if ats.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = ats.SinkRetryCount
+ if asls.Description != nil {
+ objectMap["description"] = asls.Description
}
- if ats.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = ats.SinkRetryWait
+ if asls.Parameters != nil {
+ objectMap["parameters"] = asls.Parameters
}
- if ats.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ats.MaxConcurrentConnections
+ if asls.Annotations != nil {
+ objectMap["annotations"] = asls.Annotations
}
- if ats.Type != "" {
- objectMap["type"] = ats.Type
+ if asls.Type != "" {
+ objectMap["type"] = asls.Type
}
- for k, v := range ats.AdditionalProperties {
+ for k, v := range asls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsSalesforceSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsSalesforceSink() (*SalesforceSink, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsDynamicsSink() (*DynamicsSink, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOdbcSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsOdbcSink() (*OdbcSink, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsOracleSink() (*OracleSink, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsSQLDWSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSQLServerSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsSQLSink() (*SQLSink, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsFileSystemSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsFileSystemSink() (*FileSystemSink, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsBlobSink() (*BlobSink, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsParquetSink() (*ParquetSink, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsAzureTableSink() (*AzureTableSink, bool) {
- return &ats, true
-}
-
-// AsAzureQueueSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsCopySink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsCopySink() (*CopySink, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsBasicCopySink is the BasicCopySink implementation for AzureTableSink.
-func (ats AzureTableSink) AsBasicCopySink() (BasicCopySink, bool) {
- return &ats, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for AzureTableSink struct.
-func (ats *AzureTableSink) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "azureTableDefaultPartitionKeyValue":
- if v != nil {
- var azureTableDefaultPartitionKeyValue interface{}
- err = json.Unmarshal(*v, &azureTableDefaultPartitionKeyValue)
- if err != nil {
- return err
- }
- ats.AzureTableDefaultPartitionKeyValue = azureTableDefaultPartitionKeyValue
- }
- case "azureTablePartitionKeyName":
- if v != nil {
- var azureTablePartitionKeyName interface{}
- err = json.Unmarshal(*v, &azureTablePartitionKeyName)
- if err != nil {
- return err
- }
- ats.AzureTablePartitionKeyName = azureTablePartitionKeyName
- }
- case "azureTableRowKeyName":
- if v != nil {
- var azureTableRowKeyName interface{}
- err = json.Unmarshal(*v, &azureTableRowKeyName)
- if err != nil {
- return err
- }
- ats.AzureTableRowKeyName = azureTableRowKeyName
- }
- case "azureTableInsertType":
- if v != nil {
- var azureTableInsertType interface{}
- err = json.Unmarshal(*v, &azureTableInsertType)
- if err != nil {
- return err
- }
- ats.AzureTableInsertType = azureTableInsertType
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if ats.AdditionalProperties == nil {
- ats.AdditionalProperties = make(map[string]interface{})
- }
- ats.AdditionalProperties[k] = additionalProperties
- }
- case "writeBatchSize":
- if v != nil {
- var writeBatchSize interface{}
- err = json.Unmarshal(*v, &writeBatchSize)
- if err != nil {
- return err
- }
- ats.WriteBatchSize = writeBatchSize
- }
- case "writeBatchTimeout":
- if v != nil {
- var writeBatchTimeout interface{}
- err = json.Unmarshal(*v, &writeBatchTimeout)
- if err != nil {
- return err
- }
- ats.WriteBatchTimeout = writeBatchTimeout
- }
- case "sinkRetryCount":
- if v != nil {
- var sinkRetryCount interface{}
- err = json.Unmarshal(*v, &sinkRetryCount)
- if err != nil {
- return err
- }
- ats.SinkRetryCount = sinkRetryCount
- }
- case "sinkRetryWait":
- if v != nil {
- var sinkRetryWait interface{}
- err = json.Unmarshal(*v, &sinkRetryWait)
- if err != nil {
- return err
- }
- ats.SinkRetryWait = sinkRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- ats.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySink
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ats.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// AzureTableSource a copy activity Azure Table source.
-type AzureTableSource struct {
- // AzureTableSourceQuery - Azure Table source query. Type: string (or Expression with resultType string).
- AzureTableSourceQuery interface{} `json:"azureTableSourceQuery,omitempty"`
- // AzureTableSourceIgnoreTableNotFound - Azure Table source ignore table not found. Type: boolean (or Expression with resultType boolean).
- AzureTableSourceIgnoreTableNotFound interface{} `json:"azureTableSourceIgnoreTableNotFound,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for AzureTableSource.
-func (ats AzureTableSource) MarshalJSON() ([]byte, error) {
- ats.Type = TypeAzureTableSource
- objectMap := make(map[string]interface{})
- if ats.AzureTableSourceQuery != nil {
- objectMap["azureTableSourceQuery"] = ats.AzureTableSourceQuery
- }
- if ats.AzureTableSourceIgnoreTableNotFound != nil {
- objectMap["azureTableSourceIgnoreTableNotFound"] = ats.AzureTableSourceIgnoreTableNotFound
- }
- if ats.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ats.SourceRetryCount
- }
- if ats.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ats.SourceRetryWait
- }
- if ats.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ats.MaxConcurrentConnections
- }
- if ats.Type != "" {
- objectMap["type"] = ats.Type
- }
- for k, v := range ats.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsPaypalLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsZohoSource() (*ZohoSource, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsXeroSource() (*XeroSource, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSquareSource() (*SquareSource, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSparkSource() (*SparkSource, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsShopifySource() (*ShopifySource, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsJiraSource() (*JiraSource, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsHiveSource() (*HiveSource, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsDrillSource() (*DrillSource, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsConcurSource() (*ConcurSource, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsOffice365Source() (*Office365Source, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsWebSource() (*WebSource, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsOracleSource() (*OracleSource, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSQLSource() (*SQLSource, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsRestSource() (*RestSource, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsBlobSource() (*BlobSource, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsAzureTableSource() (*AzureTableSource, bool) {
- return &ats, true
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsParquetSource() (*ParquetSource, bool) {
- return nil, false
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return &asls, true
}
-// AsCopySource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsCopySource() (*CopySource, bool) {
+// AsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for AzureTableSource.
-func (ats AzureTableSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ats, true
+// AsBasicLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
+func (asls AzureStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &asls, true
}
-// UnmarshalJSON is the custom unmarshaler for AzureTableSource struct.
-func (ats *AzureTableSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AzureStorageLinkedService struct.
+func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -30314,71 +33105,71 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "azureTableSourceQuery":
+ case "typeProperties":
if v != nil {
- var azureTableSourceQuery interface{}
- err = json.Unmarshal(*v, &azureTableSourceQuery)
+ var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties)
if err != nil {
return err
}
- ats.AzureTableSourceQuery = azureTableSourceQuery
+ asls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties
}
- case "azureTableSourceIgnoreTableNotFound":
+ default:
if v != nil {
- var azureTableSourceIgnoreTableNotFound interface{}
- err = json.Unmarshal(*v, &azureTableSourceIgnoreTableNotFound)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- ats.AzureTableSourceIgnoreTableNotFound = azureTableSourceIgnoreTableNotFound
+ if asls.AdditionalProperties == nil {
+ asls.AdditionalProperties = make(map[string]interface{})
+ }
+ asls.AdditionalProperties[k] = additionalProperties
}
- default:
+ case "connectVia":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- if ats.AdditionalProperties == nil {
- ats.AdditionalProperties = make(map[string]interface{})
- }
- ats.AdditionalProperties[k] = additionalProperties
+ asls.ConnectVia = &connectVia
}
- case "sourceRetryCount":
+ case "description":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- ats.SourceRetryCount = sourceRetryCount
+ asls.Description = &description
}
- case "sourceRetryWait":
+ case "parameters":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- ats.SourceRetryWait = sourceRetryWait
+ asls.Parameters = parameters
}
- case "maxConcurrentConnections":
+ case "annotations":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- ats.MaxConcurrentConnections = maxConcurrentConnections
+ asls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ats.Type = typeVar
+ asls.Type = typeVar
}
}
}
@@ -30386,484 +33177,483 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error {
return nil
}
-// AzureTableStorageLinkedService the azure table storage linked service.
-type AzureTableStorageLinkedService struct {
- // AzureStorageLinkedServiceTypeProperties - Azure Table Storage linked service properties.
- *AzureStorageLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// AzureStorageLinkedServiceTypeProperties azure Storage linked service properties.
+type AzureStorageLinkedServiceTypeProperties struct {
+ // ConnectionString - The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // AccountKey - The Azure key vault secret reference of accountKey in connection string.
+ AccountKey *AzureKeyVaultSecretReference `json:"accountKey,omitempty"`
+ // SasURI - SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.
+ SasURI interface{} `json:"sasUri,omitempty"`
+ // SasToken - The Azure key vault secret reference of sasToken in sas uri.
+ SasToken *AzureKeyVaultSecretReference `json:"sasToken,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential *string `json:"encryptedCredential,omitempty"`
+}
+
+// AzureTableDataset the Azure Table storage dataset.
+type AzureTableDataset struct {
+ // AzureTableDatasetTypeProperties - Azure Table dataset properties.
+ *AzureTableDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
+ // Annotations - List of tags that can be used for describing the Dataset.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) MarshalJSON() ([]byte, error) {
- atsls.Type = TypeAzureTableStorage
+// MarshalJSON is the custom marshaler for AzureTableDataset.
+func (atd AzureTableDataset) MarshalJSON() ([]byte, error) {
+ atd.Type = TypeAzureTable
objectMap := make(map[string]interface{})
- if atsls.AzureStorageLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = atsls.AzureStorageLinkedServiceTypeProperties
+ if atd.AzureTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = atd.AzureTableDatasetTypeProperties
}
- if atsls.ConnectVia != nil {
- objectMap["connectVia"] = atsls.ConnectVia
+ if atd.Description != nil {
+ objectMap["description"] = atd.Description
}
- if atsls.Description != nil {
- objectMap["description"] = atsls.Description
+ if atd.Structure != nil {
+ objectMap["structure"] = atd.Structure
}
- if atsls.Parameters != nil {
- objectMap["parameters"] = atsls.Parameters
+ if atd.Schema != nil {
+ objectMap["schema"] = atd.Schema
}
- if atsls.Annotations != nil {
- objectMap["annotations"] = atsls.Annotations
+ if atd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = atd.LinkedServiceName
}
- if atsls.Type != "" {
- objectMap["type"] = atsls.Type
+ if atd.Parameters != nil {
+ objectMap["parameters"] = atd.Parameters
}
- for k, v := range atsls.AdditionalProperties {
+ if atd.Annotations != nil {
+ objectMap["annotations"] = atd.Annotations
+ }
+ if atd.Folder != nil {
+ objectMap["folder"] = atd.Folder
+ }
+ if atd.Type != "" {
+ objectMap["type"] = atd.Type
+ }
+ for k, v := range atd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
- return nil, false
-}
-
-// AsJiraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
- return nil, false
-}
-
-// AsImpalaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
- return nil, false
-}
-
-// AsHubspotLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
- return nil, false
-}
-
-// AsHiveLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
- return nil, false
-}
-
-// AsHBaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsFileShareDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsCustomDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
- return nil, false
+// AsAzureTableDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return &atd, true
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsBinaryDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
- return &atsls, true
-}
-
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsParquetDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
-func (atsls AzureTableStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &atsls, true
+// AsBasicDataset is the BasicDataset implementation for AzureTableDataset.
+func (atd AzureTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &atd, true
}
-// UnmarshalJSON is the custom unmarshaler for AzureTableStorageLinkedService struct.
-func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AzureTableDataset struct.
+func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -30873,12 +33663,12 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties)
+ var azureTableDatasetTypeProperties AzureTableDatasetTypeProperties
+ err = json.Unmarshal(*v, &azureTableDatasetTypeProperties)
if err != nil {
return err
}
- atsls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties
+ atd.AzureTableDatasetTypeProperties = &azureTableDatasetTypeProperties
}
default:
if v != nil {
@@ -30887,19 +33677,10 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if atsls.AdditionalProperties == nil {
- atsls.AdditionalProperties = make(map[string]interface{})
- }
- atsls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if atd.AdditionalProperties == nil {
+ atd.AdditionalProperties = make(map[string]interface{})
}
- atsls.ConnectVia = &connectVia
+ atd.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -30908,203 +33689,70 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- atsls.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- atsls.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- atsls.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- atsls.Type = typeVar
+ atd.Description = &description
}
- }
- }
-
- return nil
-}
-
-// BlobEventsTrigger trigger that runs every time a Blob event occurs.
-type BlobEventsTrigger struct {
- // BlobEventsTriggerTypeProperties - Blob Events Trigger properties.
- *BlobEventsTriggerTypeProperties `json:"typeProperties,omitempty"`
- // Pipelines - Pipelines that need to be started.
- Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Trigger description.
- Description *string `json:"description,omitempty"`
- // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
- RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
- // Annotations - List of tags that can be used for describing the trigger.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
- Type TypeBasicTrigger `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for BlobEventsTrigger.
-func (bet BlobEventsTrigger) MarshalJSON() ([]byte, error) {
- bet.Type = TypeBlobEventsTrigger
- objectMap := make(map[string]interface{})
- if bet.BlobEventsTriggerTypeProperties != nil {
- objectMap["typeProperties"] = bet.BlobEventsTriggerTypeProperties
- }
- if bet.Pipelines != nil {
- objectMap["pipelines"] = bet.Pipelines
- }
- if bet.Description != nil {
- objectMap["description"] = bet.Description
- }
- if bet.Annotations != nil {
- objectMap["annotations"] = bet.Annotations
- }
- if bet.Type != "" {
- objectMap["type"] = bet.Type
- }
- for k, v := range bet.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobEventsTrigger.
-func (bet BlobEventsTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) {
- return nil, false
-}
-
-// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobEventsTrigger.
-func (bet BlobEventsTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
- return nil, false
-}
-
-// AsBlobEventsTrigger is the BasicTrigger implementation for BlobEventsTrigger.
-func (bet BlobEventsTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) {
- return &bet, true
-}
-
-// AsBlobTrigger is the BasicTrigger implementation for BlobEventsTrigger.
-func (bet BlobEventsTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
- return nil, false
-}
-
-// AsScheduleTrigger is the BasicTrigger implementation for BlobEventsTrigger.
-func (bet BlobEventsTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
- return nil, false
-}
-
-// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobEventsTrigger.
-func (bet BlobEventsTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
- return nil, false
-}
-
-// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobEventsTrigger.
-func (bet BlobEventsTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
- return &bet, true
-}
-
-// AsTrigger is the BasicTrigger implementation for BlobEventsTrigger.
-func (bet BlobEventsTrigger) AsTrigger() (*Trigger, bool) {
- return nil, false
-}
-
-// AsBasicTrigger is the BasicTrigger implementation for BlobEventsTrigger.
-func (bet BlobEventsTrigger) AsBasicTrigger() (BasicTrigger, bool) {
- return &bet, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for BlobEventsTrigger struct.
-func (bet *BlobEventsTrigger) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
+ case "structure":
if v != nil {
- var blobEventsTriggerTypeProperties BlobEventsTriggerTypeProperties
- err = json.Unmarshal(*v, &blobEventsTriggerTypeProperties)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- bet.BlobEventsTriggerTypeProperties = &blobEventsTriggerTypeProperties
+ atd.Structure = structure
}
- case "pipelines":
+ case "schema":
if v != nil {
- var pipelines []TriggerPipelineReference
- err = json.Unmarshal(*v, &pipelines)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- bet.Pipelines = &pipelines
+ atd.Schema = schema
}
- default:
+ case "linkedServiceName":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- if bet.AdditionalProperties == nil {
- bet.AdditionalProperties = make(map[string]interface{})
- }
- bet.AdditionalProperties[k] = additionalProperties
+ atd.LinkedServiceName = &linkedServiceName
}
- case "description":
+ case "parameters":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- bet.Description = &description
+ atd.Parameters = parameters
}
- case "runtimeState":
+ case "annotations":
if v != nil {
- var runtimeState TriggerRuntimeState
- err = json.Unmarshal(*v, &runtimeState)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- bet.RuntimeState = runtimeState
+ atd.Annotations = &annotations
}
- case "annotations":
+ case "folder":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
if err != nil {
return err
}
- bet.Annotations = &annotations
+ atd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicTrigger
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- bet.Type = typeVar
+ atd.Type = typeVar
}
}
}
@@ -31112,28 +33760,22 @@ func (bet *BlobEventsTrigger) UnmarshalJSON(body []byte) error {
return nil
}
-// BlobEventsTriggerTypeProperties blob Events Trigger properties.
-type BlobEventsTriggerTypeProperties struct {
- // BlobPathBeginsWith - The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.
- BlobPathBeginsWith *string `json:"blobPathBeginsWith,omitempty"`
- // BlobPathEndsWith - The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.
- BlobPathEndsWith *string `json:"blobPathEndsWith,omitempty"`
- // Events - The type of events that cause this trigger to fire.
- Events *[]BlobEventTypes `json:"events,omitempty"`
- // Scope - The ARM resource ID of the Storage Account.
- Scope *string `json:"scope,omitempty"`
+// AzureTableDatasetTypeProperties azure Table dataset properties.
+type AzureTableDatasetTypeProperties struct {
+ // TableName - The table name of the Azure Table storage. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
}
-// BlobSink a copy activity Azure Blob sink.
-type BlobSink struct {
- // BlobWriterOverwriteFiles - Blob writer overwrite files. Type: boolean (or Expression with resultType boolean).
- BlobWriterOverwriteFiles interface{} `json:"blobWriterOverwriteFiles,omitempty"`
- // BlobWriterDateTimeFormat - Blob writer date time format. Type: string (or Expression with resultType string).
- BlobWriterDateTimeFormat interface{} `json:"blobWriterDateTimeFormat,omitempty"`
- // BlobWriterAddHeader - Blob writer add header. Type: boolean (or Expression with resultType boolean).
- BlobWriterAddHeader interface{} `json:"blobWriterAddHeader,omitempty"`
- // CopyBehavior - The type of copy behavior for copy sink.
- CopyBehavior interface{} `json:"copyBehavior,omitempty"`
+// AzureTableSink a copy activity Azure Table sink.
+type AzureTableSink struct {
+ // AzureTableDefaultPartitionKeyValue - Azure Table default partition key value. Type: string (or Expression with resultType string).
+ AzureTableDefaultPartitionKeyValue interface{} `json:"azureTableDefaultPartitionKeyValue,omitempty"`
+ // AzureTablePartitionKeyName - Azure Table partition key name. Type: string (or Expression with resultType string).
+ AzureTablePartitionKeyName interface{} `json:"azureTablePartitionKeyName,omitempty"`
+ // AzureTableRowKeyName - Azure Table row key name. Type: string (or Expression with resultType string).
+ AzureTableRowKeyName interface{} `json:"azureTableRowKeyName,omitempty"`
+ // AzureTableInsertType - Azure Table insert type. Type: string (or Expression with resultType string).
+ AzureTableInsertType interface{} `json:"azureTableInsertType,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
@@ -31146,167 +33788,207 @@ type BlobSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for BlobSink.
-func (bs BlobSink) MarshalJSON() ([]byte, error) {
- bs.Type = TypeBlobSink
+// MarshalJSON is the custom marshaler for AzureTableSink.
+func (ats AzureTableSink) MarshalJSON() ([]byte, error) {
+ ats.Type = TypeAzureTableSink
objectMap := make(map[string]interface{})
- if bs.BlobWriterOverwriteFiles != nil {
- objectMap["blobWriterOverwriteFiles"] = bs.BlobWriterOverwriteFiles
+ if ats.AzureTableDefaultPartitionKeyValue != nil {
+ objectMap["azureTableDefaultPartitionKeyValue"] = ats.AzureTableDefaultPartitionKeyValue
}
- if bs.BlobWriterDateTimeFormat != nil {
- objectMap["blobWriterDateTimeFormat"] = bs.BlobWriterDateTimeFormat
+ if ats.AzureTablePartitionKeyName != nil {
+ objectMap["azureTablePartitionKeyName"] = ats.AzureTablePartitionKeyName
}
- if bs.BlobWriterAddHeader != nil {
- objectMap["blobWriterAddHeader"] = bs.BlobWriterAddHeader
+ if ats.AzureTableRowKeyName != nil {
+ objectMap["azureTableRowKeyName"] = ats.AzureTableRowKeyName
}
- if bs.CopyBehavior != nil {
- objectMap["copyBehavior"] = bs.CopyBehavior
+ if ats.AzureTableInsertType != nil {
+ objectMap["azureTableInsertType"] = ats.AzureTableInsertType
}
- if bs.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = bs.WriteBatchSize
+ if ats.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = ats.WriteBatchSize
}
- if bs.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = bs.WriteBatchTimeout
+ if ats.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = ats.WriteBatchTimeout
}
- if bs.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = bs.SinkRetryCount
+ if ats.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = ats.SinkRetryCount
}
- if bs.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = bs.SinkRetryWait
+ if ats.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = ats.SinkRetryWait
}
- if bs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections
+ if ats.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ats.MaxConcurrentConnections
}
- if bs.Type != "" {
- objectMap["type"] = bs.Type
+ if ats.Type != "" {
+ objectMap["type"] = ats.Type
}
- for k, v := range bs.AdditionalProperties {
+ for k, v := range ats.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsSalesforceSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsSalesforceSink() (*SalesforceSink, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsDynamicsSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsDynamicsSink() (*DynamicsSink, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsOdbcSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsOdbcSink() (*OdbcSink, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsOracleSink() (*OracleSink, bool) {
+// AsInformixSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsSQLDWSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsOdbcSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsSQLServerSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsSQLSink() (*SQLSink, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+// AsOracleSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsFileSystemSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsFileSystemSink() (*FileSystemSink, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsBlobSink() (*BlobSink, bool) {
- return &bs, true
+// AsSQLMISink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsParquetSink() (*ParquetSink, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsAzureTableSink() (*AzureTableSink, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsAzureQueueSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsSQLSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsCopySink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsCopySink() (*CopySink, bool) {
+// AsBlobSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsBasicCopySink is the BasicCopySink implementation for BlobSink.
-func (bs BlobSink) AsBasicCopySink() (BasicCopySink, bool) {
- return &bs, true
+// AsBinarySink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for BlobSink struct.
-func (bs *BlobSink) UnmarshalJSON(body []byte) error {
+// AsParquetSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsParquetSink() (*ParquetSink, bool) {
+ return nil, false
+}
+
+// AsAzureTableSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsAzureTableSink() (*AzureTableSink, bool) {
+ return &ats, true
+}
+
+// AsAzureQueueSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+ return nil, false
+}
+
+// AsCopySink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsCopySink() (*CopySink, bool) {
+ return nil, false
+}
+
+// AsBasicCopySink is the BasicCopySink implementation for AzureTableSink.
+func (ats AzureTableSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &ats, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for AzureTableSink struct.
+func (ats *AzureTableSink) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -31314,41 +33996,41 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "blobWriterOverwriteFiles":
+ case "azureTableDefaultPartitionKeyValue":
if v != nil {
- var blobWriterOverwriteFiles interface{}
- err = json.Unmarshal(*v, &blobWriterOverwriteFiles)
+ var azureTableDefaultPartitionKeyValue interface{}
+ err = json.Unmarshal(*v, &azureTableDefaultPartitionKeyValue)
if err != nil {
return err
}
- bs.BlobWriterOverwriteFiles = blobWriterOverwriteFiles
+ ats.AzureTableDefaultPartitionKeyValue = azureTableDefaultPartitionKeyValue
}
- case "blobWriterDateTimeFormat":
+ case "azureTablePartitionKeyName":
if v != nil {
- var blobWriterDateTimeFormat interface{}
- err = json.Unmarshal(*v, &blobWriterDateTimeFormat)
+ var azureTablePartitionKeyName interface{}
+ err = json.Unmarshal(*v, &azureTablePartitionKeyName)
if err != nil {
return err
}
- bs.BlobWriterDateTimeFormat = blobWriterDateTimeFormat
+ ats.AzureTablePartitionKeyName = azureTablePartitionKeyName
}
- case "blobWriterAddHeader":
+ case "azureTableRowKeyName":
if v != nil {
- var blobWriterAddHeader interface{}
- err = json.Unmarshal(*v, &blobWriterAddHeader)
+ var azureTableRowKeyName interface{}
+ err = json.Unmarshal(*v, &azureTableRowKeyName)
if err != nil {
return err
}
- bs.BlobWriterAddHeader = blobWriterAddHeader
+ ats.AzureTableRowKeyName = azureTableRowKeyName
}
- case "copyBehavior":
+ case "azureTableInsertType":
if v != nil {
- var copyBehavior interface{}
- err = json.Unmarshal(*v, ©Behavior)
+ var azureTableInsertType interface{}
+ err = json.Unmarshal(*v, &azureTableInsertType)
if err != nil {
return err
}
- bs.CopyBehavior = copyBehavior
+ ats.AzureTableInsertType = azureTableInsertType
}
default:
if v != nil {
@@ -31357,10 +34039,10 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if bs.AdditionalProperties == nil {
- bs.AdditionalProperties = make(map[string]interface{})
+ if ats.AdditionalProperties == nil {
+ ats.AdditionalProperties = make(map[string]interface{})
}
- bs.AdditionalProperties[k] = additionalProperties
+ ats.AdditionalProperties[k] = additionalProperties
}
case "writeBatchSize":
if v != nil {
@@ -31369,7 +34051,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- bs.WriteBatchSize = writeBatchSize
+ ats.WriteBatchSize = writeBatchSize
}
case "writeBatchTimeout":
if v != nil {
@@ -31378,7 +34060,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- bs.WriteBatchTimeout = writeBatchTimeout
+ ats.WriteBatchTimeout = writeBatchTimeout
}
case "sinkRetryCount":
if v != nil {
@@ -31387,7 +34069,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- bs.SinkRetryCount = sinkRetryCount
+ ats.SinkRetryCount = sinkRetryCount
}
case "sinkRetryWait":
if v != nil {
@@ -31396,7 +34078,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- bs.SinkRetryWait = sinkRetryWait
+ ats.SinkRetryWait = sinkRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -31405,7 +34087,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- bs.MaxConcurrentConnections = maxConcurrentConnections
+ ats.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -31414,7 +34096,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- bs.Type = typeVar
+ ats.Type = typeVar
}
}
}
@@ -31422,14 +34104,12 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error {
return nil
}
-// BlobSource a copy activity Azure Blob source.
-type BlobSource struct {
- // TreatEmptyAsNull - Treat empty as null. Type: boolean (or Expression with resultType boolean).
- TreatEmptyAsNull interface{} `json:"treatEmptyAsNull,omitempty"`
- // SkipHeaderLineCount - Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer).
- SkipHeaderLineCount interface{} `json:"skipHeaderLineCount,omitempty"`
- // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
- Recursive interface{} `json:"recursive,omitempty"`
+// AzureTableSource a copy activity Azure Table source.
+type AzureTableSource struct {
+ // AzureTableSourceQuery - Azure Table source query. Type: string (or Expression with resultType string).
+ AzureTableSourceQuery interface{} `json:"azureTableSourceQuery,omitempty"`
+ // AzureTableSourceIgnoreTableNotFound - Azure Table source ignore table not found. Type: boolean (or Expression with resultType boolean).
+ AzureTableSourceIgnoreTableNotFound interface{} `json:"azureTableSourceIgnoreTableNotFound,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
@@ -31438,566 +34118,450 @@ type BlobSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for BlobSource.
-func (bs BlobSource) MarshalJSON() ([]byte, error) {
- bs.Type = TypeBlobSource
+// MarshalJSON is the custom marshaler for AzureTableSource.
+func (ats AzureTableSource) MarshalJSON() ([]byte, error) {
+ ats.Type = TypeAzureTableSource
objectMap := make(map[string]interface{})
- if bs.TreatEmptyAsNull != nil {
- objectMap["treatEmptyAsNull"] = bs.TreatEmptyAsNull
- }
- if bs.SkipHeaderLineCount != nil {
- objectMap["skipHeaderLineCount"] = bs.SkipHeaderLineCount
+ if ats.AzureTableSourceQuery != nil {
+ objectMap["azureTableSourceQuery"] = ats.AzureTableSourceQuery
}
- if bs.Recursive != nil {
- objectMap["recursive"] = bs.Recursive
+ if ats.AzureTableSourceIgnoreTableNotFound != nil {
+ objectMap["azureTableSourceIgnoreTableNotFound"] = ats.AzureTableSourceIgnoreTableNotFound
}
- if bs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = bs.SourceRetryCount
+ if ats.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ats.SourceRetryCount
}
- if bs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = bs.SourceRetryWait
+ if ats.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ats.SourceRetryWait
}
- if bs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections
+ if ats.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ats.MaxConcurrentConnections
}
- if bs.Type != "" {
- objectMap["type"] = bs.Type
+ if ats.Type != "" {
+ objectMap["type"] = ats.Type
}
- for k, v := range bs.AdditionalProperties {
+ for k, v := range ats.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifySource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsOffice365Source() (*Office365Source, bool) {
+// AsOffice365Source is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsWebSource() (*WebSource, bool) {
+// AsWebSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsOracleSource() (*OracleSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsRestSource() (*RestSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsRestSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsODataSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsBlobSource() (*BlobSource, bool) {
- return &bs, true
+// AsSybaseSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsParquetSource() (*ParquetSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsCopySource() (*CopySource, bool) {
+// AsDb2Source is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for BlobSource.
-func (bs BlobSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &bs, true
+// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for BlobSource struct.
-func (bs *BlobSource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "treatEmptyAsNull":
- if v != nil {
- var treatEmptyAsNull interface{}
- err = json.Unmarshal(*v, &treatEmptyAsNull)
- if err != nil {
- return err
- }
- bs.TreatEmptyAsNull = treatEmptyAsNull
- }
- case "skipHeaderLineCount":
- if v != nil {
- var skipHeaderLineCount interface{}
- err = json.Unmarshal(*v, &skipHeaderLineCount)
- if err != nil {
- return err
- }
- bs.SkipHeaderLineCount = skipHeaderLineCount
- }
- case "recursive":
- if v != nil {
- var recursive interface{}
- err = json.Unmarshal(*v, &recursive)
- if err != nil {
- return err
- }
- bs.Recursive = recursive
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if bs.AdditionalProperties == nil {
- bs.AdditionalProperties = make(map[string]interface{})
- }
- bs.AdditionalProperties[k] = additionalProperties
- }
- case "sourceRetryCount":
- if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
- if err != nil {
- return err
- }
- bs.SourceRetryCount = sourceRetryCount
- }
- case "sourceRetryWait":
- if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
- if err != nil {
- return err
- }
- bs.SourceRetryWait = sourceRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- bs.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- bs.Type = typeVar
- }
- }
- }
+// AsInformixSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
- return nil
+// AsRelationalSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
}
-// BlobTrigger trigger that runs every time the selected Blob container changes.
-type BlobTrigger struct {
- // BlobTriggerTypeProperties - Blob Trigger properties.
- *BlobTriggerTypeProperties `json:"typeProperties,omitempty"`
- // Pipelines - Pipelines that need to be started.
- Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Trigger description.
- Description *string `json:"description,omitempty"`
- // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
- RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
- // Annotations - List of tags that can be used for describing the trigger.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
- Type TypeBasicTrigger `json:"type,omitempty"`
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for BlobTrigger.
-func (bt BlobTrigger) MarshalJSON() ([]byte, error) {
- bt.Type = TypeBlobTrigger
- objectMap := make(map[string]interface{})
- if bt.BlobTriggerTypeProperties != nil {
- objectMap["typeProperties"] = bt.BlobTriggerTypeProperties
- }
- if bt.Pipelines != nil {
- objectMap["pipelines"] = bt.Pipelines
- }
- if bt.Description != nil {
- objectMap["description"] = bt.Description
- }
- if bt.Annotations != nil {
- objectMap["annotations"] = bt.Annotations
- }
- if bt.Type != "" {
- objectMap["type"] = bt.Type
- }
- for k, v := range bt.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsDynamicsCrmSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
}
-// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger.
-func (bt BlobTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger.
-func (bt BlobTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsBlobEventsTrigger is the BasicTrigger implementation for BlobTrigger.
-func (bt BlobTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) {
+// AsBlobSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsBlobTrigger is the BasicTrigger implementation for BlobTrigger.
-func (bt BlobTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
- return &bt, true
+// AsAzureTableSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return &ats, true
}
-// AsScheduleTrigger is the BasicTrigger implementation for BlobTrigger.
-func (bt BlobTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
+// AsBinarySource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger.
-func (bt BlobTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger.
-func (bt BlobTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
- return &bt, true
+// AsParquetSource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
}
-// AsTrigger is the BasicTrigger implementation for BlobTrigger.
-func (bt BlobTrigger) AsTrigger() (*Trigger, bool) {
+// AsCopySource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicTrigger is the BasicTrigger implementation for BlobTrigger.
-func (bt BlobTrigger) AsBasicTrigger() (BasicTrigger, bool) {
- return &bt, true
+// AsBasicCopySource is the BasicCopySource implementation for AzureTableSource.
+func (ats AzureTableSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ats, true
}
-// UnmarshalJSON is the custom unmarshaler for BlobTrigger struct.
-func (bt *BlobTrigger) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for AzureTableSource struct.
+func (ats *AzureTableSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -32005,23 +34569,23 @@ func (bt *BlobTrigger) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "azureTableSourceQuery":
if v != nil {
- var blobTriggerTypeProperties BlobTriggerTypeProperties
- err = json.Unmarshal(*v, &blobTriggerTypeProperties)
+ var azureTableSourceQuery interface{}
+ err = json.Unmarshal(*v, &azureTableSourceQuery)
if err != nil {
return err
}
- bt.BlobTriggerTypeProperties = &blobTriggerTypeProperties
+ ats.AzureTableSourceQuery = azureTableSourceQuery
}
- case "pipelines":
+ case "azureTableSourceIgnoreTableNotFound":
if v != nil {
- var pipelines []TriggerPipelineReference
- err = json.Unmarshal(*v, &pipelines)
+ var azureTableSourceIgnoreTableNotFound interface{}
+ err = json.Unmarshal(*v, &azureTableSourceIgnoreTableNotFound)
if err != nil {
return err
}
- bt.Pipelines = &pipelines
+ ats.AzureTableSourceIgnoreTableNotFound = azureTableSourceIgnoreTableNotFound
}
default:
if v != nil {
@@ -32030,46 +34594,46 @@ func (bt *BlobTrigger) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if bt.AdditionalProperties == nil {
- bt.AdditionalProperties = make(map[string]interface{})
+ if ats.AdditionalProperties == nil {
+ ats.AdditionalProperties = make(map[string]interface{})
}
- bt.AdditionalProperties[k] = additionalProperties
+ ats.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- bt.Description = &description
+ ats.SourceRetryCount = sourceRetryCount
}
- case "runtimeState":
+ case "sourceRetryWait":
if v != nil {
- var runtimeState TriggerRuntimeState
- err = json.Unmarshal(*v, &runtimeState)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- bt.RuntimeState = runtimeState
+ ats.SourceRetryWait = sourceRetryWait
}
- case "annotations":
+ case "maxConcurrentConnections":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- bt.Annotations = &annotations
+ ats.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicTrigger
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- bt.Type = typeVar
+ ats.Type = typeVar
}
}
}
@@ -32077,20 +34641,10 @@ func (bt *BlobTrigger) UnmarshalJSON(body []byte) error {
return nil
}
-// BlobTriggerTypeProperties blob Trigger properties.
-type BlobTriggerTypeProperties struct {
- // FolderPath - The path of the container/folder that will trigger the pipeline.
- FolderPath *string `json:"folderPath,omitempty"`
- // MaxConcurrency - The max number of parallel files to handle when it is triggered.
- MaxConcurrency *int32 `json:"maxConcurrency,omitempty"`
- // LinkedService - The Azure Storage linked service reference.
- LinkedService *LinkedServiceReference `json:"linkedService,omitempty"`
-}
-
-// CassandraLinkedService linked service for Cassandra data source.
-type CassandraLinkedService struct {
- // CassandraLinkedServiceTypeProperties - Cassandra linked service properties.
- *CassandraLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// AzureTableStorageLinkedService the azure table storage linked service.
+type AzureTableStorageLinkedService struct {
+ // AzureStorageLinkedServiceTypeProperties - Azure Table Storage linked service properties.
+ *AzureStorageLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -32101,470 +34655,500 @@ type CassandraLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CassandraLinkedService.
-func (cls CassandraLinkedService) MarshalJSON() ([]byte, error) {
- cls.Type = TypeCassandra
+// MarshalJSON is the custom marshaler for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) MarshalJSON() ([]byte, error) {
+ atsls.Type = TypeAzureTableStorage
objectMap := make(map[string]interface{})
- if cls.CassandraLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = cls.CassandraLinkedServiceTypeProperties
+ if atsls.AzureStorageLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = atsls.AzureStorageLinkedServiceTypeProperties
}
- if cls.ConnectVia != nil {
- objectMap["connectVia"] = cls.ConnectVia
+ if atsls.ConnectVia != nil {
+ objectMap["connectVia"] = atsls.ConnectVia
}
- if cls.Description != nil {
- objectMap["description"] = cls.Description
+ if atsls.Description != nil {
+ objectMap["description"] = atsls.Description
}
- if cls.Parameters != nil {
- objectMap["parameters"] = cls.Parameters
+ if atsls.Parameters != nil {
+ objectMap["parameters"] = atsls.Parameters
}
- if cls.Annotations != nil {
- objectMap["annotations"] = cls.Annotations
+ if atsls.Annotations != nil {
+ objectMap["annotations"] = atsls.Annotations
}
- if cls.Type != "" {
- objectMap["type"] = cls.Type
+ if atsls.Type != "" {
+ objectMap["type"] = atsls.Type
}
- for k, v := range cls.AdditionalProperties {
+ for k, v := range atsls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
- return &cls, true
+// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
-func (cls CassandraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &cls, true
+// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for CassandraLinkedService struct.
-func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return &atsls, true
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService.
+func (atsls AzureTableStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &atsls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for AzureTableStorageLinkedService struct.
+func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -32574,12 +35158,12 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var cassandraLinkedServiceTypeProperties CassandraLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &cassandraLinkedServiceTypeProperties)
+ var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties)
if err != nil {
return err
}
- cls.CassandraLinkedServiceTypeProperties = &cassandraLinkedServiceTypeProperties
+ atsls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -32588,10 +35172,10 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if cls.AdditionalProperties == nil {
- cls.AdditionalProperties = make(map[string]interface{})
+ if atsls.AdditionalProperties == nil {
+ atsls.AdditionalProperties = make(map[string]interface{})
}
- cls.AdditionalProperties[k] = additionalProperties
+ atsls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -32600,7 +35184,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cls.ConnectVia = &connectVia
+ atsls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -32609,7 +35193,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cls.Description = &description
+ atsls.Description = &description
}
case "parameters":
if v != nil {
@@ -32618,7 +35202,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cls.Parameters = parameters
+ atsls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -32627,7 +35211,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cls.Annotations = &annotations
+ atsls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -32636,91 +35220,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cls.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// CassandraLinkedServiceTypeProperties cassandra linked service properties.
-type CassandraLinkedServiceTypeProperties struct {
- // Host - Host name for connection. Type: string (or Expression with resultType string).
- Host interface{} `json:"host,omitempty"`
- // AuthenticationType - AuthenticationType to be used for connection. Type: string (or Expression with resultType string).
- AuthenticationType interface{} `json:"authenticationType,omitempty"`
- // Port - The port for the connection. Type: integer (or Expression with resultType integer).
- Port interface{} `json:"port,omitempty"`
- // Username - Username for authentication. Type: string (or Expression with resultType string).
- Username interface{} `json:"username,omitempty"`
- // Password - Password for authentication.
- Password BasicSecretBase `json:"password,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for CassandraLinkedServiceTypeProperties struct.
-func (clstp *CassandraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "host":
- if v != nil {
- var host interface{}
- err = json.Unmarshal(*v, &host)
- if err != nil {
- return err
- }
- clstp.Host = host
- }
- case "authenticationType":
- if v != nil {
- var authenticationType interface{}
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- clstp.AuthenticationType = authenticationType
- }
- case "port":
- if v != nil {
- var port interface{}
- err = json.Unmarshal(*v, &port)
- if err != nil {
- return err
- }
- clstp.Port = port
- }
- case "username":
- if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
- if err != nil {
- return err
- }
- clstp.Username = username
- }
- case "password":
- if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- clstp.Password = password
- }
- case "encryptedCredential":
- if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
- if err != nil {
- return err
- }
- clstp.EncryptedCredential = encryptedCredential
+ atsls.Type = typeVar
}
}
}
@@ -32728,399 +35228,469 @@ func (clstp *CassandraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) er
return nil
}
-// CassandraSource a copy activity source for a Cassandra database.
-type CassandraSource struct {
- // Query - Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
- // ConsistencyLevel - The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive.
- ConsistencyLevel interface{} `json:"consistencyLevel,omitempty"`
+// BinaryDataset binary dataset.
+type BinaryDataset struct {
+ // BinaryDatasetTypeProperties - Binary dataset properties.
+ *BinaryDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CassandraSource.
-func (cs CassandraSource) MarshalJSON() ([]byte, error) {
- cs.Type = TypeCassandraSource
+// MarshalJSON is the custom marshaler for BinaryDataset.
+func (bd BinaryDataset) MarshalJSON() ([]byte, error) {
+ bd.Type = TypeBinary
objectMap := make(map[string]interface{})
- if cs.Query != nil {
- objectMap["query"] = cs.Query
+ if bd.BinaryDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = bd.BinaryDatasetTypeProperties
}
- if cs.ConsistencyLevel != nil {
- objectMap["consistencyLevel"] = cs.ConsistencyLevel
+ if bd.Description != nil {
+ objectMap["description"] = bd.Description
}
- if cs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = cs.SourceRetryCount
+ if bd.Structure != nil {
+ objectMap["structure"] = bd.Structure
}
- if cs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = cs.SourceRetryWait
+ if bd.Schema != nil {
+ objectMap["schema"] = bd.Schema
}
- if cs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections
+ if bd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = bd.LinkedServiceName
}
- if cs.Type != "" {
- objectMap["type"] = cs.Type
+ if bd.Parameters != nil {
+ objectMap["parameters"] = bd.Parameters
}
- for k, v := range cs.AdditionalProperties {
+ if bd.Annotations != nil {
+ objectMap["annotations"] = bd.Annotations
+ }
+ if bd.Folder != nil {
+ objectMap["folder"] = bd.Folder
+ }
+ if bd.Type != "" {
+ objectMap["type"] = bd.Type
+ }
+ for k, v := range bd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsOffice365Source() (*Office365Source, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsCassandraSource() (*CassandraSource, bool) {
- return &cs, true
+// AsSapHanaTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
}
-// AsWebSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsWebSource() (*WebSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsOracleSource() (*OracleSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSQLSource() (*SQLSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsRestSource() (*RestSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsBlobSource() (*BlobSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsParquetSource() (*ParquetSource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsCopySource() (*CopySource, bool) {
+// AsCustomDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for CassandraSource.
-func (cs CassandraSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &cs, true
+// AsCassandraTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for CassandraSource struct.
-func (cs *CassandraSource) UnmarshalJSON(body []byte) error {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return &bd, true
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for BinaryDataset.
+func (bd BinaryDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &bd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for BinaryDataset struct.
+func (bd *BinaryDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -33128,491 +35698,353 @@ func (cs *CassandraSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var binaryDatasetTypeProperties BinaryDatasetTypeProperties
+ err = json.Unmarshal(*v, &binaryDatasetTypeProperties)
if err != nil {
return err
}
- cs.Query = query
+ bd.BinaryDatasetTypeProperties = &binaryDatasetTypeProperties
}
- case "consistencyLevel":
+ default:
if v != nil {
- var consistencyLevel interface{}
- err = json.Unmarshal(*v, &consistencyLevel)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- cs.ConsistencyLevel = consistencyLevel
+ if bd.AdditionalProperties == nil {
+ bd.AdditionalProperties = make(map[string]interface{})
+ }
+ bd.AdditionalProperties[k] = additionalProperties
}
- default:
+ case "description":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- if cs.AdditionalProperties == nil {
- cs.AdditionalProperties = make(map[string]interface{})
+ bd.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
}
- cs.AdditionalProperties[k] = additionalProperties
+ bd.Structure = structure
}
- case "sourceRetryCount":
+ case "schema":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- cs.SourceRetryCount = sourceRetryCount
+ bd.Schema = schema
}
- case "sourceRetryWait":
+ case "linkedServiceName":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- cs.SourceRetryWait = sourceRetryWait
+ bd.LinkedServiceName = &linkedServiceName
}
- case "maxConcurrentConnections":
+ case "parameters":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- cs.MaxConcurrentConnections = maxConcurrentConnections
+ bd.Parameters = parameters
}
- case "type":
+ case "annotations":
if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- cs.Type = typeVar
+ bd.Annotations = &annotations
}
- }
- }
-
- return nil
-}
-
-// CassandraTableDataset the Cassandra database dataset.
-type CassandraTableDataset struct {
- // CassandraTableDatasetTypeProperties - Cassandra dataset properties.
- *CassandraTableDatasetTypeProperties `json:"typeProperties,omitempty"`
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ bd.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ bd.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// BinaryDatasetTypeProperties binary dataset properties.
+type BinaryDatasetTypeProperties struct {
+ // Location - The location of the Binary storage.
+ Location *DatasetLocation `json:"location,omitempty"`
+ // Compression - The data compression method used for the binary dataset.
+ Compression BasicDatasetCompression `json:"compression,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for BinaryDatasetTypeProperties struct.
+func (bdtp *BinaryDatasetTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "location":
+ if v != nil {
+ var location DatasetLocation
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ bdtp.Location = &location
+ }
+ case "compression":
+ if v != nil {
+ compression, err := unmarshalBasicDatasetCompression(*v)
+ if err != nil {
+ return err
+ }
+ bdtp.Compression = compression
+ }
+ }
+ }
+
+ return nil
+}
+
+// BinarySink a copy activity Binary sink.
+type BinarySink struct {
+ // StoreSettings - Binary store settings.
+ StoreSettings *StoreReadSettings `json:"storeSettings,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CassandraTableDataset.
-func (ctd CassandraTableDataset) MarshalJSON() ([]byte, error) {
- ctd.Type = TypeCassandraTable
+// MarshalJSON is the custom marshaler for BinarySink.
+func (bs BinarySink) MarshalJSON() ([]byte, error) {
+ bs.Type = TypeBinarySink
objectMap := make(map[string]interface{})
- if ctd.CassandraTableDatasetTypeProperties != nil {
- objectMap["typeProperties"] = ctd.CassandraTableDatasetTypeProperties
- }
- if ctd.Description != nil {
- objectMap["description"] = ctd.Description
+ if bs.StoreSettings != nil {
+ objectMap["storeSettings"] = bs.StoreSettings
}
- if ctd.Structure != nil {
- objectMap["structure"] = ctd.Structure
- }
- if ctd.Schema != nil {
- objectMap["schema"] = ctd.Schema
+ if bs.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = bs.WriteBatchSize
}
- if ctd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = ctd.LinkedServiceName
+ if bs.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = bs.WriteBatchTimeout
}
- if ctd.Parameters != nil {
- objectMap["parameters"] = ctd.Parameters
+ if bs.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = bs.SinkRetryCount
}
- if ctd.Annotations != nil {
- objectMap["annotations"] = ctd.Annotations
+ if bs.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = bs.SinkRetryWait
}
- if ctd.Folder != nil {
- objectMap["folder"] = ctd.Folder
+ if bs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections
}
- if ctd.Type != "" {
- objectMap["type"] = ctd.Type
+ if bs.Type != "" {
+ objectMap["type"] = bs.Type
}
- for k, v := range ctd.AdditionalProperties {
+ for k, v := range bs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
- return nil, false
-}
-
-// AsResponsysObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsVerticaTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
- return nil, false
-}
-
-// AsNetezzaTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
- return nil, false
-}
-
-// AsZohoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
- return nil, false
-}
-
-// AsXeroObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
- return nil, false
-}
-
-// AsSquareObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
- return nil, false
-}
-
-// AsSparkObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
- return nil, false
-}
-
-// AsShopifyObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
- return nil, false
-}
-
-// AsServiceNowObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
- return nil, false
-}
-
-// AsQuickBooksObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
- return nil, false
-}
-
-// AsPrestoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
- return nil, false
-}
-
-// AsPhoenixObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
- return nil, false
-}
-
-// AsPaypalObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
- return nil, false
-}
-
-// AsMarketoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
- return nil, false
-}
-
-// AsMariaDBTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
- return nil, false
-}
-
-// AsMagentoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
- return nil, false
-}
-
-// AsJiraObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
- return nil, false
-}
-
-// AsImpalaObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
- return nil, false
-}
-
-// AsHubspotObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
- return nil, false
-}
-
-// AsHiveObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
- return nil, false
-}
-
-// AsHBaseObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
- return nil, false
-}
-
-// AsGreenplumTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
- return nil, false
-}
-
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
- return nil, false
-}
-
-// AsEloquaObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
- return nil, false
-}
-
-// AsDrillTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
- return nil, false
-}
-
-// AsCouchbaseTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
- return nil, false
-}
-
-// AsConcurObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
- return nil, false
-}
-
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
- return nil, false
-}
-
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
- return nil, false
-}
-
-// AsHTTPDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
- return nil, false
-}
-
-// AsAzureSearchIndexDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
- return nil, false
-}
-
-// AsWebTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
- return nil, false
-}
-
-// AsSapTableResourceDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
- return nil, false
-}
-
-// AsRestResourceDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsInformixSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsOdbcSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsOracleSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsSQLMISink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSQLSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsBlobSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
- return &ctd, true
-}
-
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
- return nil, false
+// AsBinarySink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsBinarySink() (*BinarySink, bool) {
+ return &bs, true
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsParquetSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsDataset() (*Dataset, bool) {
+// AsCopySink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsCopySink() (*CopySink, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for CassandraTableDataset.
-func (ctd CassandraTableDataset) AsBasicDataset() (BasicDataset, bool) {
- return &ctd, true
+// AsBasicCopySink is the BasicCopySink implementation for BinarySink.
+func (bs BinarySink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &bs, true
}
-// UnmarshalJSON is the custom unmarshaler for CassandraTableDataset struct.
-func (ctd *CassandraTableDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for BinarySink struct.
+func (bs *BinarySink) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -33620,14 +36052,14 @@ func (ctd *CassandraTableDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "storeSettings":
if v != nil {
- var cassandraTableDatasetTypeProperties CassandraTableDatasetTypeProperties
- err = json.Unmarshal(*v, &cassandraTableDatasetTypeProperties)
+ var storeSettings StoreReadSettings
+ err = json.Unmarshal(*v, &storeSettings)
if err != nil {
return err
}
- ctd.CassandraTableDatasetTypeProperties = &cassandraTableDatasetTypeProperties
+ bs.StoreSettings = &storeSettings
}
default:
if v != nil {
@@ -33636,129 +36068,64 @@ func (ctd *CassandraTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ctd.AdditionalProperties == nil {
- ctd.AdditionalProperties = make(map[string]interface{})
- }
- ctd.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- ctd.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
+ if bs.AdditionalProperties == nil {
+ bs.AdditionalProperties = make(map[string]interface{})
}
- ctd.Structure = structure
+ bs.AdditionalProperties[k] = additionalProperties
}
- case "schema":
+ case "writeBatchSize":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
if err != nil {
return err
}
- ctd.Schema = schema
+ bs.WriteBatchSize = writeBatchSize
}
- case "linkedServiceName":
+ case "writeBatchTimeout":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
if err != nil {
return err
}
- ctd.LinkedServiceName = &linkedServiceName
+ bs.WriteBatchTimeout = writeBatchTimeout
}
- case "parameters":
+ case "sinkRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
if err != nil {
return err
}
- ctd.Parameters = parameters
+ bs.SinkRetryCount = sinkRetryCount
}
- case "annotations":
+ case "sinkRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
if err != nil {
return err
}
- ctd.Annotations = &annotations
+ bs.SinkRetryWait = sinkRetryWait
}
- case "folder":
+ case "maxConcurrentConnections":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- ctd.Folder = &folder
+ bs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicCopySink
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ctd.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// CassandraTableDatasetTypeProperties cassandra dataset properties.
-type CassandraTableDatasetTypeProperties struct {
- // TableName - The table name of the Cassandra database. Type: string (or Expression with resultType string).
- TableName interface{} `json:"tableName,omitempty"`
- // Keyspace - The keyspace of the Cassandra database. Type: string (or Expression with resultType string).
- Keyspace interface{} `json:"keyspace,omitempty"`
-}
-
-// CloudError the object that defines the structure of an Azure Data Factory error response.
-type CloudError struct {
- // CloudErrorBody - Error data
- *CloudErrorBody `json:"error,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for CloudError.
-func (ce CloudError) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if ce.CloudErrorBody != nil {
- objectMap["error"] = ce.CloudErrorBody
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for CloudError struct.
-func (ce *CloudError) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "error":
- if v != nil {
- var cloudErrorBody CloudErrorBody
- err = json.Unmarshal(*v, &cloudErrorBody)
- if err != nil {
- return err
- }
- ce.CloudErrorBody = &cloudErrorBody
+ bs.Type = typeVar
}
}
}
@@ -33766,496 +36133,459 @@ func (ce *CloudError) UnmarshalJSON(body []byte) error {
return nil
}
-// CloudErrorBody the object that defines the structure of an Azure Data Factory error.
-type CloudErrorBody struct {
- // Code - Error code.
- Code *string `json:"code,omitempty"`
- // Message - Error message.
- Message *string `json:"message,omitempty"`
- // Target - Property name/path in request associated with error.
- Target *string `json:"target,omitempty"`
- // Details - Array with additional error details.
- Details *[]CloudError `json:"details,omitempty"`
-}
-
-// ConcurLinkedService concur Service linked service.
-type ConcurLinkedService struct {
- // ConcurLinkedServiceTypeProperties - Concur Service linked service properties.
- *ConcurLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// BinarySource a copy activity Binary source.
+type BinarySource struct {
+ // StoreSettings - Binary store settings.
+ StoreSettings *StoreReadSettings `json:"storeSettings,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ConcurLinkedService.
-func (cls ConcurLinkedService) MarshalJSON() ([]byte, error) {
- cls.Type = TypeConcur
+// MarshalJSON is the custom marshaler for BinarySource.
+func (bs BinarySource) MarshalJSON() ([]byte, error) {
+ bs.Type = TypeBinarySource
objectMap := make(map[string]interface{})
- if cls.ConcurLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = cls.ConcurLinkedServiceTypeProperties
- }
- if cls.ConnectVia != nil {
- objectMap["connectVia"] = cls.ConnectVia
+ if bs.StoreSettings != nil {
+ objectMap["storeSettings"] = bs.StoreSettings
}
- if cls.Description != nil {
- objectMap["description"] = cls.Description
+ if bs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = bs.SourceRetryCount
}
- if cls.Parameters != nil {
- objectMap["parameters"] = cls.Parameters
+ if bs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = bs.SourceRetryWait
}
- if cls.Annotations != nil {
- objectMap["annotations"] = cls.Annotations
+ if bs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections
}
- if cls.Type != "" {
- objectMap["type"] = cls.Type
+ if bs.Type != "" {
+ objectMap["type"] = bs.Type
}
- for k, v := range cls.AdditionalProperties {
+ for k, v := range bs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
- return &cls, true
-}
-
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsODataSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsMySQLSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
- return nil, false
+// AsBinarySource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsBinarySource() (*BinarySource, bool) {
+ return &bs, true
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsParquetSource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsCopySource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
-func (cls ConcurLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &cls, true
+// AsBasicCopySource is the BasicCopySource implementation for BinarySource.
+func (bs BinarySource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &bs, true
}
-// UnmarshalJSON is the custom unmarshaler for ConcurLinkedService struct.
-func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for BinarySource struct.
+func (bs *BinarySource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -34263,14 +36593,14 @@ func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "storeSettings":
if v != nil {
- var concurLinkedServiceTypeProperties ConcurLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &concurLinkedServiceTypeProperties)
+ var storeSettings StoreReadSettings
+ err = json.Unmarshal(*v, &storeSettings)
if err != nil {
return err
}
- cls.ConcurLinkedServiceTypeProperties = &concurLinkedServiceTypeProperties
+ bs.StoreSettings = &storeSettings
}
default:
if v != nil {
@@ -34279,55 +36609,46 @@ func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if cls.AdditionalProperties == nil {
- cls.AdditionalProperties = make(map[string]interface{})
- }
- cls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if bs.AdditionalProperties == nil {
+ bs.AdditionalProperties = make(map[string]interface{})
}
- cls.ConnectVia = &connectVia
+ bs.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- cls.Description = &description
+ bs.SourceRetryCount = sourceRetryCount
}
- case "parameters":
+ case "sourceRetryWait":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- cls.Parameters = parameters
+ bs.SourceRetryWait = sourceRetryWait
}
- case "annotations":
+ case "maxConcurrentConnections":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- cls.Annotations = &annotations
+ bs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- cls.Type = typeVar
+ bs.Type = typeVar
}
}
}
@@ -34335,26 +36656,96 @@ func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// ConcurLinkedServiceTypeProperties concur Service linked service properties.
-type ConcurLinkedServiceTypeProperties struct {
- // ClientID - Application client_id supplied by Concur App Management.
- ClientID interface{} `json:"clientId,omitempty"`
- // Username - The user name that you use to access Concur Service.
- Username interface{} `json:"username,omitempty"`
- // Password - The password corresponding to the user name that you provided in the username field.
- Password BasicSecretBase `json:"password,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
- UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
- UseHostVerification interface{} `json:"useHostVerification,omitempty"`
- // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
- UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+// BlobEventsTrigger trigger that runs every time a Blob event occurs.
+type BlobEventsTrigger struct {
+ // BlobEventsTriggerTypeProperties - Blob Events Trigger properties.
+ *BlobEventsTriggerTypeProperties `json:"typeProperties,omitempty"`
+ // Pipelines - Pipelines that need to be started.
+ Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Trigger description.
+ Description *string `json:"description,omitempty"`
+ // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled'
+ RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
+ // Annotations - List of tags that can be used for describing the trigger.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
+ Type TypeBasicTrigger `json:"type,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for ConcurLinkedServiceTypeProperties struct.
-func (clstp *ConcurLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// MarshalJSON is the custom marshaler for BlobEventsTrigger.
+func (bet BlobEventsTrigger) MarshalJSON() ([]byte, error) {
+ bet.Type = TypeBlobEventsTrigger
+ objectMap := make(map[string]interface{})
+ if bet.BlobEventsTriggerTypeProperties != nil {
+ objectMap["typeProperties"] = bet.BlobEventsTriggerTypeProperties
+ }
+ if bet.Pipelines != nil {
+ objectMap["pipelines"] = bet.Pipelines
+ }
+ if bet.Description != nil {
+ objectMap["description"] = bet.Description
+ }
+ if bet.Annotations != nil {
+ objectMap["annotations"] = bet.Annotations
+ }
+ if bet.Type != "" {
+ objectMap["type"] = bet.Type
+ }
+ for k, v := range bet.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobEventsTrigger.
+func (bet BlobEventsTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) {
+ return nil, false
+}
+
+// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobEventsTrigger.
+func (bet BlobEventsTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
+ return nil, false
+}
+
+// AsBlobEventsTrigger is the BasicTrigger implementation for BlobEventsTrigger.
+func (bet BlobEventsTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) {
+ return &bet, true
+}
+
+// AsBlobTrigger is the BasicTrigger implementation for BlobEventsTrigger.
+func (bet BlobEventsTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
+ return nil, false
+}
+
+// AsScheduleTrigger is the BasicTrigger implementation for BlobEventsTrigger.
+func (bet BlobEventsTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
+ return nil, false
+}
+
+// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobEventsTrigger.
+func (bet BlobEventsTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
+ return nil, false
+}
+
+// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobEventsTrigger.
+func (bet BlobEventsTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
+ return &bet, true
+}
+
+// AsTrigger is the BasicTrigger implementation for BlobEventsTrigger.
+func (bet BlobEventsTrigger) AsTrigger() (*Trigger, bool) {
+ return nil, false
+}
+
+// AsBasicTrigger is the BasicTrigger implementation for BlobEventsTrigger.
+func (bet BlobEventsTrigger) AsBasicTrigger() (BasicTrigger, bool) {
+ return &bet, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for BlobEventsTrigger struct.
+func (bet *BlobEventsTrigger) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -34362,67 +36753,71 @@ func (clstp *ConcurLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
}
for k, v := range m {
switch k {
- case "clientId":
+ case "typeProperties":
if v != nil {
- var clientID interface{}
- err = json.Unmarshal(*v, &clientID)
+ var blobEventsTriggerTypeProperties BlobEventsTriggerTypeProperties
+ err = json.Unmarshal(*v, &blobEventsTriggerTypeProperties)
if err != nil {
return err
}
- clstp.ClientID = clientID
+ bet.BlobEventsTriggerTypeProperties = &blobEventsTriggerTypeProperties
}
- case "username":
+ case "pipelines":
if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
+ var pipelines []TriggerPipelineReference
+ err = json.Unmarshal(*v, &pipelines)
if err != nil {
return err
}
- clstp.Username = username
+ bet.Pipelines = &pipelines
}
- case "password":
+ default:
if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- clstp.Password = password
+ if bet.AdditionalProperties == nil {
+ bet.AdditionalProperties = make(map[string]interface{})
+ }
+ bet.AdditionalProperties[k] = additionalProperties
}
- case "useEncryptedEndpoints":
+ case "description":
if v != nil {
- var useEncryptedEndpoints interface{}
- err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- clstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ bet.Description = &description
}
- case "useHostVerification":
+ case "runtimeState":
if v != nil {
- var useHostVerification interface{}
- err = json.Unmarshal(*v, &useHostVerification)
+ var runtimeState TriggerRuntimeState
+ err = json.Unmarshal(*v, &runtimeState)
if err != nil {
return err
}
- clstp.UseHostVerification = useHostVerification
+ bet.RuntimeState = runtimeState
}
- case "usePeerVerification":
+ case "annotations":
if v != nil {
- var usePeerVerification interface{}
- err = json.Unmarshal(*v, &usePeerVerification)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- clstp.UsePeerVerification = usePeerVerification
+ bet.Annotations = &annotations
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar TypeBasicTrigger
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- clstp.EncryptedCredential = encryptedCredential
+ bet.Type = typeVar
}
}
}
@@ -34430,419 +36825,241 @@ func (clstp *ConcurLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
return nil
}
-// ConcurObjectDataset concur Service dataset.
-type ConcurObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// BlobEventsTriggerTypeProperties blob Events Trigger properties.
+type BlobEventsTriggerTypeProperties struct {
+ // BlobPathBeginsWith - The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.
+ BlobPathBeginsWith *string `json:"blobPathBeginsWith,omitempty"`
+ // BlobPathEndsWith - The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.
+ BlobPathEndsWith *string `json:"blobPathEndsWith,omitempty"`
+ // Events - The type of events that cause this trigger to fire.
+ Events *[]BlobEventTypes `json:"events,omitempty"`
+ // Scope - The ARM resource ID of the Storage Account.
+ Scope *string `json:"scope,omitempty"`
+}
+
+// BlobSink a copy activity Azure Blob sink.
+type BlobSink struct {
+ // BlobWriterOverwriteFiles - Blob writer overwrite files. Type: boolean (or Expression with resultType boolean).
+ BlobWriterOverwriteFiles interface{} `json:"blobWriterOverwriteFiles,omitempty"`
+ // BlobWriterDateTimeFormat - Blob writer date time format. Type: string (or Expression with resultType string).
+ BlobWriterDateTimeFormat interface{} `json:"blobWriterDateTimeFormat,omitempty"`
+ // BlobWriterAddHeader - Blob writer add header. Type: boolean (or Expression with resultType boolean).
+ BlobWriterAddHeader interface{} `json:"blobWriterAddHeader,omitempty"`
+ // CopyBehavior - The type of copy behavior for copy sink.
+ CopyBehavior interface{} `json:"copyBehavior,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ConcurObjectDataset.
-func (cod ConcurObjectDataset) MarshalJSON() ([]byte, error) {
- cod.Type = TypeConcurObject
+// MarshalJSON is the custom marshaler for BlobSink.
+func (bs BlobSink) MarshalJSON() ([]byte, error) {
+ bs.Type = TypeBlobSink
objectMap := make(map[string]interface{})
- if cod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = cod.GenericDatasetTypeProperties
+ if bs.BlobWriterOverwriteFiles != nil {
+ objectMap["blobWriterOverwriteFiles"] = bs.BlobWriterOverwriteFiles
}
- if cod.Description != nil {
- objectMap["description"] = cod.Description
+ if bs.BlobWriterDateTimeFormat != nil {
+ objectMap["blobWriterDateTimeFormat"] = bs.BlobWriterDateTimeFormat
}
- if cod.Structure != nil {
- objectMap["structure"] = cod.Structure
+ if bs.BlobWriterAddHeader != nil {
+ objectMap["blobWriterAddHeader"] = bs.BlobWriterAddHeader
}
- if cod.Schema != nil {
- objectMap["schema"] = cod.Schema
+ if bs.CopyBehavior != nil {
+ objectMap["copyBehavior"] = bs.CopyBehavior
}
- if cod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = cod.LinkedServiceName
+ if bs.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = bs.WriteBatchSize
}
- if cod.Parameters != nil {
- objectMap["parameters"] = cod.Parameters
+ if bs.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = bs.WriteBatchTimeout
}
- if cod.Annotations != nil {
- objectMap["annotations"] = cod.Annotations
+ if bs.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = bs.SinkRetryCount
}
- if cod.Folder != nil {
- objectMap["folder"] = cod.Folder
+ if bs.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = bs.SinkRetryWait
}
- if cod.Type != "" {
- objectMap["type"] = cod.Type
+ if bs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections
}
- for k, v := range cod.AdditionalProperties {
+ if bs.Type != "" {
+ objectMap["type"] = bs.Type
+ }
+ for k, v := range bs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
- return nil, false
-}
-
-// AsResponsysObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsVerticaTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
- return nil, false
-}
-
-// AsNetezzaTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
- return nil, false
-}
-
-// AsZohoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
- return nil, false
-}
-
-// AsXeroObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
- return nil, false
-}
-
-// AsSquareObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
- return nil, false
-}
-
-// AsSparkObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
- return nil, false
-}
-
-// AsShopifyObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
- return nil, false
-}
-
-// AsServiceNowObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
- return nil, false
-}
-
-// AsQuickBooksObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
- return nil, false
-}
-
-// AsPrestoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
- return nil, false
-}
-
-// AsPhoenixObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
- return nil, false
-}
-
-// AsPaypalObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
- return nil, false
-}
-
-// AsMarketoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
- return nil, false
-}
-
-// AsMariaDBTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
- return nil, false
-}
-
-// AsMagentoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
- return nil, false
-}
-
-// AsJiraObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
- return nil, false
-}
-
-// AsImpalaObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
- return nil, false
-}
-
-// AsHubspotObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
- return nil, false
-}
-
-// AsHiveObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
- return nil, false
-}
-
-// AsHBaseObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
- return nil, false
-}
-
-// AsGreenplumTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
- return nil, false
-}
-
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
- return nil, false
-}
-
-// AsEloquaObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
- return nil, false
-}
-
-// AsDrillTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
- return nil, false
-}
-
-// AsCouchbaseTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
- return nil, false
-}
-
-// AsConcurObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
- return &cod, true
-}
-
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
- return nil, false
-}
-
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
- return nil, false
-}
-
-// AsHTTPDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
- return nil, false
-}
-
-// AsAzureSearchIndexDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
- return nil, false
-}
-
-// AsWebTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
- return nil, false
-}
-
-// AsSapTableResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
- return nil, false
-}
-
-// AsRestResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
- return nil, false
-}
-
-// AsSQLServerTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsInformixSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsOdbcSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsOracleSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsSQLMISink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsSQLSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
- return nil, false
+// AsBlobSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsBlobSink() (*BlobSink, bool) {
+ return &bs, true
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsBinarySink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsParquetSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsDataset() (*Dataset, bool) {
+// AsCopySink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsCopySink() (*CopySink, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for ConcurObjectDataset.
-func (cod ConcurObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &cod, true
+// AsBasicCopySink is the BasicCopySink implementation for BlobSink.
+func (bs BlobSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &bs, true
}
-// UnmarshalJSON is the custom unmarshaler for ConcurObjectDataset struct.
-func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for BlobSink struct.
+func (bs *BlobSink) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -34850,98 +37067,107 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "blobWriterOverwriteFiles":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var blobWriterOverwriteFiles interface{}
+ err = json.Unmarshal(*v, &blobWriterOverwriteFiles)
if err != nil {
return err
}
- cod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ bs.BlobWriterOverwriteFiles = blobWriterOverwriteFiles
}
- default:
+ case "blobWriterDateTimeFormat":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var blobWriterDateTimeFormat interface{}
+ err = json.Unmarshal(*v, &blobWriterDateTimeFormat)
if err != nil {
return err
}
- if cod.AdditionalProperties == nil {
- cod.AdditionalProperties = make(map[string]interface{})
+ bs.BlobWriterDateTimeFormat = blobWriterDateTimeFormat
+ }
+ case "blobWriterAddHeader":
+ if v != nil {
+ var blobWriterAddHeader interface{}
+ err = json.Unmarshal(*v, &blobWriterAddHeader)
+ if err != nil {
+ return err
}
- cod.AdditionalProperties[k] = additionalProperties
+ bs.BlobWriterAddHeader = blobWriterAddHeader
}
- case "description":
+ case "copyBehavior":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var copyBehavior interface{}
+ err = json.Unmarshal(*v, ©Behavior)
if err != nil {
return err
}
- cod.Description = &description
+ bs.CopyBehavior = copyBehavior
}
- case "structure":
+ default:
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- cod.Structure = structure
+ if bs.AdditionalProperties == nil {
+ bs.AdditionalProperties = make(map[string]interface{})
+ }
+ bs.AdditionalProperties[k] = additionalProperties
}
- case "schema":
+ case "writeBatchSize":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
if err != nil {
return err
}
- cod.Schema = schema
+ bs.WriteBatchSize = writeBatchSize
}
- case "linkedServiceName":
+ case "writeBatchTimeout":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
if err != nil {
return err
}
- cod.LinkedServiceName = &linkedServiceName
+ bs.WriteBatchTimeout = writeBatchTimeout
}
- case "parameters":
+ case "sinkRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
if err != nil {
return err
}
- cod.Parameters = parameters
+ bs.SinkRetryCount = sinkRetryCount
}
- case "annotations":
+ case "sinkRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
if err != nil {
return err
}
- cod.Annotations = &annotations
+ bs.SinkRetryWait = sinkRetryWait
}
- case "folder":
+ case "maxConcurrentConnections":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- cod.Folder = &folder
+ bs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicCopySink
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- cod.Type = typeVar
+ bs.Type = typeVar
}
}
}
@@ -34949,10 +37175,14 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// ConcurSource a copy activity Concur Service source.
-type ConcurSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// BlobSource a copy activity Azure Blob source.
+type BlobSource struct {
+ // TreatEmptyAsNull - Treat empty as null. Type: boolean (or Expression with resultType boolean).
+ TreatEmptyAsNull interface{} `json:"treatEmptyAsNull,omitempty"`
+ // SkipHeaderLineCount - Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer).
+ SkipHeaderLineCount interface{} `json:"skipHeaderLineCount,omitempty"`
+ // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
+ Recursive interface{} `json:"recursive,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
@@ -34961,382 +37191,453 @@ type ConcurSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ConcurSource.
-func (cs ConcurSource) MarshalJSON() ([]byte, error) {
- cs.Type = TypeConcurSource
+// MarshalJSON is the custom marshaler for BlobSource.
+func (bs BlobSource) MarshalJSON() ([]byte, error) {
+ bs.Type = TypeBlobSource
objectMap := make(map[string]interface{})
- if cs.Query != nil {
- objectMap["query"] = cs.Query
+ if bs.TreatEmptyAsNull != nil {
+ objectMap["treatEmptyAsNull"] = bs.TreatEmptyAsNull
}
- if cs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = cs.SourceRetryCount
+ if bs.SkipHeaderLineCount != nil {
+ objectMap["skipHeaderLineCount"] = bs.SkipHeaderLineCount
}
- if cs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = cs.SourceRetryWait
+ if bs.Recursive != nil {
+ objectMap["recursive"] = bs.Recursive
}
- if cs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections
+ if bs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = bs.SourceRetryCount
}
- if cs.Type != "" {
- objectMap["type"] = cs.Type
+ if bs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = bs.SourceRetryWait
}
- for k, v := range cs.AdditionalProperties {
+ if bs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections
+ }
+ if bs.Type != "" {
+ objectMap["type"] = bs.Type
+ }
+ for k, v := range bs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifySource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsConcurSource() (*ConcurSource, bool) {
- return &cs, true
+// AsConcurSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsOffice365Source() (*Office365Source, bool) {
+// AsOffice365Source is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsWebSource() (*WebSource, bool) {
+// AsWebSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsOracleSource() (*OracleSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsRestSource() (*RestSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsRestSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsODataSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsBlobSource() (*BlobSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsParquetSource() (*ParquetSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsCopySource() (*CopySource, bool) {
+// AsDb2Source is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for ConcurSource.
-func (cs ConcurSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &cs, true
+// AsMicrosoftAccessSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ConcurSource struct.
-func (cs *ConcurSource) UnmarshalJSON(body []byte) error {
+// AsInformixSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsBlobSource() (*BlobSource, bool) {
+ return &bs, true
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for BlobSource.
+func (bs BlobSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &bs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for BlobSource struct.
+func (bs *BlobSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -35344,14 +37645,32 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "treatEmptyAsNull":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var treatEmptyAsNull interface{}
+ err = json.Unmarshal(*v, &treatEmptyAsNull)
if err != nil {
return err
}
- cs.Query = query
+ bs.TreatEmptyAsNull = treatEmptyAsNull
+ }
+ case "skipHeaderLineCount":
+ if v != nil {
+ var skipHeaderLineCount interface{}
+ err = json.Unmarshal(*v, &skipHeaderLineCount)
+ if err != nil {
+ return err
+ }
+ bs.SkipHeaderLineCount = skipHeaderLineCount
+ }
+ case "recursive":
+ if v != nil {
+ var recursive interface{}
+ err = json.Unmarshal(*v, &recursive)
+ if err != nil {
+ return err
+ }
+ bs.Recursive = recursive
}
default:
if v != nil {
@@ -35360,10 +37679,10 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if cs.AdditionalProperties == nil {
- cs.AdditionalProperties = make(map[string]interface{})
+ if bs.AdditionalProperties == nil {
+ bs.AdditionalProperties = make(map[string]interface{})
}
- cs.AdditionalProperties[k] = additionalProperties
+ bs.AdditionalProperties[k] = additionalProperties
}
case "sourceRetryCount":
if v != nil {
@@ -35372,7 +37691,7 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cs.SourceRetryCount = sourceRetryCount
+ bs.SourceRetryCount = sourceRetryCount
}
case "sourceRetryWait":
if v != nil {
@@ -35381,7 +37700,7 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cs.SourceRetryWait = sourceRetryWait
+ bs.SourceRetryWait = sourceRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -35390,7 +37709,7 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cs.MaxConcurrentConnections = maxConcurrentConnections
+ bs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -35399,7 +37718,7 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cs.Type = typeVar
+ bs.Type = typeVar
}
}
}
@@ -35407,33 +37726,96 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error {
return nil
}
-// ConnectorReadSetting connector read setting.
-type ConnectorReadSetting struct {
+// BlobTrigger trigger that runs every time the selected Blob container changes.
+type BlobTrigger struct {
+ // BlobTriggerTypeProperties - Blob Trigger properties.
+ *BlobTriggerTypeProperties `json:"typeProperties,omitempty"`
+ // Pipelines - Pipelines that need to be started.
+ Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Type - The read setting type.
- Type *string `json:"type,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Description - Trigger description.
+ Description *string `json:"description,omitempty"`
+ // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled'
+ RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
+ // Annotations - List of tags that can be used for describing the trigger.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
+ Type TypeBasicTrigger `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ConnectorReadSetting.
-func (crs ConnectorReadSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for BlobTrigger.
+func (bt BlobTrigger) MarshalJSON() ([]byte, error) {
+ bt.Type = TypeBlobTrigger
objectMap := make(map[string]interface{})
- if crs.Type != nil {
- objectMap["type"] = crs.Type
+ if bt.BlobTriggerTypeProperties != nil {
+ objectMap["typeProperties"] = bt.BlobTriggerTypeProperties
+ }
+ if bt.Pipelines != nil {
+ objectMap["pipelines"] = bt.Pipelines
+ }
+ if bt.Description != nil {
+ objectMap["description"] = bt.Description
+ }
+ if bt.Annotations != nil {
+ objectMap["annotations"] = bt.Annotations
}
- if crs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = crs.MaxConcurrentConnections
+ if bt.Type != "" {
+ objectMap["type"] = bt.Type
}
- for k, v := range crs.AdditionalProperties {
+ for k, v := range bt.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for ConnectorReadSetting struct.
-func (crs *ConnectorReadSetting) UnmarshalJSON(body []byte) error {
+// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger.
+func (bt BlobTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) {
+ return nil, false
+}
+
+// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger.
+func (bt BlobTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
+ return nil, false
+}
+
+// AsBlobEventsTrigger is the BasicTrigger implementation for BlobTrigger.
+func (bt BlobTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) {
+ return nil, false
+}
+
+// AsBlobTrigger is the BasicTrigger implementation for BlobTrigger.
+func (bt BlobTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
+ return &bt, true
+}
+
+// AsScheduleTrigger is the BasicTrigger implementation for BlobTrigger.
+func (bt BlobTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
+ return nil, false
+}
+
+// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger.
+func (bt BlobTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
+ return nil, false
+}
+
+// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger.
+func (bt BlobTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
+ return &bt, true
+}
+
+// AsTrigger is the BasicTrigger implementation for BlobTrigger.
+func (bt BlobTrigger) AsTrigger() (*Trigger, bool) {
+ return nil, false
+}
+
+// AsBasicTrigger is the BasicTrigger implementation for BlobTrigger.
+func (bt BlobTrigger) AsBasicTrigger() (BasicTrigger, bool) {
+ return &bt, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for BlobTrigger struct.
+func (bt *BlobTrigger) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -35441,119 +37823,71 @@ func (crs *ConnectorReadSetting) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- default:
+ case "typeProperties":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var blobTriggerTypeProperties BlobTriggerTypeProperties
+ err = json.Unmarshal(*v, &blobTriggerTypeProperties)
if err != nil {
return err
}
- if crs.AdditionalProperties == nil {
- crs.AdditionalProperties = make(map[string]interface{})
- }
- crs.AdditionalProperties[k] = additionalProperties
+ bt.BlobTriggerTypeProperties = &blobTriggerTypeProperties
}
- case "type":
+ case "pipelines":
if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
+ var pipelines []TriggerPipelineReference
+ err = json.Unmarshal(*v, &pipelines)
if err != nil {
return err
}
- crs.Type = &typeVar
+ bt.Pipelines = &pipelines
}
- case "maxConcurrentConnections":
+ default:
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- crs.MaxConcurrentConnections = maxConcurrentConnections
+ if bt.AdditionalProperties == nil {
+ bt.AdditionalProperties = make(map[string]interface{})
+ }
+ bt.AdditionalProperties[k] = additionalProperties
}
- }
- }
-
- return nil
-}
-
-// ConnectorWriteSetting connector write settings.
-type ConnectorWriteSetting struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - The write setting type.
- Type *string `json:"type,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // CopyBehavior - The type of copy behavior for copy sink.
- CopyBehavior interface{} `json:"copyBehavior,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for ConnectorWriteSetting.
-func (cws ConnectorWriteSetting) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if cws.Type != nil {
- objectMap["type"] = cws.Type
- }
- if cws.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = cws.MaxConcurrentConnections
- }
- if cws.CopyBehavior != nil {
- objectMap["copyBehavior"] = cws.CopyBehavior
- }
- for k, v := range cws.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for ConnectorWriteSetting struct.
-func (cws *ConnectorWriteSetting) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
+ case "description":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- if cws.AdditionalProperties == nil {
- cws.AdditionalProperties = make(map[string]interface{})
- }
- cws.AdditionalProperties[k] = additionalProperties
+ bt.Description = &description
}
- case "type":
+ case "runtimeState":
if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
+ var runtimeState TriggerRuntimeState
+ err = json.Unmarshal(*v, &runtimeState)
if err != nil {
return err
}
- cws.Type = &typeVar
+ bt.RuntimeState = runtimeState
}
- case "maxConcurrentConnections":
+ case "annotations":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- cws.MaxConcurrentConnections = maxConcurrentConnections
+ bt.Annotations = &annotations
}
- case "copyBehavior":
+ case "type":
if v != nil {
- var copyBehavior interface{}
- err = json.Unmarshal(*v, ©Behavior)
+ var typeVar TypeBasicTrigger
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- cws.CopyBehavior = copyBehavior
+ bt.Type = typeVar
}
}
}
@@ -35561,635 +37895,524 @@ func (cws *ConnectorWriteSetting) UnmarshalJSON(body []byte) error {
return nil
}
-// BasicControlActivity base class for all control activities like IfCondition, ForEach , Until.
-type BasicControlActivity interface {
- AsWebHookActivity() (*WebHookActivity, bool)
- AsAppendVariableActivity() (*AppendVariableActivity, bool)
- AsSetVariableActivity() (*SetVariableActivity, bool)
- AsFilterActivity() (*FilterActivity, bool)
- AsValidationActivity() (*ValidationActivity, bool)
- AsUntilActivity() (*UntilActivity, bool)
- AsWaitActivity() (*WaitActivity, bool)
- AsForEachActivity() (*ForEachActivity, bool)
- AsIfConditionActivity() (*IfConditionActivity, bool)
- AsExecutePipelineActivity() (*ExecutePipelineActivity, bool)
- AsControlActivity() (*ControlActivity, bool)
+// BlobTriggerTypeProperties blob Trigger properties.
+type BlobTriggerTypeProperties struct {
+ // FolderPath - The path of the container/folder that will trigger the pipeline.
+ FolderPath *string `json:"folderPath,omitempty"`
+ // MaxConcurrency - The max number of parallel files to handle when it is triggered.
+ MaxConcurrency *int32 `json:"maxConcurrency,omitempty"`
+ // LinkedService - The Azure Storage linked service reference.
+ LinkedService *LinkedServiceReference `json:"linkedService,omitempty"`
}
-// ControlActivity base class for all control activities like IfCondition, ForEach , Until.
-type ControlActivity struct {
+// CassandraLinkedService linked service for Cassandra data source.
+type CassandraLinkedService struct {
+ // CassandraLinkedServiceTypeProperties - Cassandra linked service properties.
+ *CassandraLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
-}
-
-func unmarshalBasicControlActivity(body []byte) (BasicControlActivity, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
-
- switch m["type"] {
- case string(TypeWebHook):
- var wha WebHookActivity
- err := json.Unmarshal(body, &wha)
- return wha, err
- case string(TypeAppendVariable):
- var ava AppendVariableActivity
- err := json.Unmarshal(body, &ava)
- return ava, err
- case string(TypeSetVariable):
- var sva SetVariableActivity
- err := json.Unmarshal(body, &sva)
- return sva, err
- case string(TypeFilter):
- var fa FilterActivity
- err := json.Unmarshal(body, &fa)
- return fa, err
- case string(TypeValidation):
- var va ValidationActivity
- err := json.Unmarshal(body, &va)
- return va, err
- case string(TypeUntil):
- var ua UntilActivity
- err := json.Unmarshal(body, &ua)
- return ua, err
- case string(TypeWait):
- var wa WaitActivity
- err := json.Unmarshal(body, &wa)
- return wa, err
- case string(TypeForEach):
- var fea ForEachActivity
- err := json.Unmarshal(body, &fea)
- return fea, err
- case string(TypeIfCondition):
- var ica IfConditionActivity
- err := json.Unmarshal(body, &ica)
- return ica, err
- case string(TypeExecutePipeline):
- var epa ExecutePipelineActivity
- err := json.Unmarshal(body, &epa)
- return epa, err
- default:
- var ca ControlActivity
- err := json.Unmarshal(body, &ca)
- return ca, err
- }
-}
-func unmarshalBasicControlActivityArray(body []byte) ([]BasicControlActivity, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
-
- caArray := make([]BasicControlActivity, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- ca, err := unmarshalBasicControlActivity(*rawMessage)
- if err != nil {
- return nil, err
- }
- caArray[index] = ca
- }
- return caArray, nil
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ControlActivity.
-func (ca ControlActivity) MarshalJSON() ([]byte, error) {
- ca.Type = TypeContainer
+// MarshalJSON is the custom marshaler for CassandraLinkedService.
+func (cls CassandraLinkedService) MarshalJSON() ([]byte, error) {
+ cls.Type = TypeCassandra
objectMap := make(map[string]interface{})
- if ca.Name != nil {
- objectMap["name"] = ca.Name
+ if cls.CassandraLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = cls.CassandraLinkedServiceTypeProperties
}
- if ca.Description != nil {
- objectMap["description"] = ca.Description
+ if cls.ConnectVia != nil {
+ objectMap["connectVia"] = cls.ConnectVia
}
- if ca.DependsOn != nil {
- objectMap["dependsOn"] = ca.DependsOn
+ if cls.Description != nil {
+ objectMap["description"] = cls.Description
}
- if ca.UserProperties != nil {
- objectMap["userProperties"] = ca.UserProperties
+ if cls.Parameters != nil {
+ objectMap["parameters"] = cls.Parameters
}
- if ca.Type != "" {
- objectMap["type"] = ca.Type
+ if cls.Annotations != nil {
+ objectMap["annotations"] = cls.Annotations
}
- for k, v := range ca.AdditionalProperties {
+ if cls.Type != "" {
+ objectMap["type"] = cls.Type
+ }
+ for k, v := range cls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsWebActivity() (*WebActivity, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsControlActivity() (*ControlActivity, bool) {
- return &ca, true
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
- return &ca, true
+// AsEloquaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
}
-// AsActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsActivity() (*Activity, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for ControlActivity.
-func (ca ControlActivity) AsBasicActivity() (BasicActivity, bool) {
- return &ca, true
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ControlActivity struct.
-func (ca *ControlActivity) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if ca.AdditionalProperties == nil {
- ca.AdditionalProperties = make(map[string]interface{})
- }
- ca.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- ca.Name = &name
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- ca.Description = &description
- }
- case "dependsOn":
- if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
- if err != nil {
- return err
- }
- ca.DependsOn = &dependsOn
- }
- case "userProperties":
- if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
- if err != nil {
- return err
- }
- ca.UserProperties = &userProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicActivity
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ca.Type = typeVar
- }
- }
- }
+// AsConcurLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
}
-// CopyActivity copy activity.
-type CopyActivity struct {
- // CopyActivityTypeProperties - Copy activity properties.
- *CopyActivityTypeProperties `json:"typeProperties,omitempty"`
- // Inputs - List of inputs for the activity.
- Inputs *[]DatasetReference `json:"inputs,omitempty"`
- // Outputs - List of outputs for the activity.
- Outputs *[]DatasetReference `json:"outputs,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for CopyActivity.
-func (ca CopyActivity) MarshalJSON() ([]byte, error) {
- ca.Type = TypeCopy
- objectMap := make(map[string]interface{})
- if ca.CopyActivityTypeProperties != nil {
- objectMap["typeProperties"] = ca.CopyActivityTypeProperties
- }
- if ca.Inputs != nil {
- objectMap["inputs"] = ca.Inputs
- }
- if ca.Outputs != nil {
- objectMap["outputs"] = ca.Outputs
- }
- if ca.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = ca.LinkedServiceName
- }
- if ca.Policy != nil {
- objectMap["policy"] = ca.Policy
- }
- if ca.Name != nil {
- objectMap["name"] = ca.Name
- }
- if ca.Description != nil {
- objectMap["description"] = ca.Description
- }
- if ca.DependsOn != nil {
- objectMap["dependsOn"] = ca.DependsOn
- }
- if ca.UserProperties != nil {
- objectMap["userProperties"] = ca.UserProperties
- }
- if ca.Type != "" {
- objectMap["type"] = ca.Type
- }
- for k, v := range ca.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsSapHanaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
}
-// AsAzureFunctionActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsWebActivity() (*WebActivity, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsCopyActivity() (*CopyActivity, bool) {
- return &ca, true
+// AsMongoDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return &cls, true
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &ca, true
+// AsODataLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsActivity() (*Activity, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for CopyActivity.
-func (ca CopyActivity) AsBasicActivity() (BasicActivity, bool) {
- return &ca, true
+// AsHDInsightLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for CopyActivity struct.
-func (ca *CopyActivity) UnmarshalJSON(body []byte) error {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
+func (cls CassandraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &cls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CassandraLinkedService struct.
+func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -36199,48 +38422,12 @@ func (ca *CopyActivity) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var copyActivityTypeProperties CopyActivityTypeProperties
- err = json.Unmarshal(*v, ©ActivityTypeProperties)
- if err != nil {
- return err
- }
- ca.CopyActivityTypeProperties = ©ActivityTypeProperties
- }
- case "inputs":
- if v != nil {
- var inputs []DatasetReference
- err = json.Unmarshal(*v, &inputs)
- if err != nil {
- return err
- }
- ca.Inputs = &inputs
- }
- case "outputs":
- if v != nil {
- var outputs []DatasetReference
- err = json.Unmarshal(*v, &outputs)
- if err != nil {
- return err
- }
- ca.Outputs = &outputs
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- ca.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
+ var cassandraLinkedServiceTypeProperties CassandraLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &cassandraLinkedServiceTypeProperties)
if err != nil {
return err
}
- ca.Policy = &policy
+ cls.CassandraLinkedServiceTypeProperties = &cassandraLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -36249,19 +38436,19 @@ func (ca *CopyActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ca.AdditionalProperties == nil {
- ca.AdditionalProperties = make(map[string]interface{})
+ if cls.AdditionalProperties == nil {
+ cls.AdditionalProperties = make(map[string]interface{})
}
- ca.AdditionalProperties[k] = additionalProperties
+ cls.AdditionalProperties[k] = additionalProperties
}
- case "name":
+ case "connectVia":
if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- ca.Name = &name
+ cls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -36270,34 +38457,34 @@ func (ca *CopyActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ca.Description = &description
+ cls.Description = &description
}
- case "dependsOn":
+ case "parameters":
if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- ca.DependsOn = &dependsOn
+ cls.Parameters = parameters
}
- case "userProperties":
+ case "annotations":
if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- ca.UserProperties = &userProperties
+ cls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicActivity
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ca.Type = typeVar
+ cls.Type = typeVar
}
}
}
@@ -36305,34 +38492,24 @@ func (ca *CopyActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// CopyActivityTypeProperties copy activity properties.
-type CopyActivityTypeProperties struct {
- // Source - Copy activity source.
- Source BasicCopySource `json:"source,omitempty"`
- // Sink - Copy activity sink.
- Sink BasicCopySink `json:"sink,omitempty"`
- // Translator - Copy activity translator. If not specified, tabular translator is used.
- Translator interface{} `json:"translator,omitempty"`
- // EnableStaging - Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean).
- EnableStaging interface{} `json:"enableStaging,omitempty"`
- // StagingSettings - Specifies interim staging settings when EnableStaging is true.
- StagingSettings *StagingSettings `json:"stagingSettings,omitempty"`
- // ParallelCopies - Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0.
- ParallelCopies interface{} `json:"parallelCopies,omitempty"`
- // DataIntegrationUnits - Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0.
- DataIntegrationUnits interface{} `json:"dataIntegrationUnits,omitempty"`
- // EnableSkipIncompatibleRow - Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean).
- EnableSkipIncompatibleRow interface{} `json:"enableSkipIncompatibleRow,omitempty"`
- // RedirectIncompatibleRowSettings - Redirect incompatible row settings when EnableSkipIncompatibleRow is true.
- RedirectIncompatibleRowSettings *RedirectIncompatibleRowSettings `json:"redirectIncompatibleRowSettings,omitempty"`
- // PreserveRules - Preserve Rules.
- PreserveRules *[]interface{} `json:"preserveRules,omitempty"`
- // Preserve - Preserve rules.
- Preserve *[]interface{} `json:"preserve,omitempty"`
+// CassandraLinkedServiceTypeProperties cassandra linked service properties.
+type CassandraLinkedServiceTypeProperties struct {
+ // Host - Host name for connection. Type: string (or Expression with resultType string).
+ Host interface{} `json:"host,omitempty"`
+ // AuthenticationType - AuthenticationType to be used for connection. Type: string (or Expression with resultType string).
+ AuthenticationType interface{} `json:"authenticationType,omitempty"`
+ // Port - The port for the connection. Type: integer (or Expression with resultType integer).
+ Port interface{} `json:"port,omitempty"`
+ // Username - Username for authentication. Type: string (or Expression with resultType string).
+ Username interface{} `json:"username,omitempty"`
+ // Password - Password for authentication.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for CopyActivityTypeProperties struct.
-func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for CassandraLinkedServiceTypeProperties struct.
+func (clstp *CassandraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -36340,102 +38517,58 @@ func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "source":
- if v != nil {
- source, err := unmarshalBasicCopySource(*v)
- if err != nil {
- return err
- }
- catp.Source = source
- }
- case "sink":
- if v != nil {
- sink, err := unmarshalBasicCopySink(*v)
- if err != nil {
- return err
- }
- catp.Sink = sink
- }
- case "translator":
- if v != nil {
- var translator interface{}
- err = json.Unmarshal(*v, &translator)
- if err != nil {
- return err
- }
- catp.Translator = translator
- }
- case "enableStaging":
- if v != nil {
- var enableStaging interface{}
- err = json.Unmarshal(*v, &enableStaging)
- if err != nil {
- return err
- }
- catp.EnableStaging = enableStaging
- }
- case "stagingSettings":
- if v != nil {
- var stagingSettings StagingSettings
- err = json.Unmarshal(*v, &stagingSettings)
- if err != nil {
- return err
- }
- catp.StagingSettings = &stagingSettings
- }
- case "parallelCopies":
+ case "host":
if v != nil {
- var parallelCopies interface{}
- err = json.Unmarshal(*v, ¶llelCopies)
+ var host interface{}
+ err = json.Unmarshal(*v, &host)
if err != nil {
return err
}
- catp.ParallelCopies = parallelCopies
+ clstp.Host = host
}
- case "dataIntegrationUnits":
+ case "authenticationType":
if v != nil {
- var dataIntegrationUnits interface{}
- err = json.Unmarshal(*v, &dataIntegrationUnits)
+ var authenticationType interface{}
+ err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
}
- catp.DataIntegrationUnits = dataIntegrationUnits
+ clstp.AuthenticationType = authenticationType
}
- case "enableSkipIncompatibleRow":
+ case "port":
if v != nil {
- var enableSkipIncompatibleRow interface{}
- err = json.Unmarshal(*v, &enableSkipIncompatibleRow)
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
if err != nil {
return err
}
- catp.EnableSkipIncompatibleRow = enableSkipIncompatibleRow
+ clstp.Port = port
}
- case "redirectIncompatibleRowSettings":
+ case "username":
if v != nil {
- var redirectIncompatibleRowSettings RedirectIncompatibleRowSettings
- err = json.Unmarshal(*v, &redirectIncompatibleRowSettings)
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
if err != nil {
return err
}
- catp.RedirectIncompatibleRowSettings = &redirectIncompatibleRowSettings
+ clstp.Username = username
}
- case "preserveRules":
+ case "password":
if v != nil {
- var preserveRules []interface{}
- err = json.Unmarshal(*v, &preserveRules)
+ password, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- catp.PreserveRules = &preserveRules
+ clstp.Password = password
}
- case "preserve":
+ case "encryptedCredential":
if v != nil {
- var preserve []interface{}
- err = json.Unmarshal(*v, &preserve)
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
if err != nil {
return err
}
- catp.Preserve = &preserve
+ clstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -36443,182 +38576,39 @@ func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error {
return nil
}
-// BasicCopySink a copy activity sink.
-type BasicCopySink interface {
- AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool)
- AsSalesforceSink() (*SalesforceSink, bool)
- AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool)
- AsDynamicsSink() (*DynamicsSink, bool)
- AsOdbcSink() (*OdbcSink, bool)
- AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool)
- AsAzureBlobFSSink() (*AzureBlobFSSink, bool)
- AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool)
- AsOracleSink() (*OracleSink, bool)
- AsSQLDWSink() (*SQLDWSink, bool)
- AsAzureSQLSink() (*AzureSQLSink, bool)
- AsSQLServerSink() (*SQLServerSink, bool)
- AsSQLSink() (*SQLSink, bool)
- AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool)
- AsFileSystemSink() (*FileSystemSink, bool)
- AsBlobSink() (*BlobSink, bool)
- AsParquetSink() (*ParquetSink, bool)
- AsAzureTableSink() (*AzureTableSink, bool)
- AsAzureQueueSink() (*AzureQueueSink, bool)
- AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool)
- AsDelimitedTextSink() (*DelimitedTextSink, bool)
- AsCopySink() (*CopySink, bool)
-}
-
-// CopySink a copy activity sink.
-type CopySink struct {
+// CassandraSource a copy activity source for a Cassandra database.
+type CassandraSource struct {
+ // Query - Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // ConsistencyLevel - The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. Possible values include: 'ALL', 'EACHQUORUM', 'QUORUM', 'LOCALQUORUM', 'ONE', 'TWO', 'THREE', 'LOCALONE', 'SERIAL', 'LOCALSERIAL'
+ ConsistencyLevel CassandraSourceReadConsistencyLevels `json:"consistencyLevel,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
- WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
- // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
- // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
- SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
- // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
- Type TypeBasicCopySink `json:"type,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-func unmarshalBasicCopySink(body []byte) (BasicCopySink, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
+// MarshalJSON is the custom marshaler for CassandraSource.
+func (cs CassandraSource) MarshalJSON() ([]byte, error) {
+ cs.Type = TypeCassandraSource
+ objectMap := make(map[string]interface{})
+ if cs.Query != nil {
+ objectMap["query"] = cs.Query
}
-
- switch m["type"] {
- case string(TypeCosmosDbMongoDbAPISink):
- var cdmdas CosmosDbMongoDbAPISink
- err := json.Unmarshal(body, &cdmdas)
- return cdmdas, err
- case string(TypeSalesforceSink):
- var ss SalesforceSink
- err := json.Unmarshal(body, &ss)
- return ss, err
- case string(TypeAzureDataExplorerSink):
- var ades AzureDataExplorerSink
- err := json.Unmarshal(body, &ades)
- return ades, err
- case string(TypeDynamicsSink):
- var ds DynamicsSink
- err := json.Unmarshal(body, &ds)
- return ds, err
- case string(TypeOdbcSink):
- var osVar OdbcSink
- err := json.Unmarshal(body, &osVar)
- return osVar, err
- case string(TypeAzureSearchIndexSink):
- var asis AzureSearchIndexSink
- err := json.Unmarshal(body, &asis)
- return asis, err
- case string(TypeAzureBlobFSSink):
- var abfs AzureBlobFSSink
- err := json.Unmarshal(body, &abfs)
- return abfs, err
- case string(TypeAzureDataLakeStoreSink):
- var adlss AzureDataLakeStoreSink
- err := json.Unmarshal(body, &adlss)
- return adlss, err
- case string(TypeOracleSink):
- var osVar OracleSink
- err := json.Unmarshal(body, &osVar)
- return osVar, err
- case string(TypeSQLDWSink):
- var sds SQLDWSink
- err := json.Unmarshal(body, &sds)
- return sds, err
- case string(TypeAzureSQLSink):
- var ass AzureSQLSink
- err := json.Unmarshal(body, &ass)
- return ass, err
- case string(TypeSQLServerSink):
- var sss SQLServerSink
- err := json.Unmarshal(body, &sss)
- return sss, err
- case string(TypeSQLSink):
- var ss SQLSink
- err := json.Unmarshal(body, &ss)
- return ss, err
- case string(TypeDocumentDbCollectionSink):
- var ddcs DocumentDbCollectionSink
- err := json.Unmarshal(body, &ddcs)
- return ddcs, err
- case string(TypeFileSystemSink):
- var fss FileSystemSink
- err := json.Unmarshal(body, &fss)
- return fss, err
- case string(TypeBlobSink):
- var bs BlobSink
- err := json.Unmarshal(body, &bs)
- return bs, err
- case string(TypeParquetSink):
- var ps ParquetSink
- err := json.Unmarshal(body, &ps)
- return ps, err
- case string(TypeAzureTableSink):
- var ats AzureTableSink
- err := json.Unmarshal(body, &ats)
- return ats, err
- case string(TypeAzureQueueSink):
- var aqs AzureQueueSink
- err := json.Unmarshal(body, &aqs)
- return aqs, err
- case string(TypeSapCloudForCustomerSink):
- var scfcs SapCloudForCustomerSink
- err := json.Unmarshal(body, &scfcs)
- return scfcs, err
- case string(TypeDelimitedTextSink):
- var dts DelimitedTextSink
- err := json.Unmarshal(body, &dts)
- return dts, err
- default:
- var cs CopySink
- err := json.Unmarshal(body, &cs)
- return cs, err
+ if cs.ConsistencyLevel != "" {
+ objectMap["consistencyLevel"] = cs.ConsistencyLevel
}
-}
-func unmarshalBasicCopySinkArray(body []byte) ([]BasicCopySink, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
+ if cs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = cs.SourceRetryCount
}
-
- csArray := make([]BasicCopySink, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- cs, err := unmarshalBasicCopySink(*rawMessage)
- if err != nil {
- return nil, err
- }
- csArray[index] = cs
- }
- return csArray, nil
-}
-
-// MarshalJSON is the custom marshaler for CopySink.
-func (cs CopySink) MarshalJSON() ([]byte, error) {
- cs.Type = TypeCopySink
- objectMap := make(map[string]interface{})
- if cs.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = cs.WriteBatchSize
- }
- if cs.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = cs.WriteBatchTimeout
- }
- if cs.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = cs.SinkRetryCount
- }
- if cs.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = cs.SinkRetryWait
+ if cs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = cs.SourceRetryWait
}
if cs.MaxConcurrentConnections != nil {
objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections
@@ -36632,958 +38622,418 @@ func (cs CopySink) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
- return nil, false
-}
-
-// AsSalesforceSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsSalesforceSink() (*SalesforceSink, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
- return nil, false
-}
-
-// AsDynamicsSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsDynamicsSink() (*DynamicsSink, bool) {
- return nil, false
-}
-
-// AsOdbcSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsOdbcSink() (*OdbcSink, bool) {
- return nil, false
-}
-
-// AsAzureSearchIndexSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
- return nil, false
-}
-
-// AsAzureBlobFSSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
- return nil, false
-}
-
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsOracleSink() (*OracleSink, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsSQLDWSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsSQLServerSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsResponsysSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsSQLSink() (*SQLSink, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+// AsVerticaSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsFileSystemSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsFileSystemSink() (*FileSystemSink, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsBlobSink() (*BlobSink, bool) {
+// AsZohoSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsParquetSink() (*ParquetSink, bool) {
+// AsXeroSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsAzureTableSink() (*AzureTableSink, bool) {
+// AsSquareSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsAzureQueueSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsSparkSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsShopifySource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsCopySink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsCopySink() (*CopySink, bool) {
- return &cs, true
-}
-
-// AsBasicCopySink is the BasicCopySink implementation for CopySink.
-func (cs CopySink) AsBasicCopySink() (BasicCopySink, bool) {
- return &cs, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for CopySink struct.
-func (cs *CopySink) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if cs.AdditionalProperties == nil {
- cs.AdditionalProperties = make(map[string]interface{})
- }
- cs.AdditionalProperties[k] = additionalProperties
- }
- case "writeBatchSize":
- if v != nil {
- var writeBatchSize interface{}
- err = json.Unmarshal(*v, &writeBatchSize)
- if err != nil {
- return err
- }
- cs.WriteBatchSize = writeBatchSize
- }
- case "writeBatchTimeout":
- if v != nil {
- var writeBatchTimeout interface{}
- err = json.Unmarshal(*v, &writeBatchTimeout)
- if err != nil {
- return err
- }
- cs.WriteBatchTimeout = writeBatchTimeout
- }
- case "sinkRetryCount":
- if v != nil {
- var sinkRetryCount interface{}
- err = json.Unmarshal(*v, &sinkRetryCount)
- if err != nil {
- return err
- }
- cs.SinkRetryCount = sinkRetryCount
- }
- case "sinkRetryWait":
- if v != nil {
- var sinkRetryWait interface{}
- err = json.Unmarshal(*v, &sinkRetryWait)
- if err != nil {
- return err
- }
- cs.SinkRetryWait = sinkRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- cs.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySink
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- cs.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// BasicCopySource a copy activity source.
-type BasicCopySource interface {
- AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool)
- AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool)
- AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool)
- AsDynamicsAXSource() (*DynamicsAXSource, bool)
- AsResponsysSource() (*ResponsysSource, bool)
- AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool)
- AsVerticaSource() (*VerticaSource, bool)
- AsNetezzaSource() (*NetezzaSource, bool)
- AsZohoSource() (*ZohoSource, bool)
- AsXeroSource() (*XeroSource, bool)
- AsSquareSource() (*SquareSource, bool)
- AsSparkSource() (*SparkSource, bool)
- AsShopifySource() (*ShopifySource, bool)
- AsServiceNowSource() (*ServiceNowSource, bool)
- AsQuickBooksSource() (*QuickBooksSource, bool)
- AsPrestoSource() (*PrestoSource, bool)
- AsPhoenixSource() (*PhoenixSource, bool)
- AsPaypalSource() (*PaypalSource, bool)
- AsMarketoSource() (*MarketoSource, bool)
- AsMariaDBSource() (*MariaDBSource, bool)
- AsMagentoSource() (*MagentoSource, bool)
- AsJiraSource() (*JiraSource, bool)
- AsImpalaSource() (*ImpalaSource, bool)
- AsHubspotSource() (*HubspotSource, bool)
- AsHiveSource() (*HiveSource, bool)
- AsHBaseSource() (*HBaseSource, bool)
- AsGreenplumSource() (*GreenplumSource, bool)
- AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool)
- AsEloquaSource() (*EloquaSource, bool)
- AsDrillSource() (*DrillSource, bool)
- AsCouchbaseSource() (*CouchbaseSource, bool)
- AsConcurSource() (*ConcurSource, bool)
- AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool)
- AsAmazonMWSSource() (*AmazonMWSSource, bool)
- AsHTTPSource() (*HTTPSource, bool)
- AsAzureBlobFSSource() (*AzureBlobFSSource, bool)
- AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool)
- AsOffice365Source() (*Office365Source, bool)
- AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool)
- AsMongoDbV2Source() (*MongoDbV2Source, bool)
- AsMongoDbSource() (*MongoDbSource, bool)
- AsCassandraSource() (*CassandraSource, bool)
- AsWebSource() (*WebSource, bool)
- AsTeradataSource() (*TeradataSource, bool)
- AsOracleSource() (*OracleSource, bool)
- AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool)
- AsAzureMySQLSource() (*AzureMySQLSource, bool)
- AsHdfsSource() (*HdfsSource, bool)
- AsFileSystemSource() (*FileSystemSource, bool)
- AsSQLDWSource() (*SQLDWSource, bool)
- AsAzureSQLSource() (*AzureSQLSource, bool)
- AsSQLServerSource() (*SQLServerSource, bool)
- AsSQLSource() (*SQLSource, bool)
- AsRestSource() (*RestSource, bool)
- AsSapTableSource() (*SapTableSource, bool)
- AsSapOpenHubSource() (*SapOpenHubSource, bool)
- AsSapHanaSource() (*SapHanaSource, bool)
- AsSapEccSource() (*SapEccSource, bool)
- AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool)
- AsSalesforceSource() (*SalesforceSource, bool)
- AsRelationalSource() (*RelationalSource, bool)
- AsDynamicsSource() (*DynamicsSource, bool)
- AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool)
- AsBlobSource() (*BlobSource, bool)
- AsAzureTableSource() (*AzureTableSource, bool)
- AsDelimitedTextSource() (*DelimitedTextSource, bool)
- AsParquetSource() (*ParquetSource, bool)
- AsCopySource() (*CopySource, bool)
-}
-
-// CopySource a copy activity source.
-type CopySource struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
-}
-
-func unmarshalBasicCopySource(body []byte) (BasicCopySource, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
-
- switch m["type"] {
- case string(TypeAmazonRedshiftSource):
- var ars AmazonRedshiftSource
- err := json.Unmarshal(body, &ars)
- return ars, err
- case string(TypeGoogleAdWordsSource):
- var gaws GoogleAdWordsSource
- err := json.Unmarshal(body, &gaws)
- return gaws, err
- case string(TypeOracleServiceCloudSource):
- var oscs OracleServiceCloudSource
- err := json.Unmarshal(body, &oscs)
- return oscs, err
- case string(TypeDynamicsAXSource):
- var das DynamicsAXSource
- err := json.Unmarshal(body, &das)
- return das, err
- case string(TypeResponsysSource):
- var rs ResponsysSource
- err := json.Unmarshal(body, &rs)
- return rs, err
- case string(TypeSalesforceMarketingCloudSource):
- var smcs SalesforceMarketingCloudSource
- err := json.Unmarshal(body, &smcs)
- return smcs, err
- case string(TypeVerticaSource):
- var vs VerticaSource
- err := json.Unmarshal(body, &vs)
- return vs, err
- case string(TypeNetezzaSource):
- var ns NetezzaSource
- err := json.Unmarshal(body, &ns)
- return ns, err
- case string(TypeZohoSource):
- var zs ZohoSource
- err := json.Unmarshal(body, &zs)
- return zs, err
- case string(TypeXeroSource):
- var xs XeroSource
- err := json.Unmarshal(body, &xs)
- return xs, err
- case string(TypeSquareSource):
- var ss SquareSource
- err := json.Unmarshal(body, &ss)
- return ss, err
- case string(TypeSparkSource):
- var ss SparkSource
- err := json.Unmarshal(body, &ss)
- return ss, err
- case string(TypeShopifySource):
- var ss ShopifySource
- err := json.Unmarshal(body, &ss)
- return ss, err
- case string(TypeServiceNowSource):
- var sns ServiceNowSource
- err := json.Unmarshal(body, &sns)
- return sns, err
- case string(TypeQuickBooksSource):
- var qbs QuickBooksSource
- err := json.Unmarshal(body, &qbs)
- return qbs, err
- case string(TypePrestoSource):
- var ps PrestoSource
- err := json.Unmarshal(body, &ps)
- return ps, err
- case string(TypePhoenixSource):
- var ps PhoenixSource
- err := json.Unmarshal(body, &ps)
- return ps, err
- case string(TypePaypalSource):
- var ps PaypalSource
- err := json.Unmarshal(body, &ps)
- return ps, err
- case string(TypeMarketoSource):
- var ms MarketoSource
- err := json.Unmarshal(body, &ms)
- return ms, err
- case string(TypeMariaDBSource):
- var mds MariaDBSource
- err := json.Unmarshal(body, &mds)
- return mds, err
- case string(TypeMagentoSource):
- var ms MagentoSource
- err := json.Unmarshal(body, &ms)
- return ms, err
- case string(TypeJiraSource):
- var js JiraSource
- err := json.Unmarshal(body, &js)
- return js, err
- case string(TypeImpalaSource):
- var is ImpalaSource
- err := json.Unmarshal(body, &is)
- return is, err
- case string(TypeHubspotSource):
- var hs HubspotSource
- err := json.Unmarshal(body, &hs)
- return hs, err
- case string(TypeHiveSource):
- var hs HiveSource
- err := json.Unmarshal(body, &hs)
- return hs, err
- case string(TypeHBaseSource):
- var hbs HBaseSource
- err := json.Unmarshal(body, &hbs)
- return hbs, err
- case string(TypeGreenplumSource):
- var gs GreenplumSource
- err := json.Unmarshal(body, &gs)
- return gs, err
- case string(TypeGoogleBigQuerySource):
- var gbqs GoogleBigQuerySource
- err := json.Unmarshal(body, &gbqs)
- return gbqs, err
- case string(TypeEloquaSource):
- var es EloquaSource
- err := json.Unmarshal(body, &es)
- return es, err
- case string(TypeDrillSource):
- var ds DrillSource
- err := json.Unmarshal(body, &ds)
- return ds, err
- case string(TypeCouchbaseSource):
- var cs CouchbaseSource
- err := json.Unmarshal(body, &cs)
- return cs, err
- case string(TypeConcurSource):
- var cs ConcurSource
- err := json.Unmarshal(body, &cs)
- return cs, err
- case string(TypeAzurePostgreSQLSource):
- var apss AzurePostgreSQLSource
- err := json.Unmarshal(body, &apss)
- return apss, err
- case string(TypeAmazonMWSSource):
- var ams AmazonMWSSource
- err := json.Unmarshal(body, &ams)
- return ams, err
- case string(TypeHTTPSource):
- var hs HTTPSource
- err := json.Unmarshal(body, &hs)
- return hs, err
- case string(TypeAzureBlobFSSource):
- var abfs AzureBlobFSSource
- err := json.Unmarshal(body, &abfs)
- return abfs, err
- case string(TypeAzureDataLakeStoreSource):
- var adlss AzureDataLakeStoreSource
- err := json.Unmarshal(body, &adlss)
- return adlss, err
- case string(TypeOffice365Source):
- var o3s Office365Source
- err := json.Unmarshal(body, &o3s)
- return o3s, err
- case string(TypeCosmosDbMongoDbAPISource):
- var cdmdas CosmosDbMongoDbAPISource
- err := json.Unmarshal(body, &cdmdas)
- return cdmdas, err
- case string(TypeMongoDbV2Source):
- var mdvs MongoDbV2Source
- err := json.Unmarshal(body, &mdvs)
- return mdvs, err
- case string(TypeMongoDbSource):
- var mds MongoDbSource
- err := json.Unmarshal(body, &mds)
- return mds, err
- case string(TypeCassandraSource):
- var cs CassandraSource
- err := json.Unmarshal(body, &cs)
- return cs, err
- case string(TypeWebSource):
- var ws WebSource
- err := json.Unmarshal(body, &ws)
- return ws, err
- case string(TypeTeradataSource):
- var ts TeradataSource
- err := json.Unmarshal(body, &ts)
- return ts, err
- case string(TypeOracleSource):
- var osVar OracleSource
- err := json.Unmarshal(body, &osVar)
- return osVar, err
- case string(TypeAzureDataExplorerSource):
- var ades AzureDataExplorerSource
- err := json.Unmarshal(body, &ades)
- return ades, err
- case string(TypeAzureMySQLSource):
- var amss AzureMySQLSource
- err := json.Unmarshal(body, &amss)
- return amss, err
- case string(TypeHdfsSource):
- var hs HdfsSource
- err := json.Unmarshal(body, &hs)
- return hs, err
- case string(TypeFileSystemSource):
- var fss FileSystemSource
- err := json.Unmarshal(body, &fss)
- return fss, err
- case string(TypeSQLDWSource):
- var sds SQLDWSource
- err := json.Unmarshal(body, &sds)
- return sds, err
- case string(TypeAzureSQLSource):
- var ass AzureSQLSource
- err := json.Unmarshal(body, &ass)
- return ass, err
- case string(TypeSQLServerSource):
- var sss SQLServerSource
- err := json.Unmarshal(body, &sss)
- return sss, err
- case string(TypeSQLSource):
- var ss SQLSource
- err := json.Unmarshal(body, &ss)
- return ss, err
- case string(TypeRestSource):
- var rs RestSource
- err := json.Unmarshal(body, &rs)
- return rs, err
- case string(TypeSapTableSource):
- var sts SapTableSource
- err := json.Unmarshal(body, &sts)
- return sts, err
- case string(TypeSapOpenHubSource):
- var sohs SapOpenHubSource
- err := json.Unmarshal(body, &sohs)
- return sohs, err
- case string(TypeSapHanaSource):
- var shs SapHanaSource
- err := json.Unmarshal(body, &shs)
- return shs, err
- case string(TypeSapEccSource):
- var ses SapEccSource
- err := json.Unmarshal(body, &ses)
- return ses, err
- case string(TypeSapCloudForCustomerSource):
- var scfcs SapCloudForCustomerSource
- err := json.Unmarshal(body, &scfcs)
- return scfcs, err
- case string(TypeSalesforceSource):
- var ss SalesforceSource
- err := json.Unmarshal(body, &ss)
- return ss, err
- case string(TypeRelationalSource):
- var rs RelationalSource
- err := json.Unmarshal(body, &rs)
- return rs, err
- case string(TypeDynamicsSource):
- var ds DynamicsSource
- err := json.Unmarshal(body, &ds)
- return ds, err
- case string(TypeDocumentDbCollectionSource):
- var ddcs DocumentDbCollectionSource
- err := json.Unmarshal(body, &ddcs)
- return ddcs, err
- case string(TypeBlobSource):
- var bs BlobSource
- err := json.Unmarshal(body, &bs)
- return bs, err
- case string(TypeAzureTableSource):
- var ats AzureTableSource
- err := json.Unmarshal(body, &ats)
- return ats, err
- case string(TypeDelimitedTextSource):
- var dts DelimitedTextSource
- err := json.Unmarshal(body, &dts)
- return dts, err
- case string(TypeParquetSource):
- var ps ParquetSource
- err := json.Unmarshal(body, &ps)
- return ps, err
- default:
- var cs CopySource
- err := json.Unmarshal(body, &cs)
- return cs, err
- }
-}
-func unmarshalBasicCopySourceArray(body []byte) ([]BasicCopySource, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
-
- csArray := make([]BasicCopySource, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- cs, err := unmarshalBasicCopySource(*rawMessage)
- if err != nil {
- return nil, err
- }
- csArray[index] = cs
- }
- return csArray, nil
-}
-
-// MarshalJSON is the custom marshaler for CopySource.
-func (cs CopySource) MarshalJSON() ([]byte, error) {
- cs.Type = TypeCopySource
- objectMap := make(map[string]interface{})
- if cs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = cs.SourceRetryCount
- }
- if cs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = cs.SourceRetryWait
- }
- if cs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections
- }
- if cs.Type != "" {
- objectMap["type"] = cs.Type
- }
- for k, v := range cs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// AsAmazonRedshiftSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsVerticaSource() (*VerticaSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsZohoSource() (*ZohoSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsXeroSource() (*XeroSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSquareSource() (*SquareSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSparkSource() (*SparkSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsShopifySource() (*ShopifySource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsPrestoSource() (*PrestoSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsPaypalSource() (*PaypalSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsMarketoSource() (*MarketoSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsMagentoSource() (*MagentoSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsJiraSource() (*JiraSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsHubspotSource() (*HubspotSource, bool) {
+// AsOffice365Source is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsHiveSource() (*HiveSource, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsHBaseSource() (*HBaseSource, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
- return nil, false
+// AsCassandraSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsCassandraSource() (*CassandraSource, bool) {
+ return &cs, true
}
-// AsEloquaSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsEloquaSource() (*EloquaSource, bool) {
+// AsWebSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsDrillSource() (*DrillSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsConcurSource() (*ConcurSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsHTTPSource() (*HTTPSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsOffice365Source() (*Office365Source, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsRestSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsWebSource() (*WebSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsOracleSource() (*OracleSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsHdfsSource() (*HdfsSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsODataSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSQLSource() (*SQLSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsRestSource() (*RestSource, bool) {
+// AsDb2Source is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSapTableSource() (*SapTableSource, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsInformixSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsRelationalSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSapEccSource() (*SapEccSource, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsRelationalSource() (*RelationalSource, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsBlobSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsBlobSource() (*BlobSource, bool) {
+// AsBinarySource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsParquetSource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsParquetSource() (*ParquetSource, bool) {
+// AsCopySource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsCopySource() (*CopySource, bool) {
- return &cs, true
-}
-
-// AsBasicCopySource is the BasicCopySource implementation for CopySource.
-func (cs CopySource) AsBasicCopySource() (BasicCopySource, bool) {
+// AsBasicCopySource is the BasicCopySource implementation for CassandraSource.
+func (cs CassandraSource) AsBasicCopySource() (BasicCopySource, bool) {
return &cs, true
}
-// UnmarshalJSON is the custom unmarshaler for CopySource struct.
-func (cs *CopySource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for CassandraSource struct.
+func (cs *CassandraSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -37591,6 +39041,24 @@ func (cs *CopySource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ cs.Query = query
+ }
+ case "consistencyLevel":
+ if v != nil {
+ var consistencyLevel CassandraSourceReadConsistencyLevels
+ err = json.Unmarshal(*v, &consistencyLevel)
+ if err != nil {
+ return err
+ }
+ cs.ConsistencyLevel = consistencyLevel
+ }
default:
if v != nil {
var additionalProperties interface{}
@@ -37645,484 +39113,469 @@ func (cs *CopySource) UnmarshalJSON(body []byte) error {
return nil
}
-// CosmosDbLinkedService microsoft Azure Cosmos Database (CosmosDB) linked service.
-type CosmosDbLinkedService struct {
- // CosmosDbLinkedServiceTypeProperties - CosmosDB linked service properties.
- *CosmosDbLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// CassandraTableDataset the Cassandra database dataset.
+type CassandraTableDataset struct {
+ // CassandraTableDatasetTypeProperties - Cassandra dataset properties.
+ *CassandraTableDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
+ // Annotations - List of tags that can be used for describing the Dataset.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) MarshalJSON() ([]byte, error) {
- cdls.Type = TypeCosmosDb
+// MarshalJSON is the custom marshaler for CassandraTableDataset.
+func (ctd CassandraTableDataset) MarshalJSON() ([]byte, error) {
+ ctd.Type = TypeCassandraTable
objectMap := make(map[string]interface{})
- if cdls.CosmosDbLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = cdls.CosmosDbLinkedServiceTypeProperties
+ if ctd.CassandraTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = ctd.CassandraTableDatasetTypeProperties
}
- if cdls.ConnectVia != nil {
- objectMap["connectVia"] = cdls.ConnectVia
+ if ctd.Description != nil {
+ objectMap["description"] = ctd.Description
}
- if cdls.Description != nil {
- objectMap["description"] = cdls.Description
+ if ctd.Structure != nil {
+ objectMap["structure"] = ctd.Structure
}
- if cdls.Parameters != nil {
- objectMap["parameters"] = cdls.Parameters
+ if ctd.Schema != nil {
+ objectMap["schema"] = ctd.Schema
}
- if cdls.Annotations != nil {
- objectMap["annotations"] = cdls.Annotations
+ if ctd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = ctd.LinkedServiceName
}
- if cdls.Type != "" {
- objectMap["type"] = cdls.Type
+ if ctd.Parameters != nil {
+ objectMap["parameters"] = ctd.Parameters
}
- for k, v := range cdls.AdditionalProperties {
+ if ctd.Annotations != nil {
+ objectMap["annotations"] = ctd.Annotations
+ }
+ if ctd.Folder != nil {
+ objectMap["folder"] = ctd.Folder
+ }
+ if ctd.Type != "" {
+ objectMap["type"] = ctd.Type
+ }
+ for k, v := range ctd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
- return nil, false
-}
-
-// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
- return nil, false
-}
-
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
- return nil, false
-}
-
-// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
- return nil, false
-}
-
-// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
- return nil, false
-}
-
-// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsFileShareDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsCustomDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
- return nil, false
+// AsCassandraTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return &ctd, true
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
- return &cdls, true
-}
-
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsBinaryDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsParquetDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
-func (cdls CosmosDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &cdls, true
+// AsBasicDataset is the BasicDataset implementation for CassandraTableDataset.
+func (ctd CassandraTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &ctd, true
}
-// UnmarshalJSON is the custom unmarshaler for CosmosDbLinkedService struct.
-func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for CassandraTableDataset struct.
+func (ctd *CassandraTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -38132,12 +39585,12 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var cosmosDbLinkedServiceTypeProperties CosmosDbLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &cosmosDbLinkedServiceTypeProperties)
+ var cassandraTableDatasetTypeProperties CassandraTableDatasetTypeProperties
+ err = json.Unmarshal(*v, &cassandraTableDatasetTypeProperties)
if err != nil {
return err
}
- cdls.CosmosDbLinkedServiceTypeProperties = &cosmosDbLinkedServiceTypeProperties
+ ctd.CassandraTableDatasetTypeProperties = &cassandraTableDatasetTypeProperties
}
default:
if v != nil {
@@ -38146,28 +39599,46 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if cdls.AdditionalProperties == nil {
- cdls.AdditionalProperties = make(map[string]interface{})
+ if ctd.AdditionalProperties == nil {
+ ctd.AdditionalProperties = make(map[string]interface{})
}
- cdls.AdditionalProperties[k] = additionalProperties
+ ctd.AdditionalProperties[k] = additionalProperties
}
- case "connectVia":
+ case "description":
if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- cdls.ConnectVia = &connectVia
+ ctd.Description = &description
}
- case "description":
+ case "structure":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- cdls.Description = &description
+ ctd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ ctd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ ctd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -38176,7 +39647,7 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdls.Parameters = parameters
+ ctd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -38185,16 +39656,25 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdls.Annotations = &annotations
+ ctd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ ctd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- cdls.Type = typeVar
+ ctd.Type = typeVar
}
}
}
@@ -38202,20 +39682,69 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// CosmosDbLinkedServiceTypeProperties cosmosDB linked service properties.
-type CosmosDbLinkedServiceTypeProperties struct {
- // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // AccountKey - The Azure key vault secret reference of accountKey in connection string.
- AccountKey *AzureKeyVaultSecretReference `json:"accountKey,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+// CassandraTableDatasetTypeProperties cassandra dataset properties.
+type CassandraTableDatasetTypeProperties struct {
+ // TableName - The table name of the Cassandra database. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
+ // Keyspace - The keyspace of the Cassandra database. Type: string (or Expression with resultType string).
+ Keyspace interface{} `json:"keyspace,omitempty"`
}
-// CosmosDbMongoDbAPICollectionDataset the CosmosDB (MongoDB API) database dataset.
-type CosmosDbMongoDbAPICollectionDataset struct {
- // CosmosDbMongoDbAPICollectionDatasetTypeProperties - CosmosDB (MongoDB API) database dataset properties.
- *CosmosDbMongoDbAPICollectionDatasetTypeProperties `json:"typeProperties,omitempty"`
+// CloudError the object that defines the structure of an Azure Data Factory error response.
+type CloudError struct {
+ // CloudErrorBody - Error data
+ *CloudErrorBody `json:"error,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for CloudError.
+func (ce CloudError) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if ce.CloudErrorBody != nil {
+ objectMap["error"] = ce.CloudErrorBody
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for CloudError struct.
+func (ce *CloudError) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "error":
+ if v != nil {
+ var cloudErrorBody CloudErrorBody
+ err = json.Unmarshal(*v, &cloudErrorBody)
+ if err != nil {
+ return err
+ }
+ ce.CloudErrorBody = &cloudErrorBody
+ }
+ }
+ }
+
+ return nil
+}
+
+// CloudErrorBody the object that defines the structure of an Azure Data Factory error.
+type CloudErrorBody struct {
+ // Code - Error code.
+ Code *string `json:"code,omitempty"`
+ // Message - Error message.
+ Message *string `json:"message,omitempty"`
+ // Target - Property name/path in request associated with error.
+ Target *string `json:"target,omitempty"`
+ // Details - Array with additional error details.
+ Details *[]CloudError `json:"details,omitempty"`
+}
+
+// CommonDataServiceForAppsEntityDataset the Common Data Service for Apps entity dataset.
+type CommonDataServiceForAppsEntityDataset struct {
+ // CommonDataServiceForAppsEntityDatasetTypeProperties - Common Data Service for Apps entity dataset properties.
+ *CommonDataServiceForAppsEntityDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Description - Dataset description.
@@ -38232,399 +39761,449 @@ type CosmosDbMongoDbAPICollectionDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) MarshalJSON() ([]byte, error) {
- cdmdacd.Type = TypeCosmosDbMongoDbAPICollection
+// MarshalJSON is the custom marshaler for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) MarshalJSON() ([]byte, error) {
+ cdsfaed.Type = TypeCommonDataServiceForAppsEntity
objectMap := make(map[string]interface{})
- if cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties != nil {
- objectMap["typeProperties"] = cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties
+ if cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties
}
- if cdmdacd.Description != nil {
- objectMap["description"] = cdmdacd.Description
+ if cdsfaed.Description != nil {
+ objectMap["description"] = cdsfaed.Description
}
- if cdmdacd.Structure != nil {
- objectMap["structure"] = cdmdacd.Structure
+ if cdsfaed.Structure != nil {
+ objectMap["structure"] = cdsfaed.Structure
}
- if cdmdacd.Schema != nil {
- objectMap["schema"] = cdmdacd.Schema
+ if cdsfaed.Schema != nil {
+ objectMap["schema"] = cdsfaed.Schema
}
- if cdmdacd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = cdmdacd.LinkedServiceName
+ if cdsfaed.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = cdsfaed.LinkedServiceName
}
- if cdmdacd.Parameters != nil {
- objectMap["parameters"] = cdmdacd.Parameters
+ if cdsfaed.Parameters != nil {
+ objectMap["parameters"] = cdsfaed.Parameters
}
- if cdmdacd.Annotations != nil {
- objectMap["annotations"] = cdmdacd.Annotations
+ if cdsfaed.Annotations != nil {
+ objectMap["annotations"] = cdsfaed.Annotations
}
- if cdmdacd.Folder != nil {
- objectMap["folder"] = cdmdacd.Folder
+ if cdsfaed.Folder != nil {
+ objectMap["folder"] = cdsfaed.Folder
}
- if cdmdacd.Type != "" {
- objectMap["type"] = cdmdacd.Type
+ if cdsfaed.Type != "" {
+ objectMap["type"] = cdsfaed.Type
}
- for k, v := range cdmdacd.AdditionalProperties {
+ for k, v := range cdsfaed.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
- return &cdmdacd, true
+// AsInformixTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return &cdsfaed, true
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
-func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsBasicDataset() (BasicDataset, bool) {
- return &cdmdacd, true
+// AsAzureSQLMITableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPICollectionDataset struct.
-func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset.
+func (cdsfaed CommonDataServiceForAppsEntityDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &cdsfaed, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsEntityDataset struct.
+func (cdsfaed *CommonDataServiceForAppsEntityDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -38634,12 +40213,12 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
switch k {
case "typeProperties":
if v != nil {
- var cosmosDbMongoDbAPICollectionDatasetTypeProperties CosmosDbMongoDbAPICollectionDatasetTypeProperties
- err = json.Unmarshal(*v, &cosmosDbMongoDbAPICollectionDatasetTypeProperties)
+ var commonDataServiceForAppsEntityDatasetTypeProperties CommonDataServiceForAppsEntityDatasetTypeProperties
+ err = json.Unmarshal(*v, &commonDataServiceForAppsEntityDatasetTypeProperties)
if err != nil {
return err
}
- cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties = &cosmosDbMongoDbAPICollectionDatasetTypeProperties
+ cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties = &commonDataServiceForAppsEntityDatasetTypeProperties
}
default:
if v != nil {
@@ -38648,10 +40227,10 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- if cdmdacd.AdditionalProperties == nil {
- cdmdacd.AdditionalProperties = make(map[string]interface{})
+ if cdsfaed.AdditionalProperties == nil {
+ cdsfaed.AdditionalProperties = make(map[string]interface{})
}
- cdmdacd.AdditionalProperties[k] = additionalProperties
+ cdsfaed.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -38660,7 +40239,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- cdmdacd.Description = &description
+ cdsfaed.Description = &description
}
case "structure":
if v != nil {
@@ -38669,7 +40248,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- cdmdacd.Structure = structure
+ cdsfaed.Structure = structure
}
case "schema":
if v != nil {
@@ -38678,7 +40257,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- cdmdacd.Schema = schema
+ cdsfaed.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -38687,7 +40266,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- cdmdacd.LinkedServiceName = &linkedServiceName
+ cdsfaed.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -38696,7 +40275,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- cdmdacd.Parameters = parameters
+ cdsfaed.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -38705,7 +40284,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- cdmdacd.Annotations = &annotations
+ cdsfaed.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -38714,7 +40293,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- cdmdacd.Folder = &folder
+ cdsfaed.Folder = &folder
}
case "type":
if v != nil {
@@ -38723,7 +40302,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- cdmdacd.Type = typeVar
+ cdsfaed.Type = typeVar
}
}
}
@@ -38731,16 +40310,17 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e
return nil
}
-// CosmosDbMongoDbAPICollectionDatasetTypeProperties cosmosDB (MongoDB API) database dataset properties.
-type CosmosDbMongoDbAPICollectionDatasetTypeProperties struct {
- // Collection - The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string).
- Collection interface{} `json:"collection,omitempty"`
+// CommonDataServiceForAppsEntityDatasetTypeProperties common Data Service for Apps entity dataset
+// properties.
+type CommonDataServiceForAppsEntityDatasetTypeProperties struct {
+ // EntityName - The logical name of the entity. Type: string (or Expression with resultType string).
+ EntityName interface{} `json:"entityName,omitempty"`
}
-// CosmosDbMongoDbAPILinkedService linked service for CosmosDB (MongoDB API) data source.
-type CosmosDbMongoDbAPILinkedService struct {
- // CosmosDbMongoDbAPILinkedServiceTypeProperties - CosmosDB (MongoDB API) linked service properties.
- *CosmosDbMongoDbAPILinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// CommonDataServiceForAppsLinkedService common Data Service for Apps linked service.
+type CommonDataServiceForAppsLinkedService struct {
+ // CommonDataServiceForAppsLinkedServiceTypeProperties - Common Data Service for Apps linked service properties.
+ *CommonDataServiceForAppsLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -38751,470 +40331,500 @@ type CosmosDbMongoDbAPILinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) MarshalJSON() ([]byte, error) {
- cdmdals.Type = TypeCosmosDbMongoDbAPI
+// MarshalJSON is the custom marshaler for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) MarshalJSON() ([]byte, error) {
+ cdsfals.Type = TypeCommonDataServiceForApps
objectMap := make(map[string]interface{})
- if cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties
+ if cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties
}
- if cdmdals.ConnectVia != nil {
- objectMap["connectVia"] = cdmdals.ConnectVia
+ if cdsfals.ConnectVia != nil {
+ objectMap["connectVia"] = cdsfals.ConnectVia
}
- if cdmdals.Description != nil {
- objectMap["description"] = cdmdals.Description
+ if cdsfals.Description != nil {
+ objectMap["description"] = cdsfals.Description
}
- if cdmdals.Parameters != nil {
- objectMap["parameters"] = cdmdals.Parameters
+ if cdsfals.Parameters != nil {
+ objectMap["parameters"] = cdsfals.Parameters
}
- if cdmdals.Annotations != nil {
- objectMap["annotations"] = cdmdals.Annotations
+ if cdsfals.Annotations != nil {
+ objectMap["annotations"] = cdsfals.Annotations
}
- if cdmdals.Type != "" {
- objectMap["type"] = cdmdals.Type
+ if cdsfals.Type != "" {
+ objectMap["type"] = cdsfals.Type
}
- for k, v := range cdmdals.AdditionalProperties {
+ for k, v := range cdsfals.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
- return &cdmdals, true
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return &cdsfals, true
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
-func (cdmdals CosmosDbMongoDbAPILinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &cdmdals, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPILinkedService struct.
-func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService.
+func (cdsfals CommonDataServiceForAppsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &cdsfals, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsLinkedService struct.
+func (cdsfals *CommonDataServiceForAppsLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -39224,12 +40834,12 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error
switch k {
case "typeProperties":
if v != nil {
- var cosmosDbMongoDbAPILinkedServiceTypeProperties CosmosDbMongoDbAPILinkedServiceTypeProperties
- err = json.Unmarshal(*v, &cosmosDbMongoDbAPILinkedServiceTypeProperties)
+ var commonDataServiceForAppsLinkedServiceTypeProperties CommonDataServiceForAppsLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &commonDataServiceForAppsLinkedServiceTypeProperties)
if err != nil {
return err
}
- cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties = &cosmosDbMongoDbAPILinkedServiceTypeProperties
+ cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties = &commonDataServiceForAppsLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -39238,10 +40848,10 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- if cdmdals.AdditionalProperties == nil {
- cdmdals.AdditionalProperties = make(map[string]interface{})
+ if cdsfals.AdditionalProperties == nil {
+ cdsfals.AdditionalProperties = make(map[string]interface{})
}
- cdmdals.AdditionalProperties[k] = additionalProperties
+ cdsfals.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -39250,7 +40860,7 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- cdmdals.ConnectVia = &connectVia
+ cdsfals.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -39259,7 +40869,7 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- cdmdals.Description = &description
+ cdsfals.Description = &description
}
case "parameters":
if v != nil {
@@ -39268,7 +40878,7 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- cdmdals.Parameters = parameters
+ cdsfals.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -39277,7 +40887,7 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- cdmdals.Annotations = &annotations
+ cdsfals.Annotations = &annotations
}
case "type":
if v != nil {
@@ -39286,7 +40896,7 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- cdmdals.Type = typeVar
+ cdsfals.Type = typeVar
}
}
}
@@ -39294,18 +40904,130 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error
return nil
}
-// CosmosDbMongoDbAPILinkedServiceTypeProperties cosmosDB (MongoDB API) linked service properties.
-type CosmosDbMongoDbAPILinkedServiceTypeProperties struct {
- // ConnectionString - The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // Database - The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string).
- Database interface{} `json:"database,omitempty"`
+// CommonDataServiceForAppsLinkedServiceTypeProperties common Data Service for Apps linked service
+// properties.
+type CommonDataServiceForAppsLinkedServiceTypeProperties struct {
+ // DeploymentType - The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType string). Possible values include: 'Online', 'OnPremisesWithIfd'
+ DeploymentType DynamicsDeploymentType `json:"deploymentType,omitempty"`
+ // HostName - The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string).
+ HostName interface{} `json:"hostName,omitempty"`
+ // Port - The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.
+ Port interface{} `json:"port,omitempty"`
+ // ServiceURI - The URL to the Microsoft Common Data Service for Apps server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string).
+ ServiceURI interface{} `json:"serviceUri,omitempty"`
+ // OrganizationName - The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string).
+ OrganizationName interface{} `json:"organizationName,omitempty"`
+ // AuthenticationType - The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string). Possible values include: 'Office365', 'Ifd'
+ AuthenticationType DynamicsAuthenticationType `json:"authenticationType,omitempty"`
+ // Username - User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string).
+ Username interface{} `json:"username,omitempty"`
+ // Password - Password to access the Common Data Service for Apps instance.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// CosmosDbMongoDbAPISink a copy activity sink for a CosmosDB (MongoDB API) database.
-type CosmosDbMongoDbAPISink struct {
- // WriteBehavior - Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string).
- WriteBehavior interface{} `json:"writeBehavior,omitempty"`
+// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsLinkedServiceTypeProperties struct.
+func (cdsfalstp *CommonDataServiceForAppsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "deploymentType":
+ if v != nil {
+ var deploymentType DynamicsDeploymentType
+ err = json.Unmarshal(*v, &deploymentType)
+ if err != nil {
+ return err
+ }
+ cdsfalstp.DeploymentType = deploymentType
+ }
+ case "hostName":
+ if v != nil {
+ var hostName interface{}
+ err = json.Unmarshal(*v, &hostName)
+ if err != nil {
+ return err
+ }
+ cdsfalstp.HostName = hostName
+ }
+ case "port":
+ if v != nil {
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
+ if err != nil {
+ return err
+ }
+ cdsfalstp.Port = port
+ }
+ case "serviceUri":
+ if v != nil {
+ var serviceURI interface{}
+ err = json.Unmarshal(*v, &serviceURI)
+ if err != nil {
+ return err
+ }
+ cdsfalstp.ServiceURI = serviceURI
+ }
+ case "organizationName":
+ if v != nil {
+ var organizationName interface{}
+ err = json.Unmarshal(*v, &organizationName)
+ if err != nil {
+ return err
+ }
+ cdsfalstp.OrganizationName = organizationName
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType DynamicsAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ cdsfalstp.AuthenticationType = authenticationType
+ }
+ case "username":
+ if v != nil {
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
+ if err != nil {
+ return err
+ }
+ cdsfalstp.Username = username
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ cdsfalstp.Password = password
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ cdsfalstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// CommonDataServiceForAppsSink a copy activity Common Data Service for Apps sink.
+type CommonDataServiceForAppsSink struct {
+ // WriteBehavior - The write behavior for the operation.
+ WriteBehavior *string `json:"writeBehavior,omitempty"`
+ // IgnoreNullValues - The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean).
+ IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
@@ -39318,173 +41040,225 @@ type CosmosDbMongoDbAPISink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) MarshalJSON() ([]byte, error) {
- cdmdas.Type = TypeCosmosDbMongoDbAPISink
+// MarshalJSON is the custom marshaler for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) MarshalJSON() ([]byte, error) {
+ cdsfas.Type = TypeCommonDataServiceForAppsSink
objectMap := make(map[string]interface{})
- if cdmdas.WriteBehavior != nil {
- objectMap["writeBehavior"] = cdmdas.WriteBehavior
+ if cdsfas.WriteBehavior != nil {
+ objectMap["writeBehavior"] = cdsfas.WriteBehavior
}
- if cdmdas.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = cdmdas.WriteBatchSize
+ if cdsfas.IgnoreNullValues != nil {
+ objectMap["ignoreNullValues"] = cdsfas.IgnoreNullValues
}
- if cdmdas.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = cdmdas.WriteBatchTimeout
+ if cdsfas.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = cdsfas.WriteBatchSize
}
- if cdmdas.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = cdmdas.SinkRetryCount
+ if cdsfas.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = cdsfas.WriteBatchTimeout
}
- if cdmdas.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = cdmdas.SinkRetryWait
+ if cdsfas.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = cdsfas.SinkRetryCount
}
- if cdmdas.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections
+ if cdsfas.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = cdsfas.SinkRetryWait
}
- if cdmdas.Type != "" {
- objectMap["type"] = cdmdas.Type
+ if cdsfas.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = cdsfas.MaxConcurrentConnections
}
- for k, v := range cdmdas.AdditionalProperties {
+ if cdsfas.Type != "" {
+ objectMap["type"] = cdsfas.Type
+ }
+ for k, v := range cdsfas.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
- return &cdmdas, true
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+ return nil, false
}
-// AsSalesforceSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsSalesforceSink() (*SalesforceSink, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsDynamicsSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsDynamicsSink() (*DynamicsSink, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsOdbcSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsOdbcSink() (*OdbcSink, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return &cdsfas, true
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsInformixSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsOracleSink() (*OracleSink, bool) {
+// AsOdbcSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsSQLDWSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsSQLServerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsSQLSink() (*SQLSink, bool) {
+// AsOracleSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsFileSystemSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsFileSystemSink() (*FileSystemSink, bool) {
+// AsSQLMISink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsBlobSink() (*BlobSink, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsParquetSink() (*ParquetSink, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsAzureTableSink() (*AzureTableSink, bool) {
+// AsSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsAzureQueueSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+// AsBlobSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsCopySink() (*CopySink, bool) {
+// AsBinarySink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsBasicCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
-func (cdmdas CosmosDbMongoDbAPISink) AsBasicCopySink() (BasicCopySink, bool) {
- return &cdmdas, true
+// AsParquetSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsParquetSink() (*ParquetSink, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPISink struct.
-func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
+// AsAzureTableSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsAzureTableSink() (*AzureTableSink, bool) {
+ return nil, false
+}
+
+// AsAzureQueueSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+ return nil, false
+}
+
+// AsCopySink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsCopySink() (*CopySink, bool) {
+ return nil, false
+}
+
+// AsBasicCopySink is the BasicCopySink implementation for CommonDataServiceForAppsSink.
+func (cdsfas CommonDataServiceForAppsSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &cdsfas, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsSink struct.
+func (cdsfas *CommonDataServiceForAppsSink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
for k, v := range m {
switch k {
case "writeBehavior":
if v != nil {
- var writeBehavior interface{}
+ var writeBehavior string
err = json.Unmarshal(*v, &writeBehavior)
if err != nil {
return err
}
- cdmdas.WriteBehavior = writeBehavior
+ cdsfas.WriteBehavior = &writeBehavior
+ }
+ case "ignoreNullValues":
+ if v != nil {
+ var ignoreNullValues interface{}
+ err = json.Unmarshal(*v, &ignoreNullValues)
+ if err != nil {
+ return err
+ }
+ cdsfas.IgnoreNullValues = ignoreNullValues
}
default:
if v != nil {
@@ -39493,10 +41267,10 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if cdmdas.AdditionalProperties == nil {
- cdmdas.AdditionalProperties = make(map[string]interface{})
+ if cdsfas.AdditionalProperties == nil {
+ cdsfas.AdditionalProperties = make(map[string]interface{})
}
- cdmdas.AdditionalProperties[k] = additionalProperties
+ cdsfas.AdditionalProperties[k] = additionalProperties
}
case "writeBatchSize":
if v != nil {
@@ -39505,7 +41279,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdmdas.WriteBatchSize = writeBatchSize
+ cdsfas.WriteBatchSize = writeBatchSize
}
case "writeBatchTimeout":
if v != nil {
@@ -39514,7 +41288,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdmdas.WriteBatchTimeout = writeBatchTimeout
+ cdsfas.WriteBatchTimeout = writeBatchTimeout
}
case "sinkRetryCount":
if v != nil {
@@ -39523,7 +41297,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdmdas.SinkRetryCount = sinkRetryCount
+ cdsfas.SinkRetryCount = sinkRetryCount
}
case "sinkRetryWait":
if v != nil {
@@ -39532,7 +41306,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdmdas.SinkRetryWait = sinkRetryWait
+ cdsfas.SinkRetryWait = sinkRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -39541,7 +41315,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdmdas.MaxConcurrentConnections = maxConcurrentConnections
+ cdsfas.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -39550,7 +41324,7 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdmdas.Type = typeVar
+ cdsfas.Type = typeVar
}
}
}
@@ -39558,14 +41332,10 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error {
return nil
}
-// CosmosDbMongoDbAPISource a copy activity source for a CosmosDB (MongoDB API) database.
-type CosmosDbMongoDbAPISource struct {
- // Filter - Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string).
- Filter interface{} `json:"filter,omitempty"`
- // CursorMethods - Cursor methods for Mongodb query.
- CursorMethods *MongoDbCursorMethodsProperties `json:"cursorMethods,omitempty"`
- // BatchSize - Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer).
- BatchSize interface{} `json:"batchSize,omitempty"`
+// CommonDataServiceForAppsSource a copy activity Common Data Service for Apps source.
+type CommonDataServiceForAppsSource struct {
+ // Query - FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
@@ -39574,388 +41344,447 @@ type CosmosDbMongoDbAPISource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) MarshalJSON() ([]byte, error) {
- cdmdas.Type = TypeCosmosDbMongoDbAPISource
+// MarshalJSON is the custom marshaler for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) MarshalJSON() ([]byte, error) {
+ cdsfas.Type = TypeCommonDataServiceForAppsSource
objectMap := make(map[string]interface{})
- if cdmdas.Filter != nil {
- objectMap["filter"] = cdmdas.Filter
- }
- if cdmdas.CursorMethods != nil {
- objectMap["cursorMethods"] = cdmdas.CursorMethods
+ if cdsfas.Query != nil {
+ objectMap["query"] = cdsfas.Query
}
- if cdmdas.BatchSize != nil {
- objectMap["batchSize"] = cdmdas.BatchSize
- }
- if cdmdas.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = cdmdas.SourceRetryCount
+ if cdsfas.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = cdsfas.SourceRetryCount
}
- if cdmdas.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = cdmdas.SourceRetryWait
+ if cdsfas.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = cdsfas.SourceRetryWait
}
- if cdmdas.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections
+ if cdsfas.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = cdsfas.MaxConcurrentConnections
}
- if cdmdas.Type != "" {
- objectMap["type"] = cdmdas.Type
+ if cdsfas.Type != "" {
+ objectMap["type"] = cdsfas.Type
}
- for k, v := range cdmdas.AdditionalProperties {
+ for k, v := range cdsfas.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifySource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsOffice365Source() (*Office365Source, bool) {
+// AsOffice365Source is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
- return &cdmdas, true
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsCassandraSource() (*CassandraSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsWebSource() (*WebSource, bool) {
+// AsWebSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsTeradataSource() (*TeradataSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsOracleSource() (*OracleSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsHdfsSource() (*HdfsSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsRestSource() (*RestSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSapTableSource() (*SapTableSource, bool) {
+// AsRestSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsODataSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsBlobSource() (*BlobSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsParquetSource() (*ParquetSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsCopySource() (*CopySource, bool) {
+// AsDb2Source is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
-func (cdmdas CosmosDbMongoDbAPISource) AsBasicCopySource() (BasicCopySource, bool) {
- return &cdmdas, true
+// AsMicrosoftAccessSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPISource struct.
-func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error {
+// AsInformixSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return &cdsfas, true
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for CommonDataServiceForAppsSource.
+func (cdsfas CommonDataServiceForAppsSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &cdsfas, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsSource struct.
+func (cdsfas *CommonDataServiceForAppsSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -39963,32 +41792,14 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "filter":
- if v != nil {
- var filter interface{}
- err = json.Unmarshal(*v, &filter)
- if err != nil {
- return err
- }
- cdmdas.Filter = filter
- }
- case "cursorMethods":
- if v != nil {
- var cursorMethods MongoDbCursorMethodsProperties
- err = json.Unmarshal(*v, &cursorMethods)
- if err != nil {
- return err
- }
- cdmdas.CursorMethods = &cursorMethods
- }
- case "batchSize":
+ case "query":
if v != nil {
- var batchSize interface{}
- err = json.Unmarshal(*v, &batchSize)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- cdmdas.BatchSize = batchSize
+ cdsfas.Query = query
}
default:
if v != nil {
@@ -39997,10 +41808,10 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if cdmdas.AdditionalProperties == nil {
- cdmdas.AdditionalProperties = make(map[string]interface{})
+ if cdsfas.AdditionalProperties == nil {
+ cdsfas.AdditionalProperties = make(map[string]interface{})
}
- cdmdas.AdditionalProperties[k] = additionalProperties
+ cdsfas.AdditionalProperties[k] = additionalProperties
}
case "sourceRetryCount":
if v != nil {
@@ -40009,7 +41820,7 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdmdas.SourceRetryCount = sourceRetryCount
+ cdsfas.SourceRetryCount = sourceRetryCount
}
case "sourceRetryWait":
if v != nil {
@@ -40018,7 +41829,7 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdmdas.SourceRetryWait = sourceRetryWait
+ cdsfas.SourceRetryWait = sourceRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -40027,7 +41838,7 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdmdas.MaxConcurrentConnections = maxConcurrentConnections
+ cdsfas.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -40036,7 +41847,7 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cdmdas.Type = typeVar
+ cdsfas.Type = typeVar
}
}
}
@@ -40044,10 +41855,10 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error {
return nil
}
-// CouchbaseLinkedService couchbase server linked service.
-type CouchbaseLinkedService struct {
- // CouchbaseLinkedServiceTypeProperties - Couchbase server linked service properties.
- *CouchbaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// ConcurLinkedService concur Service linked service.
+type ConcurLinkedService struct {
+ // ConcurLinkedServiceTypeProperties - Concur Service linked service properties.
+ *ConcurLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -40058,16 +41869,16 @@ type CouchbaseLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) {
- cls.Type = TypeCouchbase
+// MarshalJSON is the custom marshaler for ConcurLinkedService.
+func (cls ConcurLinkedService) MarshalJSON() ([]byte, error) {
+ cls.Type = TypeConcur
objectMap := make(map[string]interface{})
- if cls.CouchbaseLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = cls.CouchbaseLinkedServiceTypeProperties
+ if cls.ConcurLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = cls.ConcurLinkedServiceTypeProperties
}
if cls.ConnectVia != nil {
objectMap["connectVia"] = cls.ConnectVia
@@ -40090,438 +41901,468 @@ func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return &cls, true
}
-// AsConcurLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
-func (cls CouchbaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
+func (cls ConcurLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
return &cls, true
}
-// UnmarshalJSON is the custom unmarshaler for CouchbaseLinkedService struct.
-func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for ConcurLinkedService struct.
+func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -40531,12 +42372,12 @@ func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var couchbaseLinkedServiceTypeProperties CouchbaseLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &couchbaseLinkedServiceTypeProperties)
+ var concurLinkedServiceTypeProperties ConcurLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &concurLinkedServiceTypeProperties)
if err != nil {
return err
}
- cls.CouchbaseLinkedServiceTypeProperties = &couchbaseLinkedServiceTypeProperties
+ cls.ConcurLinkedServiceTypeProperties = &concurLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -40601,404 +42442,564 @@ func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// CouchbaseLinkedServiceTypeProperties couchbase server linked service properties.
-type CouchbaseLinkedServiceTypeProperties struct {
- // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // CredString - The Azure key vault secret reference of credString in connection string.
- CredString *AzureKeyVaultSecretReference `json:"credString,omitempty"`
+// ConcurLinkedServiceTypeProperties concur Service linked service properties.
+type ConcurLinkedServiceTypeProperties struct {
+ // ClientID - Application client_id supplied by Concur App Management.
+ ClientID interface{} `json:"clientId,omitempty"`
+ // Username - The user name that you use to access Concur Service.
+ Username interface{} `json:"username,omitempty"`
+ // Password - The password corresponding to the user name that you provided in the username field.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
+ UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
+ // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
+ UseHostVerification interface{} `json:"useHostVerification,omitempty"`
+ // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
+ UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// CouchbaseSource a copy activity Couchbase server source.
-type CouchbaseSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// UnmarshalJSON is the custom unmarshaler for ConcurLinkedServiceTypeProperties struct.
+func (clstp *ConcurLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "clientId":
+ if v != nil {
+ var clientID interface{}
+ err = json.Unmarshal(*v, &clientID)
+ if err != nil {
+ return err
+ }
+ clstp.ClientID = clientID
+ }
+ case "username":
+ if v != nil {
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
+ if err != nil {
+ return err
+ }
+ clstp.Username = username
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ clstp.Password = password
+ }
+ case "useEncryptedEndpoints":
+ if v != nil {
+ var useEncryptedEndpoints interface{}
+ err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ if err != nil {
+ return err
+ }
+ clstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ }
+ case "useHostVerification":
+ if v != nil {
+ var useHostVerification interface{}
+ err = json.Unmarshal(*v, &useHostVerification)
+ if err != nil {
+ return err
+ }
+ clstp.UseHostVerification = useHostVerification
+ }
+ case "usePeerVerification":
+ if v != nil {
+ var usePeerVerification interface{}
+ err = json.Unmarshal(*v, &usePeerVerification)
+ if err != nil {
+ return err
+ }
+ clstp.UsePeerVerification = usePeerVerification
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ clstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// ConcurObjectDataset concur Service dataset.
+type ConcurObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CouchbaseSource.
-func (cs CouchbaseSource) MarshalJSON() ([]byte, error) {
- cs.Type = TypeCouchbaseSource
+// MarshalJSON is the custom marshaler for ConcurObjectDataset.
+func (cod ConcurObjectDataset) MarshalJSON() ([]byte, error) {
+ cod.Type = TypeConcurObject
objectMap := make(map[string]interface{})
- if cs.Query != nil {
- objectMap["query"] = cs.Query
+ if cod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = cod.GenericDatasetTypeProperties
}
- if cs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = cs.SourceRetryCount
+ if cod.Description != nil {
+ objectMap["description"] = cod.Description
}
- if cs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = cs.SourceRetryWait
+ if cod.Structure != nil {
+ objectMap["structure"] = cod.Structure
}
- if cs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections
+ if cod.Schema != nil {
+ objectMap["schema"] = cod.Schema
}
- if cs.Type != "" {
- objectMap["type"] = cs.Type
+ if cod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = cod.LinkedServiceName
}
- for k, v := range cs.AdditionalProperties {
+ if cod.Parameters != nil {
+ objectMap["parameters"] = cod.Parameters
+ }
+ if cod.Annotations != nil {
+ objectMap["annotations"] = cod.Annotations
+ }
+ if cod.Folder != nil {
+ objectMap["folder"] = cod.Folder
+ }
+ if cod.Type != "" {
+ objectMap["type"] = cod.Type
+ }
+ for k, v := range cod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
- return &cs, true
+// AsCouchbaseTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsConcurSource() (*ConcurSource, bool) {
- return nil, false
+// AsConcurObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return &cod, true
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsOffice365Source() (*Office365Source, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsWebSource() (*WebSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsOracleSource() (*OracleSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSQLSource() (*SQLSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsRestSource() (*RestSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsBlobSource() (*BlobSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsParquetSource() (*ParquetSource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsCopySource() (*CopySource, bool) {
+// AsCustomDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for CouchbaseSource.
-func (cs CouchbaseSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &cs, true
+// AsCassandraTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for CouchbaseSource struct.
-func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for ConcurObjectDataset.
+func (cod ConcurObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &cod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ConcurObjectDataset struct.
+func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -41006,14 +43007,14 @@ func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
if err != nil {
return err
}
- cs.Query = query
+ cod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -41022,46 +43023,82 @@ func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if cs.AdditionalProperties == nil {
- cs.AdditionalProperties = make(map[string]interface{})
+ if cod.AdditionalProperties == nil {
+ cod.AdditionalProperties = make(map[string]interface{})
}
- cs.AdditionalProperties[k] = additionalProperties
+ cod.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "description":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- cs.SourceRetryCount = sourceRetryCount
+ cod.Description = &description
}
- case "sourceRetryWait":
+ case "structure":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- cs.SourceRetryWait = sourceRetryWait
+ cod.Structure = structure
}
- case "maxConcurrentConnections":
+ case "schema":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- cs.MaxConcurrentConnections = maxConcurrentConnections
+ cod.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ cod.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ cod.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ cod.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ cod.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- cs.Type = typeVar
+ cod.Type = typeVar
}
}
}
@@ -41069,419 +43106,459 @@ func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error {
return nil
}
-// CouchbaseTableDataset couchbase server dataset.
-type CouchbaseTableDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// ConcurSource a copy activity Concur Service source.
+type ConcurSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) MarshalJSON() ([]byte, error) {
- ctd.Type = TypeCouchbaseTable
+// MarshalJSON is the custom marshaler for ConcurSource.
+func (cs ConcurSource) MarshalJSON() ([]byte, error) {
+ cs.Type = TypeConcurSource
objectMap := make(map[string]interface{})
- if ctd.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = ctd.GenericDatasetTypeProperties
- }
- if ctd.Description != nil {
- objectMap["description"] = ctd.Description
- }
- if ctd.Structure != nil {
- objectMap["structure"] = ctd.Structure
- }
- if ctd.Schema != nil {
- objectMap["schema"] = ctd.Schema
- }
- if ctd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = ctd.LinkedServiceName
+ if cs.Query != nil {
+ objectMap["query"] = cs.Query
}
- if ctd.Parameters != nil {
- objectMap["parameters"] = ctd.Parameters
+ if cs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = cs.SourceRetryCount
}
- if ctd.Annotations != nil {
- objectMap["annotations"] = ctd.Annotations
+ if cs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = cs.SourceRetryWait
}
- if ctd.Folder != nil {
- objectMap["folder"] = ctd.Folder
+ if cs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections
}
- if ctd.Type != "" {
- objectMap["type"] = ctd.Type
+ if cs.Type != "" {
+ objectMap["type"] = cs.Type
}
- for k, v := range ctd.AdditionalProperties {
+ for k, v := range cs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
- return &ctd, true
+// AsCouchbaseSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsConcurSource() (*ConcurSource, bool) {
+ return &cs, true
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsWebSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsTeradataSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsOracleSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsHdfsSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSQLMISource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSQLSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsRestSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsSapTableSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsSapEccSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsODataSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsSybaseSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsMySQLSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsOdbcSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsDb2Source is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsDataset() (*Dataset, bool) {
+// AsInformixSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for CouchbaseTableDataset.
-func (ctd CouchbaseTableDataset) AsBasicDataset() (BasicDataset, bool) {
- return &ctd, true
+// AsRelationalSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for CouchbaseTableDataset struct.
-func (ctd *CouchbaseTableDataset) UnmarshalJSON(body []byte) error {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for ConcurSource.
+func (cs ConcurSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &cs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ConcurSource struct.
+func (cs *ConcurSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -41489,14 +43566,14 @@ func (ctd *CouchbaseTableDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- ctd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ cs.Query = query
}
default:
if v != nil {
@@ -41505,82 +43582,46 @@ func (ctd *CouchbaseTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ctd.AdditionalProperties == nil {
- ctd.AdditionalProperties = make(map[string]interface{})
- }
- ctd.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- ctd.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
- }
- ctd.Structure = structure
- }
- case "schema":
- if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
- if err != nil {
- return err
- }
- ctd.Schema = schema
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
+ if cs.AdditionalProperties == nil {
+ cs.AdditionalProperties = make(map[string]interface{})
}
- ctd.LinkedServiceName = &linkedServiceName
+ cs.AdditionalProperties[k] = additionalProperties
}
- case "parameters":
+ case "sourceRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- ctd.Parameters = parameters
+ cs.SourceRetryCount = sourceRetryCount
}
- case "annotations":
+ case "sourceRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- ctd.Annotations = &annotations
+ cs.SourceRetryWait = sourceRetryWait
}
- case "folder":
+ case "maxConcurrentConnections":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- ctd.Folder = &folder
+ cs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ctd.Type = typeVar
+ cs.Type = typeVar
}
}
}
@@ -41588,33 +43629,23 @@ func (ctd *CouchbaseTableDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// CreateLinkedIntegrationRuntimeRequest the linked integration runtime information.
-type CreateLinkedIntegrationRuntimeRequest struct {
- // Name - The name of the linked integration runtime.
- Name *string `json:"name,omitempty"`
- // SubscriptionID - The ID of the subscription that the linked integration runtime belongs to.
- SubscriptionID *string `json:"subscriptionId,omitempty"`
- // DataFactoryName - The name of the data factory that the linked integration runtime belongs to.
- DataFactoryName *string `json:"dataFactoryName,omitempty"`
- // DataFactoryLocation - The location of the data factory that the linked integration runtime belongs to.
- DataFactoryLocation *string `json:"dataFactoryLocation,omitempty"`
-}
-
-// CreateRunResponse response body with a run identifier.
-type CreateRunResponse struct {
- autorest.Response `json:"-"`
- // RunID - Identifier of a run.
- RunID *string `json:"runId,omitempty"`
+// BasicControlActivity base class for all control activities like IfCondition, ForEach , Until.
+type BasicControlActivity interface {
+ AsWebHookActivity() (*WebHookActivity, bool)
+ AsAppendVariableActivity() (*AppendVariableActivity, bool)
+ AsSetVariableActivity() (*SetVariableActivity, bool)
+ AsFilterActivity() (*FilterActivity, bool)
+ AsValidationActivity() (*ValidationActivity, bool)
+ AsUntilActivity() (*UntilActivity, bool)
+ AsWaitActivity() (*WaitActivity, bool)
+ AsForEachActivity() (*ForEachActivity, bool)
+ AsIfConditionActivity() (*IfConditionActivity, bool)
+ AsExecutePipelineActivity() (*ExecutePipelineActivity, bool)
+ AsControlActivity() (*ControlActivity, bool)
}
-// CustomActivity custom activity type.
-type CustomActivity struct {
- // CustomActivityTypeProperties - Custom activity properties.
- *CustomActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
+// ControlActivity base class for all control activities like IfCondition, ForEach , Until.
+type ControlActivity struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Name - Activity name.
@@ -41625,23 +43656,87 @@ type CustomActivity struct {
DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
// UserProperties - Activity user properties.
UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CustomActivity.
-func (ca CustomActivity) MarshalJSON() ([]byte, error) {
- ca.Type = TypeCustom
- objectMap := make(map[string]interface{})
- if ca.CustomActivityTypeProperties != nil {
- objectMap["typeProperties"] = ca.CustomActivityTypeProperties
+func unmarshalBasicControlActivity(body []byte) (BasicControlActivity, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
}
- if ca.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = ca.LinkedServiceName
+
+ switch m["type"] {
+ case string(TypeWebHook):
+ var wha WebHookActivity
+ err := json.Unmarshal(body, &wha)
+ return wha, err
+ case string(TypeAppendVariable):
+ var ava AppendVariableActivity
+ err := json.Unmarshal(body, &ava)
+ return ava, err
+ case string(TypeSetVariable):
+ var sva SetVariableActivity
+ err := json.Unmarshal(body, &sva)
+ return sva, err
+ case string(TypeFilter):
+ var fa FilterActivity
+ err := json.Unmarshal(body, &fa)
+ return fa, err
+ case string(TypeValidation):
+ var va ValidationActivity
+ err := json.Unmarshal(body, &va)
+ return va, err
+ case string(TypeUntil):
+ var ua UntilActivity
+ err := json.Unmarshal(body, &ua)
+ return ua, err
+ case string(TypeWait):
+ var wa WaitActivity
+ err := json.Unmarshal(body, &wa)
+ return wa, err
+ case string(TypeForEach):
+ var fea ForEachActivity
+ err := json.Unmarshal(body, &fea)
+ return fea, err
+ case string(TypeIfCondition):
+ var ica IfConditionActivity
+ err := json.Unmarshal(body, &ica)
+ return ica, err
+ case string(TypeExecutePipeline):
+ var epa ExecutePipelineActivity
+ err := json.Unmarshal(body, &epa)
+ return epa, err
+ default:
+ var ca ControlActivity
+ err := json.Unmarshal(body, &ca)
+ return ca, err
}
- if ca.Policy != nil {
- objectMap["policy"] = ca.Policy
+}
+func unmarshalBasicControlActivityArray(body []byte) ([]BasicControlActivity, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
+
+ caArray := make([]BasicControlActivity, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ ca, err := unmarshalBasicControlActivity(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ caArray[index] = ca
}
+ return caArray, nil
+}
+
+// MarshalJSON is the custom marshaler for ControlActivity.
+func (ca ControlActivity) MarshalJSON() ([]byte, error) {
+ ca.Type = TypeContainer
+ objectMap := make(map[string]interface{})
if ca.Name != nil {
objectMap["name"] = ca.Name
}
@@ -41663,188 +43758,193 @@ func (ca CustomActivity) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsAzureFunctionActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsWebActivity() (*WebActivity, bool) {
+// AsWebActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsLookupActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsDeleteActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsCustomActivity() (*CustomActivity, bool) {
- return &ca, true
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+ return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsCustomActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsCopyActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &ca, true
+// AsExecutionActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsBasicExecutionActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsWebHookActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsFilterActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsValidationActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsUntilActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsWaitActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsForEachActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
- return nil, false
+// AsControlActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsControlActivity() (*ControlActivity, bool) {
+ return &ca, true
}
-// AsActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsActivity() (*Activity, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return &ca, true
+}
+
+// AsActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for CustomActivity.
-func (ca CustomActivity) AsBasicActivity() (BasicActivity, bool) {
+// AsBasicActivity is the BasicActivity implementation for ControlActivity.
+func (ca ControlActivity) AsBasicActivity() (BasicActivity, bool) {
return &ca, true
}
-// UnmarshalJSON is the custom unmarshaler for CustomActivity struct.
-func (ca *CustomActivity) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for ControlActivity struct.
+func (ca *ControlActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -41852,33 +43952,6 @@ func (ca *CustomActivity) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
- if v != nil {
- var customActivityTypeProperties CustomActivityTypeProperties
- err = json.Unmarshal(*v, &customActivityTypeProperties)
- if err != nil {
- return err
- }
- ca.CustomActivityTypeProperties = &customActivityTypeProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- ca.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
- if err != nil {
- return err
- }
- ca.Policy = &policy
- }
default:
if v != nil {
var additionalProperties interface{}
@@ -41942,467 +44015,259 @@ func (ca *CustomActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// CustomActivityReferenceObject reference objects for custom activity
-type CustomActivityReferenceObject struct {
- // LinkedServices - Linked service references.
- LinkedServices *[]LinkedServiceReference `json:"linkedServices,omitempty"`
- // Datasets - Dataset references.
- Datasets *[]DatasetReference `json:"datasets,omitempty"`
+// CopyActivity copy activity.
+type CopyActivity struct {
+ // CopyActivityTypeProperties - Copy activity properties.
+ *CopyActivityTypeProperties `json:"typeProperties,omitempty"`
+ // Inputs - List of inputs for the activity.
+ Inputs *[]DatasetReference `json:"inputs,omitempty"`
+ // Outputs - List of outputs for the activity.
+ Outputs *[]DatasetReference `json:"outputs,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// CustomActivityTypeProperties custom activity properties.
-type CustomActivityTypeProperties struct {
- // Command - Command for custom activity Type: string (or Expression with resultType string).
- Command interface{} `json:"command,omitempty"`
- // ResourceLinkedService - Resource linked service reference.
- ResourceLinkedService *LinkedServiceReference `json:"resourceLinkedService,omitempty"`
- // FolderPath - Folder path for resource files Type: string (or Expression with resultType string).
- FolderPath interface{} `json:"folderPath,omitempty"`
- // ReferenceObjects - Reference objects
- ReferenceObjects *CustomActivityReferenceObject `json:"referenceObjects,omitempty"`
- // ExtendedProperties - User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined.
- ExtendedProperties map[string]interface{} `json:"extendedProperties"`
- // RetentionTimeInDays - The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double).
- RetentionTimeInDays interface{} `json:"retentionTimeInDays,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for CustomActivityTypeProperties.
-func (catp CustomActivityTypeProperties) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for CopyActivity.
+func (ca CopyActivity) MarshalJSON() ([]byte, error) {
+ ca.Type = TypeCopy
objectMap := make(map[string]interface{})
- if catp.Command != nil {
- objectMap["command"] = catp.Command
- }
- if catp.ResourceLinkedService != nil {
- objectMap["resourceLinkedService"] = catp.ResourceLinkedService
- }
- if catp.FolderPath != nil {
- objectMap["folderPath"] = catp.FolderPath
- }
- if catp.ReferenceObjects != nil {
- objectMap["referenceObjects"] = catp.ReferenceObjects
- }
- if catp.ExtendedProperties != nil {
- objectMap["extendedProperties"] = catp.ExtendedProperties
- }
- if catp.RetentionTimeInDays != nil {
- objectMap["retentionTimeInDays"] = catp.RetentionTimeInDays
+ if ca.CopyActivityTypeProperties != nil {
+ objectMap["typeProperties"] = ca.CopyActivityTypeProperties
}
- return json.Marshal(objectMap)
-}
-
-// CustomDataset the custom dataset.
-type CustomDataset struct {
- // TypeProperties - Custom dataset properties.
- TypeProperties interface{} `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for CustomDataset.
-func (cd CustomDataset) MarshalJSON() ([]byte, error) {
- cd.Type = TypeCustomDataset
- objectMap := make(map[string]interface{})
- if cd.TypeProperties != nil {
- objectMap["typeProperties"] = cd.TypeProperties
+ if ca.Inputs != nil {
+ objectMap["inputs"] = ca.Inputs
}
- if cd.Description != nil {
- objectMap["description"] = cd.Description
+ if ca.Outputs != nil {
+ objectMap["outputs"] = ca.Outputs
}
- if cd.Structure != nil {
- objectMap["structure"] = cd.Structure
+ if ca.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = ca.LinkedServiceName
}
- if cd.Schema != nil {
- objectMap["schema"] = cd.Schema
+ if ca.Policy != nil {
+ objectMap["policy"] = ca.Policy
}
- if cd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = cd.LinkedServiceName
+ if ca.Name != nil {
+ objectMap["name"] = ca.Name
}
- if cd.Parameters != nil {
- objectMap["parameters"] = cd.Parameters
+ if ca.Description != nil {
+ objectMap["description"] = ca.Description
}
- if cd.Annotations != nil {
- objectMap["annotations"] = cd.Annotations
+ if ca.DependsOn != nil {
+ objectMap["dependsOn"] = ca.DependsOn
}
- if cd.Folder != nil {
- objectMap["folder"] = cd.Folder
+ if ca.UserProperties != nil {
+ objectMap["userProperties"] = ca.UserProperties
}
- if cd.Type != "" {
- objectMap["type"] = cd.Type
+ if ca.Type != "" {
+ objectMap["type"] = ca.Type
}
- for k, v := range cd.AdditionalProperties {
+ for k, v := range ca.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
- return nil, false
-}
-
-// AsResponsysObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsVerticaTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
- return nil, false
-}
-
-// AsNetezzaTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
- return nil, false
-}
-
-// AsZohoObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
- return nil, false
-}
-
-// AsXeroObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
- return nil, false
-}
-
-// AsSquareObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
- return nil, false
-}
-
-// AsSparkObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
- return nil, false
-}
-
-// AsShopifyObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
- return nil, false
-}
-
-// AsServiceNowObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
- return nil, false
-}
-
-// AsQuickBooksObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
- return nil, false
-}
-
-// AsPrestoObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
- return nil, false
-}
-
-// AsPhoenixObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
- return nil, false
-}
-
-// AsPaypalObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
- return nil, false
-}
-
-// AsMarketoObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
- return nil, false
-}
-
-// AsMariaDBTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
- return nil, false
-}
-
-// AsMagentoObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
- return nil, false
-}
-
-// AsJiraObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
- return nil, false
-}
-
-// AsImpalaObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
- return nil, false
-}
-
-// AsHubspotObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
- return nil, false
-}
-
-// AsHiveObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
- return nil, false
-}
-
-// AsHBaseObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
- return nil, false
-}
-
-// AsGreenplumTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
- return nil, false
-}
-
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
- return nil, false
-}
-
-// AsEloquaObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
- return nil, false
-}
-
-// AsDrillTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
- return nil, false
-}
-
-// AsCouchbaseTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
- return nil, false
-}
-
-// AsConcurObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
- return nil, false
-}
-
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsWebActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsLookupActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsDeleteActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsCustomActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
- return nil, false
+// AsCopyActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsCopyActivity() (*CopyActivity, bool) {
+ return &ca, true
}
-// AsFileShareDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsExecutionActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
- return nil, false
+// AsBasicExecutionActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &ca, true
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsWebHookActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFilterActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsCustomDataset() (*CustomDataset, bool) {
- return &cd, true
-}
-
-// AsCassandraTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsValidationActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsUntilActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsWaitActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsForEachActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsControlActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsDataset() (*Dataset, bool) {
+// AsActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for CustomDataset.
-func (cd CustomDataset) AsBasicDataset() (BasicDataset, bool) {
- return &cd, true
+// AsBasicActivity is the BasicActivity implementation for CopyActivity.
+func (ca CopyActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &ca, true
}
-// UnmarshalJSON is the custom unmarshaler for CustomDataset struct.
-func (cd *CustomDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for CopyActivity struct.
+func (ca *CopyActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -42412,12 +44277,48 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var typeProperties interface{}
- err = json.Unmarshal(*v, &typeProperties)
+ var copyActivityTypeProperties CopyActivityTypeProperties
+ err = json.Unmarshal(*v, ©ActivityTypeProperties)
if err != nil {
return err
}
- cd.TypeProperties = typeProperties
+ ca.CopyActivityTypeProperties = ©ActivityTypeProperties
+ }
+ case "inputs":
+ if v != nil {
+ var inputs []DatasetReference
+ err = json.Unmarshal(*v, &inputs)
+ if err != nil {
+ return err
+ }
+ ca.Inputs = &inputs
+ }
+ case "outputs":
+ if v != nil {
+ var outputs []DatasetReference
+ err = json.Unmarshal(*v, &outputs)
+ if err != nil {
+ return err
+ }
+ ca.Outputs = &outputs
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ ca.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ ca.Policy = &policy
}
default:
if v != nil {
@@ -42426,10 +44327,19 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if cd.AdditionalProperties == nil {
- cd.AdditionalProperties = make(map[string]interface{})
+ if ca.AdditionalProperties == nil {
+ ca.AdditionalProperties = make(map[string]interface{})
}
- cd.AdditionalProperties[k] = additionalProperties
+ ca.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ ca.Name = &name
}
case "description":
if v != nil {
@@ -42438,70 +44348,172 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- cd.Description = &description
+ ca.Description = &description
}
- case "structure":
+ case "dependsOn":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
if err != nil {
return err
}
- cd.Structure = structure
+ ca.DependsOn = &dependsOn
}
- case "schema":
+ case "userProperties":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
if err != nil {
return err
}
- cd.Schema = schema
+ ca.UserProperties = &userProperties
}
- case "linkedServiceName":
+ case "type":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- cd.LinkedServiceName = &linkedServiceName
+ ca.Type = typeVar
}
- case "parameters":
+ }
+ }
+
+ return nil
+}
+
+// CopyActivityTypeProperties copy activity properties.
+type CopyActivityTypeProperties struct {
+ // Source - Copy activity source.
+ Source BasicCopySource `json:"source,omitempty"`
+ // Sink - Copy activity sink.
+ Sink BasicCopySink `json:"sink,omitempty"`
+ // Translator - Copy activity translator. If not specified, tabular translator is used.
+ Translator interface{} `json:"translator,omitempty"`
+ // EnableStaging - Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean).
+ EnableStaging interface{} `json:"enableStaging,omitempty"`
+ // StagingSettings - Specifies interim staging settings when EnableStaging is true.
+ StagingSettings *StagingSettings `json:"stagingSettings,omitempty"`
+ // ParallelCopies - Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0.
+ ParallelCopies interface{} `json:"parallelCopies,omitempty"`
+ // DataIntegrationUnits - Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0.
+ DataIntegrationUnits interface{} `json:"dataIntegrationUnits,omitempty"`
+ // EnableSkipIncompatibleRow - Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean).
+ EnableSkipIncompatibleRow interface{} `json:"enableSkipIncompatibleRow,omitempty"`
+ // RedirectIncompatibleRowSettings - Redirect incompatible row settings when EnableSkipIncompatibleRow is true.
+ RedirectIncompatibleRowSettings *RedirectIncompatibleRowSettings `json:"redirectIncompatibleRowSettings,omitempty"`
+ // PreserveRules - Preserve Rules.
+ PreserveRules *[]interface{} `json:"preserveRules,omitempty"`
+ // Preserve - Preserve rules.
+ Preserve *[]interface{} `json:"preserve,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for CopyActivityTypeProperties struct.
+func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "source":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ source, err := unmarshalBasicCopySource(*v)
if err != nil {
return err
}
- cd.Parameters = parameters
+ catp.Source = source
}
- case "annotations":
+ case "sink":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ sink, err := unmarshalBasicCopySink(*v)
if err != nil {
return err
}
- cd.Annotations = &annotations
+ catp.Sink = sink
}
- case "folder":
+ case "translator":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var translator interface{}
+ err = json.Unmarshal(*v, &translator)
if err != nil {
return err
}
- cd.Folder = &folder
+ catp.Translator = translator
}
- case "type":
+ case "enableStaging":
if v != nil {
- var typeVar TypeBasicDataset
- err = json.Unmarshal(*v, &typeVar)
+ var enableStaging interface{}
+ err = json.Unmarshal(*v, &enableStaging)
if err != nil {
return err
}
- cd.Type = typeVar
+ catp.EnableStaging = enableStaging
+ }
+ case "stagingSettings":
+ if v != nil {
+ var stagingSettings StagingSettings
+ err = json.Unmarshal(*v, &stagingSettings)
+ if err != nil {
+ return err
+ }
+ catp.StagingSettings = &stagingSettings
+ }
+ case "parallelCopies":
+ if v != nil {
+ var parallelCopies interface{}
+ err = json.Unmarshal(*v, ¶llelCopies)
+ if err != nil {
+ return err
+ }
+ catp.ParallelCopies = parallelCopies
+ }
+ case "dataIntegrationUnits":
+ if v != nil {
+ var dataIntegrationUnits interface{}
+ err = json.Unmarshal(*v, &dataIntegrationUnits)
+ if err != nil {
+ return err
+ }
+ catp.DataIntegrationUnits = dataIntegrationUnits
+ }
+ case "enableSkipIncompatibleRow":
+ if v != nil {
+ var enableSkipIncompatibleRow interface{}
+ err = json.Unmarshal(*v, &enableSkipIncompatibleRow)
+ if err != nil {
+ return err
+ }
+ catp.EnableSkipIncompatibleRow = enableSkipIncompatibleRow
+ }
+ case "redirectIncompatibleRowSettings":
+ if v != nil {
+ var redirectIncompatibleRowSettings RedirectIncompatibleRowSettings
+ err = json.Unmarshal(*v, &redirectIncompatibleRowSettings)
+ if err != nil {
+ return err
+ }
+ catp.RedirectIncompatibleRowSettings = &redirectIncompatibleRowSettings
+ }
+ case "preserveRules":
+ if v != nil {
+ var preserveRules []interface{}
+ err = json.Unmarshal(*v, &preserveRules)
+ if err != nil {
+ return err
+ }
+ catp.PreserveRules = &preserveRules
+ }
+ case "preserve":
+ if v != nil {
+ var preserve []interface{}
+ err = json.Unmarshal(*v, &preserve)
+ if err != nil {
+ return err
+ }
+ catp.Preserve = &preserve
}
}
}
@@ -42509,801 +44521,1357 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// CustomDataSourceLinkedService custom linked service.
-type CustomDataSourceLinkedService struct {
- // TypeProperties - Custom linked service properties.
- TypeProperties interface{} `json:"typeProperties,omitempty"`
+// BasicCopySink a copy activity sink.
+type BasicCopySink interface {
+ AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool)
+ AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool)
+ AsSalesforceSink() (*SalesforceSink, bool)
+ AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool)
+ AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool)
+ AsDynamicsCrmSink() (*DynamicsCrmSink, bool)
+ AsDynamicsSink() (*DynamicsSink, bool)
+ AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool)
+ AsInformixSink() (*InformixSink, bool)
+ AsOdbcSink() (*OdbcSink, bool)
+ AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool)
+ AsAzureBlobFSSink() (*AzureBlobFSSink, bool)
+ AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool)
+ AsOracleSink() (*OracleSink, bool)
+ AsSQLDWSink() (*SQLDWSink, bool)
+ AsSQLMISink() (*SQLMISink, bool)
+ AsAzureSQLSink() (*AzureSQLSink, bool)
+ AsSQLServerSink() (*SQLServerSink, bool)
+ AsSQLSink() (*SQLSink, bool)
+ AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool)
+ AsFileSystemSink() (*FileSystemSink, bool)
+ AsBlobSink() (*BlobSink, bool)
+ AsBinarySink() (*BinarySink, bool)
+ AsParquetSink() (*ParquetSink, bool)
+ AsAzureTableSink() (*AzureTableSink, bool)
+ AsAzureQueueSink() (*AzureQueueSink, bool)
+ AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool)
+ AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool)
+ AsDelimitedTextSink() (*DelimitedTextSink, bool)
+ AsCopySink() (*CopySink, bool)
+}
+
+// CopySink a copy activity sink.
+type CopySink struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) MarshalJSON() ([]byte, error) {
- cdsls.Type = TypeCustomDataSource
+func unmarshalBasicCopySink(body []byte) (BasicCopySink, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
+
+ switch m["type"] {
+ case string(TypeCosmosDbMongoDbAPISink):
+ var cdmdas CosmosDbMongoDbAPISink
+ err := json.Unmarshal(body, &cdmdas)
+ return cdmdas, err
+ case string(TypeSalesforceServiceCloudSink):
+ var sscs SalesforceServiceCloudSink
+ err := json.Unmarshal(body, &sscs)
+ return sscs, err
+ case string(TypeSalesforceSink):
+ var ss SalesforceSink
+ err := json.Unmarshal(body, &ss)
+ return ss, err
+ case string(TypeAzureDataExplorerSink):
+ var ades AzureDataExplorerSink
+ err := json.Unmarshal(body, &ades)
+ return ades, err
+ case string(TypeCommonDataServiceForAppsSink):
+ var cdsfas CommonDataServiceForAppsSink
+ err := json.Unmarshal(body, &cdsfas)
+ return cdsfas, err
+ case string(TypeDynamicsCrmSink):
+ var dcs DynamicsCrmSink
+ err := json.Unmarshal(body, &dcs)
+ return dcs, err
+ case string(TypeDynamicsSink):
+ var ds DynamicsSink
+ err := json.Unmarshal(body, &ds)
+ return ds, err
+ case string(TypeMicrosoftAccessSink):
+ var mas MicrosoftAccessSink
+ err := json.Unmarshal(body, &mas)
+ return mas, err
+ case string(TypeInformixSink):
+ var is InformixSink
+ err := json.Unmarshal(body, &is)
+ return is, err
+ case string(TypeOdbcSink):
+ var osVar OdbcSink
+ err := json.Unmarshal(body, &osVar)
+ return osVar, err
+ case string(TypeAzureSearchIndexSink):
+ var asis AzureSearchIndexSink
+ err := json.Unmarshal(body, &asis)
+ return asis, err
+ case string(TypeAzureBlobFSSink):
+ var abfs AzureBlobFSSink
+ err := json.Unmarshal(body, &abfs)
+ return abfs, err
+ case string(TypeAzureDataLakeStoreSink):
+ var adlss AzureDataLakeStoreSink
+ err := json.Unmarshal(body, &adlss)
+ return adlss, err
+ case string(TypeOracleSink):
+ var osVar OracleSink
+ err := json.Unmarshal(body, &osVar)
+ return osVar, err
+ case string(TypeSQLDWSink):
+ var sds SQLDWSink
+ err := json.Unmarshal(body, &sds)
+ return sds, err
+ case string(TypeSQLMISink):
+ var sms SQLMISink
+ err := json.Unmarshal(body, &sms)
+ return sms, err
+ case string(TypeAzureSQLSink):
+ var ass AzureSQLSink
+ err := json.Unmarshal(body, &ass)
+ return ass, err
+ case string(TypeSQLServerSink):
+ var sss SQLServerSink
+ err := json.Unmarshal(body, &sss)
+ return sss, err
+ case string(TypeSQLSink):
+ var ss SQLSink
+ err := json.Unmarshal(body, &ss)
+ return ss, err
+ case string(TypeDocumentDbCollectionSink):
+ var ddcs DocumentDbCollectionSink
+ err := json.Unmarshal(body, &ddcs)
+ return ddcs, err
+ case string(TypeFileSystemSink):
+ var fss FileSystemSink
+ err := json.Unmarshal(body, &fss)
+ return fss, err
+ case string(TypeBlobSink):
+ var bs BlobSink
+ err := json.Unmarshal(body, &bs)
+ return bs, err
+ case string(TypeBinarySink):
+ var bs BinarySink
+ err := json.Unmarshal(body, &bs)
+ return bs, err
+ case string(TypeParquetSink):
+ var ps ParquetSink
+ err := json.Unmarshal(body, &ps)
+ return ps, err
+ case string(TypeAzureTableSink):
+ var ats AzureTableSink
+ err := json.Unmarshal(body, &ats)
+ return ats, err
+ case string(TypeAzureQueueSink):
+ var aqs AzureQueueSink
+ err := json.Unmarshal(body, &aqs)
+ return aqs, err
+ case string(TypeSapCloudForCustomerSink):
+ var scfcs SapCloudForCustomerSink
+ err := json.Unmarshal(body, &scfcs)
+ return scfcs, err
+ case string(TypeAzurePostgreSQLSink):
+ var apss AzurePostgreSQLSink
+ err := json.Unmarshal(body, &apss)
+ return apss, err
+ case string(TypeDelimitedTextSink):
+ var dts DelimitedTextSink
+ err := json.Unmarshal(body, &dts)
+ return dts, err
+ default:
+ var cs CopySink
+ err := json.Unmarshal(body, &cs)
+ return cs, err
+ }
+}
+func unmarshalBasicCopySinkArray(body []byte) ([]BasicCopySink, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
+
+ csArray := make([]BasicCopySink, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ cs, err := unmarshalBasicCopySink(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ csArray[index] = cs
+ }
+ return csArray, nil
+}
+
+// MarshalJSON is the custom marshaler for CopySink.
+func (cs CopySink) MarshalJSON() ([]byte, error) {
+ cs.Type = TypeCopySink
objectMap := make(map[string]interface{})
- if cdsls.TypeProperties != nil {
- objectMap["typeProperties"] = cdsls.TypeProperties
+ if cs.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = cs.WriteBatchSize
}
- if cdsls.ConnectVia != nil {
- objectMap["connectVia"] = cdsls.ConnectVia
+ if cs.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = cs.WriteBatchTimeout
}
- if cdsls.Description != nil {
- objectMap["description"] = cdsls.Description
+ if cs.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = cs.SinkRetryCount
}
- if cdsls.Parameters != nil {
- objectMap["parameters"] = cdsls.Parameters
+ if cs.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = cs.SinkRetryWait
}
- if cdsls.Annotations != nil {
- objectMap["annotations"] = cdsls.Annotations
+ if cs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections
}
- if cdsls.Type != "" {
- objectMap["type"] = cdsls.Type
+ if cs.Type != "" {
+ objectMap["type"] = cs.Type
}
- for k, v := range cdsls.AdditionalProperties {
+ for k, v := range cs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return nil, false
-}
-
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
- return nil, false
-}
-
-// AsResponsysLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
- return nil, false
-}
-
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
- return nil, false
-}
-
-// AsNetezzaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsInformixSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsOdbcSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsOracleSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsSQLMISink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsSQLSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsBlobSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsBinarySink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsParquetSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
- return nil, false
+// AsCopySink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsCopySink() (*CopySink, bool) {
+ return &cs, true
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
- return nil, false
+// AsBasicCopySink is the BasicCopySink implementation for CopySink.
+func (cs CopySink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &cs, true
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for CopySink struct.
+func (cs *CopySink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if cs.AdditionalProperties == nil {
+ cs.AdditionalProperties = make(map[string]interface{})
+ }
+ cs.AdditionalProperties[k] = additionalProperties
+ }
+ case "writeBatchSize":
+ if v != nil {
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
+ if err != nil {
+ return err
+ }
+ cs.WriteBatchSize = writeBatchSize
+ }
+ case "writeBatchTimeout":
+ if v != nil {
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
+ if err != nil {
+ return err
+ }
+ cs.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ cs.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ cs.SinkRetryWait = sinkRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ cs.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySink
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ cs.Type = typeVar
+ }
+ }
+ }
-// AsHTTPLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
- return nil, false
+ return nil
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
- return nil, false
+// BasicCopySource a copy activity source.
+type BasicCopySource interface {
+ AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool)
+ AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool)
+ AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool)
+ AsDynamicsAXSource() (*DynamicsAXSource, bool)
+ AsResponsysSource() (*ResponsysSource, bool)
+ AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool)
+ AsVerticaSource() (*VerticaSource, bool)
+ AsNetezzaSource() (*NetezzaSource, bool)
+ AsZohoSource() (*ZohoSource, bool)
+ AsXeroSource() (*XeroSource, bool)
+ AsSquareSource() (*SquareSource, bool)
+ AsSparkSource() (*SparkSource, bool)
+ AsShopifySource() (*ShopifySource, bool)
+ AsServiceNowSource() (*ServiceNowSource, bool)
+ AsQuickBooksSource() (*QuickBooksSource, bool)
+ AsPrestoSource() (*PrestoSource, bool)
+ AsPhoenixSource() (*PhoenixSource, bool)
+ AsPaypalSource() (*PaypalSource, bool)
+ AsMarketoSource() (*MarketoSource, bool)
+ AsMariaDBSource() (*MariaDBSource, bool)
+ AsMagentoSource() (*MagentoSource, bool)
+ AsJiraSource() (*JiraSource, bool)
+ AsImpalaSource() (*ImpalaSource, bool)
+ AsHubspotSource() (*HubspotSource, bool)
+ AsHiveSource() (*HiveSource, bool)
+ AsHBaseSource() (*HBaseSource, bool)
+ AsGreenplumSource() (*GreenplumSource, bool)
+ AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool)
+ AsEloquaSource() (*EloquaSource, bool)
+ AsDrillSource() (*DrillSource, bool)
+ AsCouchbaseSource() (*CouchbaseSource, bool)
+ AsConcurSource() (*ConcurSource, bool)
+ AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool)
+ AsAmazonMWSSource() (*AmazonMWSSource, bool)
+ AsHTTPSource() (*HTTPSource, bool)
+ AsAzureBlobFSSource() (*AzureBlobFSSource, bool)
+ AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool)
+ AsOffice365Source() (*Office365Source, bool)
+ AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool)
+ AsMongoDbV2Source() (*MongoDbV2Source, bool)
+ AsMongoDbSource() (*MongoDbSource, bool)
+ AsCassandraSource() (*CassandraSource, bool)
+ AsWebSource() (*WebSource, bool)
+ AsTeradataSource() (*TeradataSource, bool)
+ AsOracleSource() (*OracleSource, bool)
+ AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool)
+ AsAzureMySQLSource() (*AzureMySQLSource, bool)
+ AsHdfsSource() (*HdfsSource, bool)
+ AsFileSystemSource() (*FileSystemSource, bool)
+ AsSQLDWSource() (*SQLDWSource, bool)
+ AsSQLMISource() (*SQLMISource, bool)
+ AsAzureSQLSource() (*AzureSQLSource, bool)
+ AsSQLServerSource() (*SQLServerSource, bool)
+ AsSQLSource() (*SQLSource, bool)
+ AsRestSource() (*RestSource, bool)
+ AsSapTableSource() (*SapTableSource, bool)
+ AsSapOpenHubSource() (*SapOpenHubSource, bool)
+ AsSapHanaSource() (*SapHanaSource, bool)
+ AsSapEccSource() (*SapEccSource, bool)
+ AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool)
+ AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool)
+ AsSalesforceSource() (*SalesforceSource, bool)
+ AsODataSource() (*ODataSource, bool)
+ AsSybaseSource() (*SybaseSource, bool)
+ AsPostgreSQLSource() (*PostgreSQLSource, bool)
+ AsMySQLSource() (*MySQLSource, bool)
+ AsOdbcSource() (*OdbcSource, bool)
+ AsDb2Source() (*Db2Source, bool)
+ AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool)
+ AsInformixSource() (*InformixSource, bool)
+ AsRelationalSource() (*RelationalSource, bool)
+ AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool)
+ AsDynamicsCrmSource() (*DynamicsCrmSource, bool)
+ AsDynamicsSource() (*DynamicsSource, bool)
+ AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool)
+ AsBlobSource() (*BlobSource, bool)
+ AsAzureTableSource() (*AzureTableSource, bool)
+ AsBinarySource() (*BinarySource, bool)
+ AsDelimitedTextSource() (*DelimitedTextSource, bool)
+ AsParquetSource() (*ParquetSource, bool)
+ AsCopySource() (*CopySource, bool)
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
- return &cdsls, true
+// CopySource a copy activity source.
+type CopySource struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+func unmarshalBasicCopySource(body []byte) (BasicCopySource, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
+
+ switch m["type"] {
+ case string(TypeAmazonRedshiftSource):
+ var ars AmazonRedshiftSource
+ err := json.Unmarshal(body, &ars)
+ return ars, err
+ case string(TypeGoogleAdWordsSource):
+ var gaws GoogleAdWordsSource
+ err := json.Unmarshal(body, &gaws)
+ return gaws, err
+ case string(TypeOracleServiceCloudSource):
+ var oscs OracleServiceCloudSource
+ err := json.Unmarshal(body, &oscs)
+ return oscs, err
+ case string(TypeDynamicsAXSource):
+ var das DynamicsAXSource
+ err := json.Unmarshal(body, &das)
+ return das, err
+ case string(TypeResponsysSource):
+ var rs ResponsysSource
+ err := json.Unmarshal(body, &rs)
+ return rs, err
+ case string(TypeSalesforceMarketingCloudSource):
+ var smcs SalesforceMarketingCloudSource
+ err := json.Unmarshal(body, &smcs)
+ return smcs, err
+ case string(TypeVerticaSource):
+ var vs VerticaSource
+ err := json.Unmarshal(body, &vs)
+ return vs, err
+ case string(TypeNetezzaSource):
+ var ns NetezzaSource
+ err := json.Unmarshal(body, &ns)
+ return ns, err
+ case string(TypeZohoSource):
+ var zs ZohoSource
+ err := json.Unmarshal(body, &zs)
+ return zs, err
+ case string(TypeXeroSource):
+ var xs XeroSource
+ err := json.Unmarshal(body, &xs)
+ return xs, err
+ case string(TypeSquareSource):
+ var ss SquareSource
+ err := json.Unmarshal(body, &ss)
+ return ss, err
+ case string(TypeSparkSource):
+ var ss SparkSource
+ err := json.Unmarshal(body, &ss)
+ return ss, err
+ case string(TypeShopifySource):
+ var ss ShopifySource
+ err := json.Unmarshal(body, &ss)
+ return ss, err
+ case string(TypeServiceNowSource):
+ var sns ServiceNowSource
+ err := json.Unmarshal(body, &sns)
+ return sns, err
+ case string(TypeQuickBooksSource):
+ var qbs QuickBooksSource
+ err := json.Unmarshal(body, &qbs)
+ return qbs, err
+ case string(TypePrestoSource):
+ var ps PrestoSource
+ err := json.Unmarshal(body, &ps)
+ return ps, err
+ case string(TypePhoenixSource):
+ var ps PhoenixSource
+ err := json.Unmarshal(body, &ps)
+ return ps, err
+ case string(TypePaypalSource):
+ var ps PaypalSource
+ err := json.Unmarshal(body, &ps)
+ return ps, err
+ case string(TypeMarketoSource):
+ var ms MarketoSource
+ err := json.Unmarshal(body, &ms)
+ return ms, err
+ case string(TypeMariaDBSource):
+ var mds MariaDBSource
+ err := json.Unmarshal(body, &mds)
+ return mds, err
+ case string(TypeMagentoSource):
+ var ms MagentoSource
+ err := json.Unmarshal(body, &ms)
+ return ms, err
+ case string(TypeJiraSource):
+ var js JiraSource
+ err := json.Unmarshal(body, &js)
+ return js, err
+ case string(TypeImpalaSource):
+ var is ImpalaSource
+ err := json.Unmarshal(body, &is)
+ return is, err
+ case string(TypeHubspotSource):
+ var hs HubspotSource
+ err := json.Unmarshal(body, &hs)
+ return hs, err
+ case string(TypeHiveSource):
+ var hs HiveSource
+ err := json.Unmarshal(body, &hs)
+ return hs, err
+ case string(TypeHBaseSource):
+ var hbs HBaseSource
+ err := json.Unmarshal(body, &hbs)
+ return hbs, err
+ case string(TypeGreenplumSource):
+ var gs GreenplumSource
+ err := json.Unmarshal(body, &gs)
+ return gs, err
+ case string(TypeGoogleBigQuerySource):
+ var gbqs GoogleBigQuerySource
+ err := json.Unmarshal(body, &gbqs)
+ return gbqs, err
+ case string(TypeEloquaSource):
+ var es EloquaSource
+ err := json.Unmarshal(body, &es)
+ return es, err
+ case string(TypeDrillSource):
+ var ds DrillSource
+ err := json.Unmarshal(body, &ds)
+ return ds, err
+ case string(TypeCouchbaseSource):
+ var cs CouchbaseSource
+ err := json.Unmarshal(body, &cs)
+ return cs, err
+ case string(TypeConcurSource):
+ var cs ConcurSource
+ err := json.Unmarshal(body, &cs)
+ return cs, err
+ case string(TypeAzurePostgreSQLSource):
+ var apss AzurePostgreSQLSource
+ err := json.Unmarshal(body, &apss)
+ return apss, err
+ case string(TypeAmazonMWSSource):
+ var ams AmazonMWSSource
+ err := json.Unmarshal(body, &ams)
+ return ams, err
+ case string(TypeHTTPSource):
+ var hs HTTPSource
+ err := json.Unmarshal(body, &hs)
+ return hs, err
+ case string(TypeAzureBlobFSSource):
+ var abfs AzureBlobFSSource
+ err := json.Unmarshal(body, &abfs)
+ return abfs, err
+ case string(TypeAzureDataLakeStoreSource):
+ var adlss AzureDataLakeStoreSource
+ err := json.Unmarshal(body, &adlss)
+ return adlss, err
+ case string(TypeOffice365Source):
+ var o3s Office365Source
+ err := json.Unmarshal(body, &o3s)
+ return o3s, err
+ case string(TypeCosmosDbMongoDbAPISource):
+ var cdmdas CosmosDbMongoDbAPISource
+ err := json.Unmarshal(body, &cdmdas)
+ return cdmdas, err
+ case string(TypeMongoDbV2Source):
+ var mdvs MongoDbV2Source
+ err := json.Unmarshal(body, &mdvs)
+ return mdvs, err
+ case string(TypeMongoDbSource):
+ var mds MongoDbSource
+ err := json.Unmarshal(body, &mds)
+ return mds, err
+ case string(TypeCassandraSource):
+ var cs CassandraSource
+ err := json.Unmarshal(body, &cs)
+ return cs, err
+ case string(TypeWebSource):
+ var ws WebSource
+ err := json.Unmarshal(body, &ws)
+ return ws, err
+ case string(TypeTeradataSource):
+ var ts TeradataSource
+ err := json.Unmarshal(body, &ts)
+ return ts, err
+ case string(TypeOracleSource):
+ var osVar OracleSource
+ err := json.Unmarshal(body, &osVar)
+ return osVar, err
+ case string(TypeAzureDataExplorerSource):
+ var ades AzureDataExplorerSource
+ err := json.Unmarshal(body, &ades)
+ return ades, err
+ case string(TypeAzureMySQLSource):
+ var amss AzureMySQLSource
+ err := json.Unmarshal(body, &amss)
+ return amss, err
+ case string(TypeHdfsSource):
+ var hs HdfsSource
+ err := json.Unmarshal(body, &hs)
+ return hs, err
+ case string(TypeFileSystemSource):
+ var fss FileSystemSource
+ err := json.Unmarshal(body, &fss)
+ return fss, err
+ case string(TypeSQLDWSource):
+ var sds SQLDWSource
+ err := json.Unmarshal(body, &sds)
+ return sds, err
+ case string(TypeSQLMISource):
+ var sms SQLMISource
+ err := json.Unmarshal(body, &sms)
+ return sms, err
+ case string(TypeAzureSQLSource):
+ var ass AzureSQLSource
+ err := json.Unmarshal(body, &ass)
+ return ass, err
+ case string(TypeSQLServerSource):
+ var sss SQLServerSource
+ err := json.Unmarshal(body, &sss)
+ return sss, err
+ case string(TypeSQLSource):
+ var ss SQLSource
+ err := json.Unmarshal(body, &ss)
+ return ss, err
+ case string(TypeRestSource):
+ var rs RestSource
+ err := json.Unmarshal(body, &rs)
+ return rs, err
+ case string(TypeSapTableSource):
+ var sts SapTableSource
+ err := json.Unmarshal(body, &sts)
+ return sts, err
+ case string(TypeSapOpenHubSource):
+ var sohs SapOpenHubSource
+ err := json.Unmarshal(body, &sohs)
+ return sohs, err
+ case string(TypeSapHanaSource):
+ var shs SapHanaSource
+ err := json.Unmarshal(body, &shs)
+ return shs, err
+ case string(TypeSapEccSource):
+ var ses SapEccSource
+ err := json.Unmarshal(body, &ses)
+ return ses, err
+ case string(TypeSapCloudForCustomerSource):
+ var scfcs SapCloudForCustomerSource
+ err := json.Unmarshal(body, &scfcs)
+ return scfcs, err
+ case string(TypeSalesforceServiceCloudSource):
+ var sscs SalesforceServiceCloudSource
+ err := json.Unmarshal(body, &sscs)
+ return sscs, err
+ case string(TypeSalesforceSource):
+ var ss SalesforceSource
+ err := json.Unmarshal(body, &ss)
+ return ss, err
+ case string(TypeODataSource):
+ var ods ODataSource
+ err := json.Unmarshal(body, &ods)
+ return ods, err
+ case string(TypeSybaseSource):
+ var ss SybaseSource
+ err := json.Unmarshal(body, &ss)
+ return ss, err
+ case string(TypePostgreSQLSource):
+ var pss PostgreSQLSource
+ err := json.Unmarshal(body, &pss)
+ return pss, err
+ case string(TypeMySQLSource):
+ var mss MySQLSource
+ err := json.Unmarshal(body, &mss)
+ return mss, err
+ case string(TypeOdbcSource):
+ var osVar OdbcSource
+ err := json.Unmarshal(body, &osVar)
+ return osVar, err
+ case string(TypeDb2Source):
+ var d2s Db2Source
+ err := json.Unmarshal(body, &d2s)
+ return d2s, err
+ case string(TypeMicrosoftAccessSource):
+ var mas MicrosoftAccessSource
+ err := json.Unmarshal(body, &mas)
+ return mas, err
+ case string(TypeInformixSource):
+ var is InformixSource
+ err := json.Unmarshal(body, &is)
+ return is, err
+ case string(TypeRelationalSource):
+ var rs RelationalSource
+ err := json.Unmarshal(body, &rs)
+ return rs, err
+ case string(TypeCommonDataServiceForAppsSource):
+ var cdsfas CommonDataServiceForAppsSource
+ err := json.Unmarshal(body, &cdsfas)
+ return cdsfas, err
+ case string(TypeDynamicsCrmSource):
+ var dcs DynamicsCrmSource
+ err := json.Unmarshal(body, &dcs)
+ return dcs, err
+ case string(TypeDynamicsSource):
+ var ds DynamicsSource
+ err := json.Unmarshal(body, &ds)
+ return ds, err
+ case string(TypeDocumentDbCollectionSource):
+ var ddcs DocumentDbCollectionSource
+ err := json.Unmarshal(body, &ddcs)
+ return ddcs, err
+ case string(TypeBlobSource):
+ var bs BlobSource
+ err := json.Unmarshal(body, &bs)
+ return bs, err
+ case string(TypeAzureTableSource):
+ var ats AzureTableSource
+ err := json.Unmarshal(body, &ats)
+ return ats, err
+ case string(TypeBinarySource):
+ var bs BinarySource
+ err := json.Unmarshal(body, &bs)
+ return bs, err
+ case string(TypeDelimitedTextSource):
+ var dts DelimitedTextSource
+ err := json.Unmarshal(body, &dts)
+ return dts, err
+ case string(TypeParquetSource):
+ var ps ParquetSource
+ err := json.Unmarshal(body, &ps)
+ return ps, err
+ default:
+ var cs CopySource
+ err := json.Unmarshal(body, &cs)
+ return cs, err
+ }
+}
+func unmarshalBasicCopySourceArray(body []byte) ([]BasicCopySource, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
+
+ csArray := make([]BasicCopySource, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ cs, err := unmarshalBasicCopySource(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ csArray[index] = cs
+ }
+ return csArray, nil
+}
+
+// MarshalJSON is the custom marshaler for CopySource.
+func (cs CopySource) MarshalJSON() ([]byte, error) {
+ cs.Type = TypeCopySource
+ objectMap := make(map[string]interface{})
+ if cs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = cs.SourceRetryCount
+ }
+ if cs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = cs.SourceRetryWait
+ }
+ if cs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections
+ }
+ if cs.Type != "" {
+ objectMap["type"] = cs.Type
+ }
+ for k, v := range cs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
-func (cdsls CustomDataSourceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &cdsls, true
+// AsMongoDbV2Source is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for CustomDataSourceLinkedService struct.
-func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var typeProperties interface{}
- err = json.Unmarshal(*v, &typeProperties)
- if err != nil {
- return err
- }
- cdsls.TypeProperties = typeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if cdsls.AdditionalProperties == nil {
- cdsls.AdditionalProperties = make(map[string]interface{})
- }
- cdsls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
- }
- cdsls.ConnectVia = &connectVia
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- cdsls.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- cdsls.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- cdsls.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- cdsls.Type = typeVar
- }
- }
- }
+// AsMongoDbSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
- return nil
+// AsCassandraSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
}
-// DatabricksNotebookActivity databricksNotebook activity.
-type DatabricksNotebookActivity struct {
- // DatabricksNotebookActivityTypeProperties - Databricks Notebook activity properties.
- *DatabricksNotebookActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+// AsWebSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsWebSource() (*WebSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) MarshalJSON() ([]byte, error) {
- dna.Type = TypeDatabricksNotebook
- objectMap := make(map[string]interface{})
- if dna.DatabricksNotebookActivityTypeProperties != nil {
- objectMap["typeProperties"] = dna.DatabricksNotebookActivityTypeProperties
- }
- if dna.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = dna.LinkedServiceName
- }
- if dna.Policy != nil {
- objectMap["policy"] = dna.Policy
- }
- if dna.Name != nil {
- objectMap["name"] = dna.Name
- }
- if dna.Description != nil {
- objectMap["description"] = dna.Description
- }
- if dna.DependsOn != nil {
- objectMap["dependsOn"] = dna.DependsOn
- }
- if dna.UserProperties != nil {
- objectMap["userProperties"] = dna.UserProperties
- }
- if dna.Type != "" {
- objectMap["type"] = dna.Type
- }
- for k, v := range dna.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsTeradataSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
}
-// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsOracleSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
- return &dna, true
+// AsHdfsSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsSQLMISource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsWebActivity() (*WebActivity, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsSQLSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsRestSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsSapTableSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsSapEccSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsODataSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsSybaseSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &dna, true
+// AsMySQLSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsOdbcSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsDb2Source is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsInformixSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsRelationalSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsBlobSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsBinarySource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsActivity() (*Activity, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for DatabricksNotebookActivity.
-func (dna DatabricksNotebookActivity) AsBasicActivity() (BasicActivity, bool) {
- return &dna, true
+// AsParquetSource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DatabricksNotebookActivity struct.
-func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error {
+// AsCopySource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsCopySource() (*CopySource, bool) {
+ return &cs, true
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for CopySource.
+func (cs CopySource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &cs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CopySource struct.
+func (cs *CopySource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -43311,33 +45879,6 @@ func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
- if v != nil {
- var databricksNotebookActivityTypeProperties DatabricksNotebookActivityTypeProperties
- err = json.Unmarshal(*v, &databricksNotebookActivityTypeProperties)
- if err != nil {
- return err
- }
- dna.DatabricksNotebookActivityTypeProperties = &databricksNotebookActivityTypeProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- dna.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
- if err != nil {
- return err
- }
- dna.Policy = &policy
- }
default:
if v != nil {
var additionalProperties interface{}
@@ -43345,55 +45886,46 @@ func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if dna.AdditionalProperties == nil {
- dna.AdditionalProperties = make(map[string]interface{})
- }
- dna.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
+ if cs.AdditionalProperties == nil {
+ cs.AdditionalProperties = make(map[string]interface{})
}
- dna.Name = &name
+ cs.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- dna.Description = &description
+ cs.SourceRetryCount = sourceRetryCount
}
- case "dependsOn":
+ case "sourceRetryWait":
if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- dna.DependsOn = &dependsOn
+ cs.SourceRetryWait = sourceRetryWait
}
- case "userProperties":
+ case "maxConcurrentConnections":
if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- dna.UserProperties = &userProperties
+ cs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicActivity
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dna.Type = typeVar
+ cs.Type = typeVar
}
}
}
@@ -43401,614 +45933,514 @@ func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// DatabricksNotebookActivityTypeProperties databricks Notebook activity properties.
-type DatabricksNotebookActivityTypeProperties struct {
- // NotebookPath - The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string).
- NotebookPath interface{} `json:"notebookPath,omitempty"`
- // BaseParameters - Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used.
- BaseParameters map[string]interface{} `json:"baseParameters"`
- // Libraries - A list of libraries to be installed on the cluster that will execute the job.
- Libraries *[]map[string]interface{} `json:"libraries,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for DatabricksNotebookActivityTypeProperties.
-func (dnatp DatabricksNotebookActivityTypeProperties) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if dnatp.NotebookPath != nil {
- objectMap["notebookPath"] = dnatp.NotebookPath
- }
- if dnatp.BaseParameters != nil {
- objectMap["baseParameters"] = dnatp.BaseParameters
- }
- if dnatp.Libraries != nil {
- objectMap["libraries"] = dnatp.Libraries
- }
- return json.Marshal(objectMap)
-}
-
-// DatabricksSparkJarActivity databricksSparkJar activity.
-type DatabricksSparkJarActivity struct {
- // DatabricksSparkJarActivityTypeProperties - Databricks SparkJar activity properties.
- *DatabricksSparkJarActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
+// CosmosDbLinkedService microsoft Azure Cosmos Database (CosmosDB) linked service.
+type CosmosDbLinkedService struct {
+ // CosmosDbLinkedServiceTypeProperties - CosmosDB linked service properties.
+ *CosmosDbLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) MarshalJSON() ([]byte, error) {
- dsja.Type = TypeDatabricksSparkJar
+// MarshalJSON is the custom marshaler for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) MarshalJSON() ([]byte, error) {
+ cdls.Type = TypeCosmosDb
objectMap := make(map[string]interface{})
- if dsja.DatabricksSparkJarActivityTypeProperties != nil {
- objectMap["typeProperties"] = dsja.DatabricksSparkJarActivityTypeProperties
- }
- if dsja.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = dsja.LinkedServiceName
- }
- if dsja.Policy != nil {
- objectMap["policy"] = dsja.Policy
+ if cdls.CosmosDbLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = cdls.CosmosDbLinkedServiceTypeProperties
}
- if dsja.Name != nil {
- objectMap["name"] = dsja.Name
+ if cdls.ConnectVia != nil {
+ objectMap["connectVia"] = cdls.ConnectVia
}
- if dsja.Description != nil {
- objectMap["description"] = dsja.Description
+ if cdls.Description != nil {
+ objectMap["description"] = cdls.Description
}
- if dsja.DependsOn != nil {
- objectMap["dependsOn"] = dsja.DependsOn
+ if cdls.Parameters != nil {
+ objectMap["parameters"] = cdls.Parameters
}
- if dsja.UserProperties != nil {
- objectMap["userProperties"] = dsja.UserProperties
+ if cdls.Annotations != nil {
+ objectMap["annotations"] = cdls.Annotations
}
- if dsja.Type != "" {
- objectMap["type"] = dsja.Type
+ if cdls.Type != "" {
+ objectMap["type"] = cdls.Type
}
- for k, v := range dsja.AdditionalProperties {
+ for k, v := range cdls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
- return &dsja, true
+// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsWebActivity() (*WebActivity, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &dsja, true
+// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsActivity() (*Activity, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
-func (dsja DatabricksSparkJarActivity) AsBasicActivity() (BasicActivity, bool) {
- return &dsja, true
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DatabricksSparkJarActivity struct.
-func (dsja *DatabricksSparkJarActivity) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var databricksSparkJarActivityTypeProperties DatabricksSparkJarActivityTypeProperties
- err = json.Unmarshal(*v, &databricksSparkJarActivityTypeProperties)
- if err != nil {
- return err
- }
- dsja.DatabricksSparkJarActivityTypeProperties = &databricksSparkJarActivityTypeProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- dsja.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
- if err != nil {
- return err
- }
- dsja.Policy = &policy
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if dsja.AdditionalProperties == nil {
- dsja.AdditionalProperties = make(map[string]interface{})
- }
- dsja.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- dsja.Name = &name
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- dsja.Description = &description
- }
- case "dependsOn":
- if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
- if err != nil {
- return err
- }
- dsja.DependsOn = &dependsOn
- }
- case "userProperties":
- if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
- if err != nil {
- return err
- }
- dsja.UserProperties = &userProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicActivity
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dsja.Type = typeVar
- }
- }
- }
+// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
}
-// DatabricksSparkJarActivityTypeProperties databricks SparkJar activity properties.
-type DatabricksSparkJarActivityTypeProperties struct {
- // MainClassName - The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string).
- MainClassName interface{} `json:"mainClassName,omitempty"`
- // Parameters - Parameters that will be passed to the main method.
- Parameters *[]interface{} `json:"parameters,omitempty"`
- // Libraries - A list of libraries to be installed on the cluster that will execute the job.
- Libraries *[]map[string]interface{} `json:"libraries,omitempty"`
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
}
-// DatabricksSparkPythonActivity databricksSparkPython activity.
-type DatabricksSparkPythonActivity struct {
- // DatabricksSparkPythonActivityTypeProperties - Databricks SparkPython activity properties.
- *DatabricksSparkPythonActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) MarshalJSON() ([]byte, error) {
- dspa.Type = TypeDatabricksSparkPython
- objectMap := make(map[string]interface{})
- if dspa.DatabricksSparkPythonActivityTypeProperties != nil {
- objectMap["typeProperties"] = dspa.DatabricksSparkPythonActivityTypeProperties
- }
- if dspa.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = dspa.LinkedServiceName
- }
- if dspa.Policy != nil {
- objectMap["policy"] = dspa.Policy
- }
- if dspa.Name != nil {
- objectMap["name"] = dspa.Name
- }
- if dspa.Description != nil {
- objectMap["description"] = dspa.Description
- }
- if dspa.DependsOn != nil {
- objectMap["dependsOn"] = dspa.DependsOn
- }
- if dspa.UserProperties != nil {
- objectMap["userProperties"] = dspa.UserProperties
- }
- if dspa.Type != "" {
- objectMap["type"] = dspa.Type
- }
- for k, v := range dspa.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
}
-// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
- return &dspa, true
+// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsWebActivity() (*WebActivity, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &dspa, true
+// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsActivity() (*Activity, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
-func (dspa DatabricksSparkPythonActivity) AsBasicActivity() (BasicActivity, bool) {
- return &dspa, true
+// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DatabricksSparkPythonActivity struct.
-func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return &cdls, true
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
+func (cdls CosmosDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &cdls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CosmosDbLinkedService struct.
+func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -44018,30 +46450,12 @@ func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var databricksSparkPythonActivityTypeProperties DatabricksSparkPythonActivityTypeProperties
- err = json.Unmarshal(*v, &databricksSparkPythonActivityTypeProperties)
- if err != nil {
- return err
- }
- dspa.DatabricksSparkPythonActivityTypeProperties = &databricksSparkPythonActivityTypeProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- dspa.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
+ var cosmosDbLinkedServiceTypeProperties CosmosDbLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &cosmosDbLinkedServiceTypeProperties)
if err != nil {
return err
}
- dspa.Policy = &policy
+ cdls.CosmosDbLinkedServiceTypeProperties = &cosmosDbLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -44050,19 +46464,19 @@ func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if dspa.AdditionalProperties == nil {
- dspa.AdditionalProperties = make(map[string]interface{})
+ if cdls.AdditionalProperties == nil {
+ cdls.AdditionalProperties = make(map[string]interface{})
}
- dspa.AdditionalProperties[k] = additionalProperties
+ cdls.AdditionalProperties[k] = additionalProperties
}
- case "name":
+ case "connectVia":
if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- dspa.Name = &name
+ cdls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -44071,34 +46485,34 @@ func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dspa.Description = &description
+ cdls.Description = &description
}
- case "dependsOn":
+ case "parameters":
if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- dspa.DependsOn = &dependsOn
+ cdls.Parameters = parameters
}
- case "userProperties":
+ case "annotations":
if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- dspa.UserProperties = &userProperties
+ cdls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicActivity
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dspa.Type = typeVar
+ cdls.Type = typeVar
}
}
}
@@ -44106,1184 +46520,479 @@ func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// DatabricksSparkPythonActivityTypeProperties databricks SparkPython activity properties.
-type DatabricksSparkPythonActivityTypeProperties struct {
- // PythonFile - The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string).
- PythonFile interface{} `json:"pythonFile,omitempty"`
- // Parameters - Command line parameters that will be passed to the Python file.
- Parameters *[]interface{} `json:"parameters,omitempty"`
- // Libraries - A list of libraries to be installed on the cluster that will execute the job.
- Libraries *[]map[string]interface{} `json:"libraries,omitempty"`
+// CosmosDbLinkedServiceTypeProperties cosmosDB linked service properties.
+type CosmosDbLinkedServiceTypeProperties struct {
+ // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // AccountKey - The Azure key vault secret reference of accountKey in connection string.
+ AccountKey *AzureKeyVaultSecretReference `json:"accountKey,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// DataLakeAnalyticsUSQLActivity data Lake Analytics U-SQL activity.
-type DataLakeAnalyticsUSQLActivity struct {
- // DataLakeAnalyticsUSQLActivityTypeProperties - Data Lake Analytics U-SQL activity properties.
- *DataLakeAnalyticsUSQLActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
+// CosmosDbMongoDbAPICollectionDataset the CosmosDB (MongoDB API) database dataset.
+type CosmosDbMongoDbAPICollectionDataset struct {
+ // CosmosDbMongoDbAPICollectionDatasetTypeProperties - CosmosDB (MongoDB API) database dataset properties.
+ *CosmosDbMongoDbAPICollectionDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) MarshalJSON() ([]byte, error) {
- dlaua.Type = TypeDataLakeAnalyticsUSQL
+// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) MarshalJSON() ([]byte, error) {
+ cdmdacd.Type = TypeCosmosDbMongoDbAPICollection
objectMap := make(map[string]interface{})
- if dlaua.DataLakeAnalyticsUSQLActivityTypeProperties != nil {
- objectMap["typeProperties"] = dlaua.DataLakeAnalyticsUSQLActivityTypeProperties
+ if cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties
}
- if dlaua.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = dlaua.LinkedServiceName
+ if cdmdacd.Description != nil {
+ objectMap["description"] = cdmdacd.Description
}
- if dlaua.Policy != nil {
- objectMap["policy"] = dlaua.Policy
+ if cdmdacd.Structure != nil {
+ objectMap["structure"] = cdmdacd.Structure
}
- if dlaua.Name != nil {
- objectMap["name"] = dlaua.Name
+ if cdmdacd.Schema != nil {
+ objectMap["schema"] = cdmdacd.Schema
}
- if dlaua.Description != nil {
- objectMap["description"] = dlaua.Description
+ if cdmdacd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = cdmdacd.LinkedServiceName
}
- if dlaua.DependsOn != nil {
- objectMap["dependsOn"] = dlaua.DependsOn
+ if cdmdacd.Parameters != nil {
+ objectMap["parameters"] = cdmdacd.Parameters
}
- if dlaua.UserProperties != nil {
- objectMap["userProperties"] = dlaua.UserProperties
+ if cdmdacd.Annotations != nil {
+ objectMap["annotations"] = cdmdacd.Annotations
}
- if dlaua.Type != "" {
- objectMap["type"] = dlaua.Type
+ if cdmdacd.Folder != nil {
+ objectMap["folder"] = cdmdacd.Folder
}
- for k, v := range dlaua.AdditionalProperties {
+ if cdmdacd.Type != "" {
+ objectMap["type"] = cdmdacd.Type
+ }
+ for k, v := range cdmdacd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
- return &dlaua, true
+// AsResponsysObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsWebActivity() (*WebActivity, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &dlaua, true
+// AsJiraObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsActivity() (*Activity, bool) {
+// AsHTTPDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
-func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicActivity() (BasicActivity, bool) {
- return &dlaua, true
+// AsAzureSearchIndexDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsUSQLActivity struct.
-func (dlaua *DataLakeAnalyticsUSQLActivity) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var dataLakeAnalyticsUSQLActivityTypeProperties DataLakeAnalyticsUSQLActivityTypeProperties
- err = json.Unmarshal(*v, &dataLakeAnalyticsUSQLActivityTypeProperties)
- if err != nil {
- return err
- }
- dlaua.DataLakeAnalyticsUSQLActivityTypeProperties = &dataLakeAnalyticsUSQLActivityTypeProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- dlaua.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
- if err != nil {
- return err
- }
- dlaua.Policy = &policy
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if dlaua.AdditionalProperties == nil {
- dlaua.AdditionalProperties = make(map[string]interface{})
- }
- dlaua.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- dlaua.Name = &name
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- dlaua.Description = &description
- }
- case "dependsOn":
- if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
- if err != nil {
- return err
- }
- dlaua.DependsOn = &dependsOn
- }
- case "userProperties":
- if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
- if err != nil {
- return err
- }
- dlaua.UserProperties = &userProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicActivity
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dlaua.Type = typeVar
- }
- }
- }
+// AsWebTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
- return nil
+// AsSapTableResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
}
-// DataLakeAnalyticsUSQLActivityTypeProperties dataLakeAnalyticsU-SQL activity properties.
-type DataLakeAnalyticsUSQLActivityTypeProperties struct {
- // ScriptPath - Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string).
- ScriptPath interface{} `json:"scriptPath,omitempty"`
- // ScriptLinkedService - Script linked service reference.
- ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"`
- // DegreeOfParallelism - The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1.
- DegreeOfParallelism interface{} `json:"degreeOfParallelism,omitempty"`
- // Priority - Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1.
- Priority interface{} `json:"priority,omitempty"`
- // Parameters - Parameters for U-SQL job request.
- Parameters map[string]interface{} `json:"parameters"`
- // RuntimeVersion - Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string).
- RuntimeVersion interface{} `json:"runtimeVersion,omitempty"`
- // CompilationMode - Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string).
- CompilationMode interface{} `json:"compilationMode,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivityTypeProperties.
-func (dlauatp DataLakeAnalyticsUSQLActivityTypeProperties) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if dlauatp.ScriptPath != nil {
- objectMap["scriptPath"] = dlauatp.ScriptPath
- }
- if dlauatp.ScriptLinkedService != nil {
- objectMap["scriptLinkedService"] = dlauatp.ScriptLinkedService
- }
- if dlauatp.DegreeOfParallelism != nil {
- objectMap["degreeOfParallelism"] = dlauatp.DegreeOfParallelism
- }
- if dlauatp.Priority != nil {
- objectMap["priority"] = dlauatp.Priority
- }
- if dlauatp.Parameters != nil {
- objectMap["parameters"] = dlauatp.Parameters
- }
- if dlauatp.RuntimeVersion != nil {
- objectMap["runtimeVersion"] = dlauatp.RuntimeVersion
- }
- if dlauatp.CompilationMode != nil {
- objectMap["compilationMode"] = dlauatp.CompilationMode
- }
- return json.Marshal(objectMap)
-}
-
-// BasicDataset the Azure Data Factory nested object which identifies data within different data stores, such as
-// tables, files, folders, and documents.
-type BasicDataset interface {
- AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool)
- AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool)
- AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool)
- AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool)
- AsResponsysObjectDataset() (*ResponsysObjectDataset, bool)
- AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool)
- AsVerticaTableDataset() (*VerticaTableDataset, bool)
- AsNetezzaTableDataset() (*NetezzaTableDataset, bool)
- AsZohoObjectDataset() (*ZohoObjectDataset, bool)
- AsXeroObjectDataset() (*XeroObjectDataset, bool)
- AsSquareObjectDataset() (*SquareObjectDataset, bool)
- AsSparkObjectDataset() (*SparkObjectDataset, bool)
- AsShopifyObjectDataset() (*ShopifyObjectDataset, bool)
- AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool)
- AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool)
- AsPrestoObjectDataset() (*PrestoObjectDataset, bool)
- AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool)
- AsPaypalObjectDataset() (*PaypalObjectDataset, bool)
- AsMarketoObjectDataset() (*MarketoObjectDataset, bool)
- AsMariaDBTableDataset() (*MariaDBTableDataset, bool)
- AsMagentoObjectDataset() (*MagentoObjectDataset, bool)
- AsJiraObjectDataset() (*JiraObjectDataset, bool)
- AsImpalaObjectDataset() (*ImpalaObjectDataset, bool)
- AsHubspotObjectDataset() (*HubspotObjectDataset, bool)
- AsHiveObjectDataset() (*HiveObjectDataset, bool)
- AsHBaseObjectDataset() (*HBaseObjectDataset, bool)
- AsGreenplumTableDataset() (*GreenplumTableDataset, bool)
- AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool)
- AsEloquaObjectDataset() (*EloquaObjectDataset, bool)
- AsDrillTableDataset() (*DrillTableDataset, bool)
- AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool)
- AsConcurObjectDataset() (*ConcurObjectDataset, bool)
- AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool)
- AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool)
- AsHTTPDataset() (*HTTPDataset, bool)
- AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool)
- AsWebTableDataset() (*WebTableDataset, bool)
- AsSapTableResourceDataset() (*SapTableResourceDataset, bool)
- AsRestResourceDataset() (*RestResourceDataset, bool)
- AsSQLServerTableDataset() (*SQLServerTableDataset, bool)
- AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool)
- AsSapHanaTableDataset() (*SapHanaTableDataset, bool)
- AsSapEccResourceDataset() (*SapEccResourceDataset, bool)
- AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool)
- AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool)
- AsRelationalTableDataset() (*RelationalTableDataset, bool)
- AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool)
- AsTeradataTableDataset() (*TeradataTableDataset, bool)
- AsOracleTableDataset() (*OracleTableDataset, bool)
- AsODataResourceDataset() (*ODataResourceDataset, bool)
- AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool)
- AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool)
- AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool)
- AsFileShareDataset() (*FileShareDataset, bool)
- AsOffice365Dataset() (*Office365Dataset, bool)
- AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool)
- AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool)
- AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool)
- AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool)
- AsCustomDataset() (*CustomDataset, bool)
- AsCassandraTableDataset() (*CassandraTableDataset, bool)
- AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool)
- AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool)
- AsAzureTableDataset() (*AzureTableDataset, bool)
- AsAzureBlobDataset() (*AzureBlobDataset, bool)
- AsDelimitedTextDataset() (*DelimitedTextDataset, bool)
- AsParquetDataset() (*ParquetDataset, bool)
- AsAmazonS3Dataset() (*AmazonS3Dataset, bool)
- AsDataset() (*Dataset, bool)
-}
-
-// Dataset the Azure Data Factory nested object which identifies data within different data stores, such as
-// tables, files, folders, and documents.
-type Dataset struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
-}
-
-func unmarshalBasicDataset(body []byte) (BasicDataset, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
-
- switch m["type"] {
- case string(TypeGoogleAdWordsObject):
- var gawod GoogleAdWordsObjectDataset
- err := json.Unmarshal(body, &gawod)
- return gawod, err
- case string(TypeAzureDataExplorerTable):
- var adetd AzureDataExplorerTableDataset
- err := json.Unmarshal(body, &adetd)
- return adetd, err
- case string(TypeOracleServiceCloudObject):
- var oscod OracleServiceCloudObjectDataset
- err := json.Unmarshal(body, &oscod)
- return oscod, err
- case string(TypeDynamicsAXResource):
- var dard DynamicsAXResourceDataset
- err := json.Unmarshal(body, &dard)
- return dard, err
- case string(TypeResponsysObject):
- var rod ResponsysObjectDataset
- err := json.Unmarshal(body, &rod)
- return rod, err
- case string(TypeSalesforceMarketingCloudObject):
- var smcod SalesforceMarketingCloudObjectDataset
- err := json.Unmarshal(body, &smcod)
- return smcod, err
- case string(TypeVerticaTable):
- var vtd VerticaTableDataset
- err := json.Unmarshal(body, &vtd)
- return vtd, err
- case string(TypeNetezzaTable):
- var ntd NetezzaTableDataset
- err := json.Unmarshal(body, &ntd)
- return ntd, err
- case string(TypeZohoObject):
- var zod ZohoObjectDataset
- err := json.Unmarshal(body, &zod)
- return zod, err
- case string(TypeXeroObject):
- var xod XeroObjectDataset
- err := json.Unmarshal(body, &xod)
- return xod, err
- case string(TypeSquareObject):
- var sod SquareObjectDataset
- err := json.Unmarshal(body, &sod)
- return sod, err
- case string(TypeSparkObject):
- var sod SparkObjectDataset
- err := json.Unmarshal(body, &sod)
- return sod, err
- case string(TypeShopifyObject):
- var sod ShopifyObjectDataset
- err := json.Unmarshal(body, &sod)
- return sod, err
- case string(TypeServiceNowObject):
- var snod ServiceNowObjectDataset
- err := json.Unmarshal(body, &snod)
- return snod, err
- case string(TypeQuickBooksObject):
- var qbod QuickBooksObjectDataset
- err := json.Unmarshal(body, &qbod)
- return qbod, err
- case string(TypePrestoObject):
- var pod PrestoObjectDataset
- err := json.Unmarshal(body, &pod)
- return pod, err
- case string(TypePhoenixObject):
- var pod PhoenixObjectDataset
- err := json.Unmarshal(body, &pod)
- return pod, err
- case string(TypePaypalObject):
- var pod PaypalObjectDataset
- err := json.Unmarshal(body, &pod)
- return pod, err
- case string(TypeMarketoObject):
- var mod MarketoObjectDataset
- err := json.Unmarshal(body, &mod)
- return mod, err
- case string(TypeMariaDBTable):
- var mdtd MariaDBTableDataset
- err := json.Unmarshal(body, &mdtd)
- return mdtd, err
- case string(TypeMagentoObject):
- var mod MagentoObjectDataset
- err := json.Unmarshal(body, &mod)
- return mod, err
- case string(TypeJiraObject):
- var jod JiraObjectDataset
- err := json.Unmarshal(body, &jod)
- return jod, err
- case string(TypeImpalaObject):
- var iod ImpalaObjectDataset
- err := json.Unmarshal(body, &iod)
- return iod, err
- case string(TypeHubspotObject):
- var hod HubspotObjectDataset
- err := json.Unmarshal(body, &hod)
- return hod, err
- case string(TypeHiveObject):
- var hod HiveObjectDataset
- err := json.Unmarshal(body, &hod)
- return hod, err
- case string(TypeHBaseObject):
- var hbod HBaseObjectDataset
- err := json.Unmarshal(body, &hbod)
- return hbod, err
- case string(TypeGreenplumTable):
- var gtd GreenplumTableDataset
- err := json.Unmarshal(body, >d)
- return gtd, err
- case string(TypeGoogleBigQueryObject):
- var gbqod GoogleBigQueryObjectDataset
- err := json.Unmarshal(body, &gbqod)
- return gbqod, err
- case string(TypeEloquaObject):
- var eod EloquaObjectDataset
- err := json.Unmarshal(body, &eod)
- return eod, err
- case string(TypeDrillTable):
- var dtd DrillTableDataset
- err := json.Unmarshal(body, &dtd)
- return dtd, err
- case string(TypeCouchbaseTable):
- var ctd CouchbaseTableDataset
- err := json.Unmarshal(body, &ctd)
- return ctd, err
- case string(TypeConcurObject):
- var cod ConcurObjectDataset
- err := json.Unmarshal(body, &cod)
- return cod, err
- case string(TypeAzurePostgreSQLTable):
- var apstd AzurePostgreSQLTableDataset
- err := json.Unmarshal(body, &apstd)
- return apstd, err
- case string(TypeAmazonMWSObject):
- var amod AmazonMWSObjectDataset
- err := json.Unmarshal(body, &amod)
- return amod, err
- case string(TypeHTTPFile):
- var hd HTTPDataset
- err := json.Unmarshal(body, &hd)
- return hd, err
- case string(TypeAzureSearchIndex):
- var asid AzureSearchIndexDataset
- err := json.Unmarshal(body, &asid)
- return asid, err
- case string(TypeWebTable):
- var wtd WebTableDataset
- err := json.Unmarshal(body, &wtd)
- return wtd, err
- case string(TypeSapTableResource):
- var strd SapTableResourceDataset
- err := json.Unmarshal(body, &strd)
- return strd, err
- case string(TypeRestResource):
- var rrd RestResourceDataset
- err := json.Unmarshal(body, &rrd)
- return rrd, err
- case string(TypeSQLServerTable):
- var sstd SQLServerTableDataset
- err := json.Unmarshal(body, &sstd)
- return sstd, err
- case string(TypeSapOpenHubTable):
- var sohtd SapOpenHubTableDataset
- err := json.Unmarshal(body, &sohtd)
- return sohtd, err
- case string(TypeSapHanaTable):
- var shtd SapHanaTableDataset
- err := json.Unmarshal(body, &shtd)
- return shtd, err
- case string(TypeSapEccResource):
- var serd SapEccResourceDataset
- err := json.Unmarshal(body, &serd)
- return serd, err
- case string(TypeSapCloudForCustomerResource):
- var scfcrd SapCloudForCustomerResourceDataset
- err := json.Unmarshal(body, &scfcrd)
- return scfcrd, err
- case string(TypeSalesforceObject):
- var sod SalesforceObjectDataset
- err := json.Unmarshal(body, &sod)
- return sod, err
- case string(TypeRelationalTable):
- var rtd RelationalTableDataset
- err := json.Unmarshal(body, &rtd)
- return rtd, err
- case string(TypeAzureMySQLTable):
- var amstd AzureMySQLTableDataset
- err := json.Unmarshal(body, &amstd)
- return amstd, err
- case string(TypeTeradataTable):
- var ttd TeradataTableDataset
- err := json.Unmarshal(body, &ttd)
- return ttd, err
- case string(TypeOracleTable):
- var otd OracleTableDataset
- err := json.Unmarshal(body, &otd)
- return otd, err
- case string(TypeODataResource):
- var odrd ODataResourceDataset
- err := json.Unmarshal(body, &odrd)
- return odrd, err
- case string(TypeCosmosDbMongoDbAPICollection):
- var cdmdacd CosmosDbMongoDbAPICollectionDataset
- err := json.Unmarshal(body, &cdmdacd)
- return cdmdacd, err
- case string(TypeMongoDbV2Collection):
- var mdvcd MongoDbV2CollectionDataset
- err := json.Unmarshal(body, &mdvcd)
- return mdvcd, err
- case string(TypeMongoDbCollection):
- var mdcd MongoDbCollectionDataset
- err := json.Unmarshal(body, &mdcd)
- return mdcd, err
- case string(TypeFileShare):
- var fsd FileShareDataset
- err := json.Unmarshal(body, &fsd)
- return fsd, err
- case string(TypeOffice365Table):
- var o3d Office365Dataset
- err := json.Unmarshal(body, &o3d)
- return o3d, err
- case string(TypeAzureBlobFSFile):
- var abfd AzureBlobFSDataset
- err := json.Unmarshal(body, &abfd)
- return abfd, err
- case string(TypeAzureDataLakeStoreFile):
- var adlsd AzureDataLakeStoreDataset
- err := json.Unmarshal(body, &adlsd)
- return adlsd, err
- case string(TypeDynamicsEntity):
- var ded DynamicsEntityDataset
- err := json.Unmarshal(body, &ded)
- return ded, err
- case string(TypeDocumentDbCollection):
- var ddcd DocumentDbCollectionDataset
- err := json.Unmarshal(body, &ddcd)
- return ddcd, err
- case string(TypeCustomDataset):
- var cd CustomDataset
- err := json.Unmarshal(body, &cd)
- return cd, err
- case string(TypeCassandraTable):
- var ctd CassandraTableDataset
- err := json.Unmarshal(body, &ctd)
- return ctd, err
- case string(TypeAzureSQLDWTable):
- var asdtd AzureSQLDWTableDataset
- err := json.Unmarshal(body, &asdtd)
- return asdtd, err
- case string(TypeAzureSQLTable):
- var astd AzureSQLTableDataset
- err := json.Unmarshal(body, &astd)
- return astd, err
- case string(TypeAzureTable):
- var atd AzureTableDataset
- err := json.Unmarshal(body, &atd)
- return atd, err
- case string(TypeAzureBlob):
- var abd AzureBlobDataset
- err := json.Unmarshal(body, &abd)
- return abd, err
- case string(TypeDelimitedText):
- var dtd DelimitedTextDataset
- err := json.Unmarshal(body, &dtd)
- return dtd, err
- case string(TypeParquet):
- var pd ParquetDataset
- err := json.Unmarshal(body, &pd)
- return pd, err
- case string(TypeAmazonS3Object):
- var asd AmazonS3Dataset
- err := json.Unmarshal(body, &asd)
- return asd, err
- default:
- var d Dataset
- err := json.Unmarshal(body, &d)
- return d, err
- }
-}
-func unmarshalBasicDatasetArray(body []byte) ([]BasicDataset, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
-
- dArray := make([]BasicDataset, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- d, err := unmarshalBasicDataset(*rawMessage)
- if err != nil {
- return nil, err
- }
- dArray[index] = d
- }
- return dArray, nil
-}
-
-// MarshalJSON is the custom marshaler for Dataset.
-func (d Dataset) MarshalJSON() ([]byte, error) {
- d.Type = TypeDataset
- objectMap := make(map[string]interface{})
- if d.Description != nil {
- objectMap["description"] = d.Description
- }
- if d.Structure != nil {
- objectMap["structure"] = d.Structure
- }
- if d.Schema != nil {
- objectMap["schema"] = d.Schema
- }
- if d.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = d.LinkedServiceName
- }
- if d.Parameters != nil {
- objectMap["parameters"] = d.Parameters
- }
- if d.Annotations != nil {
- objectMap["annotations"] = d.Annotations
- }
- if d.Folder != nil {
- objectMap["folder"] = d.Folder
- }
- if d.Type != "" {
- objectMap["type"] = d.Type
- }
- for k, v := range d.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
- return nil, false
-}
-
-// AsResponsysObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsVerticaTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
- return nil, false
-}
-
-// AsNetezzaTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
- return nil, false
-}
-
-// AsZohoObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
- return nil, false
-}
-
-// AsXeroObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
- return nil, false
-}
-
-// AsSquareObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
- return nil, false
-}
-
-// AsSparkObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
- return nil, false
-}
-
-// AsShopifyObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
- return nil, false
-}
-
-// AsServiceNowObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
- return nil, false
-}
-
-// AsQuickBooksObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
- return nil, false
-}
-
-// AsPrestoObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
- return nil, false
-}
-
-// AsPhoenixObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
- return nil, false
-}
-
-// AsPaypalObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
- return nil, false
-}
-
-// AsMarketoObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
- return nil, false
-}
-
-// AsMariaDBTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
- return nil, false
-}
-
-// AsMagentoObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
- return nil, false
-}
-
-// AsJiraObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
- return nil, false
-}
-
-// AsImpalaObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
- return nil, false
-}
-
-// AsHubspotObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
- return nil, false
-}
-
-// AsHiveObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
- return nil, false
-}
-
-// AsHBaseObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
- return nil, false
-}
-
-// AsGreenplumTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
- return nil, false
-}
-
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
- return nil, false
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return &cdmdacd, true
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsBinaryDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsParquetDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsDataset() (*Dataset, bool) {
- return &d, true
-}
-
-// AsBasicDataset is the BasicDataset implementation for Dataset.
-func (d Dataset) AsBasicDataset() (BasicDataset, bool) {
- return &d, true
+// AsBasicDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset.
+func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &cdmdacd, true
}
-// UnmarshalJSON is the custom unmarshaler for Dataset struct.
-func (d *Dataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPICollectionDataset struct.
+func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -45291,6 +47000,15 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
+ case "typeProperties":
+ if v != nil {
+ var cosmosDbMongoDbAPICollectionDatasetTypeProperties CosmosDbMongoDbAPICollectionDatasetTypeProperties
+ err = json.Unmarshal(*v, &cosmosDbMongoDbAPICollectionDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties = &cosmosDbMongoDbAPICollectionDatasetTypeProperties
+ }
default:
if v != nil {
var additionalProperties interface{}
@@ -45298,10 +47016,10 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if d.AdditionalProperties == nil {
- d.AdditionalProperties = make(map[string]interface{})
+ if cdmdacd.AdditionalProperties == nil {
+ cdmdacd.AdditionalProperties = make(map[string]interface{})
}
- d.AdditionalProperties[k] = additionalProperties
+ cdmdacd.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -45310,7 +47028,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Description = &description
+ cdmdacd.Description = &description
}
case "structure":
if v != nil {
@@ -45319,7 +47037,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Structure = structure
+ cdmdacd.Structure = structure
}
case "schema":
if v != nil {
@@ -45328,7 +47046,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Schema = schema
+ cdmdacd.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -45337,7 +47055,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.LinkedServiceName = &linkedServiceName
+ cdmdacd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -45346,7 +47064,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Parameters = parameters
+ cdmdacd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -45355,7 +47073,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Annotations = &annotations
+ cdmdacd.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -45364,7 +47082,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Folder = &folder
+ cdmdacd.Folder = &folder
}
case "type":
if v != nil {
@@ -45373,7 +47091,7 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- d.Type = typeVar
+ cdmdacd.Type = typeVar
}
}
}
@@ -45381,1017 +47099,520 @@ func (d *Dataset) UnmarshalJSON(body []byte) error {
return nil
}
-// DatasetBZip2Compression the BZip2 compression method used on a dataset.
-type DatasetBZip2Compression struct {
+// CosmosDbMongoDbAPICollectionDatasetTypeProperties cosmosDB (MongoDB API) database dataset properties.
+type CosmosDbMongoDbAPICollectionDatasetTypeProperties struct {
+ // Collection - The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string).
+ Collection interface{} `json:"collection,omitempty"`
+}
+
+// CosmosDbMongoDbAPILinkedService linked service for CosmosDB (MongoDB API) data source.
+type CosmosDbMongoDbAPILinkedService struct {
+ // CosmosDbMongoDbAPILinkedServiceTypeProperties - CosmosDB (MongoDB API) linked service properties.
+ *CosmosDbMongoDbAPILinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
- Type TypeBasicDatasetCompression `json:"type,omitempty"`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DatasetBZip2Compression.
-func (dbz2c DatasetBZip2Compression) MarshalJSON() ([]byte, error) {
- dbz2c.Type = TypeBZip2
+// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) MarshalJSON() ([]byte, error) {
+ cdmdals.Type = TypeCosmosDbMongoDbAPI
objectMap := make(map[string]interface{})
- if dbz2c.Type != "" {
- objectMap["type"] = dbz2c.Type
+ if cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties
}
- for k, v := range dbz2c.AdditionalProperties {
+ if cdmdals.ConnectVia != nil {
+ objectMap["connectVia"] = cdmdals.ConnectVia
+ }
+ if cdmdals.Description != nil {
+ objectMap["description"] = cdmdals.Description
+ }
+ if cdmdals.Parameters != nil {
+ objectMap["parameters"] = cdmdals.Parameters
+ }
+ if cdmdals.Annotations != nil {
+ objectMap["annotations"] = cdmdals.Annotations
+ }
+ if cdmdals.Type != "" {
+ objectMap["type"] = cdmdals.Type
+ }
+ for k, v := range cdmdals.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
-func (dbz2c DatasetBZip2Compression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
-func (dbz2c DatasetBZip2Compression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
-func (dbz2c DatasetBZip2Compression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
-func (dbz2c DatasetBZip2Compression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
- return &dbz2c, true
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
}
-// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
-func (dbz2c DatasetBZip2Compression) AsDatasetCompression() (*DatasetCompression, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
-func (dbz2c DatasetBZip2Compression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
- return &dbz2c, true
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DatasetBZip2Compression struct.
-func (dbz2c *DatasetBZip2Compression) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if dbz2c.AdditionalProperties == nil {
- dbz2c.AdditionalProperties = make(map[string]interface{})
- }
- dbz2c.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicDatasetCompression
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dbz2c.Type = typeVar
- }
- }
- }
-
- return nil
+// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
}
-// BasicDatasetCompression the compression method used on a dataset.
-type BasicDatasetCompression interface {
- AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool)
- AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool)
- AsDatasetGZipCompression() (*DatasetGZipCompression, bool)
- AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool)
- AsDatasetCompression() (*DatasetCompression, bool)
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
}
-// DatasetCompression the compression method used on a dataset.
-type DatasetCompression struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
- Type TypeBasicDatasetCompression `json:"type,omitempty"`
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
}
-func unmarshalBasicDatasetCompression(body []byte) (BasicDatasetCompression, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
-
- switch m["type"] {
- case string(TypeZipDeflate):
- var dzdc DatasetZipDeflateCompression
- err := json.Unmarshal(body, &dzdc)
- return dzdc, err
- case string(TypeDeflate):
- var ddc DatasetDeflateCompression
- err := json.Unmarshal(body, &ddc)
- return ddc, err
- case string(TypeGZip):
- var dgzc DatasetGZipCompression
- err := json.Unmarshal(body, &dgzc)
- return dgzc, err
- case string(TypeBZip2):
- var dbz2c DatasetBZip2Compression
- err := json.Unmarshal(body, &dbz2c)
- return dbz2c, err
- default:
- var dc DatasetCompression
- err := json.Unmarshal(body, &dc)
- return dc, err
- }
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
}
-func unmarshalBasicDatasetCompressionArray(body []byte) ([]BasicDatasetCompression, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
- dcArray := make([]BasicDatasetCompression, len(rawMessages))
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
- for index, rawMessage := range rawMessages {
- dc, err := unmarshalBasicDatasetCompression(*rawMessage)
- if err != nil {
- return nil, err
- }
- dcArray[index] = dc
- }
- return dcArray, nil
+// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for DatasetCompression.
-func (dc DatasetCompression) MarshalJSON() ([]byte, error) {
- dc.Type = TypeDatasetCompression
- objectMap := make(map[string]interface{})
- if dc.Type != "" {
- objectMap["type"] = dc.Type
- }
- for k, v := range dc.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
}
-// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression.
-func (dc DatasetCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression.
-func (dc DatasetCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetCompression.
-func (dc DatasetCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetCompression.
-func (dc DatasetCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression.
-func (dc DatasetCompression) AsDatasetCompression() (*DatasetCompression, bool) {
- return &dc, true
+// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
}
-// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression.
-func (dc DatasetCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
- return &dc, true
+// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DatasetCompression struct.
-func (dc *DatasetCompression) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if dc.AdditionalProperties == nil {
- dc.AdditionalProperties = make(map[string]interface{})
- }
- dc.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicDatasetCompression
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dc.Type = typeVar
- }
- }
- }
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
}
-// DatasetDeflateCompression the Deflate compression method used on a dataset.
-type DatasetDeflateCompression struct {
- // Level - The Deflate compression level.
- Level interface{} `json:"level,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
- Type TypeBasicDatasetCompression `json:"type,omitempty"`
+// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for DatasetDeflateCompression.
-func (ddc DatasetDeflateCompression) MarshalJSON() ([]byte, error) {
- ddc.Type = TypeDeflate
- objectMap := make(map[string]interface{})
- if ddc.Level != nil {
- objectMap["level"] = ddc.Level
- }
- if ddc.Type != "" {
- objectMap["type"] = ddc.Type
- }
- for k, v := range ddc.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
}
-// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
-func (ddc DatasetDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
-func (ddc DatasetDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
- return &ddc, true
+// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
}
-// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
-func (ddc DatasetDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
-func (ddc DatasetDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
-func (ddc DatasetDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
-func (ddc DatasetDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
- return &ddc, true
+// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DatasetDeflateCompression struct.
-func (ddc *DatasetDeflateCompression) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "level":
- if v != nil {
- var level interface{}
- err = json.Unmarshal(*v, &level)
- if err != nil {
- return err
- }
- ddc.Level = level
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if ddc.AdditionalProperties == nil {
- ddc.AdditionalProperties = make(map[string]interface{})
- }
- ddc.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicDatasetCompression
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ddc.Type = typeVar
- }
- }
- }
+// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
}
-// DatasetFolder the folder that this Dataset is in. If not specified, Dataset will appear at the root
-// level.
-type DatasetFolder struct {
- // Name - The name of the folder that this Dataset is in.
- Name *string `json:"name,omitempty"`
+// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
}
-// DatasetGZipCompression the GZip compression method used on a dataset.
-type DatasetGZipCompression struct {
- // Level - The GZip compression level.
- Level interface{} `json:"level,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
- Type TypeBasicDatasetCompression `json:"type,omitempty"`
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for DatasetGZipCompression.
-func (dgzc DatasetGZipCompression) MarshalJSON() ([]byte, error) {
- dgzc.Type = TypeGZip
- objectMap := make(map[string]interface{})
- if dgzc.Level != nil {
- objectMap["level"] = dgzc.Level
- }
- if dgzc.Type != "" {
- objectMap["type"] = dgzc.Type
- }
- for k, v := range dgzc.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
}
-// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
-func (dgzc DatasetGZipCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
-func (dgzc DatasetGZipCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
-func (dgzc DatasetGZipCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
- return &dgzc, true
+// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
}
-// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetGZipCompression.
-func (dgzc DatasetGZipCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
-func (dgzc DatasetGZipCompression) AsDatasetCompression() (*DatasetCompression, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
-func (dgzc DatasetGZipCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
- return &dgzc, true
+// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DatasetGZipCompression struct.
-func (dgzc *DatasetGZipCompression) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "level":
- if v != nil {
- var level interface{}
- err = json.Unmarshal(*v, &level)
- if err != nil {
- return err
- }
- dgzc.Level = level
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if dgzc.AdditionalProperties == nil {
- dgzc.AdditionalProperties = make(map[string]interface{})
- }
- dgzc.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicDatasetCompression
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dgzc.Type = typeVar
- }
- }
- }
+// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
}
-// DatasetListResponse a list of dataset resources.
-type DatasetListResponse struct {
- autorest.Response `json:"-"`
- // Value - List of datasets.
- Value *[]DatasetResource `json:"value,omitempty"`
- // NextLink - The link to the next page of results, if any remaining results exist.
- NextLink *string `json:"nextLink,omitempty"`
+// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
}
-// DatasetListResponseIterator provides access to a complete listing of DatasetResource values.
-type DatasetListResponseIterator struct {
- i int
- page DatasetListResponsePage
+// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
}
-// NextWithContext advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-func (iter *DatasetListResponseIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/DatasetListResponseIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
}
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *DatasetListResponseIterator) Next() error {
- return iter.NextWithContext(context.Background())
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
}
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter DatasetListResponseIterator) NotDone() bool {
- return iter.page.NotDone() && iter.i < len(iter.page.Values())
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (iter DatasetListResponseIterator) Response() DatasetListResponse {
- return iter.page.Response()
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
}
-// Value returns the current value or a zero-initialized value if the
-// iterator has advanced beyond the end of the collection.
-func (iter DatasetListResponseIterator) Value() DatasetResource {
- if !iter.page.NotDone() {
- return DatasetResource{}
- }
- return iter.page.Values()[iter.i]
+// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
}
-// Creates a new instance of the DatasetListResponseIterator type.
-func NewDatasetListResponseIterator(page DatasetListResponsePage) DatasetListResponseIterator {
- return DatasetListResponseIterator{page: page}
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
}
-// IsEmpty returns true if the ListResult contains no values.
-func (dlr DatasetListResponse) IsEmpty() bool {
- return dlr.Value == nil || len(*dlr.Value) == 0
+// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
}
-// 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 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(dlr.NextLink)))
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
}
-// DatasetListResponsePage contains a page of DatasetResource values.
-type DatasetListResponsePage struct {
- fn func(context.Context, DatasetListResponse) (DatasetListResponse, error)
- dlr DatasetListResponse
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
}
-// NextWithContext advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-func (page *DatasetListResponsePage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/DatasetListResponsePage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.dlr)
- if err != nil {
- return err
- }
- page.dlr = next
- return nil
+// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
}
-// Next advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (page *DatasetListResponsePage) Next() error {
- return page.NextWithContext(context.Background())
+// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
}
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page DatasetListResponsePage) NotDone() bool {
- return !page.dlr.IsEmpty()
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (page DatasetListResponsePage) Response() DatasetListResponse {
- return page.dlr
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
}
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page DatasetListResponsePage) Values() []DatasetResource {
- if page.dlr.IsEmpty() {
- return nil
- }
- return *page.dlr.Value
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return &cdmdals, true
}
-// Creates a new instance of the DatasetListResponsePage type.
-func NewDatasetListResponsePage(getNextPage func(context.Context, DatasetListResponse) (DatasetListResponse, error)) DatasetListResponsePage {
- return DatasetListResponsePage{fn: getNextPage}
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
}
-// DatasetLocation dataset location.
-type DatasetLocation struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - Type of dataset storage location.
- Type *string `json:"type,omitempty"`
- // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string)
- FolderPath interface{} `json:"folderPath,omitempty"`
- // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string).
- FileName interface{} `json:"fileName,omitempty"`
+// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for DatasetLocation.
-func (dl DatasetLocation) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if dl.Type != nil {
- objectMap["type"] = dl.Type
- }
- if dl.FolderPath != nil {
- objectMap["folderPath"] = dl.FolderPath
- }
- if dl.FileName != nil {
- objectMap["fileName"] = dl.FileName
- }
- for k, v := range dl.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DatasetLocation struct.
-func (dl *DatasetLocation) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if dl.AdditionalProperties == nil {
- dl.AdditionalProperties = make(map[string]interface{})
- }
- dl.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dl.Type = &typeVar
- }
- case "folderPath":
- if v != nil {
- var folderPath interface{}
- err = json.Unmarshal(*v, &folderPath)
- if err != nil {
- return err
- }
- dl.FolderPath = folderPath
- }
- case "fileName":
- if v != nil {
- var fileName interface{}
- err = json.Unmarshal(*v, &fileName)
- if err != nil {
- return err
- }
- dl.FileName = fileName
- }
- }
- }
+// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
}
-// DatasetReference dataset reference type.
-type DatasetReference struct {
- // Type - Dataset reference type.
- Type *string `json:"type,omitempty"`
- // ReferenceName - Reference dataset name.
- ReferenceName *string `json:"referenceName,omitempty"`
- // Parameters - Arguments for dataset.
- Parameters map[string]interface{} `json:"parameters"`
+// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for DatasetReference.
-func (dr DatasetReference) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if dr.Type != nil {
- objectMap["type"] = dr.Type
- }
- if dr.ReferenceName != nil {
- objectMap["referenceName"] = dr.ReferenceName
- }
- if dr.Parameters != nil {
- objectMap["parameters"] = dr.Parameters
- }
- return json.Marshal(objectMap)
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
}
-// DatasetResource dataset resource type.
-type DatasetResource struct {
- autorest.Response `json:"-"`
- // Properties - Dataset properties.
- Properties BasicDataset `json:"properties,omitempty"`
- // ID - READ-ONLY; The resource identifier.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The resource name.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The resource type.
- Type *string `json:"type,omitempty"`
- // Etag - READ-ONLY; Etag identifies change in the resource.
- Etag *string `json:"etag,omitempty"`
+// AsInformixLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DatasetResource struct.
-func (dr *DatasetResource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "properties":
- if v != nil {
- properties, err := unmarshalBasicDataset(*v)
- if err != nil {
- return err
- }
- dr.Properties = properties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- dr.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- dr.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dr.Type = &typeVar
- }
- case "etag":
- if v != nil {
- var etag string
- err = json.Unmarshal(*v, &etag)
- if err != nil {
- return err
- }
- dr.Etag = &etag
- }
- }
- }
+// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
}
-// BasicDatasetStorageFormat the format definition of a storage.
-type BasicDatasetStorageFormat interface {
- AsParquetFormat() (*ParquetFormat, bool)
- AsOrcFormat() (*OrcFormat, bool)
- AsAvroFormat() (*AvroFormat, bool)
- AsJSONFormat() (*JSONFormat, bool)
- AsTextFormat() (*TextFormat, bool)
- AsDatasetStorageFormat() (*DatasetStorageFormat, bool)
+// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
}
-// DatasetStorageFormat the format definition of a storage.
-type DatasetStorageFormat struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Serializer - Serializer. Type: string (or Expression with resultType string).
- Serializer interface{} `json:"serializer,omitempty"`
- // Deserializer - Deserializer. Type: string (or Expression with resultType string).
- Deserializer interface{} `json:"deserializer,omitempty"`
- // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
- Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
+// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
}
-func unmarshalBasicDatasetStorageFormat(body []byte) (BasicDatasetStorageFormat, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
+// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
- switch m["type"] {
- case string(TypeParquetFormat):
- var pf ParquetFormat
- err := json.Unmarshal(body, &pf)
- return pf, err
- case string(TypeOrcFormat):
- var of OrcFormat
- err := json.Unmarshal(body, &of)
- return of, err
- case string(TypeAvroFormat):
- var af AvroFormat
- err := json.Unmarshal(body, &af)
- return af, err
- case string(TypeJSONFormat):
- var jf JSONFormat
- err := json.Unmarshal(body, &jf)
- return jf, err
- case string(TypeTextFormat):
- var tf TextFormat
- err := json.Unmarshal(body, &tf)
- return tf, err
- default:
- var dsf DatasetStorageFormat
- err := json.Unmarshal(body, &dsf)
- return dsf, err
- }
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
}
-func unmarshalBasicDatasetStorageFormatArray(body []byte) ([]BasicDatasetStorageFormat, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
- dsfArray := make([]BasicDatasetStorageFormat, len(rawMessages))
+// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
- for index, rawMessage := range rawMessages {
- dsf, err := unmarshalBasicDatasetStorageFormat(*rawMessage)
- if err != nil {
- return nil, err
- }
- dsfArray[index] = dsf
- }
- return dsfArray, nil
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for DatasetStorageFormat.
-func (dsf DatasetStorageFormat) MarshalJSON() ([]byte, error) {
- dsf.Type = TypeDatasetStorageFormat
- objectMap := make(map[string]interface{})
- if dsf.Serializer != nil {
- objectMap["serializer"] = dsf.Serializer
- }
- if dsf.Deserializer != nil {
- objectMap["deserializer"] = dsf.Deserializer
- }
- if dsf.Type != "" {
- objectMap["type"] = dsf.Type
- }
- for k, v := range dsf.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
}
-// AsParquetFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
-func (dsf DatasetStorageFormat) AsParquetFormat() (*ParquetFormat, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsOrcFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
-func (dsf DatasetStorageFormat) AsOrcFormat() (*OrcFormat, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAvroFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
-func (dsf DatasetStorageFormat) AsAvroFormat() (*AvroFormat, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsJSONFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
-func (dsf DatasetStorageFormat) AsJSONFormat() (*JSONFormat, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsTextFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
-func (dsf DatasetStorageFormat) AsTextFormat() (*TextFormat, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
-func (dsf DatasetStorageFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
- return &dsf, true
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
}
-// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
-func (dsf DatasetStorageFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
- return &dsf, true
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DatasetStorageFormat struct.
-func (dsf *DatasetStorageFormat) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if dsf.AdditionalProperties == nil {
- dsf.AdditionalProperties = make(map[string]interface{})
- }
- dsf.AdditionalProperties[k] = additionalProperties
- }
- case "serializer":
- if v != nil {
- var serializer interface{}
- err = json.Unmarshal(*v, &serializer)
- if err != nil {
- return err
- }
- dsf.Serializer = serializer
- }
- case "deserializer":
- if v != nil {
- var deserializer interface{}
- err = json.Unmarshal(*v, &deserializer)
- if err != nil {
- return err
- }
- dsf.Deserializer = deserializer
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicDatasetStorageFormat
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dsf.Type = typeVar
- }
- }
- }
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
}
-// DatasetZipDeflateCompression the ZipDeflate compression method used on a dataset.
-type DatasetZipDeflateCompression struct {
- // Level - The ZipDeflate compression level.
- Level interface{} `json:"level,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
- Type TypeBasicDatasetCompression `json:"type,omitempty"`
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for DatasetZipDeflateCompression.
-func (dzdc DatasetZipDeflateCompression) MarshalJSON() ([]byte, error) {
- dzdc.Type = TypeZipDeflate
- objectMap := make(map[string]interface{})
- if dzdc.Level != nil {
- objectMap["level"] = dzdc.Level
- }
- if dzdc.Type != "" {
- objectMap["type"] = dzdc.Type
- }
- for k, v := range dzdc.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
}
-// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
-func (dzdc DatasetZipDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
- return &dzdc, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
-func (dzdc DatasetZipDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
-func (dzdc DatasetZipDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
-func (dzdc DatasetZipDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
-func (dzdc DatasetZipDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) {
+// AsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
-func (dzdc DatasetZipDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
- return &dzdc, true
+// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService.
+func (cdmdals CosmosDbMongoDbAPILinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &cdmdals, true
}
-// UnmarshalJSON is the custom unmarshaler for DatasetZipDeflateCompression struct.
-func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPILinkedService struct.
+func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -46399,14 +47620,14 @@ func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "level":
+ case "typeProperties":
if v != nil {
- var level interface{}
- err = json.Unmarshal(*v, &level)
+ var cosmosDbMongoDbAPILinkedServiceTypeProperties CosmosDbMongoDbAPILinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &cosmosDbMongoDbAPILinkedServiceTypeProperties)
if err != nil {
return err
}
- dzdc.Level = level
+ cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties = &cosmosDbMongoDbAPILinkedServiceTypeProperties
}
default:
if v != nil {
@@ -46415,19 +47636,55 @@ func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if dzdc.AdditionalProperties == nil {
- dzdc.AdditionalProperties = make(map[string]interface{})
+ if cdmdals.AdditionalProperties == nil {
+ cdmdals.AdditionalProperties = make(map[string]interface{})
}
- dzdc.AdditionalProperties[k] = additionalProperties
+ cdmdals.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ cdmdals.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ cdmdals.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ cdmdals.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ cdmdals.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicDatasetCompression
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dzdc.Type = typeVar
+ cdmdals.Type = typeVar
}
}
}
@@ -46435,885 +47692,773 @@ func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error {
return nil
}
-// Db2LinkedService linked service for DB2 data source.
-type Db2LinkedService struct {
- // Db2LinkedServiceTypeProperties - DB2 linked service properties.
- *Db2LinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// CosmosDbMongoDbAPILinkedServiceTypeProperties cosmosDB (MongoDB API) linked service properties.
+type CosmosDbMongoDbAPILinkedServiceTypeProperties struct {
+ // ConnectionString - The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // Database - The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string).
+ Database interface{} `json:"database,omitempty"`
+}
+
+// CosmosDbMongoDbAPISink a copy activity sink for a CosmosDB (MongoDB API) database.
+type CosmosDbMongoDbAPISink struct {
+ // WriteBehavior - Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string).
+ WriteBehavior interface{} `json:"writeBehavior,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for Db2LinkedService.
-func (d2ls Db2LinkedService) MarshalJSON() ([]byte, error) {
- d2ls.Type = TypeDb2
+// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) MarshalJSON() ([]byte, error) {
+ cdmdas.Type = TypeCosmosDbMongoDbAPISink
objectMap := make(map[string]interface{})
- if d2ls.Db2LinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = d2ls.Db2LinkedServiceTypeProperties
+ if cdmdas.WriteBehavior != nil {
+ objectMap["writeBehavior"] = cdmdas.WriteBehavior
}
- if d2ls.ConnectVia != nil {
- objectMap["connectVia"] = d2ls.ConnectVia
+ if cdmdas.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = cdmdas.WriteBatchSize
}
- if d2ls.Description != nil {
- objectMap["description"] = d2ls.Description
+ if cdmdas.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = cdmdas.WriteBatchTimeout
}
- if d2ls.Parameters != nil {
- objectMap["parameters"] = d2ls.Parameters
+ if cdmdas.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = cdmdas.SinkRetryCount
}
- if d2ls.Annotations != nil {
- objectMap["annotations"] = d2ls.Annotations
+ if cdmdas.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = cdmdas.SinkRetryWait
}
- if d2ls.Type != "" {
- objectMap["type"] = d2ls.Type
+ if cdmdas.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections
}
- for k, v := range d2ls.AdditionalProperties {
+ if cdmdas.Type != "" {
+ objectMap["type"] = cdmdas.Type
+ }
+ for k, v := range cdmdas.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+ return &cdmdas, true
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsInformixSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsOdbcSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsOracleSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSQLMISink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsBlobSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsBinarySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsParquetSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsCopySink() (*CopySink, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
- return nil, false
+// AsBasicCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink.
+func (cdmdas CosmosDbMongoDbAPISink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &cdmdas, true
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPISink struct.
+func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "writeBehavior":
+ if v != nil {
+ var writeBehavior interface{}
+ err = json.Unmarshal(*v, &writeBehavior)
+ if err != nil {
+ return err
+ }
+ cdmdas.WriteBehavior = writeBehavior
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if cdmdas.AdditionalProperties == nil {
+ cdmdas.AdditionalProperties = make(map[string]interface{})
+ }
+ cdmdas.AdditionalProperties[k] = additionalProperties
+ }
+ case "writeBatchSize":
+ if v != nil {
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
+ if err != nil {
+ return err
+ }
+ cdmdas.WriteBatchSize = writeBatchSize
+ }
+ case "writeBatchTimeout":
+ if v != nil {
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
+ if err != nil {
+ return err
+ }
+ cdmdas.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ cdmdas.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ cdmdas.SinkRetryWait = sinkRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ cdmdas.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySink
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ cdmdas.Type = typeVar
+ }
+ }
+ }
-// AsEloquaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
- return nil, false
+ return nil
}
-// AsDrillLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
- return nil, false
+// CosmosDbMongoDbAPISource a copy activity source for a CosmosDB (MongoDB API) database.
+type CosmosDbMongoDbAPISource struct {
+ // Filter - Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string).
+ Filter interface{} `json:"filter,omitempty"`
+ // CursorMethods - Cursor methods for Mongodb query.
+ CursorMethods *MongoDbCursorMethodsProperties `json:"cursorMethods,omitempty"`
+ // BatchSize - Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer).
+ BatchSize interface{} `json:"batchSize,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) MarshalJSON() ([]byte, error) {
+ cdmdas.Type = TypeCosmosDbMongoDbAPISource
+ objectMap := make(map[string]interface{})
+ if cdmdas.Filter != nil {
+ objectMap["filter"] = cdmdas.Filter
+ }
+ if cdmdas.CursorMethods != nil {
+ objectMap["cursorMethods"] = cdmdas.CursorMethods
+ }
+ if cdmdas.BatchSize != nil {
+ objectMap["batchSize"] = cdmdas.BatchSize
+ }
+ if cdmdas.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = cdmdas.SourceRetryCount
+ }
+ if cdmdas.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = cdmdas.SourceRetryWait
+ }
+ if cdmdas.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections
+ }
+ if cdmdas.Type != "" {
+ objectMap["type"] = cdmdas.Type
+ }
+ for k, v := range cdmdas.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// AsConcurLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
- return &d2ls, true
-}
-
-// AsSybaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
- return nil, false
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return &cdmdas, true
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for Db2LinkedService.
-func (d2ls Db2LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &d2ls, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for Db2LinkedService struct.
-func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var db2LinkedServiceTypeProperties Db2LinkedServiceTypeProperties
- err = json.Unmarshal(*v, &db2LinkedServiceTypeProperties)
- if err != nil {
- return err
- }
- d2ls.Db2LinkedServiceTypeProperties = &db2LinkedServiceTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if d2ls.AdditionalProperties == nil {
- d2ls.AdditionalProperties = make(map[string]interface{})
- }
- d2ls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
- }
- d2ls.ConnectVia = &connectVia
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- d2ls.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- d2ls.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- d2ls.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- d2ls.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// Db2LinkedServiceTypeProperties dB2 linked service properties.
-type Db2LinkedServiceTypeProperties struct {
- // Server - Server name for connection. Type: string (or Expression with resultType string).
- Server interface{} `json:"server,omitempty"`
- // Database - Database name for connection. Type: string (or Expression with resultType string).
- Database interface{} `json:"database,omitempty"`
- // AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'Basic'
- AuthenticationType Db2AuthenticationType `json:"authenticationType,omitempty"`
- // Username - Username for authentication. Type: string (or Expression with resultType string).
- Username interface{} `json:"username,omitempty"`
- // Password - Password for authentication.
- Password BasicSecretBase `json:"password,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for Db2LinkedServiceTypeProperties struct.
-func (d2lstp *Db2LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "server":
- if v != nil {
- var server interface{}
- err = json.Unmarshal(*v, &server)
- if err != nil {
- return err
- }
- d2lstp.Server = server
- }
- case "database":
- if v != nil {
- var databaseVar interface{}
- err = json.Unmarshal(*v, &databaseVar)
- if err != nil {
- return err
- }
- d2lstp.Database = databaseVar
- }
- case "authenticationType":
- if v != nil {
- var authenticationType Db2AuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- d2lstp.AuthenticationType = authenticationType
- }
- case "username":
- if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
- if err != nil {
- return err
- }
- d2lstp.Username = username
- }
- case "password":
- if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- d2lstp.Password = password
- }
- case "encryptedCredential":
- if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
- if err != nil {
- return err
- }
- d2lstp.EncryptedCredential = encryptedCredential
- }
- }
- }
-
- return nil
-}
-
-// DeleteActivity delete activity.
-type DeleteActivity struct {
- // DeleteActivityTypeProperties - Delete activity properties.
- *DeleteActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for DeleteActivity.
-func (da DeleteActivity) MarshalJSON() ([]byte, error) {
- da.Type = TypeDelete
- objectMap := make(map[string]interface{})
- if da.DeleteActivityTypeProperties != nil {
- objectMap["typeProperties"] = da.DeleteActivityTypeProperties
- }
- if da.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = da.LinkedServiceName
- }
- if da.Policy != nil {
- objectMap["policy"] = da.Policy
- }
- if da.Name != nil {
- objectMap["name"] = da.Name
- }
- if da.Description != nil {
- objectMap["description"] = da.Description
- }
- if da.DependsOn != nil {
- objectMap["dependsOn"] = da.DependsOn
- }
- if da.UserProperties != nil {
- objectMap["userProperties"] = da.UserProperties
- }
- if da.Type != "" {
- objectMap["type"] = da.Type
- }
- for k, v := range da.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// AsAzureFunctionActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsSQLMISource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsRestSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsSapTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsWebActivity() (*WebActivity, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsDeleteActivity() (*DeleteActivity, bool) {
- return &da, true
-}
-
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsSapEccSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsODataSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsSybaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsMySQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsOdbcSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsDb2Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &da, true
-}
-
-// AsWebHookActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsInformixSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsRelationalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsBlobSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsBinarySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsParquetSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsActivity() (*Activity, bool) {
+// AsCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for DeleteActivity.
-func (da DeleteActivity) AsBasicActivity() (BasicActivity, bool) {
- return &da, true
+// AsBasicCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource.
+func (cdmdas CosmosDbMongoDbAPISource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &cdmdas, true
}
-// UnmarshalJSON is the custom unmarshaler for DeleteActivity struct.
-func (da *DeleteActivity) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPISource struct.
+func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -47321,32 +48466,32 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "filter":
if v != nil {
- var deleteActivityTypeProperties DeleteActivityTypeProperties
- err = json.Unmarshal(*v, &deleteActivityTypeProperties)
+ var filter interface{}
+ err = json.Unmarshal(*v, &filter)
if err != nil {
return err
}
- da.DeleteActivityTypeProperties = &deleteActivityTypeProperties
+ cdmdas.Filter = filter
}
- case "linkedServiceName":
+ case "cursorMethods":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var cursorMethods MongoDbCursorMethodsProperties
+ err = json.Unmarshal(*v, &cursorMethods)
if err != nil {
return err
}
- da.LinkedServiceName = &linkedServiceName
+ cdmdas.CursorMethods = &cursorMethods
}
- case "policy":
+ case "batchSize":
if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
+ var batchSize interface{}
+ err = json.Unmarshal(*v, &batchSize)
if err != nil {
return err
}
- da.Policy = &policy
+ cdmdas.BatchSize = batchSize
}
default:
if v != nil {
@@ -47355,55 +48500,46 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if da.AdditionalProperties == nil {
- da.AdditionalProperties = make(map[string]interface{})
- }
- da.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
+ if cdmdas.AdditionalProperties == nil {
+ cdmdas.AdditionalProperties = make(map[string]interface{})
}
- da.Name = &name
+ cdmdas.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- da.Description = &description
+ cdmdas.SourceRetryCount = sourceRetryCount
}
- case "dependsOn":
+ case "sourceRetryWait":
if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- da.DependsOn = &dependsOn
+ cdmdas.SourceRetryWait = sourceRetryWait
}
- case "userProperties":
+ case "maxConcurrentConnections":
if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- da.UserProperties = &userProperties
+ cdmdas.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicActivity
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- da.Type = typeVar
+ cdmdas.Type = typeVar
}
}
}
@@ -47411,805 +48547,514 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// DeleteActivityTypeProperties delete activity properties.
-type DeleteActivityTypeProperties struct {
- // Recursive - If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean).
- Recursive interface{} `json:"recursive,omitempty"`
- // MaxConcurrentConnections - The max concurrent connections to connect data source at the same time.
- MaxConcurrentConnections *int32 `json:"maxConcurrentConnections,omitempty"`
- // EnableLogging - Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean).
- EnableLogging interface{} `json:"enableLogging,omitempty"`
- // LogStorageSettings - Log storage settings customer need to provide when enableLogging is true.
- LogStorageSettings *LogStorageSettings `json:"logStorageSettings,omitempty"`
- // Dataset - Delete activity dataset reference.
- Dataset *DatasetReference `json:"dataset,omitempty"`
-}
-
-// DelimitedTextDataset delimited text dataset.
-type DelimitedTextDataset struct {
- // DelimitedTextDatasetTypeProperties - Delimited text dataset properties.
- *DelimitedTextDatasetTypeProperties `json:"typeProperties,omitempty"`
+// CouchbaseLinkedService couchbase server linked service.
+type CouchbaseLinkedService struct {
+ // CouchbaseLinkedServiceTypeProperties - Couchbase server linked service properties.
+ *CouchbaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
+ // Parameters - Parameters for linked service.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
+ // Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) MarshalJSON() ([]byte, error) {
- dtd.Type = TypeDelimitedText
+// MarshalJSON is the custom marshaler for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) {
+ cls.Type = TypeCouchbase
objectMap := make(map[string]interface{})
- if dtd.DelimitedTextDatasetTypeProperties != nil {
- objectMap["typeProperties"] = dtd.DelimitedTextDatasetTypeProperties
- }
- if dtd.Description != nil {
- objectMap["description"] = dtd.Description
- }
- if dtd.Structure != nil {
- objectMap["structure"] = dtd.Structure
- }
- if dtd.Schema != nil {
- objectMap["schema"] = dtd.Schema
+ if cls.CouchbaseLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = cls.CouchbaseLinkedServiceTypeProperties
}
- if dtd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = dtd.LinkedServiceName
+ if cls.ConnectVia != nil {
+ objectMap["connectVia"] = cls.ConnectVia
}
- if dtd.Parameters != nil {
- objectMap["parameters"] = dtd.Parameters
+ if cls.Description != nil {
+ objectMap["description"] = cls.Description
}
- if dtd.Annotations != nil {
- objectMap["annotations"] = dtd.Annotations
+ if cls.Parameters != nil {
+ objectMap["parameters"] = cls.Parameters
}
- if dtd.Folder != nil {
- objectMap["folder"] = dtd.Folder
+ if cls.Annotations != nil {
+ objectMap["annotations"] = cls.Annotations
}
- if dtd.Type != "" {
- objectMap["type"] = dtd.Type
+ if cls.Type != "" {
+ objectMap["type"] = cls.Type
}
- for k, v := range dtd.AdditionalProperties {
+ for k, v := range cls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
- return nil, false
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return &cls, true
}
-// AsWebTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
- return &dtd, true
-}
-
-// AsParquetDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsDataset() (*Dataset, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for DelimitedTextDataset.
-func (dtd DelimitedTextDataset) AsBasicDataset() (BasicDataset, bool) {
- return &dtd, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for DelimitedTextDataset struct.
-func (dtd *DelimitedTextDataset) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var delimitedTextDatasetTypeProperties DelimitedTextDatasetTypeProperties
- err = json.Unmarshal(*v, &delimitedTextDatasetTypeProperties)
- if err != nil {
- return err
- }
- dtd.DelimitedTextDatasetTypeProperties = &delimitedTextDatasetTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if dtd.AdditionalProperties == nil {
- dtd.AdditionalProperties = make(map[string]interface{})
- }
- dtd.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- dtd.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
- }
- dtd.Structure = structure
- }
- case "schema":
- if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
- if err != nil {
- return err
- }
- dtd.Schema = schema
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- dtd.LinkedServiceName = &linkedServiceName
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- dtd.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- dtd.Annotations = &annotations
- }
- case "folder":
- if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
- if err != nil {
- return err
- }
- dtd.Folder = &folder
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicDataset
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dtd.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// DelimitedTextDatasetTypeProperties delimitedText dataset properties.
-type DelimitedTextDatasetTypeProperties struct {
- // Location - The location of the delimited text storage.
- Location *DatasetLocation `json:"location,omitempty"`
- // ColumnDelimiter - The column delimiter. Type: string (or Expression with resultType string).
- ColumnDelimiter interface{} `json:"columnDelimiter,omitempty"`
- // RowDelimiter - The row delimiter. Type: string (or Expression with resultType string).
- RowDelimiter interface{} `json:"rowDelimiter,omitempty"`
- // EncodingName - The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string).
- EncodingName interface{} `json:"encodingName,omitempty"`
- CompressionCodec interface{} `json:"compressionCodec,omitempty"`
- // CompressionLevel - The data compression method used for DelimitedText.
- CompressionLevel interface{} `json:"compressionLevel,omitempty"`
- // QuoteChar - The quote character. Type: string (or Expression with resultType string).
- QuoteChar interface{} `json:"quoteChar,omitempty"`
- // EscapeChar - The escape character. Type: string (or Expression with resultType string).
- EscapeChar interface{} `json:"escapeChar,omitempty"`
- // FirstRowAsHeader - When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean).
- FirstRowAsHeader interface{} `json:"firstRowAsHeader,omitempty"`
- // NullValue - The null value string. Type: string (or Expression with resultType string).
- NullValue interface{} `json:"nullValue,omitempty"`
-}
-
-// DelimitedTextReadSetting delimited text read settings.
-type DelimitedTextReadSetting struct {
- // SkipLineCount - Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer).
- SkipLineCount interface{} `json:"skipLineCount,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - The read setting type.
- Type *string `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for DelimitedTextReadSetting.
-func (dtrs DelimitedTextReadSetting) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if dtrs.SkipLineCount != nil {
- objectMap["skipLineCount"] = dtrs.SkipLineCount
- }
- if dtrs.Type != nil {
- objectMap["type"] = dtrs.Type
- }
- for k, v := range dtrs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for DelimitedTextReadSetting struct.
-func (dtrs *DelimitedTextReadSetting) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "skipLineCount":
- if v != nil {
- var skipLineCount interface{}
- err = json.Unmarshal(*v, &skipLineCount)
- if err != nil {
- return err
- }
- dtrs.SkipLineCount = skipLineCount
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if dtrs.AdditionalProperties == nil {
- dtrs.AdditionalProperties = make(map[string]interface{})
- }
- dtrs.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dtrs.Type = &typeVar
- }
- }
- }
-
- return nil
-}
-
-// DelimitedTextSink a copy activity DelimitedText sink.
-type DelimitedTextSink struct {
- // StoreSettings - DelimitedText store settings.
- StoreSettings *ConnectorWriteSetting `json:"storeSettings,omitempty"`
- // FormatSettings - DelimitedText format settings.
- FormatSettings *DelimitedTextWriteSetting `json:"formatSettings,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
- WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
- // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
- // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
- SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
- // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
- Type TypeBasicCopySink `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for DelimitedTextSink.
-func (dts DelimitedTextSink) MarshalJSON() ([]byte, error) {
- dts.Type = TypeDelimitedTextSink
- objectMap := make(map[string]interface{})
- if dts.StoreSettings != nil {
- objectMap["storeSettings"] = dts.StoreSettings
- }
- if dts.FormatSettings != nil {
- objectMap["formatSettings"] = dts.FormatSettings
- }
- if dts.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = dts.WriteBatchSize
- }
- if dts.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = dts.WriteBatchTimeout
- }
- if dts.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = dts.SinkRetryCount
- }
- if dts.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = dts.SinkRetryWait
- }
- if dts.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = dts.MaxConcurrentConnections
- }
- if dts.Type != "" {
- objectMap["type"] = dts.Type
- }
- for k, v := range dts.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsTeradataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsSalesforceSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsSalesforceSink() (*SalesforceSink, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsDynamicsSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsDynamicsSink() (*DynamicsSink, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsOdbcSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsOdbcSink() (*OdbcSink, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsOracleSink() (*OracleSink, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsSQLDWSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsSQLSink() (*SQLSink, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsFileSystemSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsFileSystemSink() (*FileSystemSink, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsBlobSink() (*BlobSink, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsParquetSink() (*ParquetSink, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsAzureTableSink() (*AzureTableSink, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsAzureQueueSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
- return &dts, true
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
}
-// AsCopySink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsCopySink() (*CopySink, bool) {
+// AsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicCopySink is the BasicCopySink implementation for DelimitedTextSink.
-func (dts DelimitedTextSink) AsBasicCopySink() (BasicCopySink, bool) {
- return &dts, true
+// AsBasicLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
+func (cls CouchbaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &cls, true
}
-// UnmarshalJSON is the custom unmarshaler for DelimitedTextSink struct.
-func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for CouchbaseLinkedService struct.
+func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -48217,23 +49062,14 @@ func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "storeSettings":
- if v != nil {
- var storeSettings ConnectorWriteSetting
- err = json.Unmarshal(*v, &storeSettings)
- if err != nil {
- return err
- }
- dts.StoreSettings = &storeSettings
- }
- case "formatSettings":
+ case "typeProperties":
if v != nil {
- var formatSettings DelimitedTextWriteSetting
- err = json.Unmarshal(*v, &formatSettings)
+ var couchbaseLinkedServiceTypeProperties CouchbaseLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &couchbaseLinkedServiceTypeProperties)
if err != nil {
return err
}
- dts.FormatSettings = &formatSettings
+ cls.CouchbaseLinkedServiceTypeProperties = &couchbaseLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -48242,64 +49078,55 @@ func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if dts.AdditionalProperties == nil {
- dts.AdditionalProperties = make(map[string]interface{})
- }
- dts.AdditionalProperties[k] = additionalProperties
- }
- case "writeBatchSize":
- if v != nil {
- var writeBatchSize interface{}
- err = json.Unmarshal(*v, &writeBatchSize)
- if err != nil {
- return err
+ if cls.AdditionalProperties == nil {
+ cls.AdditionalProperties = make(map[string]interface{})
}
- dts.WriteBatchSize = writeBatchSize
+ cls.AdditionalProperties[k] = additionalProperties
}
- case "writeBatchTimeout":
+ case "connectVia":
if v != nil {
- var writeBatchTimeout interface{}
- err = json.Unmarshal(*v, &writeBatchTimeout)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- dts.WriteBatchTimeout = writeBatchTimeout
+ cls.ConnectVia = &connectVia
}
- case "sinkRetryCount":
+ case "description":
if v != nil {
- var sinkRetryCount interface{}
- err = json.Unmarshal(*v, &sinkRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- dts.SinkRetryCount = sinkRetryCount
+ cls.Description = &description
}
- case "sinkRetryWait":
+ case "parameters":
if v != nil {
- var sinkRetryWait interface{}
- err = json.Unmarshal(*v, &sinkRetryWait)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- dts.SinkRetryWait = sinkRetryWait
+ cls.Parameters = parameters
}
- case "maxConcurrentConnections":
+ case "annotations":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- dts.MaxConcurrentConnections = maxConcurrentConnections
+ cls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySink
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dts.Type = typeVar
+ cls.Type = typeVar
}
}
}
@@ -48307,12 +49134,20 @@ func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error {
return nil
}
-// DelimitedTextSource a copy activity DelimitedText source.
-type DelimitedTextSource struct {
- // StoreSettings - DelimitedText store settings.
- StoreSettings *ConnectorReadSetting `json:"storeSettings,omitempty"`
- // FormatSettings - DelimitedText format settings.
- FormatSettings *DelimitedTextReadSetting `json:"formatSettings,omitempty"`
+// CouchbaseLinkedServiceTypeProperties couchbase server linked service properties.
+type CouchbaseLinkedServiceTypeProperties struct {
+ // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // CredString - The Azure key vault secret reference of credString in connection string.
+ CredString *AzureKeyVaultSecretReference `json:"credString,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// CouchbaseSource a copy activity Couchbase server source.
+type CouchbaseSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
@@ -48321,385 +49156,447 @@ type DelimitedTextSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DelimitedTextSource.
-func (dts DelimitedTextSource) MarshalJSON() ([]byte, error) {
- dts.Type = TypeDelimitedTextSource
+// MarshalJSON is the custom marshaler for CouchbaseSource.
+func (cs CouchbaseSource) MarshalJSON() ([]byte, error) {
+ cs.Type = TypeCouchbaseSource
objectMap := make(map[string]interface{})
- if dts.StoreSettings != nil {
- objectMap["storeSettings"] = dts.StoreSettings
- }
- if dts.FormatSettings != nil {
- objectMap["formatSettings"] = dts.FormatSettings
+ if cs.Query != nil {
+ objectMap["query"] = cs.Query
}
- if dts.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = dts.SourceRetryCount
+ if cs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = cs.SourceRetryCount
}
- if dts.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = dts.SourceRetryWait
+ if cs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = cs.SourceRetryWait
}
- if dts.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = dts.MaxConcurrentConnections
+ if cs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections
}
- if dts.Type != "" {
- objectMap["type"] = dts.Type
+ if cs.Type != "" {
+ objectMap["type"] = cs.Type
}
- for k, v := range dts.AdditionalProperties {
+ for k, v := range cs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifySource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return &cs, true
+}
+
+// AsConcurSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsConcurSource() (*ConcurSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsOffice365Source is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsOffice365Source() (*Office365Source, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsWebSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsWebSource() (*WebSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsOracleSource() (*OracleSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsRestSource() (*RestSource, bool) {
+// AsRestSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsODataSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsBlobSource() (*BlobSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
- return &dts, true
+// AsOdbcSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsParquetSource() (*ParquetSource, bool) {
+// AsDb2Source is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsCopySource() (*CopySource, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for DelimitedTextSource.
-func (dts DelimitedTextSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &dts, true
+// AsInformixSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DelimitedTextSource struct.
-func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error {
+// AsRelationalSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for CouchbaseSource.
+func (cs CouchbaseSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &cs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CouchbaseSource struct.
+func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -48707,23 +49604,14 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "storeSettings":
- if v != nil {
- var storeSettings ConnectorReadSetting
- err = json.Unmarshal(*v, &storeSettings)
- if err != nil {
- return err
- }
- dts.StoreSettings = &storeSettings
- }
- case "formatSettings":
+ case "query":
if v != nil {
- var formatSettings DelimitedTextReadSetting
- err = json.Unmarshal(*v, &formatSettings)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- dts.FormatSettings = &formatSettings
+ cs.Query = query
}
default:
if v != nil {
@@ -48732,10 +49620,10 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if dts.AdditionalProperties == nil {
- dts.AdditionalProperties = make(map[string]interface{})
+ if cs.AdditionalProperties == nil {
+ cs.AdditionalProperties = make(map[string]interface{})
}
- dts.AdditionalProperties[k] = additionalProperties
+ cs.AdditionalProperties[k] = additionalProperties
}
case "sourceRetryCount":
if v != nil {
@@ -48744,7 +49632,7 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dts.SourceRetryCount = sourceRetryCount
+ cs.SourceRetryCount = sourceRetryCount
}
case "sourceRetryWait":
if v != nil {
@@ -48753,7 +49641,7 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dts.SourceRetryWait = sourceRetryWait
+ cs.SourceRetryWait = sourceRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -48762,7 +49650,7 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dts.MaxConcurrentConnections = maxConcurrentConnections
+ cs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -48771,7 +49659,7 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dts.Type = typeVar
+ cs.Type = typeVar
}
}
}
@@ -48779,613 +49667,469 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error {
return nil
}
-// DelimitedTextWriteSetting delimited text write settings.
-type DelimitedTextWriteSetting struct {
- // QuoteAllText - Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean).
- QuoteAllText interface{} `json:"quoteAllText,omitempty"`
- // FileExtension - The file extension used to create the files. Type: string (or Expression with resultType string).
- FileExtension interface{} `json:"fileExtension,omitempty"`
+// CouchbaseTableDataset couchbase server dataset.
+type CouchbaseTableDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Type - The write setting type.
- Type *string `json:"type,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DelimitedTextWriteSetting.
-func (dtws DelimitedTextWriteSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) MarshalJSON() ([]byte, error) {
+ ctd.Type = TypeCouchbaseTable
objectMap := make(map[string]interface{})
- if dtws.QuoteAllText != nil {
- objectMap["quoteAllText"] = dtws.QuoteAllText
- }
- if dtws.FileExtension != nil {
- objectMap["fileExtension"] = dtws.FileExtension
+ if ctd.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = ctd.GenericDatasetTypeProperties
}
- if dtws.Type != nil {
- objectMap["type"] = dtws.Type
+ if ctd.Description != nil {
+ objectMap["description"] = ctd.Description
}
- for k, v := range dtws.AdditionalProperties {
- objectMap[k] = v
+ if ctd.Structure != nil {
+ objectMap["structure"] = ctd.Structure
}
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for DelimitedTextWriteSetting struct.
-func (dtws *DelimitedTextWriteSetting) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
+ if ctd.Schema != nil {
+ objectMap["schema"] = ctd.Schema
}
- for k, v := range m {
- switch k {
- case "quoteAllText":
- if v != nil {
- var quoteAllText interface{}
- err = json.Unmarshal(*v, "eAllText)
- if err != nil {
- return err
- }
- dtws.QuoteAllText = quoteAllText
- }
- case "fileExtension":
- if v != nil {
- var fileExtension interface{}
- err = json.Unmarshal(*v, &fileExtension)
- if err != nil {
- return err
- }
- dtws.FileExtension = fileExtension
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if dtws.AdditionalProperties == nil {
- dtws.AdditionalProperties = make(map[string]interface{})
- }
- dtws.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- dtws.Type = &typeVar
- }
- }
+ if ctd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = ctd.LinkedServiceName
}
-
- return nil
-}
-
-// BasicDependencyReference referenced dependency.
-type BasicDependencyReference interface {
- AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool)
- AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool)
- AsTriggerDependencyReference() (*TriggerDependencyReference, bool)
- AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool)
- AsDependencyReference() (*DependencyReference, bool)
-}
-
-// DependencyReference referenced dependency.
-type DependencyReference struct {
- // Type - Possible values include: 'TypeDependencyReference', 'TypeSelfDependencyTumblingWindowTriggerReference', 'TypeTumblingWindowTriggerDependencyReference', 'TypeTriggerDependencyReference'
- Type TypeBasicDependencyReference `json:"type,omitempty"`
-}
-
-func unmarshalBasicDependencyReference(body []byte) (BasicDependencyReference, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
+ if ctd.Parameters != nil {
+ objectMap["parameters"] = ctd.Parameters
}
-
- switch m["type"] {
- case string(TypeSelfDependencyTumblingWindowTriggerReference):
- var sdtwtr SelfDependencyTumblingWindowTriggerReference
- err := json.Unmarshal(body, &sdtwtr)
- return sdtwtr, err
- case string(TypeTumblingWindowTriggerDependencyReference):
- var twtdr TumblingWindowTriggerDependencyReference
- err := json.Unmarshal(body, &twtdr)
- return twtdr, err
- case string(TypeTriggerDependencyReference):
- var tdr TriggerDependencyReference
- err := json.Unmarshal(body, &tdr)
- return tdr, err
- default:
- var dr DependencyReference
- err := json.Unmarshal(body, &dr)
- return dr, err
+ if ctd.Annotations != nil {
+ objectMap["annotations"] = ctd.Annotations
}
-}
-func unmarshalBasicDependencyReferenceArray(body []byte) ([]BasicDependencyReference, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
+ if ctd.Folder != nil {
+ objectMap["folder"] = ctd.Folder
}
-
- drArray := make([]BasicDependencyReference, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- dr, err := unmarshalBasicDependencyReference(*rawMessage)
- if err != nil {
- return nil, err
- }
- drArray[index] = dr
+ if ctd.Type != "" {
+ objectMap["type"] = ctd.Type
}
- return drArray, nil
-}
-
-// MarshalJSON is the custom marshaler for DependencyReference.
-func (dr DependencyReference) MarshalJSON() ([]byte, error) {
- dr.Type = TypeDependencyReference
- objectMap := make(map[string]interface{})
- if dr.Type != "" {
- objectMap["type"] = dr.Type
+ for k, v := range ctd.AdditionalProperties {
+ objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsSelfDependencyTumblingWindowTriggerReference is the BasicDependencyReference implementation for DependencyReference.
-func (dr DependencyReference) AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsTumblingWindowTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference.
-func (dr DependencyReference) AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference.
-func (dr DependencyReference) AsTriggerDependencyReference() (*TriggerDependencyReference, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsBasicTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference.
-func (dr DependencyReference) AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsDependencyReference is the BasicDependencyReference implementation for DependencyReference.
-func (dr DependencyReference) AsDependencyReference() (*DependencyReference, bool) {
- return &dr, true
+// AsResponsysObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
}
-// AsBasicDependencyReference is the BasicDependencyReference implementation for DependencyReference.
-func (dr DependencyReference) AsBasicDependencyReference() (BasicDependencyReference, bool) {
- return &dr, true
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
}
-// DistcpSettings distcp settings.
-type DistcpSettings struct {
- // ResourceManagerEndpoint - Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string).
- ResourceManagerEndpoint interface{} `json:"resourceManagerEndpoint,omitempty"`
- // TempScriptPath - Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string).
- TempScriptPath interface{} `json:"tempScriptPath,omitempty"`
- // DistcpOptions - Specifies the Distcp options. Type: string (or Expression with resultType string).
- DistcpOptions interface{} `json:"distcpOptions,omitempty"`
+// AsVerticaTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
}
-// DocumentDbCollectionDataset microsoft Azure Document Database Collection dataset.
-type DocumentDbCollectionDataset struct {
- // DocumentDbCollectionDatasetTypeProperties - DocumentDB Collection dataset properties.
- *DocumentDbCollectionDatasetTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+// AsNetezzaTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) MarshalJSON() ([]byte, error) {
- ddcd.Type = TypeDocumentDbCollection
- objectMap := make(map[string]interface{})
- if ddcd.DocumentDbCollectionDatasetTypeProperties != nil {
- objectMap["typeProperties"] = ddcd.DocumentDbCollectionDatasetTypeProperties
- }
- if ddcd.Description != nil {
- objectMap["description"] = ddcd.Description
- }
- if ddcd.Structure != nil {
- objectMap["structure"] = ddcd.Structure
- }
- if ddcd.Schema != nil {
- objectMap["schema"] = ddcd.Schema
- }
- if ddcd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = ddcd.LinkedServiceName
- }
- if ddcd.Parameters != nil {
- objectMap["parameters"] = ddcd.Parameters
- }
- if ddcd.Annotations != nil {
- objectMap["annotations"] = ddcd.Annotations
- }
- if ddcd.Folder != nil {
- objectMap["folder"] = ddcd.Folder
- }
- if ddcd.Type != "" {
- objectMap["type"] = ddcd.Type
- }
- for k, v := range ddcd.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsZohoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return &ctd, true
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
- return &ddcd, true
+// AsCassandraTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsBinaryDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsParquetDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsDataset() (*Dataset, bool) {
+// AsDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
-func (ddcd DocumentDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) {
- return &ddcd, true
+// AsBasicDataset is the BasicDataset implementation for CouchbaseTableDataset.
+func (ctd CouchbaseTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &ctd, true
}
-// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionDataset struct.
-func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for CouchbaseTableDataset struct.
+func (ctd *CouchbaseTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -49395,12 +50139,12 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var documentDbCollectionDatasetTypeProperties DocumentDbCollectionDatasetTypeProperties
- err = json.Unmarshal(*v, &documentDbCollectionDatasetTypeProperties)
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
if err != nil {
return err
}
- ddcd.DocumentDbCollectionDatasetTypeProperties = &documentDbCollectionDatasetTypeProperties
+ ctd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -49409,10 +50153,10 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ddcd.AdditionalProperties == nil {
- ddcd.AdditionalProperties = make(map[string]interface{})
+ if ctd.AdditionalProperties == nil {
+ ctd.AdditionalProperties = make(map[string]interface{})
}
- ddcd.AdditionalProperties[k] = additionalProperties
+ ctd.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -49421,7 +50165,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ddcd.Description = &description
+ ctd.Description = &description
}
case "structure":
if v != nil {
@@ -49430,7 +50174,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ddcd.Structure = structure
+ ctd.Structure = structure
}
case "schema":
if v != nil {
@@ -49439,7 +50183,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ddcd.Schema = schema
+ ctd.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -49448,7 +50192,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ddcd.LinkedServiceName = &linkedServiceName
+ ctd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -49457,7 +50201,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ddcd.Parameters = parameters
+ ctd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -49466,7 +50210,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ddcd.Annotations = &annotations
+ ctd.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -49475,7 +50219,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ddcd.Folder = &folder
+ ctd.Folder = &folder
}
case "type":
if v != nil {
@@ -49484,7 +50228,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ddcd.Type = typeVar
+ ctd.Type = typeVar
}
}
}
@@ -49492,185 +50236,268 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// DocumentDbCollectionDatasetTypeProperties documentDB Collection dataset properties.
-type DocumentDbCollectionDatasetTypeProperties struct {
- // CollectionName - Document Database collection name. Type: string (or Expression with resultType string).
- CollectionName interface{} `json:"collectionName,omitempty"`
+// CreateLinkedIntegrationRuntimeRequest the linked integration runtime information.
+type CreateLinkedIntegrationRuntimeRequest struct {
+ // Name - The name of the linked integration runtime.
+ Name *string `json:"name,omitempty"`
+ // SubscriptionID - The ID of the subscription that the linked integration runtime belongs to.
+ SubscriptionID *string `json:"subscriptionId,omitempty"`
+ // DataFactoryName - The name of the data factory that the linked integration runtime belongs to.
+ DataFactoryName *string `json:"dataFactoryName,omitempty"`
+ // DataFactoryLocation - The location of the data factory that the linked integration runtime belongs to.
+ DataFactoryLocation *string `json:"dataFactoryLocation,omitempty"`
}
-// DocumentDbCollectionSink a copy activity Document Database Collection sink.
-type DocumentDbCollectionSink struct {
- // NestingSeparator - Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string).
- NestingSeparator interface{} `json:"nestingSeparator,omitempty"`
- // WriteBehavior - Describes how to write data to Azure Cosmos DB. Allowed values: insert and upsert.
- WriteBehavior interface{} `json:"writeBehavior,omitempty"`
+// CreateRunResponse response body with a run identifier.
+type CreateRunResponse struct {
+ autorest.Response `json:"-"`
+ // RunID - Identifier of a run.
+ RunID *string `json:"runId,omitempty"`
+}
+
+// CustomActivity custom activity type.
+type CustomActivity struct {
+ // CustomActivityTypeProperties - Custom activity properties.
+ *CustomActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
- WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
- // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
- // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
- SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
- // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
- Type TypeBasicCopySink `json:"type,omitempty"`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) MarshalJSON() ([]byte, error) {
- ddcs.Type = TypeDocumentDbCollectionSink
+// MarshalJSON is the custom marshaler for CustomActivity.
+func (ca CustomActivity) MarshalJSON() ([]byte, error) {
+ ca.Type = TypeCustom
objectMap := make(map[string]interface{})
- if ddcs.NestingSeparator != nil {
- objectMap["nestingSeparator"] = ddcs.NestingSeparator
+ if ca.CustomActivityTypeProperties != nil {
+ objectMap["typeProperties"] = ca.CustomActivityTypeProperties
}
- if ddcs.WriteBehavior != nil {
- objectMap["writeBehavior"] = ddcs.WriteBehavior
+ if ca.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = ca.LinkedServiceName
}
- if ddcs.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = ddcs.WriteBatchSize
+ if ca.Policy != nil {
+ objectMap["policy"] = ca.Policy
}
- if ddcs.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = ddcs.WriteBatchTimeout
+ if ca.Name != nil {
+ objectMap["name"] = ca.Name
}
- if ddcs.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = ddcs.SinkRetryCount
+ if ca.Description != nil {
+ objectMap["description"] = ca.Description
}
- if ddcs.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = ddcs.SinkRetryWait
+ if ca.DependsOn != nil {
+ objectMap["dependsOn"] = ca.DependsOn
}
- if ddcs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ddcs.MaxConcurrentConnections
+ if ca.UserProperties != nil {
+ objectMap["userProperties"] = ca.UserProperties
}
- if ddcs.Type != "" {
- objectMap["type"] = ddcs.Type
+ if ca.Type != "" {
+ objectMap["type"] = ca.Type
}
- for k, v := range ddcs.AdditionalProperties {
+ for k, v := range ca.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsSalesforceSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsSalesforceSink() (*SalesforceSink, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsDynamicsSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsDynamicsSink() (*DynamicsSink, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsOdbcSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsOdbcSink() (*OdbcSink, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsOracleSink() (*OracleSink, bool) {
+// AsWebActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsSQLDWSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsLookupActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsSQLServerSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsDeleteActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsSQLSink() (*SQLSink, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
- return &ddcs, true
+// AsCustomActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsCustomActivity() (*CustomActivity, bool) {
+ return &ca, true
}
-// AsFileSystemSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsFileSystemSink() (*FileSystemSink, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsBlobSink() (*BlobSink, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsParquetSink() (*ParquetSink, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsAzureTableSink() (*AzureTableSink, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsAzureQueueSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+// AsCopyActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsCopySink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsCopySink() (*CopySink, bool) {
+// AsExecutionActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsBasicCopySink is the BasicCopySink implementation for DocumentDbCollectionSink.
-func (ddcs DocumentDbCollectionSink) AsBasicCopySink() (BasicCopySink, bool) {
- return &ddcs, true
+// AsBasicExecutionActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &ca, true
}
-// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionSink struct.
-func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error {
+// AsWebHookActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+ return nil, false
+}
+
+// AsAppendVariableActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+ return nil, false
+}
+
+// AsSetVariableActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+ return nil, false
+}
+
+// AsFilterActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsFilterActivity() (*FilterActivity, bool) {
+ return nil, false
+}
+
+// AsValidationActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsValidationActivity() (*ValidationActivity, bool) {
+ return nil, false
+}
+
+// AsUntilActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsUntilActivity() (*UntilActivity, bool) {
+ return nil, false
+}
+
+// AsWaitActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsWaitActivity() (*WaitActivity, bool) {
+ return nil, false
+}
+
+// AsForEachActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsForEachActivity() (*ForEachActivity, bool) {
+ return nil, false
+}
+
+// AsIfConditionActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+ return nil, false
+}
+
+// AsExecutePipelineActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+ return nil, false
+}
+
+// AsControlActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsControlActivity() (*ControlActivity, bool) {
+ return nil, false
+}
+
+// AsBasicControlActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return nil, false
+}
+
+// AsActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsActivity() (*Activity, bool) {
+ return nil, false
+}
+
+// AsBasicActivity is the BasicActivity implementation for CustomActivity.
+func (ca CustomActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &ca, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CustomActivity struct.
+func (ca *CustomActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -49678,89 +50505,89 @@ func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "nestingSeparator":
+ case "typeProperties":
if v != nil {
- var nestingSeparator interface{}
- err = json.Unmarshal(*v, &nestingSeparator)
+ var customActivityTypeProperties CustomActivityTypeProperties
+ err = json.Unmarshal(*v, &customActivityTypeProperties)
if err != nil {
return err
}
- ddcs.NestingSeparator = nestingSeparator
+ ca.CustomActivityTypeProperties = &customActivityTypeProperties
}
- case "writeBehavior":
+ case "linkedServiceName":
if v != nil {
- var writeBehavior interface{}
- err = json.Unmarshal(*v, &writeBehavior)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- ddcs.WriteBehavior = writeBehavior
+ ca.LinkedServiceName = &linkedServiceName
}
- default:
+ case "policy":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
if err != nil {
return err
}
- if ddcs.AdditionalProperties == nil {
- ddcs.AdditionalProperties = make(map[string]interface{})
- }
- ddcs.AdditionalProperties[k] = additionalProperties
+ ca.Policy = &policy
}
- case "writeBatchSize":
+ default:
if v != nil {
- var writeBatchSize interface{}
- err = json.Unmarshal(*v, &writeBatchSize)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- ddcs.WriteBatchSize = writeBatchSize
+ if ca.AdditionalProperties == nil {
+ ca.AdditionalProperties = make(map[string]interface{})
+ }
+ ca.AdditionalProperties[k] = additionalProperties
}
- case "writeBatchTimeout":
+ case "name":
if v != nil {
- var writeBatchTimeout interface{}
- err = json.Unmarshal(*v, &writeBatchTimeout)
+ var name string
+ err = json.Unmarshal(*v, &name)
if err != nil {
return err
}
- ddcs.WriteBatchTimeout = writeBatchTimeout
+ ca.Name = &name
}
- case "sinkRetryCount":
+ case "description":
if v != nil {
- var sinkRetryCount interface{}
- err = json.Unmarshal(*v, &sinkRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- ddcs.SinkRetryCount = sinkRetryCount
+ ca.Description = &description
}
- case "sinkRetryWait":
+ case "dependsOn":
if v != nil {
- var sinkRetryWait interface{}
- err = json.Unmarshal(*v, &sinkRetryWait)
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
if err != nil {
return err
}
- ddcs.SinkRetryWait = sinkRetryWait
+ ca.DependsOn = &dependsOn
}
- case "maxConcurrentConnections":
+ case "userProperties":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
if err != nil {
return err
}
- ddcs.MaxConcurrentConnections = maxConcurrentConnections
+ ca.UserProperties = &userProperties
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySink
+ var typeVar TypeBasicActivity
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ddcs.Type = typeVar
+ ca.Type = typeVar
}
}
}
@@ -49768,399 +50595,517 @@ func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error {
return nil
}
-// DocumentDbCollectionSource a copy activity Document Database Collection source.
-type DocumentDbCollectionSource struct {
- // Query - Documents query. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
- // NestingSeparator - Nested properties separator. Type: string (or Expression with resultType string).
- NestingSeparator interface{} `json:"nestingSeparator,omitempty"`
+// CustomActivityReferenceObject reference objects for custom activity
+type CustomActivityReferenceObject struct {
+ // LinkedServices - Linked service references.
+ LinkedServices *[]LinkedServiceReference `json:"linkedServices,omitempty"`
+ // Datasets - Dataset references.
+ Datasets *[]DatasetReference `json:"datasets,omitempty"`
+}
+
+// CustomActivityTypeProperties custom activity properties.
+type CustomActivityTypeProperties struct {
+ // Command - Command for custom activity Type: string (or Expression with resultType string).
+ Command interface{} `json:"command,omitempty"`
+ // ResourceLinkedService - Resource linked service reference.
+ ResourceLinkedService *LinkedServiceReference `json:"resourceLinkedService,omitempty"`
+ // FolderPath - Folder path for resource files Type: string (or Expression with resultType string).
+ FolderPath interface{} `json:"folderPath,omitempty"`
+ // ReferenceObjects - Reference objects
+ ReferenceObjects *CustomActivityReferenceObject `json:"referenceObjects,omitempty"`
+ // ExtendedProperties - User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined.
+ ExtendedProperties map[string]interface{} `json:"extendedProperties"`
+ // RetentionTimeInDays - The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double).
+ RetentionTimeInDays interface{} `json:"retentionTimeInDays,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for CustomActivityTypeProperties.
+func (catp CustomActivityTypeProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if catp.Command != nil {
+ objectMap["command"] = catp.Command
+ }
+ if catp.ResourceLinkedService != nil {
+ objectMap["resourceLinkedService"] = catp.ResourceLinkedService
+ }
+ if catp.FolderPath != nil {
+ objectMap["folderPath"] = catp.FolderPath
+ }
+ if catp.ReferenceObjects != nil {
+ objectMap["referenceObjects"] = catp.ReferenceObjects
+ }
+ if catp.ExtendedProperties != nil {
+ objectMap["extendedProperties"] = catp.ExtendedProperties
+ }
+ if catp.RetentionTimeInDays != nil {
+ objectMap["retentionTimeInDays"] = catp.RetentionTimeInDays
+ }
+ return json.Marshal(objectMap)
+}
+
+// CustomDataset the custom dataset.
+type CustomDataset struct {
+ // TypeProperties - Custom dataset properties.
+ TypeProperties interface{} `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) MarshalJSON() ([]byte, error) {
- ddcs.Type = TypeDocumentDbCollectionSource
+// MarshalJSON is the custom marshaler for CustomDataset.
+func (cd CustomDataset) MarshalJSON() ([]byte, error) {
+ cd.Type = TypeCustomDataset
objectMap := make(map[string]interface{})
- if ddcs.Query != nil {
- objectMap["query"] = ddcs.Query
+ if cd.TypeProperties != nil {
+ objectMap["typeProperties"] = cd.TypeProperties
}
- if ddcs.NestingSeparator != nil {
- objectMap["nestingSeparator"] = ddcs.NestingSeparator
+ if cd.Description != nil {
+ objectMap["description"] = cd.Description
}
- if ddcs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ddcs.SourceRetryCount
+ if cd.Structure != nil {
+ objectMap["structure"] = cd.Structure
}
- if ddcs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ddcs.SourceRetryWait
+ if cd.Schema != nil {
+ objectMap["schema"] = cd.Schema
}
- if ddcs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ddcs.MaxConcurrentConnections
+ if cd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = cd.LinkedServiceName
}
- if ddcs.Type != "" {
- objectMap["type"] = ddcs.Type
+ if cd.Parameters != nil {
+ objectMap["parameters"] = cd.Parameters
}
- for k, v := range ddcs.AdditionalProperties {
+ if cd.Annotations != nil {
+ objectMap["annotations"] = cd.Annotations
+ }
+ if cd.Folder != nil {
+ objectMap["folder"] = cd.Folder
+ }
+ if cd.Type != "" {
+ objectMap["type"] = cd.Type
+ }
+ for k, v := range cd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsOffice365Source() (*Office365Source, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsWebSource() (*WebSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsOracleSource() (*OracleSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSQLSource() (*SQLSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsRestSource() (*RestSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
- return &ddcs, true
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsBlobSource() (*BlobSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsParquetSource() (*ParquetSource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsCopySource() (*CopySource, bool) {
+// AsCustomDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return &cd, true
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for DocumentDbCollectionSource.
-func (ddcs DocumentDbCollectionSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ddcs, true
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionSource struct.
-func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for CustomDataset.
+func (cd CustomDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &cd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CustomDataset struct.
+func (cd *CustomDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -50168,71 +51113,98 @@ func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var typeProperties interface{}
+ err = json.Unmarshal(*v, &typeProperties)
if err != nil {
return err
}
- ddcs.Query = query
+ cd.TypeProperties = typeProperties
}
- case "nestingSeparator":
+ default:
if v != nil {
- var nestingSeparator interface{}
- err = json.Unmarshal(*v, &nestingSeparator)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- ddcs.NestingSeparator = nestingSeparator
+ if cd.AdditionalProperties == nil {
+ cd.AdditionalProperties = make(map[string]interface{})
+ }
+ cd.AdditionalProperties[k] = additionalProperties
}
- default:
+ case "description":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- if ddcs.AdditionalProperties == nil {
- ddcs.AdditionalProperties = make(map[string]interface{})
+ cd.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
}
- ddcs.AdditionalProperties[k] = additionalProperties
+ cd.Structure = structure
}
- case "sourceRetryCount":
+ case "schema":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- ddcs.SourceRetryCount = sourceRetryCount
+ cd.Schema = schema
}
- case "sourceRetryWait":
+ case "linkedServiceName":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- ddcs.SourceRetryWait = sourceRetryWait
+ cd.LinkedServiceName = &linkedServiceName
}
- case "maxConcurrentConnections":
+ case "parameters":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- ddcs.MaxConcurrentConnections = maxConcurrentConnections
+ cd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ cd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ cd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ddcs.Type = typeVar
+ cd.Type = typeVar
}
}
}
@@ -50240,10 +51212,10 @@ func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error {
return nil
}
-// DrillLinkedService drill server linked service.
-type DrillLinkedService struct {
- // DrillLinkedServiceTypeProperties - Drill server linked service properties.
- *DrillLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// CustomDataSourceLinkedService custom linked service.
+type CustomDataSourceLinkedService struct {
+ // TypeProperties - Custom linked service properties.
+ TypeProperties interface{} `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -50254,470 +51226,500 @@ type DrillLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DrillLinkedService.
-func (dls DrillLinkedService) MarshalJSON() ([]byte, error) {
- dls.Type = TypeDrill
+// MarshalJSON is the custom marshaler for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) MarshalJSON() ([]byte, error) {
+ cdsls.Type = TypeCustomDataSource
objectMap := make(map[string]interface{})
- if dls.DrillLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = dls.DrillLinkedServiceTypeProperties
+ if cdsls.TypeProperties != nil {
+ objectMap["typeProperties"] = cdsls.TypeProperties
}
- if dls.ConnectVia != nil {
- objectMap["connectVia"] = dls.ConnectVia
+ if cdsls.ConnectVia != nil {
+ objectMap["connectVia"] = cdsls.ConnectVia
}
- if dls.Description != nil {
- objectMap["description"] = dls.Description
+ if cdsls.Description != nil {
+ objectMap["description"] = cdsls.Description
}
- if dls.Parameters != nil {
- objectMap["parameters"] = dls.Parameters
+ if cdsls.Parameters != nil {
+ objectMap["parameters"] = cdsls.Parameters
}
- if dls.Annotations != nil {
- objectMap["annotations"] = dls.Annotations
+ if cdsls.Annotations != nil {
+ objectMap["annotations"] = cdsls.Annotations
}
- if dls.Type != "" {
- objectMap["type"] = dls.Type
+ if cdsls.Type != "" {
+ objectMap["type"] = cdsls.Type
}
- for k, v := range dls.AdditionalProperties {
+ for k, v := range cdsls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
- return &dls, true
+// AsDrillLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return &cdsls, true
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for DrillLinkedService.
-func (dls DrillLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &dls, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DrillLinkedService struct.
-func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
+func (cdsls CustomDataSourceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &cdsls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for CustomDataSourceLinkedService struct.
+func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -50727,12 +51729,12 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var drillLinkedServiceTypeProperties DrillLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &drillLinkedServiceTypeProperties)
+ var typeProperties interface{}
+ err = json.Unmarshal(*v, &typeProperties)
if err != nil {
return err
}
- dls.DrillLinkedServiceTypeProperties = &drillLinkedServiceTypeProperties
+ cdsls.TypeProperties = typeProperties
}
default:
if v != nil {
@@ -50741,10 +51743,10 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if dls.AdditionalProperties == nil {
- dls.AdditionalProperties = make(map[string]interface{})
+ if cdsls.AdditionalProperties == nil {
+ cdsls.AdditionalProperties = make(map[string]interface{})
}
- dls.AdditionalProperties[k] = additionalProperties
+ cdsls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -50753,7 +51755,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dls.ConnectVia = &connectVia
+ cdsls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -50762,7 +51764,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dls.Description = &description
+ cdsls.Description = &description
}
case "parameters":
if v != nil {
@@ -50771,7 +51773,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dls.Parameters = parameters
+ cdsls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -50780,7 +51782,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dls.Annotations = &annotations
+ cdsls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -50789,7 +51791,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dls.Type = typeVar
+ cdsls.Type = typeVar
}
}
}
@@ -50797,404 +51799,614 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// DrillLinkedServiceTypeProperties drill server linked service properties.
-type DrillLinkedServiceTypeProperties struct {
- // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // Pwd - The Azure key vault secret reference of password in connection string.
- Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// DrillSource a copy activity Drill server source.
-type DrillSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// DatabricksNotebookActivity databricksNotebook activity.
+type DatabricksNotebookActivity struct {
+ // DatabricksNotebookActivityTypeProperties - Databricks Notebook activity properties.
+ *DatabricksNotebookActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DrillSource.
-func (ds DrillSource) MarshalJSON() ([]byte, error) {
- ds.Type = TypeDrillSource
+// MarshalJSON is the custom marshaler for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) MarshalJSON() ([]byte, error) {
+ dna.Type = TypeDatabricksNotebook
objectMap := make(map[string]interface{})
- if ds.Query != nil {
- objectMap["query"] = ds.Query
+ if dna.DatabricksNotebookActivityTypeProperties != nil {
+ objectMap["typeProperties"] = dna.DatabricksNotebookActivityTypeProperties
}
- if ds.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ds.SourceRetryCount
+ if dna.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = dna.LinkedServiceName
}
- if ds.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ds.SourceRetryWait
+ if dna.Policy != nil {
+ objectMap["policy"] = dna.Policy
}
- if ds.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections
+ if dna.Name != nil {
+ objectMap["name"] = dna.Name
}
- if ds.Type != "" {
- objectMap["type"] = ds.Type
+ if dna.Description != nil {
+ objectMap["description"] = dna.Description
}
- for k, v := range ds.AdditionalProperties {
+ if dna.DependsOn != nil {
+ objectMap["dependsOn"] = dna.DependsOn
+ }
+ if dna.UserProperties != nil {
+ objectMap["userProperties"] = dna.UserProperties
+ }
+ if dna.Type != "" {
+ objectMap["type"] = dna.Type
+ }
+ for k, v := range dna.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
- return nil, false
+// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+ return &dna, true
}
-// AsResponsysSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsZohoSource() (*ZohoSource, bool) {
+// AsWebActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsXeroSource() (*XeroSource, bool) {
+// AsLookupActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSquareSource() (*SquareSource, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSparkSource() (*SparkSource, bool) {
+// AsDeleteActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsShopifySource() (*ShopifySource, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsCustomActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsCopyActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsJiraSource() (*JiraSource, bool) {
+// AsExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsImpalaSource() (*ImpalaSource, bool) {
- return nil, false
+// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &dna, true
}
-// AsHubspotSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsWebHookActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsHiveSource() (*HiveSource, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsFilterActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsValidationActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsUntilActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsDrillSource() (*DrillSource, bool) {
- return &ds, true
-}
-
-// AsCouchbaseSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsWaitActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsConcurSource() (*ConcurSource, bool) {
+// AsForEachActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsControlActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsOffice365Source() (*Office365Source, bool) {
+// AsBasicActivity is the BasicActivity implementation for DatabricksNotebookActivity.
+func (dna DatabricksNotebookActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &dna, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DatabricksNotebookActivity struct.
+func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var databricksNotebookActivityTypeProperties DatabricksNotebookActivityTypeProperties
+ err = json.Unmarshal(*v, &databricksNotebookActivityTypeProperties)
+ if err != nil {
+ return err
+ }
+ dna.DatabricksNotebookActivityTypeProperties = &databricksNotebookActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ dna.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ dna.Policy = &policy
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if dna.AdditionalProperties == nil {
+ dna.AdditionalProperties = make(map[string]interface{})
+ }
+ dna.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ dna.Name = &name
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ dna.Description = &description
+ }
+ case "dependsOn":
+ if v != nil {
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
+ if err != nil {
+ return err
+ }
+ dna.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ dna.UserProperties = &userProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dna.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// DatabricksNotebookActivityTypeProperties databricks Notebook activity properties.
+type DatabricksNotebookActivityTypeProperties struct {
+ // NotebookPath - The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string).
+ NotebookPath interface{} `json:"notebookPath,omitempty"`
+ // BaseParameters - Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used.
+ BaseParameters map[string]interface{} `json:"baseParameters"`
+ // Libraries - A list of libraries to be installed on the cluster that will execute the job.
+ Libraries *[]map[string]interface{} `json:"libraries,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DatabricksNotebookActivityTypeProperties.
+func (dnatp DatabricksNotebookActivityTypeProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dnatp.NotebookPath != nil {
+ objectMap["notebookPath"] = dnatp.NotebookPath
+ }
+ if dnatp.BaseParameters != nil {
+ objectMap["baseParameters"] = dnatp.BaseParameters
+ }
+ if dnatp.Libraries != nil {
+ objectMap["libraries"] = dnatp.Libraries
+ }
+ return json.Marshal(objectMap)
+}
+
+// DatabricksSparkJarActivity databricksSparkJar activity.
+type DatabricksSparkJarActivity struct {
+ // DatabricksSparkJarActivityTypeProperties - Databricks SparkJar activity properties.
+ *DatabricksSparkJarActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) MarshalJSON() ([]byte, error) {
+ dsja.Type = TypeDatabricksSparkJar
+ objectMap := make(map[string]interface{})
+ if dsja.DatabricksSparkJarActivityTypeProperties != nil {
+ objectMap["typeProperties"] = dsja.DatabricksSparkJarActivityTypeProperties
+ }
+ if dsja.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = dsja.LinkedServiceName
+ }
+ if dsja.Policy != nil {
+ objectMap["policy"] = dsja.Policy
+ }
+ if dsja.Name != nil {
+ objectMap["name"] = dsja.Name
+ }
+ if dsja.Description != nil {
+ objectMap["description"] = dsja.Description
+ }
+ if dsja.DependsOn != nil {
+ objectMap["dependsOn"] = dsja.DependsOn
+ }
+ if dsja.UserProperties != nil {
+ objectMap["userProperties"] = dsja.UserProperties
+ }
+ if dsja.Type != "" {
+ objectMap["type"] = dsja.Type
+ }
+ for k, v := range dsja.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+ return &dsja, true
+}
+
+// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsWebSource() (*WebSource, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsOracleSource() (*OracleSource, bool) {
+// AsWebActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsLookupActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsCustomActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSQLSource() (*SQLSource, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsRestSource() (*RestSource, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsCopyActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &dsja, true
+}
+
+// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsFilterActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsValidationActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsBlobSource() (*BlobSource, bool) {
+// AsUntilActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsWaitActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsForEachActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsParquetSource() (*ParquetSource, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsCopySource() (*CopySource, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for DrillSource.
-func (ds DrillSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ds, true
+// AsControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsControlActivity() (*ControlActivity, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DrillSource struct.
-func (ds *DrillSource) UnmarshalJSON(body []byte) error {
+// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return nil, false
+}
+
+// AsActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsActivity() (*Activity, bool) {
+ return nil, false
+}
+
+// AsBasicActivity is the BasicActivity implementation for DatabricksSparkJarActivity.
+func (dsja DatabricksSparkJarActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &dsja, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DatabricksSparkJarActivity struct.
+func (dsja *DatabricksSparkJarActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -51202,14 +52414,32 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var databricksSparkJarActivityTypeProperties DatabricksSparkJarActivityTypeProperties
+ err = json.Unmarshal(*v, &databricksSparkJarActivityTypeProperties)
if err != nil {
return err
}
- ds.Query = query
+ dsja.DatabricksSparkJarActivityTypeProperties = &databricksSparkJarActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ dsja.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ dsja.Policy = &policy
}
default:
if v != nil {
@@ -51218,46 +52448,55 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ds.AdditionalProperties == nil {
- ds.AdditionalProperties = make(map[string]interface{})
+ if dsja.AdditionalProperties == nil {
+ dsja.AdditionalProperties = make(map[string]interface{})
}
- ds.AdditionalProperties[k] = additionalProperties
+ dsja.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "name":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var name string
+ err = json.Unmarshal(*v, &name)
if err != nil {
return err
}
- ds.SourceRetryCount = sourceRetryCount
+ dsja.Name = &name
}
- case "sourceRetryWait":
+ case "description":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- ds.SourceRetryWait = sourceRetryWait
+ dsja.Description = &description
}
- case "maxConcurrentConnections":
+ case "dependsOn":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
if err != nil {
return err
}
- ds.MaxConcurrentConnections = maxConcurrentConnections
+ dsja.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ dsja.UserProperties = &userProperties
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicActivity
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ds.Type = typeVar
+ dsja.Type = typeVar
}
}
}
@@ -51265,419 +52504,609 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error {
return nil
}
-// DrillTableDataset drill server dataset.
-type DrillTableDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// DatabricksSparkJarActivityTypeProperties databricks SparkJar activity properties.
+type DatabricksSparkJarActivityTypeProperties struct {
+ // MainClassName - The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string).
+ MainClassName interface{} `json:"mainClassName,omitempty"`
+ // Parameters - Parameters that will be passed to the main method.
+ Parameters *[]interface{} `json:"parameters,omitempty"`
+ // Libraries - A list of libraries to be installed on the cluster that will execute the job.
+ Libraries *[]map[string]interface{} `json:"libraries,omitempty"`
+}
+
+// DatabricksSparkPythonActivity databricksSparkPython activity.
+type DatabricksSparkPythonActivity struct {
+ // DatabricksSparkPythonActivityTypeProperties - Databricks SparkPython activity properties.
+ *DatabricksSparkPythonActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DrillTableDataset.
-func (dtd DrillTableDataset) MarshalJSON() ([]byte, error) {
- dtd.Type = TypeDrillTable
+// MarshalJSON is the custom marshaler for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) MarshalJSON() ([]byte, error) {
+ dspa.Type = TypeDatabricksSparkPython
objectMap := make(map[string]interface{})
- if dtd.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = dtd.GenericDatasetTypeProperties
- }
- if dtd.Description != nil {
- objectMap["description"] = dtd.Description
+ if dspa.DatabricksSparkPythonActivityTypeProperties != nil {
+ objectMap["typeProperties"] = dspa.DatabricksSparkPythonActivityTypeProperties
}
- if dtd.Structure != nil {
- objectMap["structure"] = dtd.Structure
+ if dspa.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = dspa.LinkedServiceName
}
- if dtd.Schema != nil {
- objectMap["schema"] = dtd.Schema
+ if dspa.Policy != nil {
+ objectMap["policy"] = dspa.Policy
}
- if dtd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = dtd.LinkedServiceName
+ if dspa.Name != nil {
+ objectMap["name"] = dspa.Name
}
- if dtd.Parameters != nil {
- objectMap["parameters"] = dtd.Parameters
+ if dspa.Description != nil {
+ objectMap["description"] = dspa.Description
}
- if dtd.Annotations != nil {
- objectMap["annotations"] = dtd.Annotations
+ if dspa.DependsOn != nil {
+ objectMap["dependsOn"] = dspa.DependsOn
}
- if dtd.Folder != nil {
- objectMap["folder"] = dtd.Folder
+ if dspa.UserProperties != nil {
+ objectMap["userProperties"] = dspa.UserProperties
}
- if dtd.Type != "" {
- objectMap["type"] = dtd.Type
+ if dspa.Type != "" {
+ objectMap["type"] = dspa.Type
}
- for k, v := range dtd.AdditionalProperties {
+ for k, v := range dspa.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
- return nil, false
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+ return &dspa, true
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsWebActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsLookupActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsCustomActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsCopyActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &dspa, true
+}
+
+// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsFilterActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsValidationActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsUntilActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsWaitActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
- return &dtd, true
+// AsForEachActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsForEachActivity() (*ForEachActivity, bool) {
+ return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsBasicActivity is the BasicActivity implementation for DatabricksSparkPythonActivity.
+func (dspa DatabricksSparkPythonActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &dspa, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DatabricksSparkPythonActivity struct.
+func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var databricksSparkPythonActivityTypeProperties DatabricksSparkPythonActivityTypeProperties
+ err = json.Unmarshal(*v, &databricksSparkPythonActivityTypeProperties)
+ if err != nil {
+ return err
+ }
+ dspa.DatabricksSparkPythonActivityTypeProperties = &databricksSparkPythonActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ dspa.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ dspa.Policy = &policy
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if dspa.AdditionalProperties == nil {
+ dspa.AdditionalProperties = make(map[string]interface{})
+ }
+ dspa.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ dspa.Name = &name
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ dspa.Description = &description
+ }
+ case "dependsOn":
+ if v != nil {
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
+ if err != nil {
+ return err
+ }
+ dspa.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ dspa.UserProperties = &userProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dspa.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// DatabricksSparkPythonActivityTypeProperties databricks SparkPython activity properties.
+type DatabricksSparkPythonActivityTypeProperties struct {
+ // PythonFile - The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string).
+ PythonFile interface{} `json:"pythonFile,omitempty"`
+ // Parameters - Command line parameters that will be passed to the Python file.
+ Parameters *[]interface{} `json:"parameters,omitempty"`
+ // Libraries - A list of libraries to be installed on the cluster that will execute the job.
+ Libraries *[]map[string]interface{} `json:"libraries,omitempty"`
+}
+
+// DataLakeAnalyticsUSQLActivity data Lake Analytics U-SQL activity.
+type DataLakeAnalyticsUSQLActivity struct {
+ // DataLakeAnalyticsUSQLActivityTypeProperties - Data Lake Analytics U-SQL activity properties.
+ *DataLakeAnalyticsUSQLActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) MarshalJSON() ([]byte, error) {
+ dlaua.Type = TypeDataLakeAnalyticsUSQL
+ objectMap := make(map[string]interface{})
+ if dlaua.DataLakeAnalyticsUSQLActivityTypeProperties != nil {
+ objectMap["typeProperties"] = dlaua.DataLakeAnalyticsUSQLActivityTypeProperties
+ }
+ if dlaua.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = dlaua.LinkedServiceName
+ }
+ if dlaua.Policy != nil {
+ objectMap["policy"] = dlaua.Policy
+ }
+ if dlaua.Name != nil {
+ objectMap["name"] = dlaua.Name
+ }
+ if dlaua.Description != nil {
+ objectMap["description"] = dlaua.Description
+ }
+ if dlaua.DependsOn != nil {
+ objectMap["dependsOn"] = dlaua.DependsOn
+ }
+ if dlaua.UserProperties != nil {
+ objectMap["userProperties"] = dlaua.UserProperties
+ }
+ if dlaua.Type != "" {
+ objectMap["type"] = dlaua.Type
+ }
+ for k, v := range dlaua.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+ return &dlaua, true
+}
+
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsWebActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsLookupActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsDeleteActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsCustomActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsCopyActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsBasicExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &dlaua, true
+}
+
+// AsWebHookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsFilterActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsValidationActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsUntilActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsWaitActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsForEachActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsDataset() (*Dataset, bool) {
+// AsActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for DrillTableDataset.
-func (dtd DrillTableDataset) AsBasicDataset() (BasicDataset, bool) {
- return &dtd, true
+// AsBasicActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
+func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &dlaua, true
}
-// UnmarshalJSON is the custom unmarshaler for DrillTableDataset struct.
-func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsUSQLActivity struct.
+func (dlaua *DataLakeAnalyticsUSQLActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -51687,12 +53116,30 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var dataLakeAnalyticsUSQLActivityTypeProperties DataLakeAnalyticsUSQLActivityTypeProperties
+ err = json.Unmarshal(*v, &dataLakeAnalyticsUSQLActivityTypeProperties)
if err != nil {
return err
}
- dtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ dlaua.DataLakeAnalyticsUSQLActivityTypeProperties = &dataLakeAnalyticsUSQLActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ dlaua.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ dlaua.Policy = &policy
}
default:
if v != nil {
@@ -51701,10 +53148,19 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if dtd.AdditionalProperties == nil {
- dtd.AdditionalProperties = make(map[string]interface{})
+ if dlaua.AdditionalProperties == nil {
+ dlaua.AdditionalProperties = make(map[string]interface{})
}
- dtd.AdditionalProperties[k] = additionalProperties
+ dlaua.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ dlaua.Name = &name
}
case "description":
if v != nil {
@@ -51713,70 +53169,34 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dtd.Description = &description
+ dlaua.Description = &description
}
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
- }
- dtd.Structure = structure
- }
- case "schema":
- if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
- if err != nil {
- return err
- }
- dtd.Schema = schema
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- dtd.LinkedServiceName = &linkedServiceName
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- dtd.Parameters = parameters
- }
- case "annotations":
+ case "dependsOn":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
if err != nil {
return err
}
- dtd.Annotations = &annotations
+ dlaua.DependsOn = &dependsOn
}
- case "folder":
+ case "userProperties":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
if err != nil {
return err
}
- dtd.Folder = &folder
+ dlaua.UserProperties = &userProperties
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicActivity
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dtd.Type = typeVar
+ dlaua.Type = typeVar
}
}
}
@@ -51784,484 +53204,939 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// DynamicsAXLinkedService dynamics AX linked service.
-type DynamicsAXLinkedService struct {
- // DynamicsAXLinkedServiceTypeProperties - Dynamics AX linked service properties.
- *DynamicsAXLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+// DataLakeAnalyticsUSQLActivityTypeProperties dataLakeAnalyticsU-SQL activity properties.
+type DataLakeAnalyticsUSQLActivityTypeProperties struct {
+ // ScriptPath - Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string).
+ ScriptPath interface{} `json:"scriptPath,omitempty"`
+ // ScriptLinkedService - Script linked service reference.
+ ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"`
+ // DegreeOfParallelism - The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1.
+ DegreeOfParallelism interface{} `json:"degreeOfParallelism,omitempty"`
+ // Priority - Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1.
+ Priority interface{} `json:"priority,omitempty"`
+ // Parameters - Parameters for U-SQL job request.
+ Parameters map[string]interface{} `json:"parameters"`
+ // RuntimeVersion - Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string).
+ RuntimeVersion interface{} `json:"runtimeVersion,omitempty"`
+ // CompilationMode - Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string).
+ CompilationMode interface{} `json:"compilationMode,omitempty"`
}
-// MarshalJSON is the custom marshaler for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) MarshalJSON() ([]byte, error) {
- dals.Type = TypeDynamicsAX
+// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivityTypeProperties.
+func (dlauatp DataLakeAnalyticsUSQLActivityTypeProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if dals.DynamicsAXLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = dals.DynamicsAXLinkedServiceTypeProperties
+ if dlauatp.ScriptPath != nil {
+ objectMap["scriptPath"] = dlauatp.ScriptPath
}
- if dals.ConnectVia != nil {
- objectMap["connectVia"] = dals.ConnectVia
+ if dlauatp.ScriptLinkedService != nil {
+ objectMap["scriptLinkedService"] = dlauatp.ScriptLinkedService
}
- if dals.Description != nil {
- objectMap["description"] = dals.Description
+ if dlauatp.DegreeOfParallelism != nil {
+ objectMap["degreeOfParallelism"] = dlauatp.DegreeOfParallelism
}
- if dals.Parameters != nil {
- objectMap["parameters"] = dals.Parameters
+ if dlauatp.Priority != nil {
+ objectMap["priority"] = dlauatp.Priority
}
- if dals.Annotations != nil {
- objectMap["annotations"] = dals.Annotations
+ if dlauatp.Parameters != nil {
+ objectMap["parameters"] = dlauatp.Parameters
}
- if dals.Type != "" {
- objectMap["type"] = dals.Type
+ if dlauatp.RuntimeVersion != nil {
+ objectMap["runtimeVersion"] = dlauatp.RuntimeVersion
}
- for k, v := range dals.AdditionalProperties {
- objectMap[k] = v
+ if dlauatp.CompilationMode != nil {
+ objectMap["compilationMode"] = dlauatp.CompilationMode
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
+// BasicDataset the Azure Data Factory nested object which identifies data within different data stores, such as
+// tables, files, folders, and documents.
+type BasicDataset interface {
+ AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool)
+ AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool)
+ AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool)
+ AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool)
+ AsResponsysObjectDataset() (*ResponsysObjectDataset, bool)
+ AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool)
+ AsVerticaTableDataset() (*VerticaTableDataset, bool)
+ AsNetezzaTableDataset() (*NetezzaTableDataset, bool)
+ AsZohoObjectDataset() (*ZohoObjectDataset, bool)
+ AsXeroObjectDataset() (*XeroObjectDataset, bool)
+ AsSquareObjectDataset() (*SquareObjectDataset, bool)
+ AsSparkObjectDataset() (*SparkObjectDataset, bool)
+ AsShopifyObjectDataset() (*ShopifyObjectDataset, bool)
+ AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool)
+ AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool)
+ AsPrestoObjectDataset() (*PrestoObjectDataset, bool)
+ AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool)
+ AsPaypalObjectDataset() (*PaypalObjectDataset, bool)
+ AsMarketoObjectDataset() (*MarketoObjectDataset, bool)
+ AsMariaDBTableDataset() (*MariaDBTableDataset, bool)
+ AsMagentoObjectDataset() (*MagentoObjectDataset, bool)
+ AsJiraObjectDataset() (*JiraObjectDataset, bool)
+ AsImpalaObjectDataset() (*ImpalaObjectDataset, bool)
+ AsHubspotObjectDataset() (*HubspotObjectDataset, bool)
+ AsHiveObjectDataset() (*HiveObjectDataset, bool)
+ AsHBaseObjectDataset() (*HBaseObjectDataset, bool)
+ AsGreenplumTableDataset() (*GreenplumTableDataset, bool)
+ AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool)
+ AsEloquaObjectDataset() (*EloquaObjectDataset, bool)
+ AsDrillTableDataset() (*DrillTableDataset, bool)
+ AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool)
+ AsConcurObjectDataset() (*ConcurObjectDataset, bool)
+ AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool)
+ AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool)
+ AsHTTPDataset() (*HTTPDataset, bool)
+ AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool)
+ AsWebTableDataset() (*WebTableDataset, bool)
+ AsSapTableResourceDataset() (*SapTableResourceDataset, bool)
+ AsRestResourceDataset() (*RestResourceDataset, bool)
+ AsSQLServerTableDataset() (*SQLServerTableDataset, bool)
+ AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool)
+ AsSapHanaTableDataset() (*SapHanaTableDataset, bool)
+ AsSapEccResourceDataset() (*SapEccResourceDataset, bool)
+ AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool)
+ AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool)
+ AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool)
+ AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool)
+ AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool)
+ AsMySQLTableDataset() (*MySQLTableDataset, bool)
+ AsOdbcTableDataset() (*OdbcTableDataset, bool)
+ AsInformixTableDataset() (*InformixTableDataset, bool)
+ AsRelationalTableDataset() (*RelationalTableDataset, bool)
+ AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool)
+ AsTeradataTableDataset() (*TeradataTableDataset, bool)
+ AsOracleTableDataset() (*OracleTableDataset, bool)
+ AsODataResourceDataset() (*ODataResourceDataset, bool)
+ AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool)
+ AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool)
+ AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool)
+ AsFileShareDataset() (*FileShareDataset, bool)
+ AsOffice365Dataset() (*Office365Dataset, bool)
+ AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool)
+ AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool)
+ AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool)
+ AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool)
+ AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool)
+ AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool)
+ AsCustomDataset() (*CustomDataset, bool)
+ AsCassandraTableDataset() (*CassandraTableDataset, bool)
+ AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool)
+ AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool)
+ AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool)
+ AsAzureTableDataset() (*AzureTableDataset, bool)
+ AsAzureBlobDataset() (*AzureBlobDataset, bool)
+ AsBinaryDataset() (*BinaryDataset, bool)
+ AsDelimitedTextDataset() (*DelimitedTextDataset, bool)
+ AsParquetDataset() (*ParquetDataset, bool)
+ AsAmazonS3Dataset() (*AmazonS3Dataset, bool)
+ AsDataset() (*Dataset, bool)
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
+// Dataset the Azure Data Factory nested object which identifies data within different data stores, such as
+// tables, files, folders, and documents.
+type Dataset struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
+func unmarshalBasicDataset(body []byte) (BasicDataset, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
+ switch m["type"] {
+ case string(TypeGoogleAdWordsObject):
+ var gawod GoogleAdWordsObjectDataset
+ err := json.Unmarshal(body, &gawod)
+ return gawod, err
+ case string(TypeAzureDataExplorerTable):
+ var adetd AzureDataExplorerTableDataset
+ err := json.Unmarshal(body, &adetd)
+ return adetd, err
+ case string(TypeOracleServiceCloudObject):
+ var oscod OracleServiceCloudObjectDataset
+ err := json.Unmarshal(body, &oscod)
+ return oscod, err
+ case string(TypeDynamicsAXResource):
+ var dard DynamicsAXResourceDataset
+ err := json.Unmarshal(body, &dard)
+ return dard, err
+ case string(TypeResponsysObject):
+ var rod ResponsysObjectDataset
+ err := json.Unmarshal(body, &rod)
+ return rod, err
+ case string(TypeSalesforceMarketingCloudObject):
+ var smcod SalesforceMarketingCloudObjectDataset
+ err := json.Unmarshal(body, &smcod)
+ return smcod, err
+ case string(TypeVerticaTable):
+ var vtd VerticaTableDataset
+ err := json.Unmarshal(body, &vtd)
+ return vtd, err
+ case string(TypeNetezzaTable):
+ var ntd NetezzaTableDataset
+ err := json.Unmarshal(body, &ntd)
+ return ntd, err
+ case string(TypeZohoObject):
+ var zod ZohoObjectDataset
+ err := json.Unmarshal(body, &zod)
+ return zod, err
+ case string(TypeXeroObject):
+ var xod XeroObjectDataset
+ err := json.Unmarshal(body, &xod)
+ return xod, err
+ case string(TypeSquareObject):
+ var sod SquareObjectDataset
+ err := json.Unmarshal(body, &sod)
+ return sod, err
+ case string(TypeSparkObject):
+ var sod SparkObjectDataset
+ err := json.Unmarshal(body, &sod)
+ return sod, err
+ case string(TypeShopifyObject):
+ var sod ShopifyObjectDataset
+ err := json.Unmarshal(body, &sod)
+ return sod, err
+ case string(TypeServiceNowObject):
+ var snod ServiceNowObjectDataset
+ err := json.Unmarshal(body, &snod)
+ return snod, err
+ case string(TypeQuickBooksObject):
+ var qbod QuickBooksObjectDataset
+ err := json.Unmarshal(body, &qbod)
+ return qbod, err
+ case string(TypePrestoObject):
+ var pod PrestoObjectDataset
+ err := json.Unmarshal(body, &pod)
+ return pod, err
+ case string(TypePhoenixObject):
+ var pod PhoenixObjectDataset
+ err := json.Unmarshal(body, &pod)
+ return pod, err
+ case string(TypePaypalObject):
+ var pod PaypalObjectDataset
+ err := json.Unmarshal(body, &pod)
+ return pod, err
+ case string(TypeMarketoObject):
+ var mod MarketoObjectDataset
+ err := json.Unmarshal(body, &mod)
+ return mod, err
+ case string(TypeMariaDBTable):
+ var mdtd MariaDBTableDataset
+ err := json.Unmarshal(body, &mdtd)
+ return mdtd, err
+ case string(TypeMagentoObject):
+ var mod MagentoObjectDataset
+ err := json.Unmarshal(body, &mod)
+ return mod, err
+ case string(TypeJiraObject):
+ var jod JiraObjectDataset
+ err := json.Unmarshal(body, &jod)
+ return jod, err
+ case string(TypeImpalaObject):
+ var iod ImpalaObjectDataset
+ err := json.Unmarshal(body, &iod)
+ return iod, err
+ case string(TypeHubspotObject):
+ var hod HubspotObjectDataset
+ err := json.Unmarshal(body, &hod)
+ return hod, err
+ case string(TypeHiveObject):
+ var hod HiveObjectDataset
+ err := json.Unmarshal(body, &hod)
+ return hod, err
+ case string(TypeHBaseObject):
+ var hbod HBaseObjectDataset
+ err := json.Unmarshal(body, &hbod)
+ return hbod, err
+ case string(TypeGreenplumTable):
+ var gtd GreenplumTableDataset
+ err := json.Unmarshal(body, >d)
+ return gtd, err
+ case string(TypeGoogleBigQueryObject):
+ var gbqod GoogleBigQueryObjectDataset
+ err := json.Unmarshal(body, &gbqod)
+ return gbqod, err
+ case string(TypeEloquaObject):
+ var eod EloquaObjectDataset
+ err := json.Unmarshal(body, &eod)
+ return eod, err
+ case string(TypeDrillTable):
+ var dtd DrillTableDataset
+ err := json.Unmarshal(body, &dtd)
+ return dtd, err
+ case string(TypeCouchbaseTable):
+ var ctd CouchbaseTableDataset
+ err := json.Unmarshal(body, &ctd)
+ return ctd, err
+ case string(TypeConcurObject):
+ var cod ConcurObjectDataset
+ err := json.Unmarshal(body, &cod)
+ return cod, err
+ case string(TypeAzurePostgreSQLTable):
+ var apstd AzurePostgreSQLTableDataset
+ err := json.Unmarshal(body, &apstd)
+ return apstd, err
+ case string(TypeAmazonMWSObject):
+ var amod AmazonMWSObjectDataset
+ err := json.Unmarshal(body, &amod)
+ return amod, err
+ case string(TypeHTTPFile):
+ var hd HTTPDataset
+ err := json.Unmarshal(body, &hd)
+ return hd, err
+ case string(TypeAzureSearchIndex):
+ var asid AzureSearchIndexDataset
+ err := json.Unmarshal(body, &asid)
+ return asid, err
+ case string(TypeWebTable):
+ var wtd WebTableDataset
+ err := json.Unmarshal(body, &wtd)
+ return wtd, err
+ case string(TypeSapTableResource):
+ var strd SapTableResourceDataset
+ err := json.Unmarshal(body, &strd)
+ return strd, err
+ case string(TypeRestResource):
+ var rrd RestResourceDataset
+ err := json.Unmarshal(body, &rrd)
+ return rrd, err
+ case string(TypeSQLServerTable):
+ var sstd SQLServerTableDataset
+ err := json.Unmarshal(body, &sstd)
+ return sstd, err
+ case string(TypeSapOpenHubTable):
+ var sohtd SapOpenHubTableDataset
+ err := json.Unmarshal(body, &sohtd)
+ return sohtd, err
+ case string(TypeSapHanaTable):
+ var shtd SapHanaTableDataset
+ err := json.Unmarshal(body, &shtd)
+ return shtd, err
+ case string(TypeSapEccResource):
+ var serd SapEccResourceDataset
+ err := json.Unmarshal(body, &serd)
+ return serd, err
+ case string(TypeSapCloudForCustomerResource):
+ var scfcrd SapCloudForCustomerResourceDataset
+ err := json.Unmarshal(body, &scfcrd)
+ return scfcrd, err
+ case string(TypeSalesforceServiceCloudObject):
+ var sscod SalesforceServiceCloudObjectDataset
+ err := json.Unmarshal(body, &sscod)
+ return sscod, err
+ case string(TypeSalesforceObject):
+ var sod SalesforceObjectDataset
+ err := json.Unmarshal(body, &sod)
+ return sod, err
+ case string(TypeMicrosoftAccessTable):
+ var matd MicrosoftAccessTableDataset
+ err := json.Unmarshal(body, &matd)
+ return matd, err
+ case string(TypePostgreSQLTable):
+ var pstd PostgreSQLTableDataset
+ err := json.Unmarshal(body, &pstd)
+ return pstd, err
+ case string(TypeMySQLTable):
+ var mstd MySQLTableDataset
+ err := json.Unmarshal(body, &mstd)
+ return mstd, err
+ case string(TypeOdbcTable):
+ var otd OdbcTableDataset
+ err := json.Unmarshal(body, &otd)
+ return otd, err
+ case string(TypeInformixTable):
+ var itd InformixTableDataset
+ err := json.Unmarshal(body, &itd)
+ return itd, err
+ case string(TypeRelationalTable):
+ var rtd RelationalTableDataset
+ err := json.Unmarshal(body, &rtd)
+ return rtd, err
+ case string(TypeAzureMySQLTable):
+ var amstd AzureMySQLTableDataset
+ err := json.Unmarshal(body, &amstd)
+ return amstd, err
+ case string(TypeTeradataTable):
+ var ttd TeradataTableDataset
+ err := json.Unmarshal(body, &ttd)
+ return ttd, err
+ case string(TypeOracleTable):
+ var otd OracleTableDataset
+ err := json.Unmarshal(body, &otd)
+ return otd, err
+ case string(TypeODataResource):
+ var odrd ODataResourceDataset
+ err := json.Unmarshal(body, &odrd)
+ return odrd, err
+ case string(TypeCosmosDbMongoDbAPICollection):
+ var cdmdacd CosmosDbMongoDbAPICollectionDataset
+ err := json.Unmarshal(body, &cdmdacd)
+ return cdmdacd, err
+ case string(TypeMongoDbV2Collection):
+ var mdvcd MongoDbV2CollectionDataset
+ err := json.Unmarshal(body, &mdvcd)
+ return mdvcd, err
+ case string(TypeMongoDbCollection):
+ var mdcd MongoDbCollectionDataset
+ err := json.Unmarshal(body, &mdcd)
+ return mdcd, err
+ case string(TypeFileShare):
+ var fsd FileShareDataset
+ err := json.Unmarshal(body, &fsd)
+ return fsd, err
+ case string(TypeOffice365Table):
+ var o3d Office365Dataset
+ err := json.Unmarshal(body, &o3d)
+ return o3d, err
+ case string(TypeAzureBlobFSFile):
+ var abfd AzureBlobFSDataset
+ err := json.Unmarshal(body, &abfd)
+ return abfd, err
+ case string(TypeAzureDataLakeStoreFile):
+ var adlsd AzureDataLakeStoreDataset
+ err := json.Unmarshal(body, &adlsd)
+ return adlsd, err
+ case string(TypeCommonDataServiceForAppsEntity):
+ var cdsfaed CommonDataServiceForAppsEntityDataset
+ err := json.Unmarshal(body, &cdsfaed)
+ return cdsfaed, err
+ case string(TypeDynamicsCrmEntity):
+ var dced DynamicsCrmEntityDataset
+ err := json.Unmarshal(body, &dced)
+ return dced, err
+ case string(TypeDynamicsEntity):
+ var ded DynamicsEntityDataset
+ err := json.Unmarshal(body, &ded)
+ return ded, err
+ case string(TypeDocumentDbCollection):
+ var ddcd DocumentDbCollectionDataset
+ err := json.Unmarshal(body, &ddcd)
+ return ddcd, err
+ case string(TypeCustomDataset):
+ var cd CustomDataset
+ err := json.Unmarshal(body, &cd)
+ return cd, err
+ case string(TypeCassandraTable):
+ var ctd CassandraTableDataset
+ err := json.Unmarshal(body, &ctd)
+ return ctd, err
+ case string(TypeAzureSQLDWTable):
+ var asdtd AzureSQLDWTableDataset
+ err := json.Unmarshal(body, &asdtd)
+ return asdtd, err
+ case string(TypeAzureSQLMITable):
+ var asmtd AzureSQLMITableDataset
+ err := json.Unmarshal(body, &asmtd)
+ return asmtd, err
+ case string(TypeAzureSQLTable):
+ var astd AzureSQLTableDataset
+ err := json.Unmarshal(body, &astd)
+ return astd, err
+ case string(TypeAzureTable):
+ var atd AzureTableDataset
+ err := json.Unmarshal(body, &atd)
+ return atd, err
+ case string(TypeAzureBlob):
+ var abd AzureBlobDataset
+ err := json.Unmarshal(body, &abd)
+ return abd, err
+ case string(TypeBinary):
+ var bd BinaryDataset
+ err := json.Unmarshal(body, &bd)
+ return bd, err
+ case string(TypeDelimitedText):
+ var dtd DelimitedTextDataset
+ err := json.Unmarshal(body, &dtd)
+ return dtd, err
+ case string(TypeParquet):
+ var pd ParquetDataset
+ err := json.Unmarshal(body, &pd)
+ return pd, err
+ case string(TypeAmazonS3Object):
+ var asd AmazonS3Dataset
+ err := json.Unmarshal(body, &asd)
+ return asd, err
+ default:
+ var d Dataset
+ err := json.Unmarshal(body, &d)
+ return d, err
+ }
}
+func unmarshalBasicDatasetArray(body []byte) ([]BasicDataset, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return nil, false
+ dArray := make([]BasicDataset, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ d, err := unmarshalBasicDataset(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ dArray[index] = d
+ }
+ return dArray, nil
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
- return &dals, true
+// MarshalJSON is the custom marshaler for Dataset.
+func (d Dataset) MarshalJSON() ([]byte, error) {
+ d.Type = TypeDataset
+ objectMap := make(map[string]interface{})
+ if d.Description != nil {
+ objectMap["description"] = d.Description
+ }
+ if d.Structure != nil {
+ objectMap["structure"] = d.Structure
+ }
+ if d.Schema != nil {
+ objectMap["schema"] = d.Schema
+ }
+ if d.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = d.LinkedServiceName
+ }
+ if d.Parameters != nil {
+ objectMap["parameters"] = d.Parameters
+ }
+ if d.Annotations != nil {
+ objectMap["annotations"] = d.Annotations
+ }
+ if d.Folder != nil {
+ objectMap["folder"] = d.Folder
+ }
+ if d.Type != "" {
+ objectMap["type"] = d.Type
+ }
+ for k, v := range d.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsFileShareDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsCustomDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsBinaryDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsParquetDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsLinkedService() (*LinkedService, bool) {
- return nil, false
+// AsDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsDataset() (*Dataset, bool) {
+ return &d, true
}
-// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
-func (dals DynamicsAXLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &dals, true
+// AsBasicDataset is the BasicDataset implementation for Dataset.
+func (d Dataset) AsBasicDataset() (BasicDataset, bool) {
+ return &d, true
}
-// UnmarshalJSON is the custom unmarshaler for DynamicsAXLinkedService struct.
-func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for Dataset struct.
+func (d *Dataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -52269,44 +54144,53 @@ func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ default:
if v != nil {
- var dynamicsAXLinkedServiceTypeProperties DynamicsAXLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &dynamicsAXLinkedServiceTypeProperties)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- dals.DynamicsAXLinkedServiceTypeProperties = &dynamicsAXLinkedServiceTypeProperties
+ if d.AdditionalProperties == nil {
+ d.AdditionalProperties = make(map[string]interface{})
+ }
+ d.AdditionalProperties[k] = additionalProperties
}
- default:
+ case "description":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- if dals.AdditionalProperties == nil {
- dals.AdditionalProperties = make(map[string]interface{})
+ d.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
}
- dals.AdditionalProperties[k] = additionalProperties
+ d.Structure = structure
}
- case "connectVia":
+ case "schema":
if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- dals.ConnectVia = &connectVia
+ d.Schema = schema
}
- case "description":
+ case "linkedServiceName":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- dals.Description = &description
+ d.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -52315,7 +54199,7 @@ func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dals.Parameters = parameters
+ d.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -52324,16 +54208,25 @@ func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dals.Annotations = &annotations
+ d.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ d.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dals.Type = typeVar
+ d.Type = typeVar
}
}
}
@@ -52341,24 +54234,59 @@ func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// DynamicsAXLinkedServiceTypeProperties dynamics AX linked service properties.
-type DynamicsAXLinkedServiceTypeProperties struct {
- // URL - The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint.
- URL interface{} `json:"url,omitempty"`
- // ServicePrincipalID - Specify the application's client ID. Type: string (or Expression with resultType string).
- ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
- // ServicePrincipalKey - Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string).
- ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
- // Tenant - Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string).
- Tenant interface{} `json:"tenant,omitempty"`
- // AadResourceID - Specify the resource you are requesting authorization. Type: string (or Expression with resultType string).
- AadResourceID interface{} `json:"aadResourceId,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+// DatasetBZip2Compression the BZip2 compression method used on a dataset.
+type DatasetBZip2Compression struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
+ Type TypeBasicDatasetCompression `json:"type,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for DynamicsAXLinkedServiceTypeProperties struct.
-func (dalstp *DynamicsAXLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// MarshalJSON is the custom marshaler for DatasetBZip2Compression.
+func (dbz2c DatasetBZip2Compression) MarshalJSON() ([]byte, error) {
+ dbz2c.Type = TypeBZip2
+ objectMap := make(map[string]interface{})
+ if dbz2c.Type != "" {
+ objectMap["type"] = dbz2c.Type
+ }
+ for k, v := range dbz2c.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
+func (dbz2c DatasetBZip2Compression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
+ return nil, false
+}
+
+// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
+func (dbz2c DatasetBZip2Compression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
+ return nil, false
+}
+
+// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
+func (dbz2c DatasetBZip2Compression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
+ return nil, false
+}
+
+// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
+func (dbz2c DatasetBZip2Compression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
+ return &dbz2c, true
+}
+
+// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
+func (dbz2c DatasetBZip2Compression) AsDatasetCompression() (*DatasetCompression, bool) {
+ return nil, false
+}
+
+// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
+func (dbz2c DatasetBZip2Compression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
+ return &dbz2c, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DatasetBZip2Compression struct.
+func (dbz2c *DatasetBZip2Compression) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -52366,58 +54294,26 @@ func (dalstp *DynamicsAXLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
}
for k, v := range m {
switch k {
- case "url":
+ default:
if v != nil {
- var URL interface{}
- err = json.Unmarshal(*v, &URL)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- dalstp.URL = URL
+ if dbz2c.AdditionalProperties == nil {
+ dbz2c.AdditionalProperties = make(map[string]interface{})
+ }
+ dbz2c.AdditionalProperties[k] = additionalProperties
}
- case "servicePrincipalId":
+ case "type":
if v != nil {
- var servicePrincipalID interface{}
- err = json.Unmarshal(*v, &servicePrincipalID)
+ var typeVar TypeBasicDatasetCompression
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dalstp.ServicePrincipalID = servicePrincipalID
- }
- case "servicePrincipalKey":
- if v != nil {
- servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- dalstp.ServicePrincipalKey = servicePrincipalKey
- }
- case "tenant":
- if v != nil {
- var tenant interface{}
- err = json.Unmarshal(*v, &tenant)
- if err != nil {
- return err
- }
- dalstp.Tenant = tenant
- }
- case "aadResourceId":
- if v != nil {
- var aadResourceID interface{}
- err = json.Unmarshal(*v, &aadResourceID)
- if err != nil {
- return err
- }
- dalstp.AadResourceID = aadResourceID
- }
- case "encryptedCredential":
- if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
- if err != nil {
- return err
- }
- dalstp.EncryptedCredential = encryptedCredential
+ dbz2c.Type = typeVar
}
}
}
@@ -52425,419 +54321,538 @@ func (dalstp *DynamicsAXLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
return nil
}
-// DynamicsAXResourceDataset the path of the Dynamics AX OData entity.
-type DynamicsAXResourceDataset struct {
- // DynamicsAXResourceDatasetTypeProperties - Dynamics AX OData resource dataset properties.
- *DynamicsAXResourceDatasetTypeProperties `json:"typeProperties,omitempty"`
+// BasicDatasetCompression the compression method used on a dataset.
+type BasicDatasetCompression interface {
+ AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool)
+ AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool)
+ AsDatasetGZipCompression() (*DatasetGZipCompression, bool)
+ AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool)
+ AsDatasetCompression() (*DatasetCompression, bool)
+}
+
+// DatasetCompression the compression method used on a dataset.
+type DatasetCompression struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
+ Type TypeBasicDatasetCompression `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) MarshalJSON() ([]byte, error) {
- dard.Type = TypeDynamicsAXResource
- objectMap := make(map[string]interface{})
- if dard.DynamicsAXResourceDatasetTypeProperties != nil {
- objectMap["typeProperties"] = dard.DynamicsAXResourceDatasetTypeProperties
- }
- if dard.Description != nil {
- objectMap["description"] = dard.Description
- }
- if dard.Structure != nil {
- objectMap["structure"] = dard.Structure
- }
- if dard.Schema != nil {
- objectMap["schema"] = dard.Schema
- }
- if dard.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = dard.LinkedServiceName
+func unmarshalBasicDatasetCompression(body []byte) (BasicDatasetCompression, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
}
- if dard.Parameters != nil {
- objectMap["parameters"] = dard.Parameters
+
+ switch m["type"] {
+ case string(TypeZipDeflate):
+ var dzdc DatasetZipDeflateCompression
+ err := json.Unmarshal(body, &dzdc)
+ return dzdc, err
+ case string(TypeDeflate):
+ var ddc DatasetDeflateCompression
+ err := json.Unmarshal(body, &ddc)
+ return ddc, err
+ case string(TypeGZip):
+ var dgzc DatasetGZipCompression
+ err := json.Unmarshal(body, &dgzc)
+ return dgzc, err
+ case string(TypeBZip2):
+ var dbz2c DatasetBZip2Compression
+ err := json.Unmarshal(body, &dbz2c)
+ return dbz2c, err
+ default:
+ var dc DatasetCompression
+ err := json.Unmarshal(body, &dc)
+ return dc, err
}
- if dard.Annotations != nil {
- objectMap["annotations"] = dard.Annotations
+}
+func unmarshalBasicDatasetCompressionArray(body []byte) ([]BasicDatasetCompression, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
}
- if dard.Folder != nil {
- objectMap["folder"] = dard.Folder
+
+ dcArray := make([]BasicDatasetCompression, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ dc, err := unmarshalBasicDatasetCompression(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ dcArray[index] = dc
}
- if dard.Type != "" {
- objectMap["type"] = dard.Type
+ return dcArray, nil
+}
+
+// MarshalJSON is the custom marshaler for DatasetCompression.
+func (dc DatasetCompression) MarshalJSON() ([]byte, error) {
+ dc.Type = TypeDatasetCompression
+ objectMap := make(map[string]interface{})
+ if dc.Type != "" {
+ objectMap["type"] = dc.Type
}
- for k, v := range dard.AdditionalProperties {
+ for k, v := range dc.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
- return &dard, true
-}
-
-// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsVerticaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
- return nil, false
-}
-
-// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
- return nil, false
-}
-
-// AsZohoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
- return nil, false
-}
-
-// AsXeroObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
- return nil, false
-}
-
-// AsSquareObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
- return nil, false
-}
-
-// AsSparkObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
- return nil, false
-}
-
-// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
- return nil, false
-}
-
-// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
- return nil, false
-}
-
-// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
- return nil, false
-}
-
-// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
- return nil, false
-}
-
-// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
- return nil, false
-}
-
-// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
- return nil, false
-}
-
-// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
- return nil, false
-}
-
-// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
- return nil, false
-}
-
-// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
- return nil, false
-}
-
-// AsJiraObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
- return nil, false
-}
-
-// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression.
+func (dc DatasetCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression.
+func (dc DatasetCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetCompression.
+func (dc DatasetCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetCompression.
+func (dc DatasetCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
- return nil, false
+// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression.
+func (dc DatasetCompression) AsDatasetCompression() (*DatasetCompression, bool) {
+ return &dc, true
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
- return nil, false
+// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression.
+func (dc DatasetCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
+ return &dc, true
}
-// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for DatasetCompression struct.
+func (dc *DatasetCompression) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if dc.AdditionalProperties == nil {
+ dc.AdditionalProperties = make(map[string]interface{})
+ }
+ dc.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDatasetCompression
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dc.Type = typeVar
+ }
+ }
+ }
-// AsDrillTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
- return nil, false
+ return nil
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
- return nil, false
+// DatasetDeflateCompression the Deflate compression method used on a dataset.
+type DatasetDeflateCompression struct {
+ // Level - The Deflate compression level.
+ Level interface{} `json:"level,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
+ Type TypeBasicDatasetCompression `json:"type,omitempty"`
}
-// AsConcurObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for DatasetDeflateCompression.
+func (ddc DatasetDeflateCompression) MarshalJSON() ([]byte, error) {
+ ddc.Type = TypeDeflate
+ objectMap := make(map[string]interface{})
+ if ddc.Level != nil {
+ objectMap["level"] = ddc.Level
+ }
+ if ddc.Type != "" {
+ objectMap["type"] = ddc.Type
+ }
+ for k, v := range ddc.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
+func (ddc DatasetDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
- return nil, false
+// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
+func (ddc DatasetDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
+ return &ddc, true
}
-// AsHTTPDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
+func (ddc DatasetDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
+func (ddc DatasetDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
+func (ddc DatasetDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
- return nil, false
+// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
+func (ddc DatasetDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
+ return &ddc, true
}
-// AsRestResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for DatasetDeflateCompression struct.
+func (ddc *DatasetDeflateCompression) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "level":
+ if v != nil {
+ var level interface{}
+ err = json.Unmarshal(*v, &level)
+ if err != nil {
+ return err
+ }
+ ddc.Level = level
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ddc.AdditionalProperties == nil {
+ ddc.AdditionalProperties = make(map[string]interface{})
+ }
+ ddc.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDatasetCompression
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ddc.Type = typeVar
+ }
+ }
+ }
-// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
- return nil, false
+ return nil
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
- return nil, false
+// DatasetFolder the folder that this Dataset is in. If not specified, Dataset will appear at the root
+// level.
+type DatasetFolder struct {
+ // Name - The name of the folder that this Dataset is in.
+ Name *string `json:"name,omitempty"`
}
-// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
- return nil, false
+// DatasetGZipCompression the GZip compression method used on a dataset.
+type DatasetGZipCompression struct {
+ // Level - The GZip compression level.
+ Level interface{} `json:"level,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
+ Type TypeBasicDatasetCompression `json:"type,omitempty"`
}
-// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for DatasetGZipCompression.
+func (dgzc DatasetGZipCompression) MarshalJSON() ([]byte, error) {
+ dgzc.Type = TypeGZip
+ objectMap := make(map[string]interface{})
+ if dgzc.Level != nil {
+ objectMap["level"] = dgzc.Level
+ }
+ if dgzc.Type != "" {
+ objectMap["type"] = dgzc.Type
+ }
+ for k, v := range dgzc.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
+func (dgzc DatasetGZipCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
+func (dgzc DatasetGZipCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
- return nil, false
+// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
+func (dgzc DatasetGZipCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
+ return &dgzc, true
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetGZipCompression.
+func (dgzc DatasetGZipCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
+func (dgzc DatasetGZipCompression) AsDatasetCompression() (*DatasetCompression, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
- return nil, false
+// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
+func (dgzc DatasetGZipCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
+ return &dgzc, true
}
-// AsODataResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for DatasetGZipCompression struct.
+func (dgzc *DatasetGZipCompression) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "level":
+ if v != nil {
+ var level interface{}
+ err = json.Unmarshal(*v, &level)
+ if err != nil {
+ return err
+ }
+ dgzc.Level = level
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if dgzc.AdditionalProperties == nil {
+ dgzc.AdditionalProperties = make(map[string]interface{})
+ }
+ dgzc.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDatasetCompression
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dgzc.Type = typeVar
+ }
+ }
+ }
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
- return nil, false
+ return nil
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
- return nil, false
+// DatasetListResponse a list of dataset resources.
+type DatasetListResponse struct {
+ autorest.Response `json:"-"`
+ // Value - List of datasets.
+ Value *[]DatasetResource `json:"value,omitempty"`
+ // NextLink - The link to the next page of results, if any remaining results exist.
+ NextLink *string `json:"nextLink,omitempty"`
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
- return nil, false
+// DatasetListResponseIterator provides access to a complete listing of DatasetResource values.
+type DatasetListResponseIterator struct {
+ i int
+ page DatasetListResponsePage
}
-// AsFileShareDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) {
- return nil, false
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *DatasetListResponseIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DatasetListResponseIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
}
-// AsOffice365Dataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
- return nil, false
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *DatasetListResponseIterator) Next() error {
+ return iter.NextWithContext(context.Background())
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
- return nil, false
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter DatasetListResponseIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
- return nil, false
+// Response returns the raw server response from the last page request.
+func (iter DatasetListResponseIterator) Response() DatasetListResponse {
+ return iter.page.Response()
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
- return nil, false
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter DatasetListResponseIterator) Value() DatasetResource {
+ if !iter.page.NotDone() {
+ return DatasetResource{}
+ }
+ return iter.page.Values()[iter.i]
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
- return nil, false
+// Creates a new instance of the DatasetListResponseIterator type.
+func NewDatasetListResponseIterator(page DatasetListResponsePage) DatasetListResponseIterator {
+ return DatasetListResponseIterator{page: page}
}
-// AsCustomDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsCustomDataset() (*CustomDataset, bool) {
- return nil, false
+// IsEmpty returns true if the ListResult contains no values.
+func (dlr DatasetListResponse) IsEmpty() bool {
+ return dlr.Value == nil || len(*dlr.Value) == 0
}
-// AsCassandraTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
- return nil, false
+// 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 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(dlr.NextLink)))
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
- return nil, false
+// DatasetListResponsePage contains a page of DatasetResource values.
+type DatasetListResponsePage struct {
+ fn func(context.Context, DatasetListResponse) (DatasetListResponse, error)
+ dlr DatasetListResponse
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
- return nil, false
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *DatasetListResponsePage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/DatasetListResponsePage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.dlr)
+ if err != nil {
+ return err
+ }
+ page.dlr = next
+ return nil
}
-// AsAzureTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
- return nil, false
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *DatasetListResponsePage) Next() error {
+ return page.NextWithContext(context.Background())
}
-// AsAzureBlobDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
- return nil, false
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page DatasetListResponsePage) NotDone() bool {
+ return !page.dlr.IsEmpty()
}
-// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
- return nil, false
+// Response returns the raw server response from the last page request.
+func (page DatasetListResponsePage) Response() DatasetListResponse {
+ return page.dlr
}
-// AsParquetDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsParquetDataset() (*ParquetDataset, bool) {
- return nil, false
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page DatasetListResponsePage) Values() []DatasetResource {
+ if page.dlr.IsEmpty() {
+ return nil
+ }
+ return *page.dlr.Value
}
-// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
- return nil, false
+// Creates a new instance of the DatasetListResponsePage type.
+func NewDatasetListResponsePage(getNextPage func(context.Context, DatasetListResponse) (DatasetListResponse, error)) DatasetListResponsePage {
+ return DatasetListResponsePage{fn: getNextPage}
}
-// AsDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsDataset() (*Dataset, bool) {
- return nil, false
+// DatasetLocation dataset location.
+type DatasetLocation struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - Type of dataset storage location.
+ Type *string `json:"type,omitempty"`
+ // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string)
+ FolderPath interface{} `json:"folderPath,omitempty"`
+ // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string).
+ FileName interface{} `json:"fileName,omitempty"`
}
-// AsBasicDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
-func (dard DynamicsAXResourceDataset) AsBasicDataset() (BasicDataset, bool) {
- return &dard, true
+// MarshalJSON is the custom marshaler for DatasetLocation.
+func (dl DatasetLocation) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dl.Type != nil {
+ objectMap["type"] = dl.Type
+ }
+ if dl.FolderPath != nil {
+ objectMap["folderPath"] = dl.FolderPath
+ }
+ if dl.FileName != nil {
+ objectMap["fileName"] = dl.FileName
+ }
+ for k, v := range dl.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for DynamicsAXResourceDataset struct.
-func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DatasetLocation struct.
+func (dl *DatasetLocation) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -52845,15 +54860,6 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
- if v != nil {
- var dynamicsAXResourceDatasetTypeProperties DynamicsAXResourceDatasetTypeProperties
- err = json.Unmarshal(*v, &dynamicsAXResourceDatasetTypeProperties)
- if err != nil {
- return err
- }
- dard.DynamicsAXResourceDatasetTypeProperties = &dynamicsAXResourceDatasetTypeProperties
- }
default:
if v != nil {
var additionalProperties interface{}
@@ -52861,82 +54867,136 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if dard.AdditionalProperties == nil {
- dard.AdditionalProperties = make(map[string]interface{})
+ if dl.AdditionalProperties == nil {
+ dl.AdditionalProperties = make(map[string]interface{})
}
- dard.AdditionalProperties[k] = additionalProperties
+ dl.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "type":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dard.Description = &description
+ dl.Type = &typeVar
}
- case "structure":
+ case "folderPath":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var folderPath interface{}
+ err = json.Unmarshal(*v, &folderPath)
if err != nil {
return err
}
- dard.Structure = structure
+ dl.FolderPath = folderPath
}
- case "schema":
+ case "fileName":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var fileName interface{}
+ err = json.Unmarshal(*v, &fileName)
if err != nil {
return err
}
- dard.Schema = schema
+ dl.FileName = fileName
}
- case "linkedServiceName":
+ }
+ }
+
+ return nil
+}
+
+// DatasetReference dataset reference type.
+type DatasetReference struct {
+ // Type - Dataset reference type.
+ Type *string `json:"type,omitempty"`
+ // ReferenceName - Reference dataset name.
+ ReferenceName *string `json:"referenceName,omitempty"`
+ // Parameters - Arguments for dataset.
+ Parameters map[string]interface{} `json:"parameters"`
+}
+
+// MarshalJSON is the custom marshaler for DatasetReference.
+func (dr DatasetReference) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dr.Type != nil {
+ objectMap["type"] = dr.Type
+ }
+ if dr.ReferenceName != nil {
+ objectMap["referenceName"] = dr.ReferenceName
+ }
+ if dr.Parameters != nil {
+ objectMap["parameters"] = dr.Parameters
+ }
+ return json.Marshal(objectMap)
+}
+
+// DatasetResource dataset resource type.
+type DatasetResource struct {
+ autorest.Response `json:"-"`
+ // Properties - Dataset properties.
+ Properties BasicDataset `json:"properties,omitempty"`
+ // ID - READ-ONLY; The resource identifier.
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; The resource name.
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; The resource type.
+ Type *string `json:"type,omitempty"`
+ // Etag - READ-ONLY; Etag identifies change in the resource.
+ Etag *string `json:"etag,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for DatasetResource struct.
+func (dr *DatasetResource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ properties, err := unmarshalBasicDataset(*v)
if err != nil {
return err
}
- dard.LinkedServiceName = &linkedServiceName
+ dr.Properties = properties
}
- case "parameters":
+ case "id":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var ID string
+ err = json.Unmarshal(*v, &ID)
if err != nil {
return err
}
- dard.Parameters = parameters
+ dr.ID = &ID
}
- case "annotations":
+ case "name":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var name string
+ err = json.Unmarshal(*v, &name)
if err != nil {
return err
}
- dard.Annotations = &annotations
+ dr.Name = &name
}
- case "folder":
+ case "type":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dard.Folder = &folder
+ dr.Type = &typeVar
}
- case "type":
+ case "etag":
if v != nil {
- var typeVar TypeBasicDataset
- err = json.Unmarshal(*v, &typeVar)
+ var etag string
+ err = json.Unmarshal(*v, &etag)
if err != nil {
return err
}
- dard.Type = typeVar
+ dr.Etag = &etag
}
}
}
@@ -52944,400 +55004,798 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// DynamicsAXResourceDatasetTypeProperties dynamics AX OData resource dataset properties.
-type DynamicsAXResourceDatasetTypeProperties struct {
- // Path - The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string).
- Path interface{} `json:"path,omitempty"`
+// BasicDatasetStorageFormat the format definition of a storage.
+type BasicDatasetStorageFormat interface {
+ AsParquetFormat() (*ParquetFormat, bool)
+ AsOrcFormat() (*OrcFormat, bool)
+ AsAvroFormat() (*AvroFormat, bool)
+ AsJSONFormat() (*JSONFormat, bool)
+ AsTextFormat() (*TextFormat, bool)
+ AsDatasetStorageFormat() (*DatasetStorageFormat, bool)
}
-// DynamicsAXSource a copy activity Dynamics AX source.
-type DynamicsAXSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// DatasetStorageFormat the format definition of a storage.
+type DatasetStorageFormat struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Serializer - Serializer. Type: string (or Expression with resultType string).
+ Serializer interface{} `json:"serializer,omitempty"`
+ // Deserializer - Deserializer. Type: string (or Expression with resultType string).
+ Deserializer interface{} `json:"deserializer,omitempty"`
+ // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
+ Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DynamicsAXSource.
-func (das DynamicsAXSource) MarshalJSON() ([]byte, error) {
- das.Type = TypeDynamicsAXSource
- objectMap := make(map[string]interface{})
- if das.Query != nil {
- objectMap["query"] = das.Query
+func unmarshalBasicDatasetStorageFormat(body []byte) (BasicDatasetStorageFormat, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
}
- if das.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = das.SourceRetryCount
+
+ switch m["type"] {
+ case string(TypeParquetFormat):
+ var pf ParquetFormat
+ err := json.Unmarshal(body, &pf)
+ return pf, err
+ case string(TypeOrcFormat):
+ var of OrcFormat
+ err := json.Unmarshal(body, &of)
+ return of, err
+ case string(TypeAvroFormat):
+ var af AvroFormat
+ err := json.Unmarshal(body, &af)
+ return af, err
+ case string(TypeJSONFormat):
+ var jf JSONFormat
+ err := json.Unmarshal(body, &jf)
+ return jf, err
+ case string(TypeTextFormat):
+ var tf TextFormat
+ err := json.Unmarshal(body, &tf)
+ return tf, err
+ default:
+ var dsf DatasetStorageFormat
+ err := json.Unmarshal(body, &dsf)
+ return dsf, err
}
- if das.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = das.SourceRetryWait
+}
+func unmarshalBasicDatasetStorageFormatArray(body []byte) ([]BasicDatasetStorageFormat, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
}
- if das.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = das.MaxConcurrentConnections
+
+ dsfArray := make([]BasicDatasetStorageFormat, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ dsf, err := unmarshalBasicDatasetStorageFormat(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ dsfArray[index] = dsf
}
- if das.Type != "" {
- objectMap["type"] = das.Type
+ return dsfArray, nil
+}
+
+// MarshalJSON is the custom marshaler for DatasetStorageFormat.
+func (dsf DatasetStorageFormat) MarshalJSON() ([]byte, error) {
+ dsf.Type = TypeDatasetStorageFormat
+ objectMap := make(map[string]interface{})
+ if dsf.Serializer != nil {
+ objectMap["serializer"] = dsf.Serializer
}
- for k, v := range das.AdditionalProperties {
+ if dsf.Deserializer != nil {
+ objectMap["deserializer"] = dsf.Deserializer
+ }
+ if dsf.Type != "" {
+ objectMap["type"] = dsf.Type
+ }
+ for k, v := range dsf.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsParquetFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
+func (dsf DatasetStorageFormat) AsParquetFormat() (*ParquetFormat, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOrcFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
+func (dsf DatasetStorageFormat) AsOrcFormat() (*OrcFormat, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
- return &das, true
-}
-
-// AsResponsysSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsAvroFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
+func (dsf DatasetStorageFormat) AsAvroFormat() (*AvroFormat, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsJSONFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
+func (dsf DatasetStorageFormat) AsJSONFormat() (*JSONFormat, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsTextFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
+func (dsf DatasetStorageFormat) AsTextFormat() (*TextFormat, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsNetezzaSource() (*NetezzaSource, bool) {
- return nil, false
+// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
+func (dsf DatasetStorageFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
+ return &dsf, true
}
-// AsZohoSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsZohoSource() (*ZohoSource, bool) {
- return nil, false
+// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
+func (dsf DatasetStorageFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
+ return &dsf, true
}
-// AsXeroSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsXeroSource() (*XeroSource, bool) {
- return nil, false
+// UnmarshalJSON is the custom unmarshaler for DatasetStorageFormat struct.
+func (dsf *DatasetStorageFormat) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if dsf.AdditionalProperties == nil {
+ dsf.AdditionalProperties = make(map[string]interface{})
+ }
+ dsf.AdditionalProperties[k] = additionalProperties
+ }
+ case "serializer":
+ if v != nil {
+ var serializer interface{}
+ err = json.Unmarshal(*v, &serializer)
+ if err != nil {
+ return err
+ }
+ dsf.Serializer = serializer
+ }
+ case "deserializer":
+ if v != nil {
+ var deserializer interface{}
+ err = json.Unmarshal(*v, &deserializer)
+ if err != nil {
+ return err
+ }
+ dsf.Deserializer = deserializer
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDatasetStorageFormat
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dsf.Type = typeVar
+ }
+ }
+ }
+
+ return nil
}
-// AsSquareSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSquareSource() (*SquareSource, bool) {
+// DatasetZipDeflateCompression the ZipDeflate compression method used on a dataset.
+type DatasetZipDeflateCompression struct {
+ // Level - The ZipDeflate compression level.
+ Level interface{} `json:"level,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
+ Type TypeBasicDatasetCompression `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DatasetZipDeflateCompression.
+func (dzdc DatasetZipDeflateCompression) MarshalJSON() ([]byte, error) {
+ dzdc.Type = TypeZipDeflate
+ objectMap := make(map[string]interface{})
+ if dzdc.Level != nil {
+ objectMap["level"] = dzdc.Level
+ }
+ if dzdc.Type != "" {
+ objectMap["type"] = dzdc.Type
+ }
+ for k, v := range dzdc.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
+func (dzdc DatasetZipDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
+ return &dzdc, true
+}
+
+// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
+func (dzdc DatasetZipDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSparkSource() (*SparkSource, bool) {
+// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
+func (dzdc DatasetZipDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsShopifySource() (*ShopifySource, bool) {
+// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
+func (dzdc DatasetZipDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
+func (dzdc DatasetZipDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
+func (dzdc DatasetZipDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
+ return &dzdc, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DatasetZipDeflateCompression struct.
+func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "level":
+ if v != nil {
+ var level interface{}
+ err = json.Unmarshal(*v, &level)
+ if err != nil {
+ return err
+ }
+ dzdc.Level = level
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if dzdc.AdditionalProperties == nil {
+ dzdc.AdditionalProperties = make(map[string]interface{})
+ }
+ dzdc.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDatasetCompression
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dzdc.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// Db2LinkedService linked service for DB2 data source.
+type Db2LinkedService struct {
+ // Db2LinkedServiceTypeProperties - DB2 linked service properties.
+ *Db2LinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for Db2LinkedService.
+func (d2ls Db2LinkedService) MarshalJSON() ([]byte, error) {
+ d2ls.Type = TypeDb2
+ objectMap := make(map[string]interface{})
+ if d2ls.Db2LinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = d2ls.Db2LinkedServiceTypeProperties
+ }
+ if d2ls.ConnectVia != nil {
+ objectMap["connectVia"] = d2ls.ConnectVia
+ }
+ if d2ls.Description != nil {
+ objectMap["description"] = d2ls.Description
+ }
+ if d2ls.Parameters != nil {
+ objectMap["parameters"] = d2ls.Parameters
+ }
+ if d2ls.Annotations != nil {
+ objectMap["annotations"] = d2ls.Annotations
+ }
+ if d2ls.Type != "" {
+ objectMap["type"] = d2ls.Type
+ }
+ for k, v := range d2ls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsJiraSource() (*JiraSource, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsHiveSource() (*HiveSource, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsDrillSource() (*DrillSource, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsConcurSource() (*ConcurSource, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsOffice365Source() (*Office365Source, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsWebSource() (*WebSource, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsOracleSource() (*OracleSource, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSQLSource() (*SQLSource, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsRestSource() (*RestSource, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsBlobSource() (*BlobSource, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsParquetSource() (*ParquetSource, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsCopySource() (*CopySource, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for DynamicsAXSource.
-func (das DynamicsAXSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &das, true
+// AsOffice365LinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DynamicsAXSource struct.
-func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return &d2ls, true
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for Db2LinkedService.
+func (d2ls Db2LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &d2ls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for Db2LinkedService struct.
+func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -53345,14 +55803,14 @@ func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var db2LinkedServiceTypeProperties Db2LinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &db2LinkedServiceTypeProperties)
if err != nil {
return err
}
- das.Query = query
+ d2ls.Db2LinkedServiceTypeProperties = &db2LinkedServiceTypeProperties
}
default:
if v != nil {
@@ -53361,46 +55819,55 @@ func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if das.AdditionalProperties == nil {
- das.AdditionalProperties = make(map[string]interface{})
+ if d2ls.AdditionalProperties == nil {
+ d2ls.AdditionalProperties = make(map[string]interface{})
}
- das.AdditionalProperties[k] = additionalProperties
+ d2ls.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "connectVia":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- das.SourceRetryCount = sourceRetryCount
+ d2ls.ConnectVia = &connectVia
}
- case "sourceRetryWait":
+ case "description":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- das.SourceRetryWait = sourceRetryWait
+ d2ls.Description = &description
}
- case "maxConcurrentConnections":
+ case "parameters":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- das.MaxConcurrentConnections = maxConcurrentConnections
+ d2ls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ d2ls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- das.Type = typeVar
+ d2ls.Type = typeVar
}
}
}
@@ -53408,419 +55875,543 @@ func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error {
return nil
}
-// DynamicsEntityDataset the Dynamics entity dataset.
-type DynamicsEntityDataset struct {
- // DynamicsEntityDatasetTypeProperties - Dynamics entity dataset properties.
- *DynamicsEntityDatasetTypeProperties `json:"typeProperties,omitempty"`
+// Db2LinkedServiceTypeProperties dB2 linked service properties.
+type Db2LinkedServiceTypeProperties struct {
+ // Server - Server name for connection. Type: string (or Expression with resultType string).
+ Server interface{} `json:"server,omitempty"`
+ // Database - Database name for connection. Type: string (or Expression with resultType string).
+ Database interface{} `json:"database,omitempty"`
+ // AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'Basic'
+ AuthenticationType Db2AuthenticationType `json:"authenticationType,omitempty"`
+ // Username - Username for authentication. Type: string (or Expression with resultType string).
+ Username interface{} `json:"username,omitempty"`
+ // Password - Password for authentication.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for Db2LinkedServiceTypeProperties struct.
+func (d2lstp *Db2LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "server":
+ if v != nil {
+ var server interface{}
+ err = json.Unmarshal(*v, &server)
+ if err != nil {
+ return err
+ }
+ d2lstp.Server = server
+ }
+ case "database":
+ if v != nil {
+ var databaseVar interface{}
+ err = json.Unmarshal(*v, &databaseVar)
+ if err != nil {
+ return err
+ }
+ d2lstp.Database = databaseVar
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType Db2AuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ d2lstp.AuthenticationType = authenticationType
+ }
+ case "username":
+ if v != nil {
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
+ if err != nil {
+ return err
+ }
+ d2lstp.Username = username
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ d2lstp.Password = password
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ d2lstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// Db2Source a copy activity source for Db2 databases.
+type Db2Source struct {
+ // Query - Database query. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) MarshalJSON() ([]byte, error) {
- ded.Type = TypeDynamicsEntity
+// MarshalJSON is the custom marshaler for Db2Source.
+func (d2s Db2Source) MarshalJSON() ([]byte, error) {
+ d2s.Type = TypeDb2Source
objectMap := make(map[string]interface{})
- if ded.DynamicsEntityDatasetTypeProperties != nil {
- objectMap["typeProperties"] = ded.DynamicsEntityDatasetTypeProperties
- }
- if ded.Description != nil {
- objectMap["description"] = ded.Description
- }
- if ded.Structure != nil {
- objectMap["structure"] = ded.Structure
- }
- if ded.Schema != nil {
- objectMap["schema"] = ded.Schema
- }
- if ded.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = ded.LinkedServiceName
+ if d2s.Query != nil {
+ objectMap["query"] = d2s.Query
}
- if ded.Parameters != nil {
- objectMap["parameters"] = ded.Parameters
+ if d2s.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = d2s.SourceRetryCount
}
- if ded.Annotations != nil {
- objectMap["annotations"] = ded.Annotations
+ if d2s.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = d2s.SourceRetryWait
}
- if ded.Folder != nil {
- objectMap["folder"] = ded.Folder
+ if d2s.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = d2s.MaxConcurrentConnections
}
- if ded.Type != "" {
- objectMap["type"] = ded.Type
+ if d2s.Type != "" {
+ objectMap["type"] = d2s.Type
}
- for k, v := range ded.AdditionalProperties {
+ for k, v := range d2s.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsWebSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsTeradataSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsOracleSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsHdfsSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsSQLMISource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsSQLSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsRestSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSapTableSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
- return &ded, true
+// AsSapHanaSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsSapEccSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsODataSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsSybaseSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsMySQLSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsOdbcSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsDb2Source is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsDb2Source() (*Db2Source, bool) {
+ return &d2s, true
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsDataset() (*Dataset, bool) {
+// AsInformixSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for DynamicsEntityDataset.
-func (ded DynamicsEntityDataset) AsBasicDataset() (BasicDataset, bool) {
- return &ded, true
+// AsRelationalSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DynamicsEntityDataset struct.
-func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for Db2Source.
+func (d2s Db2Source) AsBasicCopySource() (BasicCopySource, bool) {
+ return &d2s, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for Db2Source struct.
+func (d2s *Db2Source) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -53828,14 +56419,14 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var dynamicsEntityDatasetTypeProperties DynamicsEntityDatasetTypeProperties
- err = json.Unmarshal(*v, &dynamicsEntityDatasetTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- ded.DynamicsEntityDatasetTypeProperties = &dynamicsEntityDatasetTypeProperties
+ d2s.Query = query
}
default:
if v != nil {
@@ -53844,82 +56435,46 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ded.AdditionalProperties == nil {
- ded.AdditionalProperties = make(map[string]interface{})
- }
- ded.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- ded.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
+ if d2s.AdditionalProperties == nil {
+ d2s.AdditionalProperties = make(map[string]interface{})
}
- ded.Structure = structure
+ d2s.AdditionalProperties[k] = additionalProperties
}
- case "schema":
+ case "sourceRetryCount":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- ded.Schema = schema
+ d2s.SourceRetryCount = sourceRetryCount
}
- case "linkedServiceName":
+ case "sourceRetryWait":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- ded.LinkedServiceName = &linkedServiceName
+ d2s.SourceRetryWait = sourceRetryWait
}
- case "parameters":
+ case "maxConcurrentConnections":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- ded.Parameters = parameters
+ d2s.MaxConcurrentConnections = maxConcurrentConnections
}
- case "annotations":
+ case "type":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ded.Annotations = &annotations
- }
- case "folder":
- if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
- if err != nil {
- return err
- }
- ded.Folder = &folder
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicDataset
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ded.Type = typeVar
+ d2s.Type = typeVar
}
}
}
@@ -53927,490 +56482,823 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// DynamicsEntityDatasetTypeProperties dynamics entity dataset properties.
-type DynamicsEntityDatasetTypeProperties struct {
- // EntityName - The logical name of the entity. Type: string (or Expression with resultType string).
- EntityName interface{} `json:"entityName,omitempty"`
-}
-
-// DynamicsLinkedService dynamics linked service.
-type DynamicsLinkedService struct {
- // DynamicsLinkedServiceTypeProperties - Dynamics linked service properties.
- *DynamicsLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// DeleteActivity delete activity.
+type DeleteActivity struct {
+ // DeleteActivityTypeProperties - Delete activity properties.
+ *DeleteActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DynamicsLinkedService.
-func (dls DynamicsLinkedService) MarshalJSON() ([]byte, error) {
- dls.Type = TypeDynamics
+// MarshalJSON is the custom marshaler for DeleteActivity.
+func (da DeleteActivity) MarshalJSON() ([]byte, error) {
+ da.Type = TypeDelete
objectMap := make(map[string]interface{})
- if dls.DynamicsLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = dls.DynamicsLinkedServiceTypeProperties
+ if da.DeleteActivityTypeProperties != nil {
+ objectMap["typeProperties"] = da.DeleteActivityTypeProperties
}
- if dls.ConnectVia != nil {
- objectMap["connectVia"] = dls.ConnectVia
+ if da.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = da.LinkedServiceName
}
- if dls.Description != nil {
- objectMap["description"] = dls.Description
+ if da.Policy != nil {
+ objectMap["policy"] = da.Policy
}
- if dls.Parameters != nil {
- objectMap["parameters"] = dls.Parameters
+ if da.Name != nil {
+ objectMap["name"] = da.Name
}
- if dls.Annotations != nil {
- objectMap["annotations"] = dls.Annotations
+ if da.Description != nil {
+ objectMap["description"] = da.Description
}
- if dls.Type != "" {
- objectMap["type"] = dls.Type
+ if da.DependsOn != nil {
+ objectMap["dependsOn"] = da.DependsOn
}
- for k, v := range dls.AdditionalProperties {
+ if da.UserProperties != nil {
+ objectMap["userProperties"] = da.UserProperties
+ }
+ if da.Type != "" {
+ objectMap["type"] = da.Type
+ }
+ for k, v := range da.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsWebActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsLookupActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsDeleteActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+ return &da, true
+}
+
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsCustomActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsCopyActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsExecutionActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsBasicExecutionActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &da, true
+}
+
+// AsWebHookActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsFilterActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsValidationActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsUntilActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsWaitActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsForEachActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsControlActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsBasicActivity is the BasicActivity implementation for DeleteActivity.
+func (da DeleteActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &da, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DeleteActivity struct.
+func (da *DeleteActivity) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var deleteActivityTypeProperties DeleteActivityTypeProperties
+ err = json.Unmarshal(*v, &deleteActivityTypeProperties)
+ if err != nil {
+ return err
+ }
+ da.DeleteActivityTypeProperties = &deleteActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ da.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ da.Policy = &policy
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if da.AdditionalProperties == nil {
+ da.AdditionalProperties = make(map[string]interface{})
+ }
+ da.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ da.Name = &name
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ da.Description = &description
+ }
+ case "dependsOn":
+ if v != nil {
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
+ if err != nil {
+ return err
+ }
+ da.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ da.UserProperties = &userProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ da.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// DeleteActivityTypeProperties delete activity properties.
+type DeleteActivityTypeProperties struct {
+ // Recursive - If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean).
+ Recursive interface{} `json:"recursive,omitempty"`
+ // MaxConcurrentConnections - The max concurrent connections to connect data source at the same time.
+ MaxConcurrentConnections *int32 `json:"maxConcurrentConnections,omitempty"`
+ // EnableLogging - Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean).
+ EnableLogging interface{} `json:"enableLogging,omitempty"`
+ // LogStorageSettings - Log storage settings customer need to provide when enableLogging is true.
+ LogStorageSettings *LogStorageSettings `json:"logStorageSettings,omitempty"`
+ // Dataset - Delete activity dataset reference.
+ Dataset *DatasetReference `json:"dataset,omitempty"`
+}
+
+// DelimitedTextDataset delimited text dataset.
+type DelimitedTextDataset struct {
+ // DelimitedTextDatasetTypeProperties - Delimited text dataset properties.
+ *DelimitedTextDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) MarshalJSON() ([]byte, error) {
+ dtd.Type = TypeDelimitedText
+ objectMap := make(map[string]interface{})
+ if dtd.DelimitedTextDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = dtd.DelimitedTextDatasetTypeProperties
+ }
+ if dtd.Description != nil {
+ objectMap["description"] = dtd.Description
+ }
+ if dtd.Structure != nil {
+ objectMap["structure"] = dtd.Structure
+ }
+ if dtd.Schema != nil {
+ objectMap["schema"] = dtd.Schema
+ }
+ if dtd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = dtd.LinkedServiceName
+ }
+ if dtd.Parameters != nil {
+ objectMap["parameters"] = dtd.Parameters
+ }
+ if dtd.Annotations != nil {
+ objectMap["annotations"] = dtd.Annotations
+ }
+ if dtd.Folder != nil {
+ objectMap["folder"] = dtd.Folder
+ }
+ if dtd.Type != "" {
+ objectMap["type"] = dtd.Type
+ }
+ for k, v := range dtd.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
- return &dls, true
+// AsSapOpenHubTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
-func (dls DynamicsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &dls, true
+// AsRelationalTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedService struct.
-func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return &dtd, true
+}
+
+// AsParquetDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for DelimitedTextDataset.
+func (dtd DelimitedTextDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &dtd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DelimitedTextDataset struct.
+func (dtd *DelimitedTextDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -54420,12 +57308,12 @@ func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var dynamicsLinkedServiceTypeProperties DynamicsLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &dynamicsLinkedServiceTypeProperties)
+ var delimitedTextDatasetTypeProperties DelimitedTextDatasetTypeProperties
+ err = json.Unmarshal(*v, &delimitedTextDatasetTypeProperties)
if err != nil {
return err
}
- dls.DynamicsLinkedServiceTypeProperties = &dynamicsLinkedServiceTypeProperties
+ dtd.DelimitedTextDatasetTypeProperties = &delimitedTextDatasetTypeProperties
}
default:
if v != nil {
@@ -54434,28 +57322,46 @@ func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if dls.AdditionalProperties == nil {
- dls.AdditionalProperties = make(map[string]interface{})
+ if dtd.AdditionalProperties == nil {
+ dtd.AdditionalProperties = make(map[string]interface{})
}
- dls.AdditionalProperties[k] = additionalProperties
+ dtd.AdditionalProperties[k] = additionalProperties
}
- case "connectVia":
+ case "description":
if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- dls.ConnectVia = &connectVia
+ dtd.Description = &description
}
- case "description":
+ case "structure":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- dls.Description = &description
+ dtd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ dtd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ dtd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -54464,7 +57370,7 @@ func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dls.Parameters = parameters
+ dtd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -54473,16 +57379,25 @@ func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- dls.Annotations = &annotations
+ dtd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ dtd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dls.Type = typeVar
+ dtd.Type = typeVar
}
}
}
@@ -54490,30 +57405,56 @@ func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// DynamicsLinkedServiceTypeProperties dynamics linked service properties.
-type DynamicsLinkedServiceTypeProperties struct {
- // DeploymentType - The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with resultType string).
- DeploymentType interface{} `json:"deploymentType,omitempty"`
- // HostName - The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string).
- HostName interface{} `json:"hostName,omitempty"`
- // Port - The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.
- Port interface{} `json:"port,omitempty"`
- // ServiceURI - The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string).
- ServiceURI interface{} `json:"serviceUri,omitempty"`
- // OrganizationName - The organization name of the Dynamics instance. The property is required for on-prem and required for online when there are more than one Dynamics instances associated with the user. Type: string (or Expression with resultType string).
- OrganizationName interface{} `json:"organizationName,omitempty"`
- // AuthenticationType - The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string).
- AuthenticationType interface{} `json:"authenticationType,omitempty"`
- // Username - User name to access the Dynamics instance. Type: string (or Expression with resultType string).
- Username interface{} `json:"username,omitempty"`
- // Password - Password to access the Dynamics instance.
- Password BasicSecretBase `json:"password,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+// DelimitedTextDatasetTypeProperties delimitedText dataset properties.
+type DelimitedTextDatasetTypeProperties struct {
+ // Location - The location of the delimited text storage.
+ Location *DatasetLocation `json:"location,omitempty"`
+ // ColumnDelimiter - The column delimiter. Type: string (or Expression with resultType string).
+ ColumnDelimiter interface{} `json:"columnDelimiter,omitempty"`
+ // RowDelimiter - The row delimiter. Type: string (or Expression with resultType string).
+ RowDelimiter interface{} `json:"rowDelimiter,omitempty"`
+ // EncodingName - The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string).
+ EncodingName interface{} `json:"encodingName,omitempty"`
+ CompressionCodec interface{} `json:"compressionCodec,omitempty"`
+ // CompressionLevel - The data compression method used for DelimitedText.
+ CompressionLevel interface{} `json:"compressionLevel,omitempty"`
+ // QuoteChar - The quote character. Type: string (or Expression with resultType string).
+ QuoteChar interface{} `json:"quoteChar,omitempty"`
+ // EscapeChar - The escape character. Type: string (or Expression with resultType string).
+ EscapeChar interface{} `json:"escapeChar,omitempty"`
+ // FirstRowAsHeader - When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean).
+ FirstRowAsHeader interface{} `json:"firstRowAsHeader,omitempty"`
+ // NullValue - The null value string. Type: string (or Expression with resultType string).
+ NullValue interface{} `json:"nullValue,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedServiceTypeProperties struct.
-func (dlstp *DynamicsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// DelimitedTextReadSettings delimited text read settings.
+type DelimitedTextReadSettings struct {
+ // SkipLineCount - Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer).
+ SkipLineCount interface{} `json:"skipLineCount,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - The read setting type.
+ Type *string `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DelimitedTextReadSettings.
+func (dtrs DelimitedTextReadSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if dtrs.SkipLineCount != nil {
+ objectMap["skipLineCount"] = dtrs.SkipLineCount
+ }
+ if dtrs.Type != nil {
+ objectMap["type"] = dtrs.Type
+ }
+ for k, v := range dtrs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for DelimitedTextReadSettings struct.
+func (dtrs *DelimitedTextReadSettings) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -54521,85 +57462,35 @@ func (dlstp *DynamicsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err
}
for k, v := range m {
switch k {
- case "deploymentType":
- if v != nil {
- var deploymentType interface{}
- err = json.Unmarshal(*v, &deploymentType)
- if err != nil {
- return err
- }
- dlstp.DeploymentType = deploymentType
- }
- case "hostName":
- if v != nil {
- var hostName interface{}
- err = json.Unmarshal(*v, &hostName)
- if err != nil {
- return err
- }
- dlstp.HostName = hostName
- }
- case "port":
- if v != nil {
- var port interface{}
- err = json.Unmarshal(*v, &port)
- if err != nil {
- return err
- }
- dlstp.Port = port
- }
- case "serviceUri":
- if v != nil {
- var serviceURI interface{}
- err = json.Unmarshal(*v, &serviceURI)
- if err != nil {
- return err
- }
- dlstp.ServiceURI = serviceURI
- }
- case "organizationName":
- if v != nil {
- var organizationName interface{}
- err = json.Unmarshal(*v, &organizationName)
- if err != nil {
- return err
- }
- dlstp.OrganizationName = organizationName
- }
- case "authenticationType":
+ case "skipLineCount":
if v != nil {
- var authenticationType interface{}
- err = json.Unmarshal(*v, &authenticationType)
+ var skipLineCount interface{}
+ err = json.Unmarshal(*v, &skipLineCount)
if err != nil {
return err
}
- dlstp.AuthenticationType = authenticationType
+ dtrs.SkipLineCount = skipLineCount
}
- case "username":
+ default:
if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- dlstp.Username = username
- }
- case "password":
- if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
+ if dtrs.AdditionalProperties == nil {
+ dtrs.AdditionalProperties = make(map[string]interface{})
}
- dlstp.Password = password
+ dtrs.AdditionalProperties[k] = additionalProperties
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- dlstp.EncryptedCredential = encryptedCredential
+ dtrs.Type = &typeVar
}
}
}
@@ -54607,12 +57498,12 @@ func (dlstp *DynamicsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err
return nil
}
-// DynamicsSink a copy activity Dynamics sink.
-type DynamicsSink struct {
- // WriteBehavior - The write behavior for the operation.
- WriteBehavior interface{} `json:"writeBehavior,omitempty"`
- // IgnoreNullValues - The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean).
- IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"`
+// DelimitedTextSink a copy activity DelimitedText sink.
+type DelimitedTextSink struct {
+ // StoreSettings - DelimitedText store settings.
+ StoreSettings *StoreWriteSettings `json:"storeSettings,omitempty"`
+ // FormatSettings - DelimitedText format settings.
+ FormatSettings *DelimitedTextWriteSettings `json:"formatSettings,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
@@ -54625,161 +57516,201 @@ type DynamicsSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DynamicsSink.
-func (ds DynamicsSink) MarshalJSON() ([]byte, error) {
- ds.Type = TypeDynamicsSink
+// MarshalJSON is the custom marshaler for DelimitedTextSink.
+func (dts DelimitedTextSink) MarshalJSON() ([]byte, error) {
+ dts.Type = TypeDelimitedTextSink
objectMap := make(map[string]interface{})
- if ds.WriteBehavior != nil {
- objectMap["writeBehavior"] = ds.WriteBehavior
+ if dts.StoreSettings != nil {
+ objectMap["storeSettings"] = dts.StoreSettings
}
- if ds.IgnoreNullValues != nil {
- objectMap["ignoreNullValues"] = ds.IgnoreNullValues
+ if dts.FormatSettings != nil {
+ objectMap["formatSettings"] = dts.FormatSettings
}
- if ds.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = ds.WriteBatchSize
+ if dts.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = dts.WriteBatchSize
}
- if ds.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = ds.WriteBatchTimeout
+ if dts.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = dts.WriteBatchTimeout
}
- if ds.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = ds.SinkRetryCount
+ if dts.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = dts.SinkRetryCount
}
- if ds.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = ds.SinkRetryWait
+ if dts.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = dts.SinkRetryWait
}
- if ds.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections
+ if dts.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = dts.MaxConcurrentConnections
}
- if ds.Type != "" {
- objectMap["type"] = ds.Type
+ if dts.Type != "" {
+ objectMap["type"] = dts.Type
}
- for k, v := range ds.AdditionalProperties {
+ for k, v := range dts.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsSalesforceSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsSalesforceSink() (*SalesforceSink, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsDynamicsSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsDynamicsSink() (*DynamicsSink, bool) {
- return &ds, true
+// AsAzureDataExplorerSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+ return nil, false
}
-// AsOdbcSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsOdbcSink() (*OdbcSink, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsOracleSink() (*OracleSink, bool) {
+// AsInformixSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsSQLDWSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsOdbcSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsSQLServerSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsSQLSink() (*SQLSink, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+// AsOracleSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsFileSystemSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsFileSystemSink() (*FileSystemSink, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsBlobSink() (*BlobSink, bool) {
+// AsSQLMISink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsParquetSink() (*ParquetSink, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsAzureTableSink() (*AzureTableSink, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsAzureQueueSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsSQLSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsCopySink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsCopySink() (*CopySink, bool) {
+// AsBlobSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsBasicCopySink is the BasicCopySink implementation for DynamicsSink.
-func (ds DynamicsSink) AsBasicCopySink() (BasicCopySink, bool) {
- return &ds, true
+// AsBinarySink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DynamicsSink struct.
-func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
+// AsParquetSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsParquetSink() (*ParquetSink, bool) {
+ return nil, false
+}
+
+// AsAzureTableSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsAzureTableSink() (*AzureTableSink, bool) {
+ return nil, false
+}
+
+// AsAzureQueueSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+ return &dts, true
+}
+
+// AsCopySink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsCopySink() (*CopySink, bool) {
+ return nil, false
+}
+
+// AsBasicCopySink is the BasicCopySink implementation for DelimitedTextSink.
+func (dts DelimitedTextSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &dts, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DelimitedTextSink struct.
+func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -54787,23 +57718,23 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "writeBehavior":
+ case "storeSettings":
if v != nil {
- var writeBehavior interface{}
- err = json.Unmarshal(*v, &writeBehavior)
+ var storeSettings StoreWriteSettings
+ err = json.Unmarshal(*v, &storeSettings)
if err != nil {
return err
}
- ds.WriteBehavior = writeBehavior
+ dts.StoreSettings = &storeSettings
}
- case "ignoreNullValues":
+ case "formatSettings":
if v != nil {
- var ignoreNullValues interface{}
- err = json.Unmarshal(*v, &ignoreNullValues)
+ var formatSettings DelimitedTextWriteSettings
+ err = json.Unmarshal(*v, &formatSettings)
if err != nil {
return err
}
- ds.IgnoreNullValues = ignoreNullValues
+ dts.FormatSettings = &formatSettings
}
default:
if v != nil {
@@ -54812,10 +57743,10 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ds.AdditionalProperties == nil {
- ds.AdditionalProperties = make(map[string]interface{})
+ if dts.AdditionalProperties == nil {
+ dts.AdditionalProperties = make(map[string]interface{})
}
- ds.AdditionalProperties[k] = additionalProperties
+ dts.AdditionalProperties[k] = additionalProperties
}
case "writeBatchSize":
if v != nil {
@@ -54824,7 +57755,7 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ds.WriteBatchSize = writeBatchSize
+ dts.WriteBatchSize = writeBatchSize
}
case "writeBatchTimeout":
if v != nil {
@@ -54833,7 +57764,7 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ds.WriteBatchTimeout = writeBatchTimeout
+ dts.WriteBatchTimeout = writeBatchTimeout
}
case "sinkRetryCount":
if v != nil {
@@ -54842,7 +57773,7 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ds.SinkRetryCount = sinkRetryCount
+ dts.SinkRetryCount = sinkRetryCount
}
case "sinkRetryWait":
if v != nil {
@@ -54851,7 +57782,7 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ds.SinkRetryWait = sinkRetryWait
+ dts.SinkRetryWait = sinkRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -54860,7 +57791,7 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ds.MaxConcurrentConnections = maxConcurrentConnections
+ dts.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -54869,7 +57800,7 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ds.Type = typeVar
+ dts.Type = typeVar
}
}
}
@@ -54877,10 +57808,12 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
return nil
}
-// DynamicsSource a copy activity Dynamics source.
-type DynamicsSource struct {
- // Query - FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// DelimitedTextSource a copy activity DelimitedText source.
+type DelimitedTextSource struct {
+ // StoreSettings - DelimitedText store settings.
+ StoreSettings *StoreReadSettings `json:"storeSettings,omitempty"`
+ // FormatSettings - DelimitedText format settings.
+ FormatSettings *DelimitedTextReadSettings `json:"formatSettings,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
@@ -54889,382 +57822,450 @@ type DynamicsSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for DynamicsSource.
-func (ds DynamicsSource) MarshalJSON() ([]byte, error) {
- ds.Type = TypeDynamicsSource
+// MarshalJSON is the custom marshaler for DelimitedTextSource.
+func (dts DelimitedTextSource) MarshalJSON() ([]byte, error) {
+ dts.Type = TypeDelimitedTextSource
objectMap := make(map[string]interface{})
- if ds.Query != nil {
- objectMap["query"] = ds.Query
+ if dts.StoreSettings != nil {
+ objectMap["storeSettings"] = dts.StoreSettings
}
- if ds.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ds.SourceRetryCount
+ if dts.FormatSettings != nil {
+ objectMap["formatSettings"] = dts.FormatSettings
}
- if ds.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ds.SourceRetryWait
+ if dts.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = dts.SourceRetryCount
}
- if ds.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections
+ if dts.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = dts.SourceRetryWait
}
- if ds.Type != "" {
- objectMap["type"] = ds.Type
+ if dts.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = dts.MaxConcurrentConnections
}
- for k, v := range ds.AdditionalProperties {
+ if dts.Type != "" {
+ objectMap["type"] = dts.Type
+ }
+ for k, v := range dts.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifySource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsOffice365Source() (*Office365Source, bool) {
+// AsOffice365Source is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsWebSource() (*WebSource, bool) {
+// AsWebSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsOracleSource() (*OracleSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsRestSource() (*RestSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsRestSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsDynamicsSource() (*DynamicsSource, bool) {
- return &ds, true
+// AsSalesforceSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsODataSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsBlobSource() (*BlobSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsParquetSource() (*ParquetSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsCopySource() (*CopySource, bool) {
+// AsDb2Source is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for DynamicsSource.
-func (ds DynamicsSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ds, true
+// AsMicrosoftAccessSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for DynamicsSource struct.
-func (ds *DynamicsSource) UnmarshalJSON(body []byte) error {
+// AsInformixSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return &dts, true
+}
+
+// AsParquetSource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for DelimitedTextSource.
+func (dts DelimitedTextSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &dts, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DelimitedTextSource struct.
+func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -55272,14 +58273,23 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "storeSettings":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var storeSettings StoreReadSettings
+ err = json.Unmarshal(*v, &storeSettings)
if err != nil {
return err
}
- ds.Query = query
+ dts.StoreSettings = &storeSettings
+ }
+ case "formatSettings":
+ if v != nil {
+ var formatSettings DelimitedTextReadSettings
+ err = json.Unmarshal(*v, &formatSettings)
+ if err != nil {
+ return err
+ }
+ dts.FormatSettings = &formatSettings
}
default:
if v != nil {
@@ -55288,10 +58298,10 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ds.AdditionalProperties == nil {
- ds.AdditionalProperties = make(map[string]interface{})
+ if dts.AdditionalProperties == nil {
+ dts.AdditionalProperties = make(map[string]interface{})
}
- ds.AdditionalProperties[k] = additionalProperties
+ dts.AdditionalProperties[k] = additionalProperties
}
case "sourceRetryCount":
if v != nil {
@@ -55300,7 +58310,7 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ds.SourceRetryCount = sourceRetryCount
+ dts.SourceRetryCount = sourceRetryCount
}
case "sourceRetryWait":
if v != nil {
@@ -55309,7 +58319,7 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ds.SourceRetryWait = sourceRetryWait
+ dts.SourceRetryWait = sourceRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -55318,7 +58328,7 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ds.MaxConcurrentConnections = maxConcurrentConnections
+ dts.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -55327,7 +58337,7 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ds.Type = typeVar
+ dts.Type = typeVar
}
}
}
@@ -55335,484 +58345,663 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error {
return nil
}
-// EloquaLinkedService eloqua server linked service.
-type EloquaLinkedService struct {
- // EloquaLinkedServiceTypeProperties - Eloqua server linked service properties.
- *EloquaLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// DelimitedTextWriteSettings delimited text write settings.
+type DelimitedTextWriteSettings struct {
+ // QuoteAllText - Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean).
+ QuoteAllText interface{} `json:"quoteAllText,omitempty"`
+ // FileExtension - The file extension used to create the files. Type: string (or Expression with resultType string).
+ FileExtension interface{} `json:"fileExtension,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // Type - The write setting type.
+ Type *string `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for EloquaLinkedService.
-func (els EloquaLinkedService) MarshalJSON() ([]byte, error) {
- els.Type = TypeEloqua
+// MarshalJSON is the custom marshaler for DelimitedTextWriteSettings.
+func (dtws DelimitedTextWriteSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if els.EloquaLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = els.EloquaLinkedServiceTypeProperties
- }
- if els.ConnectVia != nil {
- objectMap["connectVia"] = els.ConnectVia
- }
- if els.Description != nil {
- objectMap["description"] = els.Description
- }
- if els.Parameters != nil {
- objectMap["parameters"] = els.Parameters
+ if dtws.QuoteAllText != nil {
+ objectMap["quoteAllText"] = dtws.QuoteAllText
}
- if els.Annotations != nil {
- objectMap["annotations"] = els.Annotations
+ if dtws.FileExtension != nil {
+ objectMap["fileExtension"] = dtws.FileExtension
}
- if els.Type != "" {
- objectMap["type"] = els.Type
+ if dtws.Type != nil {
+ objectMap["type"] = dtws.Type
}
- for k, v := range els.AdditionalProperties {
+ for k, v := range dtws.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
+// UnmarshalJSON is the custom unmarshaler for DelimitedTextWriteSettings struct.
+func (dtws *DelimitedTextWriteSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "quoteAllText":
+ if v != nil {
+ var quoteAllText interface{}
+ err = json.Unmarshal(*v, "eAllText)
+ if err != nil {
+ return err
+ }
+ dtws.QuoteAllText = quoteAllText
+ }
+ case "fileExtension":
+ if v != nil {
+ var fileExtension interface{}
+ err = json.Unmarshal(*v, &fileExtension)
+ if err != nil {
+ return err
+ }
+ dtws.FileExtension = fileExtension
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if dtws.AdditionalProperties == nil {
+ dtws.AdditionalProperties = make(map[string]interface{})
+ }
+ dtws.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dtws.Type = &typeVar
+ }
+ }
+ }
+
+ return nil
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
+// BasicDependencyReference referenced dependency.
+type BasicDependencyReference interface {
+ AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool)
+ AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool)
+ AsTriggerDependencyReference() (*TriggerDependencyReference, bool)
+ AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool)
+ AsDependencyReference() (*DependencyReference, bool)
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
+// DependencyReference referenced dependency.
+type DependencyReference struct {
+ // Type - Possible values include: 'TypeDependencyReference', 'TypeSelfDependencyTumblingWindowTriggerReference', 'TypeTumblingWindowTriggerDependencyReference', 'TypeTriggerDependencyReference'
+ Type TypeBasicDependencyReference `json:"type,omitempty"`
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
+func unmarshalBasicDependencyReference(body []byte) (BasicDependencyReference, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
+
+ switch m["type"] {
+ case string(TypeSelfDependencyTumblingWindowTriggerReference):
+ var sdtwtr SelfDependencyTumblingWindowTriggerReference
+ err := json.Unmarshal(body, &sdtwtr)
+ return sdtwtr, err
+ case string(TypeTumblingWindowTriggerDependencyReference):
+ var twtdr TumblingWindowTriggerDependencyReference
+ err := json.Unmarshal(body, &twtdr)
+ return twtdr, err
+ case string(TypeTriggerDependencyReference):
+ var tdr TriggerDependencyReference
+ err := json.Unmarshal(body, &tdr)
+ return tdr, err
+ default:
+ var dr DependencyReference
+ err := json.Unmarshal(body, &dr)
+ return dr, err
+ }
}
+func unmarshalBasicDependencyReferenceArray(body []byte) ([]BasicDependencyReference, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return nil, false
+ drArray := make([]BasicDependencyReference, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ dr, err := unmarshalBasicDependencyReference(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ drArray[index] = dr
+ }
+ return drArray, nil
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for DependencyReference.
+func (dr DependencyReference) MarshalJSON() ([]byte, error) {
+ dr.Type = TypeDependencyReference
+ objectMap := make(map[string]interface{})
+ if dr.Type != "" {
+ objectMap["type"] = dr.Type
+ }
+ return json.Marshal(objectMap)
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsSelfDependencyTumblingWindowTriggerReference is the BasicDependencyReference implementation for DependencyReference.
+func (dr DependencyReference) AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsTumblingWindowTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference.
+func (dr DependencyReference) AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference.
+func (dr DependencyReference) AsTriggerDependencyReference() (*TriggerDependencyReference, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsBasicTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference.
+func (dr DependencyReference) AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
- return nil, false
+// AsDependencyReference is the BasicDependencyReference implementation for DependencyReference.
+func (dr DependencyReference) AsDependencyReference() (*DependencyReference, bool) {
+ return &dr, true
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
- return nil, false
+// AsBasicDependencyReference is the BasicDependencyReference implementation for DependencyReference.
+func (dr DependencyReference) AsBasicDependencyReference() (BasicDependencyReference, bool) {
+ return &dr, true
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
- return nil, false
+// DistcpSettings distcp settings.
+type DistcpSettings struct {
+ // ResourceManagerEndpoint - Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string).
+ ResourceManagerEndpoint interface{} `json:"resourceManagerEndpoint,omitempty"`
+ // TempScriptPath - Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string).
+ TempScriptPath interface{} `json:"tempScriptPath,omitempty"`
+ // DistcpOptions - Specifies the Distcp options. Type: string (or Expression with resultType string).
+ DistcpOptions interface{} `json:"distcpOptions,omitempty"`
}
-// AsZohoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
- return nil, false
+// DocumentDbCollectionDataset microsoft Azure Document Database Collection dataset.
+type DocumentDbCollectionDataset struct {
+ // DocumentDbCollectionDatasetTypeProperties - DocumentDB Collection dataset properties.
+ *DocumentDbCollectionDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// AsXeroLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) MarshalJSON() ([]byte, error) {
+ ddcd.Type = TypeDocumentDbCollection
+ objectMap := make(map[string]interface{})
+ if ddcd.DocumentDbCollectionDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = ddcd.DocumentDbCollectionDatasetTypeProperties
+ }
+ if ddcd.Description != nil {
+ objectMap["description"] = ddcd.Description
+ }
+ if ddcd.Structure != nil {
+ objectMap["structure"] = ddcd.Structure
+ }
+ if ddcd.Schema != nil {
+ objectMap["schema"] = ddcd.Schema
+ }
+ if ddcd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = ddcd.LinkedServiceName
+ }
+ if ddcd.Parameters != nil {
+ objectMap["parameters"] = ddcd.Parameters
+ }
+ if ddcd.Annotations != nil {
+ objectMap["annotations"] = ddcd.Annotations
+ }
+ if ddcd.Folder != nil {
+ objectMap["folder"] = ddcd.Folder
+ }
+ if ddcd.Type != "" {
+ objectMap["type"] = ddcd.Type
+ }
+ for k, v := range ddcd.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// AsSquareLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
- return &els, true
+// AsMarketoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileShareDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return &ddcd, true
+}
+
+// AsCustomDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
-func (els EloquaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &els, true
+// AsAzureSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for EloquaLinkedService struct.
-func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
+func (ddcd DocumentDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &ddcd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionDataset struct.
+func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -55822,12 +59011,12 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var eloquaLinkedServiceTypeProperties EloquaLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &eloquaLinkedServiceTypeProperties)
+ var documentDbCollectionDatasetTypeProperties DocumentDbCollectionDatasetTypeProperties
+ err = json.Unmarshal(*v, &documentDbCollectionDatasetTypeProperties)
if err != nil {
return err
}
- els.EloquaLinkedServiceTypeProperties = &eloquaLinkedServiceTypeProperties
+ ddcd.DocumentDbCollectionDatasetTypeProperties = &documentDbCollectionDatasetTypeProperties
}
default:
if v != nil {
@@ -55836,19 +59025,10 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if els.AdditionalProperties == nil {
- els.AdditionalProperties = make(map[string]interface{})
- }
- els.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if ddcd.AdditionalProperties == nil {
+ ddcd.AdditionalProperties = make(map[string]interface{})
}
- els.ConnectVia = &connectVia
+ ddcd.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -55857,129 +59037,70 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- els.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- els.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- els.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- els.Type = typeVar
+ ddcd.Description = &description
}
- }
- }
-
- return nil
-}
-
-// EloquaLinkedServiceTypeProperties eloqua server linked service properties.
-type EloquaLinkedServiceTypeProperties struct {
- // Endpoint - The endpoint of the Eloqua server. (i.e. eloqua.example.com)
- Endpoint interface{} `json:"endpoint,omitempty"`
- // Username - The site name and user name of your Eloqua account in the form: sitename/username. (i.e. Eloqua/Alice)
- Username interface{} `json:"username,omitempty"`
- // Password - The password corresponding to the user name.
- Password BasicSecretBase `json:"password,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
- UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
- UseHostVerification interface{} `json:"useHostVerification,omitempty"`
- // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
- UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for EloquaLinkedServiceTypeProperties struct.
-func (elstp *EloquaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "endpoint":
+ case "structure":
if v != nil {
- var endpoint interface{}
- err = json.Unmarshal(*v, &endpoint)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- elstp.Endpoint = endpoint
+ ddcd.Structure = structure
}
- case "username":
+ case "schema":
if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- elstp.Username = username
+ ddcd.Schema = schema
}
- case "password":
+ case "linkedServiceName":
if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- elstp.Password = password
+ ddcd.LinkedServiceName = &linkedServiceName
}
- case "useEncryptedEndpoints":
+ case "parameters":
if v != nil {
- var useEncryptedEndpoints interface{}
- err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- elstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ ddcd.Parameters = parameters
}
- case "useHostVerification":
+ case "annotations":
if v != nil {
- var useHostVerification interface{}
- err = json.Unmarshal(*v, &useHostVerification)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- elstp.UseHostVerification = useHostVerification
+ ddcd.Annotations = &annotations
}
- case "usePeerVerification":
+ case "folder":
if v != nil {
- var usePeerVerification interface{}
- err = json.Unmarshal(*v, &usePeerVerification)
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
if err != nil {
return err
}
- elstp.UsePeerVerification = usePeerVerification
+ ddcd.Folder = &folder
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- elstp.EncryptedCredential = encryptedCredential
+ ddcd.Type = typeVar
}
}
}
@@ -55987,419 +59108,225 @@ func (elstp *EloquaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
return nil
}
-// EloquaObjectDataset eloqua server dataset.
-type EloquaObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// DocumentDbCollectionDatasetTypeProperties documentDB Collection dataset properties.
+type DocumentDbCollectionDatasetTypeProperties struct {
+ // CollectionName - Document Database collection name. Type: string (or Expression with resultType string).
+ CollectionName interface{} `json:"collectionName,omitempty"`
+}
+
+// DocumentDbCollectionSink a copy activity Document Database Collection sink.
+type DocumentDbCollectionSink struct {
+ // NestingSeparator - Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string).
+ NestingSeparator interface{} `json:"nestingSeparator,omitempty"`
+ // WriteBehavior - Describes how to write data to Azure Cosmos DB. Allowed values: insert and upsert.
+ WriteBehavior interface{} `json:"writeBehavior,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for EloquaObjectDataset.
-func (eod EloquaObjectDataset) MarshalJSON() ([]byte, error) {
- eod.Type = TypeEloquaObject
+// MarshalJSON is the custom marshaler for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) MarshalJSON() ([]byte, error) {
+ ddcs.Type = TypeDocumentDbCollectionSink
objectMap := make(map[string]interface{})
- if eod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = eod.GenericDatasetTypeProperties
- }
- if eod.Description != nil {
- objectMap["description"] = eod.Description
+ if ddcs.NestingSeparator != nil {
+ objectMap["nestingSeparator"] = ddcs.NestingSeparator
}
- if eod.Structure != nil {
- objectMap["structure"] = eod.Structure
+ if ddcs.WriteBehavior != nil {
+ objectMap["writeBehavior"] = ddcs.WriteBehavior
}
- if eod.Schema != nil {
- objectMap["schema"] = eod.Schema
+ if ddcs.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = ddcs.WriteBatchSize
}
- if eod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = eod.LinkedServiceName
+ if ddcs.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = ddcs.WriteBatchTimeout
}
- if eod.Parameters != nil {
- objectMap["parameters"] = eod.Parameters
+ if ddcs.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = ddcs.SinkRetryCount
}
- if eod.Annotations != nil {
- objectMap["annotations"] = eod.Annotations
+ if ddcs.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = ddcs.SinkRetryWait
}
- if eod.Folder != nil {
- objectMap["folder"] = eod.Folder
+ if ddcs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ddcs.MaxConcurrentConnections
}
- if eod.Type != "" {
- objectMap["type"] = eod.Type
+ if ddcs.Type != "" {
+ objectMap["type"] = ddcs.Type
}
- for k, v := range eod.AdditionalProperties {
+ for k, v := range ddcs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
- return nil, false
-}
-
-// AsResponsysObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsVerticaTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
- return nil, false
-}
-
-// AsNetezzaTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
- return nil, false
-}
-
-// AsZohoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
- return nil, false
-}
-
-// AsXeroObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
- return nil, false
-}
-
-// AsSquareObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
- return nil, false
-}
-
-// AsSparkObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
- return nil, false
-}
-
-// AsShopifyObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
- return nil, false
-}
-
-// AsServiceNowObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
- return nil, false
-}
-
-// AsQuickBooksObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
- return nil, false
-}
-
-// AsPrestoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
- return nil, false
-}
-
-// AsPhoenixObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
- return nil, false
-}
-
-// AsPaypalObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
- return nil, false
-}
-
-// AsMarketoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
- return nil, false
-}
-
-// AsMariaDBTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
- return nil, false
-}
-
-// AsMagentoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
- return nil, false
-}
-
-// AsJiraObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
- return nil, false
-}
-
-// AsImpalaObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
- return nil, false
-}
-
-// AsHubspotObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
- return nil, false
-}
-
-// AsHiveObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
- return nil, false
-}
-
-// AsHBaseObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
- return nil, false
-}
-
-// AsGreenplumTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
- return nil, false
-}
-
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
- return nil, false
-}
-
-// AsEloquaObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
- return &eod, true
-}
-
-// AsDrillTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
- return nil, false
-}
-
-// AsCouchbaseTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
- return nil, false
-}
-
-// AsConcurObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
- return nil, false
-}
-
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
- return nil, false
-}
-
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
- return nil, false
-}
-
-// AsHTTPDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
- return nil, false
-}
-
-// AsAzureSearchIndexDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
- return nil, false
-}
-
-// AsWebTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
- return nil, false
-}
-
-// AsSapTableResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
- return nil, false
-}
-
-// AsRestResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
- return nil, false
-}
-
-// AsSQLServerTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsInformixSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsOdbcSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsOracleSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsSQLMISink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
- return nil, false
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+ return &ddcs, true
}
-// AsCustomDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsBlobSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsBinarySink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsParquetSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsDataset() (*Dataset, bool) {
+// AsCopySink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsCopySink() (*CopySink, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for EloquaObjectDataset.
-func (eod EloquaObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &eod, true
+// AsBasicCopySink is the BasicCopySink implementation for DocumentDbCollectionSink.
+func (ddcs DocumentDbCollectionSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &ddcs, true
}
-// UnmarshalJSON is the custom unmarshaler for EloquaObjectDataset struct.
-func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionSink struct.
+func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -56407,98 +59334,89 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "nestingSeparator":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var nestingSeparator interface{}
+ err = json.Unmarshal(*v, &nestingSeparator)
if err != nil {
return err
}
- eod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ ddcs.NestingSeparator = nestingSeparator
}
- default:
+ case "writeBehavior":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var writeBehavior interface{}
+ err = json.Unmarshal(*v, &writeBehavior)
if err != nil {
return err
}
- if eod.AdditionalProperties == nil {
- eod.AdditionalProperties = make(map[string]interface{})
- }
- eod.AdditionalProperties[k] = additionalProperties
+ ddcs.WriteBehavior = writeBehavior
}
- case "description":
+ default:
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- eod.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
+ if ddcs.AdditionalProperties == nil {
+ ddcs.AdditionalProperties = make(map[string]interface{})
}
- eod.Structure = structure
+ ddcs.AdditionalProperties[k] = additionalProperties
}
- case "schema":
+ case "writeBatchSize":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
if err != nil {
return err
}
- eod.Schema = schema
+ ddcs.WriteBatchSize = writeBatchSize
}
- case "linkedServiceName":
+ case "writeBatchTimeout":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
if err != nil {
return err
}
- eod.LinkedServiceName = &linkedServiceName
+ ddcs.WriteBatchTimeout = writeBatchTimeout
}
- case "parameters":
+ case "sinkRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
if err != nil {
return err
}
- eod.Parameters = parameters
+ ddcs.SinkRetryCount = sinkRetryCount
}
- case "annotations":
+ case "sinkRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
if err != nil {
return err
}
- eod.Annotations = &annotations
+ ddcs.SinkRetryWait = sinkRetryWait
}
- case "folder":
+ case "maxConcurrentConnections":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- eod.Folder = &folder
+ ddcs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicCopySink
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- eod.Type = typeVar
+ ddcs.Type = typeVar
}
}
}
@@ -56506,10 +59424,12 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// EloquaSource a copy activity Eloqua server source.
-type EloquaSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+// DocumentDbCollectionSource a copy activity Document Database Collection source.
+type DocumentDbCollectionSource struct {
+ // Query - Documents query. Type: string (or Expression with resultType string).
Query interface{} `json:"query,omitempty"`
+ // NestingSeparator - Nested properties separator. Type: string (or Expression with resultType string).
+ NestingSeparator interface{} `json:"nestingSeparator,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
@@ -56518,409 +59438,486 @@ type EloquaSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for EloquaSource.
-func (es EloquaSource) MarshalJSON() ([]byte, error) {
- es.Type = TypeEloquaSource
+// MarshalJSON is the custom marshaler for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) MarshalJSON() ([]byte, error) {
+ ddcs.Type = TypeDocumentDbCollectionSource
objectMap := make(map[string]interface{})
- if es.Query != nil {
- objectMap["query"] = es.Query
+ if ddcs.Query != nil {
+ objectMap["query"] = ddcs.Query
}
- if es.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = es.SourceRetryCount
+ if ddcs.NestingSeparator != nil {
+ objectMap["nestingSeparator"] = ddcs.NestingSeparator
}
- if es.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = es.SourceRetryWait
+ if ddcs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ddcs.SourceRetryCount
}
- if es.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = es.MaxConcurrentConnections
+ if ddcs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ddcs.SourceRetryWait
}
- if es.Type != "" {
- objectMap["type"] = es.Type
+ if ddcs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ddcs.MaxConcurrentConnections
}
- for k, v := range es.AdditionalProperties {
+ if ddcs.Type != "" {
+ objectMap["type"] = ddcs.Type
+ }
+ for k, v := range ddcs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifySource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsEloquaSource() (*EloquaSource, bool) {
- return &es, true
+// AsEloquaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsOffice365Source() (*Office365Source, bool) {
+// AsOffice365Source is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsWebSource() (*WebSource, bool) {
+// AsWebSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsOracleSource() (*OracleSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsRestSource() (*RestSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsRestSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsODataSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsBlobSource() (*BlobSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsParquetSource() (*ParquetSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsCopySource() (*CopySource, bool) {
+// AsDb2Source is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for EloquaSource.
-func (es EloquaSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &es, true
+// AsMicrosoftAccessSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for EloquaSource struct.
-func (es *EloquaSource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "query":
- if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
- if err != nil {
- return err
- }
- es.Query = query
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+// AsInformixSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return &ddcs, true
+}
+
+// AsBlobSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for DocumentDbCollectionSource.
+func (ddcs DocumentDbCollectionSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ddcs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionSource struct.
+func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- if es.AdditionalProperties == nil {
- es.AdditionalProperties = make(map[string]interface{})
+ ddcs.Query = query
+ }
+ case "nestingSeparator":
+ if v != nil {
+ var nestingSeparator interface{}
+ err = json.Unmarshal(*v, &nestingSeparator)
+ if err != nil {
+ return err
}
- es.AdditionalProperties[k] = additionalProperties
+ ddcs.NestingSeparator = nestingSeparator
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ddcs.AdditionalProperties == nil {
+ ddcs.AdditionalProperties = make(map[string]interface{})
+ }
+ ddcs.AdditionalProperties[k] = additionalProperties
}
case "sourceRetryCount":
if v != nil {
@@ -56929,7 +59926,7 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- es.SourceRetryCount = sourceRetryCount
+ ddcs.SourceRetryCount = sourceRetryCount
}
case "sourceRetryWait":
if v != nil {
@@ -56938,7 +59935,7 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- es.SourceRetryWait = sourceRetryWait
+ ddcs.SourceRetryWait = sourceRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -56947,7 +59944,7 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- es.MaxConcurrentConnections = maxConcurrentConnections
+ ddcs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -56956,7 +59953,7 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- es.Type = typeVar
+ ddcs.Type = typeVar
}
}
}
@@ -56964,584 +59961,514 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error {
return nil
}
-// EntityReference the entity reference.
-type EntityReference struct {
- // Type - The type of this referenced entity. Possible values include: 'IntegrationRuntimeEntityReferenceTypeIntegrationRuntimeReference', 'IntegrationRuntimeEntityReferenceTypeLinkedServiceReference'
- Type IntegrationRuntimeEntityReferenceType `json:"type,omitempty"`
- // ReferenceName - The name of this referenced entity.
- ReferenceName *string `json:"referenceName,omitempty"`
-}
-
-// ExecutePipelineActivity execute pipeline activity.
-type ExecutePipelineActivity struct {
- // ExecutePipelineActivityTypeProperties - Execute pipeline activity properties.
- *ExecutePipelineActivityTypeProperties `json:"typeProperties,omitempty"`
+// DrillLinkedService drill server linked service.
+type DrillLinkedService struct {
+ // DrillLinkedServiceTypeProperties - Drill server linked service properties.
+ *DrillLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) MarshalJSON() ([]byte, error) {
- epa.Type = TypeExecutePipeline
+// MarshalJSON is the custom marshaler for DrillLinkedService.
+func (dls DrillLinkedService) MarshalJSON() ([]byte, error) {
+ dls.Type = TypeDrill
objectMap := make(map[string]interface{})
- if epa.ExecutePipelineActivityTypeProperties != nil {
- objectMap["typeProperties"] = epa.ExecutePipelineActivityTypeProperties
+ if dls.DrillLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = dls.DrillLinkedServiceTypeProperties
}
- if epa.Name != nil {
- objectMap["name"] = epa.Name
+ if dls.ConnectVia != nil {
+ objectMap["connectVia"] = dls.ConnectVia
}
- if epa.Description != nil {
- objectMap["description"] = epa.Description
+ if dls.Description != nil {
+ objectMap["description"] = dls.Description
}
- if epa.DependsOn != nil {
- objectMap["dependsOn"] = epa.DependsOn
+ if dls.Parameters != nil {
+ objectMap["parameters"] = dls.Parameters
}
- if epa.UserProperties != nil {
- objectMap["userProperties"] = epa.UserProperties
+ if dls.Annotations != nil {
+ objectMap["annotations"] = dls.Annotations
}
- if epa.Type != "" {
- objectMap["type"] = epa.Type
+ if dls.Type != "" {
+ objectMap["type"] = dls.Type
}
- for k, v := range epa.AdditionalProperties {
+ for k, v := range dls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsWebActivity() (*WebActivity, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
- return &epa, true
+// AsGreenplumLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
}
-// AsControlActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
- return &epa, true
+// AsEloquaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
}
-// AsActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsActivity() (*Activity, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return &dls, true
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for ExecutePipelineActivity.
-func (epa ExecutePipelineActivity) AsBasicActivity() (BasicActivity, bool) {
- return &epa, true
+// AsConcurLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ExecutePipelineActivity struct.
-func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var executePipelineActivityTypeProperties ExecutePipelineActivityTypeProperties
- err = json.Unmarshal(*v, &executePipelineActivityTypeProperties)
- if err != nil {
- return err
- }
- epa.ExecutePipelineActivityTypeProperties = &executePipelineActivityTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if epa.AdditionalProperties == nil {
- epa.AdditionalProperties = make(map[string]interface{})
- }
- epa.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- epa.Name = &name
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- epa.Description = &description
- }
- case "dependsOn":
- if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
- if err != nil {
- return err
- }
- epa.DependsOn = &dependsOn
- }
- case "userProperties":
- if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
- if err != nil {
- return err
- }
- epa.UserProperties = &userProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicActivity
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- epa.Type = typeVar
- }
- }
- }
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
}
-// ExecutePipelineActivityTypeProperties execute pipeline activity properties.
-type ExecutePipelineActivityTypeProperties struct {
- // Pipeline - Pipeline reference.
- Pipeline *PipelineReference `json:"pipeline,omitempty"`
- // Parameters - Pipeline parameters.
- Parameters map[string]interface{} `json:"parameters"`
- // WaitOnCompletion - Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false.
- WaitOnCompletion *bool `json:"waitOnCompletion,omitempty"`
+// AsSapHanaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for ExecutePipelineActivityTypeProperties.
-func (epatp ExecutePipelineActivityTypeProperties) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if epatp.Pipeline != nil {
- objectMap["pipeline"] = epatp.Pipeline
- }
- if epatp.Parameters != nil {
- objectMap["parameters"] = epatp.Parameters
- }
- if epatp.WaitOnCompletion != nil {
- objectMap["waitOnCompletion"] = epatp.WaitOnCompletion
- }
- return json.Marshal(objectMap)
+// AsSapBWLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
}
-// ExecuteSSISPackageActivity execute SSIS package activity.
-type ExecuteSSISPackageActivity struct {
- // ExecuteSSISPackageActivityTypeProperties - Execute SSIS package activity properties.
- *ExecuteSSISPackageActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+// AsSftpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) MarshalJSON() ([]byte, error) {
- espa.Type = TypeExecuteSSISPackage
- objectMap := make(map[string]interface{})
- if espa.ExecuteSSISPackageActivityTypeProperties != nil {
- objectMap["typeProperties"] = espa.ExecuteSSISPackageActivityTypeProperties
- }
- if espa.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = espa.LinkedServiceName
- }
- if espa.Policy != nil {
- objectMap["policy"] = espa.Policy
- }
- if espa.Name != nil {
- objectMap["name"] = espa.Name
- }
- if espa.Description != nil {
- objectMap["description"] = espa.Description
- }
- if espa.DependsOn != nil {
- objectMap["dependsOn"] = espa.DependsOn
- }
- if espa.UserProperties != nil {
- objectMap["userProperties"] = espa.UserProperties
- }
- if espa.Type != "" {
- objectMap["type"] = espa.Type
- }
- for k, v := range espa.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsFtpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
}
-// AsAzureFunctionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsWebActivity() (*WebActivity, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
- return &espa, true
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &espa, true
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsActivity() (*Activity, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
-func (espa ExecuteSSISPackageActivity) AsBasicActivity() (BasicActivity, bool) {
- return &espa, true
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ExecuteSSISPackageActivity struct.
-func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for DrillLinkedService.
+func (dls DrillLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &dls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DrillLinkedService struct.
+func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -57551,30 +60478,12 @@ func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var executeSSISPackageActivityTypeProperties ExecuteSSISPackageActivityTypeProperties
- err = json.Unmarshal(*v, &executeSSISPackageActivityTypeProperties)
- if err != nil {
- return err
- }
- espa.ExecuteSSISPackageActivityTypeProperties = &executeSSISPackageActivityTypeProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- espa.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
+ var drillLinkedServiceTypeProperties DrillLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &drillLinkedServiceTypeProperties)
if err != nil {
return err
}
- espa.Policy = &policy
+ dls.DrillLinkedServiceTypeProperties = &drillLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -57583,19 +60492,19 @@ func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if espa.AdditionalProperties == nil {
- espa.AdditionalProperties = make(map[string]interface{})
+ if dls.AdditionalProperties == nil {
+ dls.AdditionalProperties = make(map[string]interface{})
}
- espa.AdditionalProperties[k] = additionalProperties
+ dls.AdditionalProperties[k] = additionalProperties
}
- case "name":
+ case "connectVia":
if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- espa.Name = &name
+ dls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -57604,34 +60513,34 @@ func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- espa.Description = &description
+ dls.Description = &description
}
- case "dependsOn":
+ case "parameters":
if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- espa.DependsOn = &dependsOn
+ dls.Parameters = parameters
}
- case "userProperties":
+ case "annotations":
if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- espa.UserProperties = &userProperties
+ dls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicActivity
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- espa.Type = typeVar
+ dls.Type = typeVar
}
}
}
@@ -57639,934 +60548,469 @@ func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// ExecuteSSISPackageActivityTypeProperties execute SSIS package activity properties.
-type ExecuteSSISPackageActivityTypeProperties struct {
- // PackageLocation - SSIS package location.
- PackageLocation *SSISPackageLocation `json:"packageLocation,omitempty"`
- // Runtime - Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string).
- Runtime interface{} `json:"runtime,omitempty"`
- // LoggingLevel - The logging level of SSIS package execution. Type: string (or Expression with resultType string).
- LoggingLevel interface{} `json:"loggingLevel,omitempty"`
- // EnvironmentPath - The environment path to execute the SSIS package. Type: string (or Expression with resultType string).
- EnvironmentPath interface{} `json:"environmentPath,omitempty"`
- // ExecutionCredential - The package execution credential.
- ExecutionCredential *SSISExecutionCredential `json:"executionCredential,omitempty"`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // ProjectParameters - The project level parameters to execute the SSIS package.
- ProjectParameters map[string]*SSISExecutionParameter `json:"projectParameters"`
- // PackageParameters - The package level parameters to execute the SSIS package.
- PackageParameters map[string]*SSISExecutionParameter `json:"packageParameters"`
- // ProjectConnectionManagers - The project level connection managers to execute the SSIS package.
- ProjectConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"projectConnectionManagers"`
- // PackageConnectionManagers - The package level connection managers to execute the SSIS package.
- PackageConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"packageConnectionManagers"`
- // PropertyOverrides - The property overrides to execute the SSIS package.
- PropertyOverrides map[string]*SSISPropertyOverride `json:"propertyOverrides"`
+// DrillLinkedServiceTypeProperties drill server linked service properties.
+type DrillLinkedServiceTypeProperties struct {
+ // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // Pwd - The Azure key vault secret reference of password in connection string.
+ Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivityTypeProperties.
-func (espatp ExecuteSSISPackageActivityTypeProperties) MarshalJSON() ([]byte, error) {
+// DrillSource a copy activity Drill server source.
+type DrillSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DrillSource.
+func (ds DrillSource) MarshalJSON() ([]byte, error) {
+ ds.Type = TypeDrillSource
objectMap := make(map[string]interface{})
- if espatp.PackageLocation != nil {
- objectMap["packageLocation"] = espatp.PackageLocation
- }
- if espatp.Runtime != nil {
- objectMap["runtime"] = espatp.Runtime
- }
- if espatp.LoggingLevel != nil {
- objectMap["loggingLevel"] = espatp.LoggingLevel
- }
- if espatp.EnvironmentPath != nil {
- objectMap["environmentPath"] = espatp.EnvironmentPath
- }
- if espatp.ExecutionCredential != nil {
- objectMap["executionCredential"] = espatp.ExecutionCredential
- }
- if espatp.ConnectVia != nil {
- objectMap["connectVia"] = espatp.ConnectVia
+ if ds.Query != nil {
+ objectMap["query"] = ds.Query
}
- if espatp.ProjectParameters != nil {
- objectMap["projectParameters"] = espatp.ProjectParameters
+ if ds.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ds.SourceRetryCount
}
- if espatp.PackageParameters != nil {
- objectMap["packageParameters"] = espatp.PackageParameters
+ if ds.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ds.SourceRetryWait
}
- if espatp.ProjectConnectionManagers != nil {
- objectMap["projectConnectionManagers"] = espatp.ProjectConnectionManagers
+ if ds.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections
}
- if espatp.PackageConnectionManagers != nil {
- objectMap["packageConnectionManagers"] = espatp.PackageConnectionManagers
+ if ds.Type != "" {
+ objectMap["type"] = ds.Type
}
- if espatp.PropertyOverrides != nil {
- objectMap["propertyOverrides"] = espatp.PropertyOverrides
+ for k, v := range ds.AdditionalProperties {
+ objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// BasicExecutionActivity base class for all execution activities.
-type BasicExecutionActivity interface {
- AsAzureFunctionActivity() (*AzureFunctionActivity, bool)
- AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool)
- AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool)
- AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool)
- AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool)
- AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool)
- AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool)
- AsGetMetadataActivity() (*GetMetadataActivity, bool)
- AsWebActivity() (*WebActivity, bool)
- AsLookupActivity() (*LookupActivity, bool)
- AsDeleteActivity() (*DeleteActivity, bool)
- AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool)
- AsCustomActivity() (*CustomActivity, bool)
- AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool)
- AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool)
- AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool)
- AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool)
- AsHDInsightPigActivity() (*HDInsightPigActivity, bool)
- AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool)
- AsCopyActivity() (*CopyActivity, bool)
- AsExecutionActivity() (*ExecutionActivity, bool)
+// AsAmazonRedshiftSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
}
-// ExecutionActivity base class for all execution activities.
-type ExecutionActivity struct {
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+// AsGoogleAdWordsSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
}
-func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
+// AsOracleServiceCloudSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
- switch m["type"] {
- case string(TypeAzureFunctionActivity):
- var afa AzureFunctionActivity
- err := json.Unmarshal(body, &afa)
- return afa, err
- case string(TypeDatabricksSparkPython):
- var dspa DatabricksSparkPythonActivity
- err := json.Unmarshal(body, &dspa)
- return dspa, err
- case string(TypeDatabricksSparkJar):
- var dsja DatabricksSparkJarActivity
- err := json.Unmarshal(body, &dsja)
- return dsja, err
- case string(TypeDatabricksNotebook):
- var dna DatabricksNotebookActivity
- err := json.Unmarshal(body, &dna)
- return dna, err
- case string(TypeDataLakeAnalyticsUSQL):
- var dlaua DataLakeAnalyticsUSQLActivity
- err := json.Unmarshal(body, &dlaua)
- return dlaua, err
- case string(TypeAzureMLUpdateResource):
- var amura AzureMLUpdateResourceActivity
- err := json.Unmarshal(body, &amura)
- return amura, err
- case string(TypeAzureMLBatchExecution):
- var ambea AzureMLBatchExecutionActivity
- err := json.Unmarshal(body, &ambea)
- return ambea, err
- case string(TypeGetMetadata):
- var gma GetMetadataActivity
- err := json.Unmarshal(body, &gma)
- return gma, err
- case string(TypeWebActivity):
- var wa WebActivity
- err := json.Unmarshal(body, &wa)
- return wa, err
- case string(TypeLookup):
- var la LookupActivity
- err := json.Unmarshal(body, &la)
- return la, err
- case string(TypeDelete):
- var da DeleteActivity
- err := json.Unmarshal(body, &da)
- return da, err
- case string(TypeSQLServerStoredProcedure):
- var ssspa SQLServerStoredProcedureActivity
- err := json.Unmarshal(body, &ssspa)
- return ssspa, err
- case string(TypeCustom):
- var ca CustomActivity
- err := json.Unmarshal(body, &ca)
- return ca, err
- case string(TypeExecuteSSISPackage):
- var espa ExecuteSSISPackageActivity
- err := json.Unmarshal(body, &espa)
- return espa, err
- case string(TypeHDInsightSpark):
- var hisa HDInsightSparkActivity
- err := json.Unmarshal(body, &hisa)
- return hisa, err
- case string(TypeHDInsightStreaming):
- var hisa HDInsightStreamingActivity
- err := json.Unmarshal(body, &hisa)
- return hisa, err
- case string(TypeHDInsightMapReduce):
- var himra HDInsightMapReduceActivity
- err := json.Unmarshal(body, &himra)
- return himra, err
- case string(TypeHDInsightPig):
- var hipa HDInsightPigActivity
- err := json.Unmarshal(body, &hipa)
- return hipa, err
- case string(TypeHDInsightHive):
- var hiha HDInsightHiveActivity
- err := json.Unmarshal(body, &hiha)
- return hiha, err
- case string(TypeCopy):
- var ca CopyActivity
- err := json.Unmarshal(body, &ca)
- return ca, err
- default:
- var ea ExecutionActivity
- err := json.Unmarshal(body, &ea)
- return ea, err
- }
+// AsDynamicsAXSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
}
-func unmarshalBasicExecutionActivityArray(body []byte) ([]BasicExecutionActivity, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
- eaArray := make([]BasicExecutionActivity, len(rawMessages))
+// AsResponsysSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
- for index, rawMessage := range rawMessages {
- ea, err := unmarshalBasicExecutionActivity(*rawMessage)
- if err != nil {
- return nil, err
- }
- eaArray[index] = ea
- }
- return eaArray, nil
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for ExecutionActivity.
-func (ea ExecutionActivity) MarshalJSON() ([]byte, error) {
- ea.Type = TypeExecution
- objectMap := make(map[string]interface{})
- if ea.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = ea.LinkedServiceName
- }
- if ea.Policy != nil {
- objectMap["policy"] = ea.Policy
- }
- if ea.Name != nil {
- objectMap["name"] = ea.Name
- }
- if ea.Description != nil {
- objectMap["description"] = ea.Description
- }
- if ea.DependsOn != nil {
- objectMap["dependsOn"] = ea.DependsOn
- }
- if ea.UserProperties != nil {
- objectMap["userProperties"] = ea.UserProperties
- }
- if ea.Type != "" {
- objectMap["type"] = ea.Type
- }
- for k, v := range ea.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsVerticaSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
}
-// AsAzureFunctionActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsZohoSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsXeroSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsSquareSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsSparkSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsShopifySource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsWebActivity() (*WebActivity, bool) {
+// AsPrestoSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsPaypalSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsMarketoSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsMagentoSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsJiraSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsImpalaSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsHubspotSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsHiveSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsHBaseSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
- return &ea, true
+// AsGoogleBigQuerySource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &ea, true
+// AsEloquaSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsDrillSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsDrillSource() (*DrillSource, bool) {
+ return &ds, true
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsConcurSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsHTTPSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsOffice365Source is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsCassandraSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsActivity() (*Activity, bool) {
+// AsWebSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for ExecutionActivity.
-func (ea ExecutionActivity) AsBasicActivity() (BasicActivity, bool) {
- return &ea, true
+// AsTeradataSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ExecutionActivity struct.
-func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- ea.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
- if err != nil {
- return err
- }
- ea.Policy = &policy
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if ea.AdditionalProperties == nil {
- ea.AdditionalProperties = make(map[string]interface{})
- }
- ea.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- ea.Name = &name
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- ea.Description = &description
- }
- case "dependsOn":
- if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
- if err != nil {
- return err
- }
- ea.DependsOn = &dependsOn
- }
- case "userProperties":
- if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
- if err != nil {
- return err
- }
- ea.UserProperties = &userProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicActivity
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ea.Type = typeVar
- }
- }
- }
+// AsOracleSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
- return nil
+// AsAzureDataExplorerSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
}
-// ExposureControlRequest the exposure control request.
-type ExposureControlRequest struct {
- // FeatureName - The feature name.
- FeatureName *string `json:"featureName,omitempty"`
- // FeatureType - The feature type.
- FeatureType *string `json:"featureType,omitempty"`
+// AsAzureMySQLSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
}
-// ExposureControlResponse the exposure control response.
-type ExposureControlResponse struct {
- autorest.Response `json:"-"`
- // FeatureName - READ-ONLY; The feature name.
- FeatureName *string `json:"featureName,omitempty"`
- // Value - READ-ONLY; The feature value.
- Value *string `json:"value,omitempty"`
+// AsHdfsSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
}
-// Expression azure Data Factory expression definition.
-type Expression struct {
- // Type - Expression type.
- Type *string `json:"type,omitempty"`
- // Value - Expression value.
- Value *string `json:"value,omitempty"`
+// AsFileSystemSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
}
-// Factory factory resource type.
-type Factory struct {
- autorest.Response `json:"-"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Identity - Managed service identity of the factory.
- Identity *FactoryIdentity `json:"identity,omitempty"`
- // FactoryProperties - Properties of the factory.
- *FactoryProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; The resource identifier.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The resource name.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The resource type.
- Type *string `json:"type,omitempty"`
- // Location - The resource location.
- Location *string `json:"location,omitempty"`
- // Tags - The resource tags.
- Tags map[string]*string `json:"tags"`
- // ETag - READ-ONLY; Etag identifies change in the resource.
- ETag *string `json:"eTag,omitempty"`
+// AsSQLDWSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for Factory.
-func (f Factory) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if f.Identity != nil {
- objectMap["identity"] = f.Identity
- }
- if f.FactoryProperties != nil {
- objectMap["properties"] = f.FactoryProperties
- }
- if f.Location != nil {
- objectMap["location"] = f.Location
- }
- if f.Tags != nil {
- objectMap["tags"] = f.Tags
- }
- for k, v := range f.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsSQLMISource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for Factory struct.
-func (f *Factory) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if f.AdditionalProperties == nil {
- f.AdditionalProperties = make(map[string]interface{})
- }
- f.AdditionalProperties[k] = additionalProperties
- }
- case "identity":
- if v != nil {
- var identity FactoryIdentity
- err = json.Unmarshal(*v, &identity)
- if err != nil {
- return err
- }
- f.Identity = &identity
- }
- case "properties":
- if v != nil {
- var factoryProperties FactoryProperties
- err = json.Unmarshal(*v, &factoryProperties)
- if err != nil {
- return err
- }
- f.FactoryProperties = &factoryProperties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- f.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- f.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- f.Type = &typeVar
- }
- case "location":
- if v != nil {
- var location string
- err = json.Unmarshal(*v, &location)
- if err != nil {
- return err
- }
- f.Location = &location
- }
- case "tags":
- if v != nil {
- var tags map[string]*string
- err = json.Unmarshal(*v, &tags)
- if err != nil {
- return err
- }
- f.Tags = tags
- }
- case "eTag":
- if v != nil {
- var eTag string
- err = json.Unmarshal(*v, &eTag)
- if err != nil {
- return err
- }
- f.ETag = &eTag
- }
- }
- }
+// AsAzureSQLSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
- return nil
+// AsSQLServerSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
}
-// FactoryGitHubConfiguration factory's GitHub repo information.
-type FactoryGitHubConfiguration struct {
- // HostName - GitHub Enterprise host name. For example: https://github.mydomain.com
- HostName *string `json:"hostName,omitempty"`
- // AccountName - Account name.
- AccountName *string `json:"accountName,omitempty"`
- // RepositoryName - Repository name.
- RepositoryName *string `json:"repositoryName,omitempty"`
- // CollaborationBranch - Collaboration branch.
- CollaborationBranch *string `json:"collaborationBranch,omitempty"`
- // RootFolder - Root folder.
- RootFolder *string `json:"rootFolder,omitempty"`
- // LastCommitID - Last commit id.
- LastCommitID *string `json:"lastCommitId,omitempty"`
- // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration'
- Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"`
+// AsSQLSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for FactoryGitHubConfiguration.
-func (fghc FactoryGitHubConfiguration) MarshalJSON() ([]byte, error) {
- fghc.Type = TypeFactoryGitHubConfiguration
- objectMap := make(map[string]interface{})
- if fghc.HostName != nil {
- objectMap["hostName"] = fghc.HostName
- }
- if fghc.AccountName != nil {
- objectMap["accountName"] = fghc.AccountName
- }
- if fghc.RepositoryName != nil {
- objectMap["repositoryName"] = fghc.RepositoryName
- }
- if fghc.CollaborationBranch != nil {
- objectMap["collaborationBranch"] = fghc.CollaborationBranch
- }
- if fghc.RootFolder != nil {
- objectMap["rootFolder"] = fghc.RootFolder
- }
- if fghc.LastCommitID != nil {
- objectMap["lastCommitId"] = fghc.LastCommitID
- }
- if fghc.Type != "" {
- objectMap["type"] = fghc.Type
- }
- return json.Marshal(objectMap)
+// AsRestSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
}
-// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration.
-func (fghc FactoryGitHubConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) {
+// AsSapTableSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration.
-func (fghc FactoryGitHubConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) {
- return &fghc, true
+// AsSapOpenHubSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
}
-// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration.
-func (fghc FactoryGitHubConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration.
-func (fghc FactoryGitHubConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) {
- return &fghc, true
+// AsSapEccSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
}
-// FactoryIdentity identity properties of the factory resource.
-type FactoryIdentity struct {
- // Type - The identity type. Currently the only supported type is 'SystemAssigned'.
- Type *string `json:"type,omitempty"`
- // PrincipalID - READ-ONLY; The principal id of the identity.
- PrincipalID *uuid.UUID `json:"principalId,omitempty"`
- // TenantID - READ-ONLY; The client tenant id of the identity.
- TenantID *uuid.UUID `json:"tenantId,omitempty"`
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
}
-// FactoryListResponse a list of factory resources.
-type FactoryListResponse struct {
- autorest.Response `json:"-"`
- // Value - List of factories.
- Value *[]Factory `json:"value,omitempty"`
- // NextLink - The link to the next page of results, if any remaining results exist.
- NextLink *string `json:"nextLink,omitempty"`
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
}
-// FactoryListResponseIterator provides access to a complete listing of Factory values.
-type FactoryListResponseIterator struct {
- i int
- page FactoryListResponsePage
+// AsSalesforceSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
}
-// NextWithContext advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-func (iter *FactoryListResponseIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponseIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
+// AsODataSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
}
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *FactoryListResponseIterator) Next() error {
- return iter.NextWithContext(context.Background())
+// AsSybaseSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
}
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter FactoryListResponseIterator) NotDone() bool {
- return iter.page.NotDone() && iter.i < len(iter.page.Values())
+// AsPostgreSQLSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (iter FactoryListResponseIterator) Response() FactoryListResponse {
- return iter.page.Response()
+// AsMySQLSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
}
-// Value returns the current value or a zero-initialized value if the
-// iterator has advanced beyond the end of the collection.
-func (iter FactoryListResponseIterator) Value() Factory {
- if !iter.page.NotDone() {
- return Factory{}
- }
- return iter.page.Values()[iter.i]
+// AsOdbcSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
}
-// Creates a new instance of the FactoryListResponseIterator type.
-func NewFactoryListResponseIterator(page FactoryListResponsePage) FactoryListResponseIterator {
- return FactoryListResponseIterator{page: page}
+// AsDb2Source is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
}
-// IsEmpty returns true if the ListResult contains no values.
-func (flr FactoryListResponse) IsEmpty() bool {
- return flr.Value == nil || len(*flr.Value) == 0
+// AsMicrosoftAccessSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
}
-// 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 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(flr.NextLink)))
+// AsInformixSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
}
-// FactoryListResponsePage contains a page of Factory values.
-type FactoryListResponsePage struct {
- fn func(context.Context, FactoryListResponse) (FactoryListResponse, error)
- flr FactoryListResponse
+// AsRelationalSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
}
-// NextWithContext advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-func (page *FactoryListResponsePage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponsePage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.flr)
- if err != nil {
- return err
- }
- page.flr = next
- return nil
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
}
-// Next advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (page *FactoryListResponsePage) Next() error {
- return page.NextWithContext(context.Background())
+// AsDynamicsCrmSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
}
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page FactoryListResponsePage) NotDone() bool {
- return !page.flr.IsEmpty()
+// AsDynamicsSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (page FactoryListResponsePage) Response() FactoryListResponse {
- return page.flr
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
}
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page FactoryListResponsePage) Values() []Factory {
- if page.flr.IsEmpty() {
- return nil
- }
- return *page.flr.Value
+// AsBlobSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
}
-// Creates a new instance of the FactoryListResponsePage type.
-func NewFactoryListResponsePage(getNextPage func(context.Context, FactoryListResponse) (FactoryListResponse, error)) FactoryListResponsePage {
- return FactoryListResponsePage{fn: getNextPage}
+// AsAzureTableSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
}
-// FactoryProperties factory resource properties.
-type FactoryProperties struct {
- // ProvisioningState - READ-ONLY; Factory provisioning state, example Succeeded.
- ProvisioningState *string `json:"provisioningState,omitempty"`
- // CreateTime - READ-ONLY; Time the factory was created in ISO8601 format.
- CreateTime *date.Time `json:"createTime,omitempty"`
- // Version - READ-ONLY; Version of the factory.
- Version *string `json:"version,omitempty"`
- // RepoConfiguration - Git repo information of the factory.
- RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"`
+// AsBinarySource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for FactoryProperties struct.
-func (fp *FactoryProperties) UnmarshalJSON(body []byte) error {
+// AsDelimitedTextSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for DrillSource.
+func (ds DrillSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ds, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DrillSource struct.
+func (ds *DrillSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -58574,40 +61018,62 @@ func (fp *FactoryProperties) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "provisioningState":
+ case "query":
if v != nil {
- var provisioningState string
- err = json.Unmarshal(*v, &provisioningState)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- fp.ProvisioningState = &provisioningState
+ ds.Query = query
}
- case "createTime":
+ default:
if v != nil {
- var createTime date.Time
- err = json.Unmarshal(*v, &createTime)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- fp.CreateTime = &createTime
+ if ds.AdditionalProperties == nil {
+ ds.AdditionalProperties = make(map[string]interface{})
+ }
+ ds.AdditionalProperties[k] = additionalProperties
}
- case "version":
+ case "sourceRetryCount":
if v != nil {
- var version string
- err = json.Unmarshal(*v, &version)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- fp.Version = &version
+ ds.SourceRetryCount = sourceRetryCount
}
- case "repoConfiguration":
+ case "sourceRetryWait":
if v != nil {
- repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- fp.RepoConfiguration = repoConfiguration
+ ds.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ ds.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ds.Type = typeVar
}
}
}
@@ -58615,250 +61081,579 @@ func (fp *FactoryProperties) UnmarshalJSON(body []byte) error {
return nil
}
-// BasicFactoryRepoConfiguration factory's git repo information.
-type BasicFactoryRepoConfiguration interface {
- AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool)
- AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool)
- AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool)
-}
-
-// FactoryRepoConfiguration factory's git repo information.
-type FactoryRepoConfiguration struct {
- // AccountName - Account name.
- AccountName *string `json:"accountName,omitempty"`
- // RepositoryName - Repository name.
- RepositoryName *string `json:"repositoryName,omitempty"`
- // CollaborationBranch - Collaboration branch.
- CollaborationBranch *string `json:"collaborationBranch,omitempty"`
- // RootFolder - Root folder.
- RootFolder *string `json:"rootFolder,omitempty"`
- // LastCommitID - Last commit id.
- LastCommitID *string `json:"lastCommitId,omitempty"`
- // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration'
- Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"`
+// DrillTableDataset drill server dataset.
+type DrillTableDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-func unmarshalBasicFactoryRepoConfiguration(body []byte) (BasicFactoryRepoConfiguration, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
+// MarshalJSON is the custom marshaler for DrillTableDataset.
+func (dtd DrillTableDataset) MarshalJSON() ([]byte, error) {
+ dtd.Type = TypeDrillTable
+ objectMap := make(map[string]interface{})
+ if dtd.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = dtd.GenericDatasetTypeProperties
}
-
- switch m["type"] {
- case string(TypeFactoryVSTSConfiguration):
- var fvc FactoryVSTSConfiguration
- err := json.Unmarshal(body, &fvc)
- return fvc, err
- case string(TypeFactoryGitHubConfiguration):
- var fghc FactoryGitHubConfiguration
- err := json.Unmarshal(body, &fghc)
- return fghc, err
- default:
- var frc FactoryRepoConfiguration
- err := json.Unmarshal(body, &frc)
- return frc, err
+ if dtd.Description != nil {
+ objectMap["description"] = dtd.Description
}
-}
-func unmarshalBasicFactoryRepoConfigurationArray(body []byte) ([]BasicFactoryRepoConfiguration, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
+ if dtd.Structure != nil {
+ objectMap["structure"] = dtd.Structure
}
-
- frcArray := make([]BasicFactoryRepoConfiguration, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- frc, err := unmarshalBasicFactoryRepoConfiguration(*rawMessage)
- if err != nil {
- return nil, err
- }
- frcArray[index] = frc
+ if dtd.Schema != nil {
+ objectMap["schema"] = dtd.Schema
}
- return frcArray, nil
-}
-
-// MarshalJSON is the custom marshaler for FactoryRepoConfiguration.
-func (frc FactoryRepoConfiguration) MarshalJSON() ([]byte, error) {
- frc.Type = TypeFactoryRepoConfiguration
- objectMap := make(map[string]interface{})
- if frc.AccountName != nil {
- objectMap["accountName"] = frc.AccountName
+ if dtd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = dtd.LinkedServiceName
}
- if frc.RepositoryName != nil {
- objectMap["repositoryName"] = frc.RepositoryName
+ if dtd.Parameters != nil {
+ objectMap["parameters"] = dtd.Parameters
}
- if frc.CollaborationBranch != nil {
- objectMap["collaborationBranch"] = frc.CollaborationBranch
+ if dtd.Annotations != nil {
+ objectMap["annotations"] = dtd.Annotations
}
- if frc.RootFolder != nil {
- objectMap["rootFolder"] = frc.RootFolder
+ if dtd.Folder != nil {
+ objectMap["folder"] = dtd.Folder
}
- if frc.LastCommitID != nil {
- objectMap["lastCommitId"] = frc.LastCommitID
+ if dtd.Type != "" {
+ objectMap["type"] = dtd.Type
}
- if frc.Type != "" {
- objectMap["type"] = frc.Type
+ for k, v := range dtd.AdditionalProperties {
+ objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration.
-func (frc FactoryRepoConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration.
-func (frc FactoryRepoConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration.
-func (frc FactoryRepoConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) {
- return &frc, true
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
}
-// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration.
-func (frc FactoryRepoConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) {
- return &frc, true
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
}
-// FactoryRepoUpdate factory's git repo information.
-type FactoryRepoUpdate struct {
- // FactoryResourceID - The factory resource id.
- FactoryResourceID *string `json:"factoryResourceId,omitempty"`
- // RepoConfiguration - Git repo information of the factory.
- RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"`
+// AsResponsysObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for FactoryRepoUpdate struct.
-func (fru *FactoryRepoUpdate) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "factoryResourceId":
- if v != nil {
- var factoryResourceID string
- err = json.Unmarshal(*v, &factoryResourceID)
- if err != nil {
- return err
- }
- fru.FactoryResourceID = &factoryResourceID
- }
- case "repoConfiguration":
- if v != nil {
- repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v)
- if err != nil {
- return err
- }
- fru.RepoConfiguration = repoConfiguration
- }
- }
- }
-
- return nil
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
}
-// FactoryUpdateParameters parameters for updating a factory resource.
-type FactoryUpdateParameters struct {
- // Tags - The resource tags.
- Tags map[string]*string `json:"tags"`
- // Identity - Managed service identity of the factory.
- Identity *FactoryIdentity `json:"identity,omitempty"`
+// AsVerticaTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for FactoryUpdateParameters.
-func (fup FactoryUpdateParameters) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if fup.Tags != nil {
- objectMap["tags"] = fup.Tags
- }
- if fup.Identity != nil {
- objectMap["identity"] = fup.Identity
- }
- return json.Marshal(objectMap)
+// AsNetezzaTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
}
-// FactoryVSTSConfiguration factory's VSTS repo information.
-type FactoryVSTSConfiguration struct {
- // ProjectName - VSTS project name.
- ProjectName *string `json:"projectName,omitempty"`
- // TenantID - VSTS tenant id.
- TenantID *string `json:"tenantId,omitempty"`
- // AccountName - Account name.
- AccountName *string `json:"accountName,omitempty"`
- // RepositoryName - Repository name.
- RepositoryName *string `json:"repositoryName,omitempty"`
- // CollaborationBranch - Collaboration branch.
- CollaborationBranch *string `json:"collaborationBranch,omitempty"`
- // RootFolder - Root folder.
- RootFolder *string `json:"rootFolder,omitempty"`
- // LastCommitID - Last commit id.
- LastCommitID *string `json:"lastCommitId,omitempty"`
- // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration'
- Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"`
+// AsZohoObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for FactoryVSTSConfiguration.
-func (fvc FactoryVSTSConfiguration) MarshalJSON() ([]byte, error) {
- fvc.Type = TypeFactoryVSTSConfiguration
- objectMap := make(map[string]interface{})
- if fvc.ProjectName != nil {
- objectMap["projectName"] = fvc.ProjectName
- }
- if fvc.TenantID != nil {
- objectMap["tenantId"] = fvc.TenantID
- }
- if fvc.AccountName != nil {
- objectMap["accountName"] = fvc.AccountName
- }
- if fvc.RepositoryName != nil {
- objectMap["repositoryName"] = fvc.RepositoryName
- }
- if fvc.CollaborationBranch != nil {
- objectMap["collaborationBranch"] = fvc.CollaborationBranch
- }
- if fvc.RootFolder != nil {
- objectMap["rootFolder"] = fvc.RootFolder
- }
- if fvc.LastCommitID != nil {
- objectMap["lastCommitId"] = fvc.LastCommitID
- }
- if fvc.Type != "" {
- objectMap["type"] = fvc.Type
- }
- return json.Marshal(objectMap)
+// AsXeroObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
}
-// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration.
-func (fvc FactoryVSTSConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) {
- return &fvc, true
+// AsSquareObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
}
-// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration.
-func (fvc FactoryVSTSConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration.
-func (fvc FactoryVSTSConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration.
-func (fvc FactoryVSTSConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) {
- return &fvc, true
+// AsServiceNowObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
}
-// FileServerLinkedService file system linked service.
-type FileServerLinkedService struct {
- // FileServerLinkedServiceTypeProperties - File system linked service properties.
- *FileServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// AsQuickBooksObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return &dtd, true
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for DrillTableDataset.
+func (dtd DrillTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &dtd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DrillTableDataset struct.
+func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ dtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if dtd.AdditionalProperties == nil {
+ dtd.AdditionalProperties = make(map[string]interface{})
+ }
+ dtd.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ dtd.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ dtd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ dtd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ dtd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ dtd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ dtd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ dtd.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ dtd.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// DynamicsAXLinkedService dynamics AX linked service.
+type DynamicsAXLinkedService struct {
+ // DynamicsAXLinkedServiceTypeProperties - Dynamics AX linked service properties.
+ *DynamicsAXLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -58869,470 +61664,500 @@ type FileServerLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for FileServerLinkedService.
-func (fsls FileServerLinkedService) MarshalJSON() ([]byte, error) {
- fsls.Type = TypeFileServer
+// MarshalJSON is the custom marshaler for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) MarshalJSON() ([]byte, error) {
+ dals.Type = TypeDynamicsAX
objectMap := make(map[string]interface{})
- if fsls.FileServerLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = fsls.FileServerLinkedServiceTypeProperties
+ if dals.DynamicsAXLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = dals.DynamicsAXLinkedServiceTypeProperties
}
- if fsls.ConnectVia != nil {
- objectMap["connectVia"] = fsls.ConnectVia
+ if dals.ConnectVia != nil {
+ objectMap["connectVia"] = dals.ConnectVia
}
- if fsls.Description != nil {
- objectMap["description"] = fsls.Description
+ if dals.Description != nil {
+ objectMap["description"] = dals.Description
}
- if fsls.Parameters != nil {
- objectMap["parameters"] = fsls.Parameters
+ if dals.Parameters != nil {
+ objectMap["parameters"] = dals.Parameters
}
- if fsls.Annotations != nil {
- objectMap["annotations"] = fsls.Annotations
+ if dals.Annotations != nil {
+ objectMap["annotations"] = dals.Annotations
}
- if fsls.Type != "" {
- objectMap["type"] = fsls.Type
+ if dals.Type != "" {
+ objectMap["type"] = dals.Type
}
- for k, v := range fsls.AdditionalProperties {
+ for k, v := range dals.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return &dals, true
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
- return &fsls, true
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
-func (fsls FileServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &fsls, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for FileServerLinkedService struct.
-func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService.
+func (dals DynamicsAXLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &dals, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DynamicsAXLinkedService struct.
+func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -59342,12 +62167,12 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var fileServerLinkedServiceTypeProperties FileServerLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &fileServerLinkedServiceTypeProperties)
+ var dynamicsAXLinkedServiceTypeProperties DynamicsAXLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &dynamicsAXLinkedServiceTypeProperties)
if err != nil {
return err
}
- fsls.FileServerLinkedServiceTypeProperties = &fileServerLinkedServiceTypeProperties
+ dals.DynamicsAXLinkedServiceTypeProperties = &dynamicsAXLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -59356,10 +62181,10 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if fsls.AdditionalProperties == nil {
- fsls.AdditionalProperties = make(map[string]interface{})
+ if dals.AdditionalProperties == nil {
+ dals.AdditionalProperties = make(map[string]interface{})
}
- fsls.AdditionalProperties[k] = additionalProperties
+ dals.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -59368,7 +62193,7 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsls.ConnectVia = &connectVia
+ dals.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -59377,7 +62202,7 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsls.Description = &description
+ dals.Description = &description
}
case "parameters":
if v != nil {
@@ -59386,7 +62211,7 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsls.Parameters = parameters
+ dals.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -59395,7 +62220,7 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsls.Annotations = &annotations
+ dals.Annotations = &annotations
}
case "type":
if v != nil {
@@ -59404,7 +62229,7 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsls.Type = typeVar
+ dals.Type = typeVar
}
}
}
@@ -59412,20 +62237,24 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// FileServerLinkedServiceTypeProperties file system linked service properties.
-type FileServerLinkedServiceTypeProperties struct {
- // Host - Host name of the server. Type: string (or Expression with resultType string).
- Host interface{} `json:"host,omitempty"`
- // UserID - User ID to logon the server. Type: string (or Expression with resultType string).
- UserID interface{} `json:"userId,omitempty"`
- // Password - Password to logon the server.
- Password BasicSecretBase `json:"password,omitempty"`
+// DynamicsAXLinkedServiceTypeProperties dynamics AX linked service properties.
+type DynamicsAXLinkedServiceTypeProperties struct {
+ // URL - The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint.
+ URL interface{} `json:"url,omitempty"`
+ // ServicePrincipalID - Specify the application's client ID. Type: string (or Expression with resultType string).
+ ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
+ // ServicePrincipalKey - Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string).
+ ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
+ // Tenant - Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string).
+ Tenant interface{} `json:"tenant,omitempty"`
+ // AadResourceID - Specify the resource you are requesting authorization. Type: string (or Expression with resultType string).
+ AadResourceID interface{} `json:"aadResourceId,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for FileServerLinkedServiceTypeProperties struct.
-func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DynamicsAXLinkedServiceTypeProperties struct.
+func (dalstp *DynamicsAXLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -59433,31 +62262,49 @@ func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
}
for k, v := range m {
switch k {
- case "host":
+ case "url":
if v != nil {
- var host interface{}
- err = json.Unmarshal(*v, &host)
+ var URL interface{}
+ err = json.Unmarshal(*v, &URL)
if err != nil {
return err
}
- fslstp.Host = host
+ dalstp.URL = URL
}
- case "userId":
+ case "servicePrincipalId":
if v != nil {
- var userID interface{}
- err = json.Unmarshal(*v, &userID)
+ var servicePrincipalID interface{}
+ err = json.Unmarshal(*v, &servicePrincipalID)
if err != nil {
return err
}
- fslstp.UserID = userID
+ dalstp.ServicePrincipalID = servicePrincipalID
}
- case "password":
+ case "servicePrincipalKey":
if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
+ servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- fslstp.Password = password
+ dalstp.ServicePrincipalKey = servicePrincipalKey
+ }
+ case "tenant":
+ if v != nil {
+ var tenant interface{}
+ err = json.Unmarshal(*v, &tenant)
+ if err != nil {
+ return err
+ }
+ dalstp.Tenant = tenant
+ }
+ case "aadResourceId":
+ if v != nil {
+ var aadResourceID interface{}
+ err = json.Unmarshal(*v, &aadResourceID)
+ if err != nil {
+ return err
+ }
+ dalstp.AadResourceID = aadResourceID
}
case "encryptedCredential":
if v != nil {
@@ -59466,7 +62313,7 @@ func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
if err != nil {
return err
}
- fslstp.EncryptedCredential = encryptedCredential
+ dalstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -59474,741 +62321,469 @@ func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
return nil
}
-// FileServerLocation the location of file server dataset.
-type FileServerLocation struct {
+// DynamicsAXResourceDataset the path of the Dynamics AX OData entity.
+type DynamicsAXResourceDataset struct {
+ // DynamicsAXResourceDatasetTypeProperties - Dynamics AX OData resource dataset properties.
+ *DynamicsAXResourceDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Type - Type of dataset storage location.
- Type *string `json:"type,omitempty"`
- // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string)
- FolderPath interface{} `json:"folderPath,omitempty"`
- // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string).
- FileName interface{} `json:"fileName,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for FileServerLocation.
-func (fsl FileServerLocation) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) MarshalJSON() ([]byte, error) {
+ dard.Type = TypeDynamicsAXResource
objectMap := make(map[string]interface{})
- if fsl.Type != nil {
- objectMap["type"] = fsl.Type
+ if dard.DynamicsAXResourceDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = dard.DynamicsAXResourceDatasetTypeProperties
}
- if fsl.FolderPath != nil {
- objectMap["folderPath"] = fsl.FolderPath
+ if dard.Description != nil {
+ objectMap["description"] = dard.Description
}
- if fsl.FileName != nil {
- objectMap["fileName"] = fsl.FileName
+ if dard.Structure != nil {
+ objectMap["structure"] = dard.Structure
}
- for k, v := range fsl.AdditionalProperties {
+ if dard.Schema != nil {
+ objectMap["schema"] = dard.Schema
+ }
+ if dard.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = dard.LinkedServiceName
+ }
+ if dard.Parameters != nil {
+ objectMap["parameters"] = dard.Parameters
+ }
+ if dard.Annotations != nil {
+ objectMap["annotations"] = dard.Annotations
+ }
+ if dard.Folder != nil {
+ objectMap["folder"] = dard.Folder
+ }
+ if dard.Type != "" {
+ objectMap["type"] = dard.Type
+ }
+ for k, v := range dard.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for FileServerLocation struct.
-func (fsl *FileServerLocation) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if fsl.AdditionalProperties == nil {
- fsl.AdditionalProperties = make(map[string]interface{})
- }
- fsl.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- fsl.Type = &typeVar
- }
- case "folderPath":
- if v != nil {
- var folderPath interface{}
- err = json.Unmarshal(*v, &folderPath)
- if err != nil {
- return err
- }
- fsl.FolderPath = folderPath
- }
- case "fileName":
- if v != nil {
- var fileName interface{}
- err = json.Unmarshal(*v, &fileName)
- if err != nil {
- return err
- }
- fsl.FileName = fileName
- }
- }
- }
-
- return nil
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
}
-// FileServerReadSetting file server read settings.
-type FileServerReadSetting struct {
- // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
- Recursive interface{} `json:"recursive,omitempty"`
- // WildcardFolderPath - FileServer wildcardFolderPath. Type: string (or Expression with resultType string).
- WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"`
- // WildcardFileName - FileServer wildcardFileName. Type: string (or Expression with resultType string).
- WildcardFileName interface{} `json:"wildcardFileName,omitempty"`
- // EnablePartitionDiscovery - Indicates whether to enable partition discovery.
- EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"`
- // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string).
- ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"`
- // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string).
- ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - The read setting type.
- Type *string `json:"type,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for FileServerReadSetting.
-func (fsrs FileServerReadSetting) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if fsrs.Recursive != nil {
- objectMap["recursive"] = fsrs.Recursive
- }
- if fsrs.WildcardFolderPath != nil {
- objectMap["wildcardFolderPath"] = fsrs.WildcardFolderPath
- }
- if fsrs.WildcardFileName != nil {
- objectMap["wildcardFileName"] = fsrs.WildcardFileName
- }
- if fsrs.EnablePartitionDiscovery != nil {
- objectMap["enablePartitionDiscovery"] = fsrs.EnablePartitionDiscovery
- }
- if fsrs.ModifiedDatetimeStart != nil {
- objectMap["modifiedDatetimeStart"] = fsrs.ModifiedDatetimeStart
- }
- if fsrs.ModifiedDatetimeEnd != nil {
- objectMap["modifiedDatetimeEnd"] = fsrs.ModifiedDatetimeEnd
- }
- if fsrs.Type != nil {
- objectMap["type"] = fsrs.Type
- }
- if fsrs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = fsrs.MaxConcurrentConnections
- }
- for k, v := range fsrs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for FileServerReadSetting struct.
-func (fsrs *FileServerReadSetting) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "recursive":
- if v != nil {
- var recursive interface{}
- err = json.Unmarshal(*v, &recursive)
- if err != nil {
- return err
- }
- fsrs.Recursive = recursive
- }
- case "wildcardFolderPath":
- if v != nil {
- var wildcardFolderPath interface{}
- err = json.Unmarshal(*v, &wildcardFolderPath)
- if err != nil {
- return err
- }
- fsrs.WildcardFolderPath = wildcardFolderPath
- }
- case "wildcardFileName":
- if v != nil {
- var wildcardFileName interface{}
- err = json.Unmarshal(*v, &wildcardFileName)
- if err != nil {
- return err
- }
- fsrs.WildcardFileName = wildcardFileName
- }
- case "enablePartitionDiscovery":
- if v != nil {
- var enablePartitionDiscovery bool
- err = json.Unmarshal(*v, &enablePartitionDiscovery)
- if err != nil {
- return err
- }
- fsrs.EnablePartitionDiscovery = &enablePartitionDiscovery
- }
- case "modifiedDatetimeStart":
- if v != nil {
- var modifiedDatetimeStart interface{}
- err = json.Unmarshal(*v, &modifiedDatetimeStart)
- if err != nil {
- return err
- }
- fsrs.ModifiedDatetimeStart = modifiedDatetimeStart
- }
- case "modifiedDatetimeEnd":
- if v != nil {
- var modifiedDatetimeEnd interface{}
- err = json.Unmarshal(*v, &modifiedDatetimeEnd)
- if err != nil {
- return err
- }
- fsrs.ModifiedDatetimeEnd = modifiedDatetimeEnd
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if fsrs.AdditionalProperties == nil {
- fsrs.AdditionalProperties = make(map[string]interface{})
- }
- fsrs.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- fsrs.Type = &typeVar
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- fsrs.MaxConcurrentConnections = maxConcurrentConnections
- }
- }
- }
-
- return nil
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return &dard, true
}
-// FileServerWriteSetting file server write settings.
-type FileServerWriteSetting struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - The write setting type.
- Type *string `json:"type,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // CopyBehavior - The type of copy behavior for copy sink.
- CopyBehavior interface{} `json:"copyBehavior,omitempty"`
+// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for FileServerWriteSetting.
-func (fsws FileServerWriteSetting) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if fsws.Type != nil {
- objectMap["type"] = fsws.Type
- }
- if fsws.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = fsws.MaxConcurrentConnections
- }
- if fsws.CopyBehavior != nil {
- objectMap["copyBehavior"] = fsws.CopyBehavior
- }
- for k, v := range fsws.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for FileServerWriteSetting struct.
-func (fsws *FileServerWriteSetting) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if fsws.AdditionalProperties == nil {
- fsws.AdditionalProperties = make(map[string]interface{})
- }
- fsws.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- fsws.Type = &typeVar
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- fsws.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "copyBehavior":
- if v != nil {
- var copyBehavior interface{}
- err = json.Unmarshal(*v, ©Behavior)
- if err != nil {
- return err
- }
- fsws.CopyBehavior = copyBehavior
- }
- }
- }
+// AsVerticaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
- return nil
+// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
}
-// FileShareDataset an on-premises file system dataset.
-type FileShareDataset struct {
- // FileShareDatasetTypeProperties - On-premises file system dataset properties.
- *FileShareDatasetTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+// AsZohoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for FileShareDataset.
-func (fsd FileShareDataset) MarshalJSON() ([]byte, error) {
- fsd.Type = TypeFileShare
- objectMap := make(map[string]interface{})
- if fsd.FileShareDatasetTypeProperties != nil {
- objectMap["typeProperties"] = fsd.FileShareDatasetTypeProperties
- }
- if fsd.Description != nil {
- objectMap["description"] = fsd.Description
- }
- if fsd.Structure != nil {
- objectMap["structure"] = fsd.Structure
- }
- if fsd.Schema != nil {
- objectMap["schema"] = fsd.Schema
- }
- if fsd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = fsd.LinkedServiceName
- }
- if fsd.Parameters != nil {
- objectMap["parameters"] = fsd.Parameters
- }
- if fsd.Annotations != nil {
- objectMap["annotations"] = fsd.Annotations
- }
- if fsd.Folder != nil {
- objectMap["folder"] = fsd.Folder
- }
- if fsd.Type != "" {
- objectMap["type"] = fsd.Type
- }
- for k, v := range fsd.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsXeroObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsFileShareDataset() (*FileShareDataset, bool) {
- return &fsd, true
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsBinaryDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsParquetDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsDataset() (*Dataset, bool) {
+// AsDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for FileShareDataset.
-func (fsd FileShareDataset) AsBasicDataset() (BasicDataset, bool) {
- return &fsd, true
+// AsBasicDataset is the BasicDataset implementation for DynamicsAXResourceDataset.
+func (dard DynamicsAXResourceDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &dard, true
}
-// UnmarshalJSON is the custom unmarshaler for FileShareDataset struct.
-func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DynamicsAXResourceDataset struct.
+func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -60218,12 +62793,12 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var fileShareDatasetTypeProperties FileShareDatasetTypeProperties
- err = json.Unmarshal(*v, &fileShareDatasetTypeProperties)
+ var dynamicsAXResourceDatasetTypeProperties DynamicsAXResourceDatasetTypeProperties
+ err = json.Unmarshal(*v, &dynamicsAXResourceDatasetTypeProperties)
if err != nil {
return err
}
- fsd.FileShareDatasetTypeProperties = &fileShareDatasetTypeProperties
+ dard.DynamicsAXResourceDatasetTypeProperties = &dynamicsAXResourceDatasetTypeProperties
}
default:
if v != nil {
@@ -60232,10 +62807,10 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if fsd.AdditionalProperties == nil {
- fsd.AdditionalProperties = make(map[string]interface{})
+ if dard.AdditionalProperties == nil {
+ dard.AdditionalProperties = make(map[string]interface{})
}
- fsd.AdditionalProperties[k] = additionalProperties
+ dard.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -60244,7 +62819,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsd.Description = &description
+ dard.Description = &description
}
case "structure":
if v != nil {
@@ -60253,7 +62828,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsd.Structure = structure
+ dard.Structure = structure
}
case "schema":
if v != nil {
@@ -60262,7 +62837,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsd.Schema = schema
+ dard.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -60271,7 +62846,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsd.LinkedServiceName = &linkedServiceName
+ dard.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -60280,7 +62855,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsd.Parameters = parameters
+ dard.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -60289,7 +62864,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsd.Annotations = &annotations
+ dard.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -60298,7 +62873,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsd.Folder = &folder
+ dard.Folder = &folder
}
case "type":
if v != nil {
@@ -60307,7 +62882,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsd.Type = typeVar
+ dard.Type = typeVar
}
}
}
@@ -60315,744 +62890,465 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// FileShareDatasetTypeProperties on-premises file system dataset properties.
-type FileShareDatasetTypeProperties struct {
- // FolderPath - The path of the on-premises file system. Type: string (or Expression with resultType string).
- FolderPath interface{} `json:"folderPath,omitempty"`
- // FileName - The name of the on-premises file system. Type: string (or Expression with resultType string).
- FileName interface{} `json:"fileName,omitempty"`
- // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string).
- ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"`
- // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string).
- ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"`
- // Format - The format of the files.
- Format BasicDatasetStorageFormat `json:"format,omitempty"`
- // FileFilter - Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string).
- FileFilter interface{} `json:"fileFilter,omitempty"`
- // Compression - The data compression method used for the file system.
- Compression BasicDatasetCompression `json:"compression,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for FileShareDatasetTypeProperties struct.
-func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "folderPath":
- if v != nil {
- var folderPath interface{}
- err = json.Unmarshal(*v, &folderPath)
- if err != nil {
- return err
- }
- fsdtp.FolderPath = folderPath
- }
- case "fileName":
- if v != nil {
- var fileName interface{}
- err = json.Unmarshal(*v, &fileName)
- if err != nil {
- return err
- }
- fsdtp.FileName = fileName
- }
- case "modifiedDatetimeStart":
- if v != nil {
- var modifiedDatetimeStart interface{}
- err = json.Unmarshal(*v, &modifiedDatetimeStart)
- if err != nil {
- return err
- }
- fsdtp.ModifiedDatetimeStart = modifiedDatetimeStart
- }
- case "modifiedDatetimeEnd":
- if v != nil {
- var modifiedDatetimeEnd interface{}
- err = json.Unmarshal(*v, &modifiedDatetimeEnd)
- if err != nil {
- return err
- }
- fsdtp.ModifiedDatetimeEnd = modifiedDatetimeEnd
- }
- case "format":
- if v != nil {
- formatVar, err := unmarshalBasicDatasetStorageFormat(*v)
- if err != nil {
- return err
- }
- fsdtp.Format = formatVar
- }
- case "fileFilter":
- if v != nil {
- var fileFilter interface{}
- err = json.Unmarshal(*v, &fileFilter)
- if err != nil {
- return err
- }
- fsdtp.FileFilter = fileFilter
- }
- case "compression":
- if v != nil {
- compression, err := unmarshalBasicDatasetCompression(*v)
- if err != nil {
- return err
- }
- fsdtp.Compression = compression
- }
- }
- }
-
- return nil
+// DynamicsAXResourceDatasetTypeProperties dynamics AX OData resource dataset properties.
+type DynamicsAXResourceDatasetTypeProperties struct {
+ // Path - The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string).
+ Path interface{} `json:"path,omitempty"`
}
-// FileSystemSink a copy activity file system sink.
-type FileSystemSink struct {
- // CopyBehavior - The type of copy behavior for copy sink.
- CopyBehavior interface{} `json:"copyBehavior,omitempty"`
+// DynamicsAXSource a copy activity Dynamics AX source.
+type DynamicsAXSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
- WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
- // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
- // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
- SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
- // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
- Type TypeBasicCopySink `json:"type,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for FileSystemSink.
-func (fss FileSystemSink) MarshalJSON() ([]byte, error) {
- fss.Type = TypeFileSystemSink
+// MarshalJSON is the custom marshaler for DynamicsAXSource.
+func (das DynamicsAXSource) MarshalJSON() ([]byte, error) {
+ das.Type = TypeDynamicsAXSource
objectMap := make(map[string]interface{})
- if fss.CopyBehavior != nil {
- objectMap["copyBehavior"] = fss.CopyBehavior
- }
- if fss.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = fss.WriteBatchSize
- }
- if fss.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = fss.WriteBatchTimeout
+ if das.Query != nil {
+ objectMap["query"] = das.Query
}
- if fss.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = fss.SinkRetryCount
+ if das.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = das.SourceRetryCount
}
- if fss.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = fss.SinkRetryWait
+ if das.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = das.SourceRetryWait
}
- if fss.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections
+ if das.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = das.MaxConcurrentConnections
}
- if fss.Type != "" {
- objectMap["type"] = fss.Type
+ if das.Type != "" {
+ objectMap["type"] = das.Type
}
- for k, v := range fss.AdditionalProperties {
+ for k, v := range das.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsSalesforceSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsSalesforceSink() (*SalesforceSink, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsDynamicsSink() (*DynamicsSink, bool) {
- return nil, false
+// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return &das, true
}
-// AsOdbcSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsOdbcSink() (*OdbcSink, bool) {
+// AsResponsysSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+// AsVerticaSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsOracleSink() (*OracleSink, bool) {
+// AsZohoSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsSQLDWSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsXeroSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+// AsSquareSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSQLServerSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsSparkSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsSQLSink() (*SQLSink, bool) {
+// AsShopifySource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsFileSystemSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsFileSystemSink() (*FileSystemSink, bool) {
- return &fss, true
+// AsQuickBooksSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsBlobSink() (*BlobSink, bool) {
+// AsPrestoSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsParquetSink() (*ParquetSink, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsAzureTableSink() (*AzureTableSink, bool) {
+// AsPaypalSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsAzureQueueSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsMarketoSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+// AsMagentoSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsCopySink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsCopySink() (*CopySink, bool) {
+// AsJiraSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsBasicCopySink is the BasicCopySink implementation for FileSystemSink.
-func (fss FileSystemSink) AsBasicCopySink() (BasicCopySink, bool) {
- return &fss, true
+// AsImpalaSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for FileSystemSink struct.
-func (fss *FileSystemSink) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "copyBehavior":
- if v != nil {
- var copyBehavior interface{}
- err = json.Unmarshal(*v, ©Behavior)
- if err != nil {
- return err
- }
- fss.CopyBehavior = copyBehavior
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if fss.AdditionalProperties == nil {
- fss.AdditionalProperties = make(map[string]interface{})
- }
- fss.AdditionalProperties[k] = additionalProperties
- }
- case "writeBatchSize":
- if v != nil {
- var writeBatchSize interface{}
- err = json.Unmarshal(*v, &writeBatchSize)
- if err != nil {
- return err
- }
- fss.WriteBatchSize = writeBatchSize
- }
- case "writeBatchTimeout":
- if v != nil {
- var writeBatchTimeout interface{}
- err = json.Unmarshal(*v, &writeBatchTimeout)
- if err != nil {
- return err
- }
- fss.WriteBatchTimeout = writeBatchTimeout
- }
- case "sinkRetryCount":
- if v != nil {
- var sinkRetryCount interface{}
- err = json.Unmarshal(*v, &sinkRetryCount)
- if err != nil {
- return err
- }
- fss.SinkRetryCount = sinkRetryCount
- }
- case "sinkRetryWait":
- if v != nil {
- var sinkRetryWait interface{}
- err = json.Unmarshal(*v, &sinkRetryWait)
- if err != nil {
- return err
- }
- fss.SinkRetryWait = sinkRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- fss.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySink
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- fss.Type = typeVar
- }
- }
- }
-
- return nil
+// AsHubspotSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
}
-// FileSystemSource a copy activity file system source.
-type FileSystemSource struct {
- // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
- Recursive interface{} `json:"recursive,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+// AsHiveSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for FileSystemSource.
-func (fss FileSystemSource) MarshalJSON() ([]byte, error) {
- fss.Type = TypeFileSystemSource
- objectMap := make(map[string]interface{})
- if fss.Recursive != nil {
- objectMap["recursive"] = fss.Recursive
- }
- if fss.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = fss.SourceRetryCount
- }
- if fss.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = fss.SourceRetryWait
- }
- if fss.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections
- }
- if fss.Type != "" {
- objectMap["type"] = fss.Type
- }
- for k, v := range fss.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsHBaseSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsNetezzaSource() (*NetezzaSource, bool) {
- return nil, false
-}
-
-// AsZohoSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsZohoSource() (*ZohoSource, bool) {
- return nil, false
-}
-
-// AsXeroSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsXeroSource() (*XeroSource, bool) {
- return nil, false
-}
-
-// AsSquareSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSquareSource() (*SquareSource, bool) {
- return nil, false
-}
-
-// AsSparkSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSparkSource() (*SparkSource, bool) {
- return nil, false
-}
-
-// AsShopifySource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsShopifySource() (*ShopifySource, bool) {
- return nil, false
-}
-
-// AsServiceNowSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsServiceNowSource() (*ServiceNowSource, bool) {
- return nil, false
-}
-
-// AsQuickBooksSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
- return nil, false
-}
-
-// AsPrestoSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsPrestoSource() (*PrestoSource, bool) {
- return nil, false
-}
-
-// AsPhoenixSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsPhoenixSource() (*PhoenixSource, bool) {
- return nil, false
-}
-
-// AsPaypalSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsPaypalSource() (*PaypalSource, bool) {
- return nil, false
-}
-
-// AsMarketoSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsMarketoSource() (*MarketoSource, bool) {
- return nil, false
-}
-
-// AsMariaDBSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsJiraSource() (*JiraSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsOffice365Source is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsHiveSource() (*HiveSource, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsWebSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsDrillSource() (*DrillSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsConcurSource() (*ConcurSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsOffice365Source() (*Office365Source, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsRestSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsWebSource() (*WebSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsOracleSource() (*OracleSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsFileSystemSource() (*FileSystemSource, bool) {
- return &fss, true
-}
-
-// AsSQLDWSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsODataSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSQLSource() (*SQLSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsRestSource() (*RestSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsDb2Source is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsInformixSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsRelationalSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsBlobSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsBlobSource() (*BlobSource, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsBinarySource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsParquetSource() (*ParquetSource, bool) {
+// AsParquetSource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsCopySource() (*CopySource, bool) {
+// AsCopySource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for FileSystemSource.
-func (fss FileSystemSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &fss, true
+// AsBasicCopySource is the BasicCopySource implementation for DynamicsAXSource.
+func (das DynamicsAXSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &das, true
}
-// UnmarshalJSON is the custom unmarshaler for FileSystemSource struct.
-func (fss *FileSystemSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DynamicsAXSource struct.
+func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -61060,14 +63356,14 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "recursive":
+ case "query":
if v != nil {
- var recursive interface{}
- err = json.Unmarshal(*v, &recursive)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- fss.Recursive = recursive
+ das.Query = query
}
default:
if v != nil {
@@ -61076,10 +63372,10 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if fss.AdditionalProperties == nil {
- fss.AdditionalProperties = make(map[string]interface{})
+ if das.AdditionalProperties == nil {
+ das.AdditionalProperties = make(map[string]interface{})
}
- fss.AdditionalProperties[k] = additionalProperties
+ das.AdditionalProperties[k] = additionalProperties
}
case "sourceRetryCount":
if v != nil {
@@ -61088,7 +63384,7 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fss.SourceRetryCount = sourceRetryCount
+ das.SourceRetryCount = sourceRetryCount
}
case "sourceRetryWait":
if v != nil {
@@ -61097,7 +63393,7 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fss.SourceRetryWait = sourceRetryWait
+ das.SourceRetryWait = sourceRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -61106,7 +63402,7 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fss.MaxConcurrentConnections = maxConcurrentConnections
+ das.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -61115,7 +63411,7 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fss.Type = typeVar
+ das.Type = typeVar
}
}
}
@@ -61123,549 +63419,469 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error {
return nil
}
-// FilterActivity filter and return results from input array based on the conditions.
-type FilterActivity struct {
- // FilterActivityTypeProperties - Filter activity properties.
- *FilterActivityTypeProperties `json:"typeProperties,omitempty"`
+// DynamicsCrmEntityDataset the Dynamics CRM entity dataset.
+type DynamicsCrmEntityDataset struct {
+ // DynamicsCrmEntityDatasetTypeProperties - Dynamics CRM entity dataset properties.
+ *DynamicsCrmEntityDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for FilterActivity.
-func (fa FilterActivity) MarshalJSON() ([]byte, error) {
- fa.Type = TypeFilter
+// MarshalJSON is the custom marshaler for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) MarshalJSON() ([]byte, error) {
+ dced.Type = TypeDynamicsCrmEntity
objectMap := make(map[string]interface{})
- if fa.FilterActivityTypeProperties != nil {
- objectMap["typeProperties"] = fa.FilterActivityTypeProperties
+ if dced.DynamicsCrmEntityDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = dced.DynamicsCrmEntityDatasetTypeProperties
}
- if fa.Name != nil {
- objectMap["name"] = fa.Name
+ if dced.Description != nil {
+ objectMap["description"] = dced.Description
}
- if fa.Description != nil {
- objectMap["description"] = fa.Description
+ if dced.Structure != nil {
+ objectMap["structure"] = dced.Structure
}
- if fa.DependsOn != nil {
- objectMap["dependsOn"] = fa.DependsOn
+ if dced.Schema != nil {
+ objectMap["schema"] = dced.Schema
}
- if fa.UserProperties != nil {
- objectMap["userProperties"] = fa.UserProperties
+ if dced.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = dced.LinkedServiceName
}
- if fa.Type != "" {
- objectMap["type"] = fa.Type
+ if dced.Parameters != nil {
+ objectMap["parameters"] = dced.Parameters
}
- for k, v := range fa.AdditionalProperties {
+ if dced.Annotations != nil {
+ objectMap["annotations"] = dced.Annotations
+ }
+ if dced.Folder != nil {
+ objectMap["folder"] = dced.Folder
+ }
+ if dced.Type != "" {
+ objectMap["type"] = dced.Type
+ }
+ for k, v := range dced.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsWebActivity() (*WebActivity, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsFilterActivity() (*FilterActivity, bool) {
- return &fa, true
+// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
- return &fa, true
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
}
-// AsActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsActivity() (*Activity, bool) {
+// AsHTTPDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for FilterActivity.
-func (fa FilterActivity) AsBasicActivity() (BasicActivity, bool) {
- return &fa, true
+// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for FilterActivity struct.
-func (fa *FilterActivity) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var filterActivityTypeProperties FilterActivityTypeProperties
- err = json.Unmarshal(*v, &filterActivityTypeProperties)
- if err != nil {
- return err
- }
- fa.FilterActivityTypeProperties = &filterActivityTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if fa.AdditionalProperties == nil {
- fa.AdditionalProperties = make(map[string]interface{})
- }
- fa.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- fa.Name = &name
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- fa.Description = &description
- }
- case "dependsOn":
- if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
- if err != nil {
- return err
- }
- fa.DependsOn = &dependsOn
- }
- case "userProperties":
- if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
- if err != nil {
- return err
- }
- fa.UserProperties = &userProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicActivity
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- fa.Type = typeVar
- }
- }
- }
+// AsWebTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
- return nil
+// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
}
-// FilterActivityTypeProperties filter activity properties.
-type FilterActivityTypeProperties struct {
- // Items - Input array on which filter should be applied.
- Items *Expression `json:"items,omitempty"`
- // Condition - Condition to be used for filtering the input.
- Condition *Expression `json:"condition,omitempty"`
+// AsRestResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
}
-// ForEachActivity this activity is used for iterating over a collection and execute given activities.
-type ForEachActivity struct {
- // ForEachActivityTypeProperties - ForEach activity properties.
- *ForEachActivityTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for ForEachActivity.
-func (fea ForEachActivity) MarshalJSON() ([]byte, error) {
- fea.Type = TypeForEach
- objectMap := make(map[string]interface{})
- if fea.ForEachActivityTypeProperties != nil {
- objectMap["typeProperties"] = fea.ForEachActivityTypeProperties
- }
- if fea.Name != nil {
- objectMap["name"] = fea.Name
- }
- if fea.Description != nil {
- objectMap["description"] = fea.Description
- }
- if fea.DependsOn != nil {
- objectMap["dependsOn"] = fea.DependsOn
- }
- if fea.UserProperties != nil {
- objectMap["userProperties"] = fea.UserProperties
- }
- if fea.Type != "" {
- objectMap["type"] = fea.Type
- }
- for k, v := range fea.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
}
-// AsAzureFunctionActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsWebActivity() (*WebActivity, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsFileShareDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return &dced, true
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsCustomDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsForEachActivity() (*ForEachActivity, bool) {
- return &fea, true
+// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsBinaryDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
- return &fea, true
+// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
}
-// AsActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsActivity() (*Activity, bool) {
+// AsParquetDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for ForEachActivity.
-func (fea ForEachActivity) AsBasicActivity() (BasicActivity, bool) {
- return &fea, true
+// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ForEachActivity struct.
-func (fea *ForEachActivity) UnmarshalJSON(body []byte) error {
+// AsDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for DynamicsCrmEntityDataset.
+func (dced DynamicsCrmEntityDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &dced, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DynamicsCrmEntityDataset struct.
+func (dced *DynamicsCrmEntityDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -61675,12 +63891,12 @@ func (fea *ForEachActivity) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var forEachActivityTypeProperties ForEachActivityTypeProperties
- err = json.Unmarshal(*v, &forEachActivityTypeProperties)
+ var dynamicsCrmEntityDatasetTypeProperties DynamicsCrmEntityDatasetTypeProperties
+ err = json.Unmarshal(*v, &dynamicsCrmEntityDatasetTypeProperties)
if err != nil {
return err
}
- fea.ForEachActivityTypeProperties = &forEachActivityTypeProperties
+ dced.DynamicsCrmEntityDatasetTypeProperties = &dynamicsCrmEntityDatasetTypeProperties
}
default:
if v != nil {
@@ -61689,19 +63905,10 @@ func (fea *ForEachActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if fea.AdditionalProperties == nil {
- fea.AdditionalProperties = make(map[string]interface{})
- }
- fea.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
+ if dced.AdditionalProperties == nil {
+ dced.AdditionalProperties = make(map[string]interface{})
}
- fea.Name = &name
+ dced.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -61710,208 +63917,70 @@ func (fea *ForEachActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fea.Description = &description
- }
- case "dependsOn":
- if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
- if err != nil {
- return err
- }
- fea.DependsOn = &dependsOn
- }
- case "userProperties":
- if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
- if err != nil {
- return err
- }
- fea.UserProperties = &userProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicActivity
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- fea.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// ForEachActivityTypeProperties forEach activity properties.
-type ForEachActivityTypeProperties struct {
- // IsSequential - Should the loop be executed in sequence or in parallel (max 50)
- IsSequential *bool `json:"isSequential,omitempty"`
- // BatchCount - Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).
- BatchCount *int32 `json:"batchCount,omitempty"`
- // Items - Collection to iterate.
- Items *Expression `json:"items,omitempty"`
- // Activities - List of activities to execute .
- Activities *[]BasicActivity `json:"activities,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for ForEachActivityTypeProperties struct.
-func (featp *ForEachActivityTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "isSequential":
- if v != nil {
- var isSequential bool
- err = json.Unmarshal(*v, &isSequential)
- if err != nil {
- return err
- }
- featp.IsSequential = &isSequential
+ dced.Description = &description
}
- case "batchCount":
+ case "structure":
if v != nil {
- var batchCount int32
- err = json.Unmarshal(*v, &batchCount)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- featp.BatchCount = &batchCount
+ dced.Structure = structure
}
- case "items":
+ case "schema":
if v != nil {
- var items Expression
- err = json.Unmarshal(*v, &items)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- featp.Items = &items
+ dced.Schema = schema
}
- case "activities":
+ case "linkedServiceName":
if v != nil {
- activities, err := unmarshalBasicActivityArray(*v)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- featp.Activities = &activities
+ dced.LinkedServiceName = &linkedServiceName
}
- }
- }
-
- return nil
-}
-
-// FormatReadSetting format read settings.
-type FormatReadSetting struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - The read setting type.
- Type *string `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for FormatReadSetting.
-func (frs FormatReadSetting) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if frs.Type != nil {
- objectMap["type"] = frs.Type
- }
- for k, v := range frs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for FormatReadSetting struct.
-func (frs *FormatReadSetting) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
+ case "parameters":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- if frs.AdditionalProperties == nil {
- frs.AdditionalProperties = make(map[string]interface{})
- }
- frs.AdditionalProperties[k] = additionalProperties
+ dced.Parameters = parameters
}
- case "type":
+ case "annotations":
if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- frs.Type = &typeVar
+ dced.Annotations = &annotations
}
- }
- }
-
- return nil
-}
-
-// FormatWriteSetting format write settings.
-type FormatWriteSetting struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - The write setting type.
- Type *string `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for FormatWriteSetting.
-func (fws FormatWriteSetting) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if fws.Type != nil {
- objectMap["type"] = fws.Type
- }
- for k, v := range fws.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for FormatWriteSetting struct.
-func (fws *FormatWriteSetting) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
+ case "folder":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
if err != nil {
return err
}
- if fws.AdditionalProperties == nil {
- fws.AdditionalProperties = make(map[string]interface{})
- }
- fws.AdditionalProperties[k] = additionalProperties
+ dced.Folder = &folder
}
case "type":
if v != nil {
- var typeVar string
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- fws.Type = &typeVar
+ dced.Type = typeVar
}
}
}
@@ -61919,136 +63988,16 @@ func (fws *FormatWriteSetting) UnmarshalJSON(body []byte) error {
return nil
}
-// FtpReadSetting ftp read settings.
-type FtpReadSetting struct {
- // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
- Recursive interface{} `json:"recursive,omitempty"`
- // WildcardFolderPath - Ftp wildcardFolderPath. Type: string (or Expression with resultType string).
- WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"`
- // WildcardFileName - Ftp wildcardFileName. Type: string (or Expression with resultType string).
- WildcardFileName interface{} `json:"wildcardFileName,omitempty"`
- // UseBinaryTransfer - Specify whether to use binary transfer mode for FTP stores.
- UseBinaryTransfer *bool `json:"useBinaryTransfer,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - The read setting type.
- Type *string `json:"type,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for FtpReadSetting.
-func (frs FtpReadSetting) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if frs.Recursive != nil {
- objectMap["recursive"] = frs.Recursive
- }
- if frs.WildcardFolderPath != nil {
- objectMap["wildcardFolderPath"] = frs.WildcardFolderPath
- }
- if frs.WildcardFileName != nil {
- objectMap["wildcardFileName"] = frs.WildcardFileName
- }
- if frs.UseBinaryTransfer != nil {
- objectMap["useBinaryTransfer"] = frs.UseBinaryTransfer
- }
- if frs.Type != nil {
- objectMap["type"] = frs.Type
- }
- if frs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = frs.MaxConcurrentConnections
- }
- for k, v := range frs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for FtpReadSetting struct.
-func (frs *FtpReadSetting) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "recursive":
- if v != nil {
- var recursive interface{}
- err = json.Unmarshal(*v, &recursive)
- if err != nil {
- return err
- }
- frs.Recursive = recursive
- }
- case "wildcardFolderPath":
- if v != nil {
- var wildcardFolderPath interface{}
- err = json.Unmarshal(*v, &wildcardFolderPath)
- if err != nil {
- return err
- }
- frs.WildcardFolderPath = wildcardFolderPath
- }
- case "wildcardFileName":
- if v != nil {
- var wildcardFileName interface{}
- err = json.Unmarshal(*v, &wildcardFileName)
- if err != nil {
- return err
- }
- frs.WildcardFileName = wildcardFileName
- }
- case "useBinaryTransfer":
- if v != nil {
- var useBinaryTransfer bool
- err = json.Unmarshal(*v, &useBinaryTransfer)
- if err != nil {
- return err
- }
- frs.UseBinaryTransfer = &useBinaryTransfer
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if frs.AdditionalProperties == nil {
- frs.AdditionalProperties = make(map[string]interface{})
- }
- frs.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- frs.Type = &typeVar
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- frs.MaxConcurrentConnections = maxConcurrentConnections
- }
- }
- }
-
- return nil
+// DynamicsCrmEntityDatasetTypeProperties dynamics CRM entity dataset properties.
+type DynamicsCrmEntityDatasetTypeProperties struct {
+ // EntityName - The logical name of the entity. Type: string (or Expression with resultType string).
+ EntityName interface{} `json:"entityName,omitempty"`
}
-// FtpServerLinkedService a FTP server Linked Service.
-type FtpServerLinkedService struct {
- // FtpServerLinkedServiceTypeProperties - Properties specific to this linked service type.
- *FtpServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// DynamicsCrmLinkedService dynamics CRM linked service.
+type DynamicsCrmLinkedService struct {
+ // DynamicsCrmLinkedServiceTypeProperties - Dynamics CRM linked service properties.
+ *DynamicsCrmLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -62059,470 +64008,500 @@ type FtpServerLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) MarshalJSON() ([]byte, error) {
- fsls.Type = TypeFtpServer
+// MarshalJSON is the custom marshaler for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) MarshalJSON() ([]byte, error) {
+ dcls.Type = TypeDynamicsCrm
objectMap := make(map[string]interface{})
- if fsls.FtpServerLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = fsls.FtpServerLinkedServiceTypeProperties
+ if dcls.DynamicsCrmLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = dcls.DynamicsCrmLinkedServiceTypeProperties
}
- if fsls.ConnectVia != nil {
- objectMap["connectVia"] = fsls.ConnectVia
+ if dcls.ConnectVia != nil {
+ objectMap["connectVia"] = dcls.ConnectVia
}
- if fsls.Description != nil {
- objectMap["description"] = fsls.Description
+ if dcls.Description != nil {
+ objectMap["description"] = dcls.Description
}
- if fsls.Parameters != nil {
- objectMap["parameters"] = fsls.Parameters
+ if dcls.Parameters != nil {
+ objectMap["parameters"] = dcls.Parameters
}
- if fsls.Annotations != nil {
- objectMap["annotations"] = fsls.Annotations
+ if dcls.Annotations != nil {
+ objectMap["annotations"] = dcls.Annotations
}
- if fsls.Type != "" {
- objectMap["type"] = fsls.Type
+ if dcls.Type != "" {
+ objectMap["type"] = dcls.Type
}
- for k, v := range fsls.AdditionalProperties {
+ for k, v := range dcls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
- return &fsls, true
+// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return &dcls, true
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
-func (fsls FtpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &fsls, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedService struct.
-func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService.
+func (dcls DynamicsCrmLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &dcls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DynamicsCrmLinkedService struct.
+func (dcls *DynamicsCrmLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -62532,12 +64511,12 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var ftpServerLinkedServiceTypeProperties FtpServerLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &ftpServerLinkedServiceTypeProperties)
+ var dynamicsCrmLinkedServiceTypeProperties DynamicsCrmLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &dynamicsCrmLinkedServiceTypeProperties)
if err != nil {
return err
}
- fsls.FtpServerLinkedServiceTypeProperties = &ftpServerLinkedServiceTypeProperties
+ dcls.DynamicsCrmLinkedServiceTypeProperties = &dynamicsCrmLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -62546,10 +64525,10 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if fsls.AdditionalProperties == nil {
- fsls.AdditionalProperties = make(map[string]interface{})
+ if dcls.AdditionalProperties == nil {
+ dcls.AdditionalProperties = make(map[string]interface{})
}
- fsls.AdditionalProperties[k] = additionalProperties
+ dcls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -62558,7 +64537,7 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsls.ConnectVia = &connectVia
+ dcls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -62567,7 +64546,7 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsls.Description = &description
+ dcls.Description = &description
}
case "parameters":
if v != nil {
@@ -62576,7 +64555,7 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsls.Parameters = parameters
+ dcls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -62585,7 +64564,7 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsls.Annotations = &annotations
+ dcls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -62594,7 +64573,7 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- fsls.Type = typeVar
+ dcls.Type = typeVar
}
}
}
@@ -62602,28 +64581,30 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// FtpServerLinkedServiceTypeProperties properties specific to this linked service type.
-type FtpServerLinkedServiceTypeProperties struct {
- // Host - Host name of the FTP server. Type: string (or Expression with resultType string).
- Host interface{} `json:"host,omitempty"`
- // Port - The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0.
+// DynamicsCrmLinkedServiceTypeProperties dynamics CRM linked service properties.
+type DynamicsCrmLinkedServiceTypeProperties struct {
+ // DeploymentType - The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string). Possible values include: 'Online', 'OnPremisesWithIfd'
+ DeploymentType DynamicsDeploymentType `json:"deploymentType,omitempty"`
+ // HostName - The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string).
+ HostName interface{} `json:"hostName,omitempty"`
+ // Port - The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.
Port interface{} `json:"port,omitempty"`
- // AuthenticationType - The authentication type to be used to connect to the FTP server. Possible values include: 'FtpAuthenticationTypeBasic', 'FtpAuthenticationTypeAnonymous'
- AuthenticationType FtpAuthenticationType `json:"authenticationType,omitempty"`
- // UserName - Username to logon the FTP server. Type: string (or Expression with resultType string).
- UserName interface{} `json:"userName,omitempty"`
- // Password - Password to logon the FTP server.
+ // ServiceURI - The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string).
+ ServiceURI interface{} `json:"serviceUri,omitempty"`
+ // OrganizationName - The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string).
+ OrganizationName interface{} `json:"organizationName,omitempty"`
+ // AuthenticationType - The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string). Possible values include: 'Office365', 'Ifd'
+ AuthenticationType DynamicsAuthenticationType `json:"authenticationType,omitempty"`
+ // Username - User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string).
+ Username interface{} `json:"username,omitempty"`
+ // Password - Password to access the Dynamics CRM instance.
Password BasicSecretBase `json:"password,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
- // EnableSsl - If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean).
- EnableSsl interface{} `json:"enableSsl,omitempty"`
- // EnableServerCertificateValidation - If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean).
- EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedServiceTypeProperties struct.
-func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DynamicsCrmLinkedServiceTypeProperties struct.
+func (dclstp *DynamicsCrmLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -62631,160 +64612,85 @@ func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e
}
for k, v := range m {
switch k {
- case "host":
- if v != nil {
- var host interface{}
- err = json.Unmarshal(*v, &host)
- if err != nil {
- return err
- }
- fslstp.Host = host
- }
- case "port":
- if v != nil {
- var port interface{}
- err = json.Unmarshal(*v, &port)
- if err != nil {
- return err
- }
- fslstp.Port = port
- }
- case "authenticationType":
- if v != nil {
- var authenticationType FtpAuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- fslstp.AuthenticationType = authenticationType
- }
- case "userName":
+ case "deploymentType":
if v != nil {
- var userName interface{}
- err = json.Unmarshal(*v, &userName)
+ var deploymentType DynamicsDeploymentType
+ err = json.Unmarshal(*v, &deploymentType)
if err != nil {
return err
}
- fslstp.UserName = userName
+ dclstp.DeploymentType = deploymentType
}
- case "password":
+ case "hostName":
if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
+ var hostName interface{}
+ err = json.Unmarshal(*v, &hostName)
if err != nil {
return err
}
- fslstp.Password = password
+ dclstp.HostName = hostName
}
- case "encryptedCredential":
+ case "port":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
if err != nil {
return err
}
- fslstp.EncryptedCredential = encryptedCredential
+ dclstp.Port = port
}
- case "enableSsl":
+ case "serviceUri":
if v != nil {
- var enableSsl interface{}
- err = json.Unmarshal(*v, &enableSsl)
+ var serviceURI interface{}
+ err = json.Unmarshal(*v, &serviceURI)
if err != nil {
return err
}
- fslstp.EnableSsl = enableSsl
+ dclstp.ServiceURI = serviceURI
}
- case "enableServerCertificateValidation":
+ case "organizationName":
if v != nil {
- var enableServerCertificateValidation interface{}
- err = json.Unmarshal(*v, &enableServerCertificateValidation)
+ var organizationName interface{}
+ err = json.Unmarshal(*v, &organizationName)
if err != nil {
return err
}
- fslstp.EnableServerCertificateValidation = enableServerCertificateValidation
+ dclstp.OrganizationName = organizationName
}
- }
- }
-
- return nil
-}
-
-// FtpServerLocation the location of ftp server dataset.
-type FtpServerLocation struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - Type of dataset storage location.
- Type *string `json:"type,omitempty"`
- // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string)
- FolderPath interface{} `json:"folderPath,omitempty"`
- // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string).
- FileName interface{} `json:"fileName,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for FtpServerLocation.
-func (fsl FtpServerLocation) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if fsl.Type != nil {
- objectMap["type"] = fsl.Type
- }
- if fsl.FolderPath != nil {
- objectMap["folderPath"] = fsl.FolderPath
- }
- if fsl.FileName != nil {
- objectMap["fileName"] = fsl.FileName
- }
- for k, v := range fsl.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for FtpServerLocation struct.
-func (fsl *FtpServerLocation) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
+ case "authenticationType":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var authenticationType DynamicsAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
}
- if fsl.AdditionalProperties == nil {
- fsl.AdditionalProperties = make(map[string]interface{})
- }
- fsl.AdditionalProperties[k] = additionalProperties
+ dclstp.AuthenticationType = authenticationType
}
- case "type":
+ case "username":
if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
if err != nil {
return err
}
- fsl.Type = &typeVar
+ dclstp.Username = username
}
- case "folderPath":
+ case "password":
if v != nil {
- var folderPath interface{}
- err = json.Unmarshal(*v, &folderPath)
+ password, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- fsl.FolderPath = folderPath
+ dclstp.Password = password
}
- case "fileName":
+ case "encryptedCredential":
if v != nil {
- var fileName interface{}
- err = json.Unmarshal(*v, &fileName)
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
if err != nil {
return err
}
- fsl.FileName = fileName
+ dclstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -62792,250 +64698,219 @@ func (fsl *FtpServerLocation) UnmarshalJSON(body []byte) error {
return nil
}
-// GenericDatasetTypeProperties properties specific to this dataset type.
-type GenericDatasetTypeProperties struct {
- // TableName - The table name. Type: string (or Expression with resultType string).
- TableName interface{} `json:"tableName,omitempty"`
-}
-
-// GetMetadataActivity activity to get metadata of dataset
-type GetMetadataActivity struct {
- // GetMetadataActivityTypeProperties - GetMetadata activity properties.
- *GetMetadataActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
+// DynamicsCrmSink a copy activity Dynamics CRM sink.
+type DynamicsCrmSink struct {
+ // WriteBehavior - The write behavior for the operation.
+ WriteBehavior *string `json:"writeBehavior,omitempty"`
+ // IgnoreNullValues - The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean).
+ IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for GetMetadataActivity.
-func (gma GetMetadataActivity) MarshalJSON() ([]byte, error) {
- gma.Type = TypeGetMetadata
+// MarshalJSON is the custom marshaler for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) MarshalJSON() ([]byte, error) {
+ dcs.Type = TypeDynamicsCrmSink
objectMap := make(map[string]interface{})
- if gma.GetMetadataActivityTypeProperties != nil {
- objectMap["typeProperties"] = gma.GetMetadataActivityTypeProperties
+ if dcs.WriteBehavior != nil {
+ objectMap["writeBehavior"] = dcs.WriteBehavior
}
- if gma.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = gma.LinkedServiceName
+ if dcs.IgnoreNullValues != nil {
+ objectMap["ignoreNullValues"] = dcs.IgnoreNullValues
}
- if gma.Policy != nil {
- objectMap["policy"] = gma.Policy
+ if dcs.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = dcs.WriteBatchSize
}
- if gma.Name != nil {
- objectMap["name"] = gma.Name
+ if dcs.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = dcs.WriteBatchTimeout
}
- if gma.Description != nil {
- objectMap["description"] = gma.Description
+ if dcs.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = dcs.SinkRetryCount
}
- if gma.DependsOn != nil {
- objectMap["dependsOn"] = gma.DependsOn
+ if dcs.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = dcs.SinkRetryWait
}
- if gma.UserProperties != nil {
- objectMap["userProperties"] = gma.UserProperties
+ if dcs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = dcs.MaxConcurrentConnections
}
- if gma.Type != "" {
- objectMap["type"] = gma.Type
+ if dcs.Type != "" {
+ objectMap["type"] = dcs.Type
}
- for k, v := range gma.AdditionalProperties {
+ for k, v := range dcs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
- return nil, false
-}
-
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
- return nil, false
-}
-
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
- return nil, false
-}
-
-// AsDatabricksNotebookActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
- return &gma, true
-}
-
-// AsWebActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsWebActivity() (*WebActivity, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) {
- return nil, false
+// AsDynamicsCrmSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return &dcs, true
}
-// AsDeleteActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsInformixSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsOdbcSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsOracleSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsSQLMISink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &gma, true
-}
-
-// AsWebHookActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsSQLSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsBlobSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsBinarySink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsParquetSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsActivity() (*Activity, bool) {
+// AsCopySink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsCopySink() (*CopySink, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for GetMetadataActivity.
-func (gma GetMetadataActivity) AsBasicActivity() (BasicActivity, bool) {
- return &gma, true
+// AsBasicCopySink is the BasicCopySink implementation for DynamicsCrmSink.
+func (dcs DynamicsCrmSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &dcs, true
}
-// UnmarshalJSON is the custom unmarshaler for GetMetadataActivity struct.
-func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DynamicsCrmSink struct.
+func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -63043,89 +64918,89 @@ func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "writeBehavior":
if v != nil {
- var getMetadataActivityTypeProperties GetMetadataActivityTypeProperties
- err = json.Unmarshal(*v, &getMetadataActivityTypeProperties)
+ var writeBehavior string
+ err = json.Unmarshal(*v, &writeBehavior)
if err != nil {
return err
}
- gma.GetMetadataActivityTypeProperties = &getMetadataActivityTypeProperties
+ dcs.WriteBehavior = &writeBehavior
}
- case "linkedServiceName":
+ case "ignoreNullValues":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var ignoreNullValues interface{}
+ err = json.Unmarshal(*v, &ignoreNullValues)
if err != nil {
return err
}
- gma.LinkedServiceName = &linkedServiceName
+ dcs.IgnoreNullValues = ignoreNullValues
}
- case "policy":
+ default:
if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- gma.Policy = &policy
+ if dcs.AdditionalProperties == nil {
+ dcs.AdditionalProperties = make(map[string]interface{})
+ }
+ dcs.AdditionalProperties[k] = additionalProperties
}
- default:
+ case "writeBatchSize":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
if err != nil {
return err
}
- if gma.AdditionalProperties == nil {
- gma.AdditionalProperties = make(map[string]interface{})
- }
- gma.AdditionalProperties[k] = additionalProperties
+ dcs.WriteBatchSize = writeBatchSize
}
- case "name":
+ case "writeBatchTimeout":
if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
if err != nil {
return err
}
- gma.Name = &name
+ dcs.WriteBatchTimeout = writeBatchTimeout
}
- case "description":
+ case "sinkRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
if err != nil {
return err
}
- gma.Description = &description
+ dcs.SinkRetryCount = sinkRetryCount
}
- case "dependsOn":
+ case "sinkRetryWait":
if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
if err != nil {
return err
}
- gma.DependsOn = &dependsOn
+ dcs.SinkRetryWait = sinkRetryWait
}
- case "userProperties":
+ case "maxConcurrentConnections":
if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- gma.UserProperties = &userProperties
+ dcs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicActivity
+ var typeVar TypeBasicCopySink
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- gma.Type = typeVar
+ dcs.Type = typeVar
}
}
}
@@ -63133,515 +65008,459 @@ func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// GetMetadataActivityTypeProperties getMetadata activity properties.
-type GetMetadataActivityTypeProperties struct {
- // Dataset - GetMetadata activity dataset reference.
- Dataset *DatasetReference `json:"dataset,omitempty"`
- // FieldList - Fields of metadata to get from dataset.
- FieldList *[]interface{} `json:"fieldList,omitempty"`
-}
-
-// GetSsisObjectMetadataRequest the request payload of get SSIS object metadata.
-type GetSsisObjectMetadataRequest struct {
- // MetadataPath - Metadata path.
- MetadataPath *string `json:"metadataPath,omitempty"`
-}
-
-// GitHubAccessTokenRequest get GitHub access token request definition.
-type GitHubAccessTokenRequest struct {
- // GitHubAccessCode - GitHub access code.
- GitHubAccessCode *string `json:"gitHubAccessCode,omitempty"`
- // GitHubClientID - GitHub application client ID.
- GitHubClientID *string `json:"gitHubClientId,omitempty"`
- // GitHubAccessTokenBaseURL - GitHub access token base URL.
- GitHubAccessTokenBaseURL *string `json:"gitHubAccessTokenBaseUrl,omitempty"`
-}
-
-// GitHubAccessTokenResponse get GitHub access token response definition.
-type GitHubAccessTokenResponse struct {
- autorest.Response `json:"-"`
- // GitHubAccessToken - GitHub access token.
- GitHubAccessToken *string `json:"gitHubAccessToken,omitempty"`
-}
-
-// GoogleAdWordsLinkedService google AdWords service linked service.
-type GoogleAdWordsLinkedService struct {
- // GoogleAdWordsLinkedServiceTypeProperties - Google AdWords service linked service properties.
- *GoogleAdWordsLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// DynamicsCrmSource a copy activity Dynamics CRM source.
+type DynamicsCrmSource struct {
+ // Query - FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) MarshalJSON() ([]byte, error) {
- gawls.Type = TypeGoogleAdWords
+// MarshalJSON is the custom marshaler for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) MarshalJSON() ([]byte, error) {
+ dcs.Type = TypeDynamicsCrmSource
objectMap := make(map[string]interface{})
- if gawls.GoogleAdWordsLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = gawls.GoogleAdWordsLinkedServiceTypeProperties
- }
- if gawls.ConnectVia != nil {
- objectMap["connectVia"] = gawls.ConnectVia
+ if dcs.Query != nil {
+ objectMap["query"] = dcs.Query
}
- if gawls.Description != nil {
- objectMap["description"] = gawls.Description
+ if dcs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = dcs.SourceRetryCount
}
- if gawls.Parameters != nil {
- objectMap["parameters"] = gawls.Parameters
+ if dcs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = dcs.SourceRetryWait
}
- if gawls.Annotations != nil {
- objectMap["annotations"] = gawls.Annotations
+ if dcs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = dcs.MaxConcurrentConnections
}
- if gawls.Type != "" {
- objectMap["type"] = gawls.Type
+ if dcs.Type != "" {
+ objectMap["type"] = dcs.Type
}
- for k, v := range gawls.AdditionalProperties {
+ for k, v := range dcs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return &gawls, true
-}
-
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsODataSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsMySQLSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
- return nil, false
+// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return &dcs, true
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsBinarySource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsParquetSource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsCopySource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
-func (gawls GoogleAdWordsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &gawls, true
+// AsBasicCopySource is the BasicCopySource implementation for DynamicsCrmSource.
+func (dcs DynamicsCrmSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &dcs, true
}
-// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedService struct.
-func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for DynamicsCrmSource struct.
+func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -63649,14 +65468,14 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var googleAdWordsLinkedServiceTypeProperties GoogleAdWordsLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &googleAdWordsLinkedServiceTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- gawls.GoogleAdWordsLinkedServiceTypeProperties = &googleAdWordsLinkedServiceTypeProperties
+ dcs.Query = query
}
default:
if v != nil {
@@ -63665,191 +65484,46 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if gawls.AdditionalProperties == nil {
- gawls.AdditionalProperties = make(map[string]interface{})
- }
- gawls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if dcs.AdditionalProperties == nil {
+ dcs.AdditionalProperties = make(map[string]interface{})
}
- gawls.ConnectVia = &connectVia
+ dcs.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- gawls.Description = &description
+ dcs.SourceRetryCount = sourceRetryCount
}
- case "parameters":
+ case "sourceRetryWait":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- gawls.Parameters = parameters
+ dcs.SourceRetryWait = sourceRetryWait
}
- case "annotations":
+ case "maxConcurrentConnections":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- gawls.Annotations = &annotations
+ dcs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- gawls.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// GoogleAdWordsLinkedServiceTypeProperties google AdWords service linked service properties.
-type GoogleAdWordsLinkedServiceTypeProperties struct {
- // ClientCustomerID - The Client customer ID of the AdWords account that you want to fetch report data for.
- ClientCustomerID interface{} `json:"clientCustomerID,omitempty"`
- // DeveloperToken - The developer token associated with the manager account that you use to grant access to the AdWords API.
- DeveloperToken BasicSecretBase `json:"developerToken,omitempty"`
- // AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'ServiceAuthentication', 'UserAuthentication'
- AuthenticationType GoogleAdWordsAuthenticationType `json:"authenticationType,omitempty"`
- // RefreshToken - The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication.
- RefreshToken BasicSecretBase `json:"refreshToken,omitempty"`
- // ClientID - The client id of the google application used to acquire the refresh token.
- ClientID BasicSecretBase `json:"clientId,omitempty"`
- // ClientSecret - The client secret of the google application used to acquire the refresh token.
- ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
- // Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.
- Email interface{} `json:"email,omitempty"`
- // KeyFilePath - The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR.
- KeyFilePath interface{} `json:"keyFilePath,omitempty"`
- // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
- TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
- // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
- UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedServiceTypeProperties struct.
-func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "clientCustomerID":
- if v != nil {
- var clientCustomerID interface{}
- err = json.Unmarshal(*v, &clientCustomerID)
- if err != nil {
- return err
- }
- gawlstp.ClientCustomerID = clientCustomerID
- }
- case "developerToken":
- if v != nil {
- developerToken, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- gawlstp.DeveloperToken = developerToken
- }
- case "authenticationType":
- if v != nil {
- var authenticationType GoogleAdWordsAuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- gawlstp.AuthenticationType = authenticationType
- }
- case "refreshToken":
- if v != nil {
- refreshToken, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- gawlstp.RefreshToken = refreshToken
- }
- case "clientId":
- if v != nil {
- clientID, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- gawlstp.ClientID = clientID
- }
- case "clientSecret":
- if v != nil {
- clientSecret, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- gawlstp.ClientSecret = clientSecret
- }
- case "email":
- if v != nil {
- var email interface{}
- err = json.Unmarshal(*v, &email)
- if err != nil {
- return err
- }
- gawlstp.Email = email
- }
- case "keyFilePath":
- if v != nil {
- var keyFilePath interface{}
- err = json.Unmarshal(*v, &keyFilePath)
- if err != nil {
- return err
- }
- gawlstp.KeyFilePath = keyFilePath
- }
- case "trustedCertPath":
- if v != nil {
- var trustedCertPath interface{}
- err = json.Unmarshal(*v, &trustedCertPath)
- if err != nil {
- return err
- }
- gawlstp.TrustedCertPath = trustedCertPath
- }
- case "useSystemTrustStore":
- if v != nil {
- var useSystemTrustStore interface{}
- err = json.Unmarshal(*v, &useSystemTrustStore)
- if err != nil {
- return err
- }
- gawlstp.UseSystemTrustStore = useSystemTrustStore
- }
- case "encryptedCredential":
- if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
- if err != nil {
- return err
- }
- gawlstp.EncryptedCredential = encryptedCredential
+ dcs.Type = typeVar
}
}
}
@@ -63857,10 +65531,10 @@ func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []by
return nil
}
-// GoogleAdWordsObjectDataset google AdWords service dataset.
-type GoogleAdWordsObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// DynamicsEntityDataset the Dynamics entity dataset.
+type DynamicsEntityDataset struct {
+ // DynamicsEntityDatasetTypeProperties - Dynamics entity dataset properties.
+ *DynamicsEntityDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Description - Dataset description.
@@ -63877,399 +65551,449 @@ type GoogleAdWordsObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) MarshalJSON() ([]byte, error) {
- gawod.Type = TypeGoogleAdWordsObject
+// MarshalJSON is the custom marshaler for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) MarshalJSON() ([]byte, error) {
+ ded.Type = TypeDynamicsEntity
objectMap := make(map[string]interface{})
- if gawod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = gawod.GenericDatasetTypeProperties
+ if ded.DynamicsEntityDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = ded.DynamicsEntityDatasetTypeProperties
}
- if gawod.Description != nil {
- objectMap["description"] = gawod.Description
+ if ded.Description != nil {
+ objectMap["description"] = ded.Description
}
- if gawod.Structure != nil {
- objectMap["structure"] = gawod.Structure
+ if ded.Structure != nil {
+ objectMap["structure"] = ded.Structure
}
- if gawod.Schema != nil {
- objectMap["schema"] = gawod.Schema
+ if ded.Schema != nil {
+ objectMap["schema"] = ded.Schema
}
- if gawod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = gawod.LinkedServiceName
+ if ded.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = ded.LinkedServiceName
}
- if gawod.Parameters != nil {
- objectMap["parameters"] = gawod.Parameters
+ if ded.Parameters != nil {
+ objectMap["parameters"] = ded.Parameters
}
- if gawod.Annotations != nil {
- objectMap["annotations"] = gawod.Annotations
+ if ded.Annotations != nil {
+ objectMap["annotations"] = ded.Annotations
}
- if gawod.Folder != nil {
- objectMap["folder"] = gawod.Folder
+ if ded.Folder != nil {
+ objectMap["folder"] = ded.Folder
}
- if gawod.Type != "" {
- objectMap["type"] = gawod.Type
+ if ded.Type != "" {
+ objectMap["type"] = ded.Type
}
- for k, v := range gawod.AdditionalProperties {
+ for k, v := range ded.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
- return &gawod, true
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return &ded, true
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
-func (gawod GoogleAdWordsObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &gawod, true
+// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsObjectDataset struct.
-func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for DynamicsEntityDataset.
+func (ded DynamicsEntityDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &ded, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DynamicsEntityDataset struct.
+func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -64279,12 +66003,12 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var dynamicsEntityDatasetTypeProperties DynamicsEntityDatasetTypeProperties
+ err = json.Unmarshal(*v, &dynamicsEntityDatasetTypeProperties)
if err != nil {
return err
}
- gawod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ ded.DynamicsEntityDatasetTypeProperties = &dynamicsEntityDatasetTypeProperties
}
default:
if v != nil {
@@ -64293,10 +66017,10 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if gawod.AdditionalProperties == nil {
- gawod.AdditionalProperties = make(map[string]interface{})
+ if ded.AdditionalProperties == nil {
+ ded.AdditionalProperties = make(map[string]interface{})
}
- gawod.AdditionalProperties[k] = additionalProperties
+ ded.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -64305,7 +66029,7 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- gawod.Description = &description
+ ded.Description = &description
}
case "structure":
if v != nil {
@@ -64314,7 +66038,7 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- gawod.Structure = structure
+ ded.Structure = structure
}
case "schema":
if v != nil {
@@ -64323,7 +66047,7 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- gawod.Schema = schema
+ ded.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -64332,7 +66056,7 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- gawod.LinkedServiceName = &linkedServiceName
+ ded.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -64341,7 +66065,7 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- gawod.Parameters = parameters
+ ded.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -64350,7 +66074,7 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- gawod.Annotations = &annotations
+ ded.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -64359,7 +66083,7 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- gawod.Folder = &folder
+ ded.Folder = &folder
}
case "type":
if v != nil {
@@ -64368,7 +66092,7 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- gawod.Type = typeVar
+ ded.Type = typeVar
}
}
}
@@ -64376,394 +66100,520 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// GoogleAdWordsSource a copy activity Google AdWords service source.
-type GoogleAdWordsSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// DynamicsEntityDatasetTypeProperties dynamics entity dataset properties.
+type DynamicsEntityDatasetTypeProperties struct {
+ // EntityName - The logical name of the entity. Type: string (or Expression with resultType string).
+ EntityName interface{} `json:"entityName,omitempty"`
+}
+
+// DynamicsLinkedService dynamics linked service.
+type DynamicsLinkedService struct {
+ // DynamicsLinkedServiceTypeProperties - Dynamics linked service properties.
+ *DynamicsLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) MarshalJSON() ([]byte, error) {
- gaws.Type = TypeGoogleAdWordsSource
+// MarshalJSON is the custom marshaler for DynamicsLinkedService.
+func (dls DynamicsLinkedService) MarshalJSON() ([]byte, error) {
+ dls.Type = TypeDynamics
objectMap := make(map[string]interface{})
- if gaws.Query != nil {
- objectMap["query"] = gaws.Query
+ if dls.DynamicsLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = dls.DynamicsLinkedServiceTypeProperties
}
- if gaws.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = gaws.SourceRetryCount
+ if dls.ConnectVia != nil {
+ objectMap["connectVia"] = dls.ConnectVia
}
- if gaws.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = gaws.SourceRetryWait
+ if dls.Description != nil {
+ objectMap["description"] = dls.Description
}
- if gaws.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = gaws.MaxConcurrentConnections
+ if dls.Parameters != nil {
+ objectMap["parameters"] = dls.Parameters
}
- if gaws.Type != "" {
- objectMap["type"] = gaws.Type
+ if dls.Annotations != nil {
+ objectMap["annotations"] = dls.Annotations
}
- for k, v := range gaws.AdditionalProperties {
+ if dls.Type != "" {
+ objectMap["type"] = dls.Type
+ }
+ for k, v := range dls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
- return &gaws, true
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsZohoSource() (*ZohoSource, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsXeroSource() (*XeroSource, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSquareSource() (*SquareSource, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSparkSource() (*SparkSource, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsShopifySource() (*ShopifySource, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsJiraSource() (*JiraSource, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsHiveSource() (*HiveSource, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsDrillSource() (*DrillSource, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsConcurSource() (*ConcurSource, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsOffice365Source() (*Office365Source, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsWebSource() (*WebSource, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsOracleSource() (*OracleSource, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSQLSource() (*SQLSource, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsRestSource() (*RestSource, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsBlobSource() (*BlobSource, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsParquetSource() (*ParquetSource, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsCopySource() (*CopySource, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for GoogleAdWordsSource.
-func (gaws GoogleAdWordsSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &gaws, true
+// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsSource struct.
-func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error {
+// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return &dls, true
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
+func (dls DynamicsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &dls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedService struct.
+func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -64771,14 +66621,14 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var dynamicsLinkedServiceTypeProperties DynamicsLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &dynamicsLinkedServiceTypeProperties)
if err != nil {
return err
}
- gaws.Query = query
+ dls.DynamicsLinkedServiceTypeProperties = &dynamicsLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -64787,46 +66637,55 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if gaws.AdditionalProperties == nil {
- gaws.AdditionalProperties = make(map[string]interface{})
+ if dls.AdditionalProperties == nil {
+ dls.AdditionalProperties = make(map[string]interface{})
}
- gaws.AdditionalProperties[k] = additionalProperties
+ dls.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "connectVia":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- gaws.SourceRetryCount = sourceRetryCount
+ dls.ConnectVia = &connectVia
}
- case "sourceRetryWait":
+ case "description":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- gaws.SourceRetryWait = sourceRetryWait
+ dls.Description = &description
}
- case "maxConcurrentConnections":
+ case "parameters":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- gaws.MaxConcurrentConnections = maxConcurrentConnections
+ dls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ dls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- gaws.Type = typeVar
+ dls.Type = typeVar
}
}
}
@@ -64834,593 +66693,886 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error {
return nil
}
-// GoogleBigQueryLinkedService google BigQuery service linked service.
-type GoogleBigQueryLinkedService struct {
- // GoogleBigQueryLinkedServiceTypeProperties - Google BigQuery service linked service properties.
- *GoogleBigQueryLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// DynamicsLinkedServiceTypeProperties dynamics linked service properties.
+type DynamicsLinkedServiceTypeProperties struct {
+ // DeploymentType - The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with resultType string).
+ DeploymentType interface{} `json:"deploymentType,omitempty"`
+ // HostName - The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string).
+ HostName interface{} `json:"hostName,omitempty"`
+ // Port - The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.
+ Port interface{} `json:"port,omitempty"`
+ // ServiceURI - The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string).
+ ServiceURI interface{} `json:"serviceUri,omitempty"`
+ // OrganizationName - The organization name of the Dynamics instance. The property is required for on-prem and required for online when there are more than one Dynamics instances associated with the user. Type: string (or Expression with resultType string).
+ OrganizationName interface{} `json:"organizationName,omitempty"`
+ // AuthenticationType - The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string).
+ AuthenticationType interface{} `json:"authenticationType,omitempty"`
+ // Username - User name to access the Dynamics instance. Type: string (or Expression with resultType string).
+ Username interface{} `json:"username,omitempty"`
+ // Password - Password to access the Dynamics instance.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedServiceTypeProperties struct.
+func (dlstp *DynamicsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "deploymentType":
+ if v != nil {
+ var deploymentType interface{}
+ err = json.Unmarshal(*v, &deploymentType)
+ if err != nil {
+ return err
+ }
+ dlstp.DeploymentType = deploymentType
+ }
+ case "hostName":
+ if v != nil {
+ var hostName interface{}
+ err = json.Unmarshal(*v, &hostName)
+ if err != nil {
+ return err
+ }
+ dlstp.HostName = hostName
+ }
+ case "port":
+ if v != nil {
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
+ if err != nil {
+ return err
+ }
+ dlstp.Port = port
+ }
+ case "serviceUri":
+ if v != nil {
+ var serviceURI interface{}
+ err = json.Unmarshal(*v, &serviceURI)
+ if err != nil {
+ return err
+ }
+ dlstp.ServiceURI = serviceURI
+ }
+ case "organizationName":
+ if v != nil {
+ var organizationName interface{}
+ err = json.Unmarshal(*v, &organizationName)
+ if err != nil {
+ return err
+ }
+ dlstp.OrganizationName = organizationName
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType interface{}
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ dlstp.AuthenticationType = authenticationType
+ }
+ case "username":
+ if v != nil {
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
+ if err != nil {
+ return err
+ }
+ dlstp.Username = username
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ dlstp.Password = password
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ dlstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// DynamicsSink a copy activity Dynamics sink.
+type DynamicsSink struct {
+ // WriteBehavior - The write behavior for the operation.
+ WriteBehavior *string `json:"writeBehavior,omitempty"`
+ // IgnoreNullValues - The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean).
+ IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) MarshalJSON() ([]byte, error) {
- gbqls.Type = TypeGoogleBigQuery
+// MarshalJSON is the custom marshaler for DynamicsSink.
+func (ds DynamicsSink) MarshalJSON() ([]byte, error) {
+ ds.Type = TypeDynamicsSink
objectMap := make(map[string]interface{})
- if gbqls.GoogleBigQueryLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = gbqls.GoogleBigQueryLinkedServiceTypeProperties
+ if ds.WriteBehavior != nil {
+ objectMap["writeBehavior"] = ds.WriteBehavior
}
- if gbqls.ConnectVia != nil {
- objectMap["connectVia"] = gbqls.ConnectVia
+ if ds.IgnoreNullValues != nil {
+ objectMap["ignoreNullValues"] = ds.IgnoreNullValues
}
- if gbqls.Description != nil {
- objectMap["description"] = gbqls.Description
+ if ds.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = ds.WriteBatchSize
}
- if gbqls.Parameters != nil {
- objectMap["parameters"] = gbqls.Parameters
+ if ds.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = ds.WriteBatchTimeout
}
- if gbqls.Annotations != nil {
- objectMap["annotations"] = gbqls.Annotations
+ if ds.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = ds.SinkRetryCount
}
- if gbqls.Type != "" {
- objectMap["type"] = gbqls.Type
+ if ds.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = ds.SinkRetryWait
}
- for k, v := range gbqls.AdditionalProperties {
+ if ds.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections
+ }
+ if ds.Type != "" {
+ objectMap["type"] = ds.Type
+ }
+ for k, v := range ds.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsDynamicsSink() (*DynamicsSink, bool) {
+ return &ds, true
+}
+
+// AsMicrosoftAccessSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsInformixSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsOdbcSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsOracleSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSQLMISink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsSQLSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsBlobSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsBinarySink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsParquetSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsCopySink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsCopySink() (*CopySink, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsBasicCopySink is the BasicCopySink implementation for DynamicsSink.
+func (ds DynamicsSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &ds, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DynamicsSink struct.
+func (ds *DynamicsSink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "writeBehavior":
+ if v != nil {
+ var writeBehavior string
+ err = json.Unmarshal(*v, &writeBehavior)
+ if err != nil {
+ return err
+ }
+ ds.WriteBehavior = &writeBehavior
+ }
+ case "ignoreNullValues":
+ if v != nil {
+ var ignoreNullValues interface{}
+ err = json.Unmarshal(*v, &ignoreNullValues)
+ if err != nil {
+ return err
+ }
+ ds.IgnoreNullValues = ignoreNullValues
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ds.AdditionalProperties == nil {
+ ds.AdditionalProperties = make(map[string]interface{})
+ }
+ ds.AdditionalProperties[k] = additionalProperties
+ }
+ case "writeBatchSize":
+ if v != nil {
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
+ if err != nil {
+ return err
+ }
+ ds.WriteBatchSize = writeBatchSize
+ }
+ case "writeBatchTimeout":
+ if v != nil {
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
+ if err != nil {
+ return err
+ }
+ ds.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ ds.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ ds.SinkRetryWait = sinkRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ ds.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySink
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ds.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// DynamicsSource a copy activity Dynamics source.
+type DynamicsSource struct {
+ // Query - FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for DynamicsSource.
+func (ds DynamicsSource) MarshalJSON() ([]byte, error) {
+ ds.Type = TypeDynamicsSource
+ objectMap := make(map[string]interface{})
+ if ds.Query != nil {
+ objectMap["query"] = ds.Query
+ }
+ if ds.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ds.SourceRetryCount
+ }
+ if ds.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ds.SourceRetryWait
+ }
+ if ds.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections
+ }
+ if ds.Type != "" {
+ objectMap["type"] = ds.Type
+ }
+ for k, v := range ds.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
- return &gbqls, true
+// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
-func (gbqls GoogleBigQueryLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &gbqls, true
+// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedService struct.
-func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var googleBigQueryLinkedServiceTypeProperties GoogleBigQueryLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &googleBigQueryLinkedServiceTypeProperties)
- if err != nil {
- return err
- }
- gbqls.GoogleBigQueryLinkedServiceTypeProperties = &googleBigQueryLinkedServiceTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if gbqls.AdditionalProperties == nil {
- gbqls.AdditionalProperties = make(map[string]interface{})
- }
- gbqls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
- }
- gbqls.ConnectVia = &connectVia
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- gbqls.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- gbqls.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- gbqls.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- gbqls.Type = typeVar
- }
- }
- }
+// AsSapHanaSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
- return nil
+// AsSapEccSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
}
-// GoogleBigQueryLinkedServiceTypeProperties google BigQuery service linked service properties.
-type GoogleBigQueryLinkedServiceTypeProperties struct {
- // Project - The default BigQuery project to query against.
- Project interface{} `json:"project,omitempty"`
- // AdditionalProjects - A comma-separated list of public BigQuery projects to access.
- AdditionalProjects interface{} `json:"additionalProjects,omitempty"`
- // RequestGoogleDriveScope - Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false.
- RequestGoogleDriveScope interface{} `json:"requestGoogleDriveScope,omitempty"`
- // AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'GoogleBigQueryAuthenticationTypeServiceAuthentication', 'GoogleBigQueryAuthenticationTypeUserAuthentication'
- AuthenticationType GoogleBigQueryAuthenticationType `json:"authenticationType,omitempty"`
- // RefreshToken - The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication.
- RefreshToken BasicSecretBase `json:"refreshToken,omitempty"`
- // ClientID - The client id of the google application used to acquire the refresh token.
- ClientID BasicSecretBase `json:"clientId,omitempty"`
- // ClientSecret - The client secret of the google application used to acquire the refresh token.
- ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
- // Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.
- Email interface{} `json:"email,omitempty"`
- // KeyFilePath - The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR.
- KeyFilePath interface{} `json:"keyFilePath,omitempty"`
- // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
- TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
- // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
- UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedServiceTypeProperties struct.
-func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return &ds, true
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for DynamicsSource.
+func (ds DynamicsSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ds, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for DynamicsSource struct.
+func (ds *DynamicsSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -65428,110 +67580,62 @@ func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []b
}
for k, v := range m {
switch k {
- case "project":
- if v != nil {
- var project interface{}
- err = json.Unmarshal(*v, &project)
- if err != nil {
- return err
- }
- gbqlstp.Project = project
- }
- case "additionalProjects":
- if v != nil {
- var additionalProjects interface{}
- err = json.Unmarshal(*v, &additionalProjects)
- if err != nil {
- return err
- }
- gbqlstp.AdditionalProjects = additionalProjects
- }
- case "requestGoogleDriveScope":
- if v != nil {
- var requestGoogleDriveScope interface{}
- err = json.Unmarshal(*v, &requestGoogleDriveScope)
- if err != nil {
- return err
- }
- gbqlstp.RequestGoogleDriveScope = requestGoogleDriveScope
- }
- case "authenticationType":
- if v != nil {
- var authenticationType GoogleBigQueryAuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- gbqlstp.AuthenticationType = authenticationType
- }
- case "refreshToken":
- if v != nil {
- refreshToken, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- gbqlstp.RefreshToken = refreshToken
- }
- case "clientId":
+ case "query":
if v != nil {
- clientID, err := unmarshalBasicSecretBase(*v)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- gbqlstp.ClientID = clientID
+ ds.Query = query
}
- case "clientSecret":
+ default:
if v != nil {
- clientSecret, err := unmarshalBasicSecretBase(*v)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- gbqlstp.ClientSecret = clientSecret
- }
- case "email":
- if v != nil {
- var email interface{}
- err = json.Unmarshal(*v, &email)
- if err != nil {
- return err
+ if ds.AdditionalProperties == nil {
+ ds.AdditionalProperties = make(map[string]interface{})
}
- gbqlstp.Email = email
+ ds.AdditionalProperties[k] = additionalProperties
}
- case "keyFilePath":
+ case "sourceRetryCount":
if v != nil {
- var keyFilePath interface{}
- err = json.Unmarshal(*v, &keyFilePath)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- gbqlstp.KeyFilePath = keyFilePath
+ ds.SourceRetryCount = sourceRetryCount
}
- case "trustedCertPath":
+ case "sourceRetryWait":
if v != nil {
- var trustedCertPath interface{}
- err = json.Unmarshal(*v, &trustedCertPath)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- gbqlstp.TrustedCertPath = trustedCertPath
+ ds.SourceRetryWait = sourceRetryWait
}
- case "useSystemTrustStore":
+ case "maxConcurrentConnections":
if v != nil {
- var useSystemTrustStore interface{}
- err = json.Unmarshal(*v, &useSystemTrustStore)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- gbqlstp.UseSystemTrustStore = useSystemTrustStore
+ ds.MaxConcurrentConnections = maxConcurrentConnections
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- gbqlstp.EncryptedCredential = encryptedCredential
+ ds.Type = typeVar
}
}
}
@@ -65539,419 +67643,514 @@ func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []b
return nil
}
-// GoogleBigQueryObjectDataset google BigQuery service dataset.
-type GoogleBigQueryObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// EloquaLinkedService eloqua server linked service.
+type EloquaLinkedService struct {
+ // EloquaLinkedServiceTypeProperties - Eloqua server linked service properties.
+ *EloquaLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
+ // Parameters - Parameters for linked service.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
+ // Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) {
- gbqod.Type = TypeGoogleBigQueryObject
+// MarshalJSON is the custom marshaler for EloquaLinkedService.
+func (els EloquaLinkedService) MarshalJSON() ([]byte, error) {
+ els.Type = TypeEloqua
objectMap := make(map[string]interface{})
- if gbqod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = gbqod.GenericDatasetTypeProperties
- }
- if gbqod.Description != nil {
- objectMap["description"] = gbqod.Description
- }
- if gbqod.Structure != nil {
- objectMap["structure"] = gbqod.Structure
- }
- if gbqod.Schema != nil {
- objectMap["schema"] = gbqod.Schema
+ if els.EloquaLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = els.EloquaLinkedServiceTypeProperties
}
- if gbqod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = gbqod.LinkedServiceName
+ if els.ConnectVia != nil {
+ objectMap["connectVia"] = els.ConnectVia
}
- if gbqod.Parameters != nil {
- objectMap["parameters"] = gbqod.Parameters
+ if els.Description != nil {
+ objectMap["description"] = els.Description
}
- if gbqod.Annotations != nil {
- objectMap["annotations"] = gbqod.Annotations
+ if els.Parameters != nil {
+ objectMap["parameters"] = els.Parameters
}
- if gbqod.Folder != nil {
- objectMap["folder"] = gbqod.Folder
+ if els.Annotations != nil {
+ objectMap["annotations"] = els.Annotations
}
- if gbqod.Type != "" {
- objectMap["type"] = gbqod.Type
+ if els.Type != "" {
+ objectMap["type"] = els.Type
}
- for k, v := range gbqod.AdditionalProperties {
+ for k, v := range els.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
- return &gbqod, true
-}
-
-// AsEloquaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
- return nil, false
+// AsEloquaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return &els, true
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsDataset() (*Dataset, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
-func (gbqod GoogleBigQueryObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &gbqod, true
+// AsTeradataLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryObjectDataset struct.
-func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error {
+// AsDb2LinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
+func (els EloquaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &els, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for EloquaLinkedService struct.
+func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -65961,12 +68160,12 @@ func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var eloquaLinkedServiceTypeProperties EloquaLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &eloquaLinkedServiceTypeProperties)
if err != nil {
return err
}
- gbqod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ els.EloquaLinkedServiceTypeProperties = &eloquaLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -65975,10 +68174,19 @@ func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if gbqod.AdditionalProperties == nil {
- gbqod.AdditionalProperties = make(map[string]interface{})
+ if els.AdditionalProperties == nil {
+ els.AdditionalProperties = make(map[string]interface{})
}
- gbqod.AdditionalProperties[k] = additionalProperties
+ els.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ els.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -65987,70 +68195,129 @@ func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- gbqod.Description = &description
+ els.Description = &description
}
- case "structure":
+ case "parameters":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- gbqod.Structure = structure
+ els.Parameters = parameters
}
- case "schema":
+ case "annotations":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- gbqod.Schema = schema
+ els.Annotations = &annotations
}
- case "linkedServiceName":
+ case "type":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- gbqod.LinkedServiceName = &linkedServiceName
+ els.Type = typeVar
}
- case "parameters":
+ }
+ }
+
+ return nil
+}
+
+// EloquaLinkedServiceTypeProperties eloqua server linked service properties.
+type EloquaLinkedServiceTypeProperties struct {
+ // Endpoint - The endpoint of the Eloqua server. (i.e. eloqua.example.com)
+ Endpoint interface{} `json:"endpoint,omitempty"`
+ // Username - The site name and user name of your Eloqua account in the form: sitename/username. (i.e. Eloqua/Alice)
+ Username interface{} `json:"username,omitempty"`
+ // Password - The password corresponding to the user name.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
+ UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
+ // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
+ UseHostVerification interface{} `json:"useHostVerification,omitempty"`
+ // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
+ UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for EloquaLinkedServiceTypeProperties struct.
+func (elstp *EloquaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "endpoint":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var endpoint interface{}
+ err = json.Unmarshal(*v, &endpoint)
if err != nil {
return err
}
- gbqod.Parameters = parameters
+ elstp.Endpoint = endpoint
}
- case "annotations":
+ case "username":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
if err != nil {
return err
}
- gbqod.Annotations = &annotations
+ elstp.Username = username
}
- case "folder":
+ case "password":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ password, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- gbqod.Folder = &folder
+ elstp.Password = password
}
- case "type":
+ case "useEncryptedEndpoints":
if v != nil {
- var typeVar TypeBasicDataset
- err = json.Unmarshal(*v, &typeVar)
+ var useEncryptedEndpoints interface{}
+ err = json.Unmarshal(*v, &useEncryptedEndpoints)
if err != nil {
return err
}
- gbqod.Type = typeVar
+ elstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ }
+ case "useHostVerification":
+ if v != nil {
+ var useHostVerification interface{}
+ err = json.Unmarshal(*v, &useHostVerification)
+ if err != nil {
+ return err
+ }
+ elstp.UseHostVerification = useHostVerification
+ }
+ case "usePeerVerification":
+ if v != nil {
+ var usePeerVerification interface{}
+ err = json.Unmarshal(*v, &usePeerVerification)
+ if err != nil {
+ return err
+ }
+ elstp.UsePeerVerification = usePeerVerification
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ elstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -66058,394 +68325,469 @@ func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// GoogleBigQuerySource a copy activity Google BigQuery service source.
-type GoogleBigQuerySource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// EloquaObjectDataset eloqua server dataset.
+type EloquaObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) MarshalJSON() ([]byte, error) {
- gbqs.Type = TypeGoogleBigQuerySource
+// MarshalJSON is the custom marshaler for EloquaObjectDataset.
+func (eod EloquaObjectDataset) MarshalJSON() ([]byte, error) {
+ eod.Type = TypeEloquaObject
objectMap := make(map[string]interface{})
- if gbqs.Query != nil {
- objectMap["query"] = gbqs.Query
+ if eod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = eod.GenericDatasetTypeProperties
}
- if gbqs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = gbqs.SourceRetryCount
+ if eod.Description != nil {
+ objectMap["description"] = eod.Description
}
- if gbqs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = gbqs.SourceRetryWait
+ if eod.Structure != nil {
+ objectMap["structure"] = eod.Structure
}
- if gbqs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = gbqs.MaxConcurrentConnections
+ if eod.Schema != nil {
+ objectMap["schema"] = eod.Schema
}
- if gbqs.Type != "" {
- objectMap["type"] = gbqs.Type
+ if eod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = eod.LinkedServiceName
}
- for k, v := range gbqs.AdditionalProperties {
+ if eod.Parameters != nil {
+ objectMap["parameters"] = eod.Parameters
+ }
+ if eod.Annotations != nil {
+ objectMap["annotations"] = eod.Annotations
+ }
+ if eod.Folder != nil {
+ objectMap["folder"] = eod.Folder
+ }
+ if eod.Type != "" {
+ objectMap["type"] = eod.Type
+ }
+ for k, v := range eod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
- return &gbqs, true
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return &eod, true
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsDrillSource() (*DrillSource, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsConcurSource() (*ConcurSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsHTTPSource() (*HTTPSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsOffice365Source() (*Office365Source, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsWebSource() (*WebSource, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsOracleSource() (*OracleSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsHdfsSource() (*HdfsSource, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSQLSource() (*SQLSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsRestSource() (*RestSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSapTableSource() (*SapTableSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSapEccSource() (*SapEccSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsRelationalSource() (*RelationalSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsBlobSource() (*BlobSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsParquetSource() (*ParquetSource, bool) {
+// AsCustomDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsCopySource() (*CopySource, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for GoogleBigQuerySource.
-func (gbqs GoogleBigQuerySource) AsBasicCopySource() (BasicCopySource, bool) {
- return &gbqs, true
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for GoogleBigQuerySource struct.
-func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for EloquaObjectDataset.
+func (eod EloquaObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &eod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for EloquaObjectDataset struct.
+func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -66453,14 +68795,14 @@ func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
if err != nil {
return err
}
- gbqs.Query = query
+ eod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -66469,46 +68811,82 @@ func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if gbqs.AdditionalProperties == nil {
- gbqs.AdditionalProperties = make(map[string]interface{})
+ if eod.AdditionalProperties == nil {
+ eod.AdditionalProperties = make(map[string]interface{})
}
- gbqs.AdditionalProperties[k] = additionalProperties
+ eod.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "description":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- gbqs.SourceRetryCount = sourceRetryCount
+ eod.Description = &description
}
- case "sourceRetryWait":
+ case "structure":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- gbqs.SourceRetryWait = sourceRetryWait
+ eod.Structure = structure
}
- case "maxConcurrentConnections":
+ case "schema":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- gbqs.MaxConcurrentConnections = maxConcurrentConnections
+ eod.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ eod.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ eod.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ eod.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ eod.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- gbqs.Type = typeVar
+ eod.Type = typeVar
}
}
}
@@ -66516,484 +68894,459 @@ func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error {
return nil
}
-// GreenplumLinkedService greenplum Database linked service.
-type GreenplumLinkedService struct {
- // GreenplumLinkedServiceTypeProperties - Greenplum Database linked service properties.
- *GreenplumLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// EloquaSource a copy activity Eloqua server source.
+type EloquaSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for GreenplumLinkedService.
-func (gls GreenplumLinkedService) MarshalJSON() ([]byte, error) {
- gls.Type = TypeGreenplum
+// MarshalJSON is the custom marshaler for EloquaSource.
+func (es EloquaSource) MarshalJSON() ([]byte, error) {
+ es.Type = TypeEloquaSource
objectMap := make(map[string]interface{})
- if gls.GreenplumLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = gls.GreenplumLinkedServiceTypeProperties
- }
- if gls.ConnectVia != nil {
- objectMap["connectVia"] = gls.ConnectVia
+ if es.Query != nil {
+ objectMap["query"] = es.Query
}
- if gls.Description != nil {
- objectMap["description"] = gls.Description
+ if es.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = es.SourceRetryCount
}
- if gls.Parameters != nil {
- objectMap["parameters"] = gls.Parameters
+ if es.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = es.SourceRetryWait
}
- if gls.Annotations != nil {
- objectMap["annotations"] = gls.Annotations
+ if es.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = es.MaxConcurrentConnections
}
- if gls.Type != "" {
- objectMap["type"] = gls.Type
+ if es.Type != "" {
+ objectMap["type"] = es.Type
}
- for k, v := range gls.AdditionalProperties {
+ for k, v := range es.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsEloquaSource() (*EloquaSource, bool) {
+ return &es, true
+}
+
+// AsDrillSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
- return &gls, true
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
- return nil, false
-}
-
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
- return nil, false
-}
-
-// AsSalesforceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
- return nil, false
-}
-
-// AsOffice365LinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
- return nil, false
-}
-
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsODataSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsMySQLSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsBinarySource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsParquetSource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsCopySource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
-func (gls GreenplumLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &gls, true
+// AsBasicCopySource is the BasicCopySource implementation for EloquaSource.
+func (es EloquaSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &es, true
}
-// UnmarshalJSON is the custom unmarshaler for GreenplumLinkedService struct.
-func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for EloquaSource struct.
+func (es *EloquaSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -67001,14 +69354,14 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var greenplumLinkedServiceTypeProperties GreenplumLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &greenplumLinkedServiceTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- gls.GreenplumLinkedServiceTypeProperties = &greenplumLinkedServiceTypeProperties
+ es.Query = query
}
default:
if v != nil {
@@ -67017,55 +69370,46 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if gls.AdditionalProperties == nil {
- gls.AdditionalProperties = make(map[string]interface{})
- }
- gls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if es.AdditionalProperties == nil {
+ es.AdditionalProperties = make(map[string]interface{})
}
- gls.ConnectVia = &connectVia
+ es.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- gls.Description = &description
+ es.SourceRetryCount = sourceRetryCount
}
- case "parameters":
+ case "sourceRetryWait":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- gls.Parameters = parameters
+ es.SourceRetryWait = sourceRetryWait
}
- case "annotations":
+ case "maxConcurrentConnections":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- gls.Annotations = &annotations
+ es.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- gls.Type = typeVar
+ es.Type = typeVar
}
}
}
@@ -67073,404 +69417,247 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// GreenplumLinkedServiceTypeProperties greenplum Database linked service properties.
-type GreenplumLinkedServiceTypeProperties struct {
- // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // Pwd - The Azure key vault secret reference of password in connection string.
- Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+// EntityReference the entity reference.
+type EntityReference struct {
+ // Type - The type of this referenced entity. Possible values include: 'IntegrationRuntimeEntityReferenceTypeIntegrationRuntimeReference', 'IntegrationRuntimeEntityReferenceTypeLinkedServiceReference'
+ Type IntegrationRuntimeEntityReferenceType `json:"type,omitempty"`
+ // ReferenceName - The name of this referenced entity.
+ ReferenceName *string `json:"referenceName,omitempty"`
}
-// GreenplumSource a copy activity Greenplum Database source.
-type GreenplumSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// ExecutePipelineActivity execute pipeline activity.
+type ExecutePipelineActivity struct {
+ // ExecutePipelineActivityTypeProperties - Execute pipeline activity properties.
+ *ExecutePipelineActivityTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for GreenplumSource.
-func (gs GreenplumSource) MarshalJSON() ([]byte, error) {
- gs.Type = TypeGreenplumSource
+// MarshalJSON is the custom marshaler for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) MarshalJSON() ([]byte, error) {
+ epa.Type = TypeExecutePipeline
objectMap := make(map[string]interface{})
- if gs.Query != nil {
- objectMap["query"] = gs.Query
+ if epa.ExecutePipelineActivityTypeProperties != nil {
+ objectMap["typeProperties"] = epa.ExecutePipelineActivityTypeProperties
}
- if gs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = gs.SourceRetryCount
+ if epa.Name != nil {
+ objectMap["name"] = epa.Name
}
- if gs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = gs.SourceRetryWait
+ if epa.Description != nil {
+ objectMap["description"] = epa.Description
}
- if gs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = gs.MaxConcurrentConnections
+ if epa.DependsOn != nil {
+ objectMap["dependsOn"] = epa.DependsOn
}
- if gs.Type != "" {
- objectMap["type"] = gs.Type
+ if epa.UserProperties != nil {
+ objectMap["userProperties"] = epa.UserProperties
}
- for k, v := range gs.AdditionalProperties {
+ if epa.Type != "" {
+ objectMap["type"] = epa.Type
+ }
+ for k, v := range epa.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
- return nil, false
-}
-
-// AsDynamicsAXSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
- return nil, false
-}
-
-// AsResponsysSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsResponsysSource() (*ResponsysSource, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
- return nil, false
-}
-
-// AsVerticaSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsVerticaSource() (*VerticaSource, bool) {
- return nil, false
-}
-
-// AsNetezzaSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsNetezzaSource() (*NetezzaSource, bool) {
- return nil, false
-}
-
-// AsZohoSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsZohoSource() (*ZohoSource, bool) {
- return nil, false
-}
-
-// AsXeroSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsXeroSource() (*XeroSource, bool) {
- return nil, false
-}
-
-// AsSquareSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSquareSource() (*SquareSource, bool) {
- return nil, false
-}
-
-// AsSparkSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSparkSource() (*SparkSource, bool) {
- return nil, false
-}
-
-// AsShopifySource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsShopifySource() (*ShopifySource, bool) {
- return nil, false
-}
-
-// AsServiceNowSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsServiceNowSource() (*ServiceNowSource, bool) {
- return nil, false
-}
-
-// AsQuickBooksSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
- return nil, false
-}
-
-// AsPrestoSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsPrestoSource() (*PrestoSource, bool) {
- return nil, false
-}
-
-// AsPhoenixSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsPhoenixSource() (*PhoenixSource, bool) {
- return nil, false
-}
-
-// AsPaypalSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsPaypalSource() (*PaypalSource, bool) {
- return nil, false
-}
-
-// AsMarketoSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsMarketoSource() (*MarketoSource, bool) {
- return nil, false
-}
-
-// AsMariaDBSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsMariaDBSource() (*MariaDBSource, bool) {
- return nil, false
-}
-
-// AsMagentoSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsMagentoSource() (*MagentoSource, bool) {
- return nil, false
-}
-
-// AsJiraSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsJiraSource() (*JiraSource, bool) {
- return nil, false
-}
-
-// AsImpalaSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsImpalaSource() (*ImpalaSource, bool) {
- return nil, false
-}
-
-// AsHubspotSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsHubspotSource() (*HubspotSource, bool) {
- return nil, false
-}
-
-// AsHiveSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsHiveSource() (*HiveSource, bool) {
- return nil, false
-}
-
-// AsHBaseSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsHBaseSource() (*HBaseSource, bool) {
- return nil, false
-}
-
-// AsGreenplumSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsGreenplumSource() (*GreenplumSource, bool) {
- return &gs, true
-}
-
-// AsGoogleBigQuerySource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
- return nil, false
-}
-
-// AsEloquaSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsEloquaSource() (*EloquaSource, bool) {
- return nil, false
-}
-
-// AsDrillSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsDrillSource() (*DrillSource, bool) {
- return nil, false
-}
-
-// AsCouchbaseSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
- return nil, false
-}
-
-// AsConcurSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsConcurSource() (*ConcurSource, bool) {
- return nil, false
-}
-
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsOffice365Source() (*Office365Source, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsWebActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsLookupActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsWebSource() (*WebSource, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsDeleteActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsOracleSource() (*OracleSource, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsCustomActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSQLSource() (*SQLSource, bool) {
+// AsCopyActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsRestSource() (*RestSource, bool) {
+// AsExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsBasicExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsWebHookActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsFilterActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsValidationActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsUntilActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsWaitActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsForEachActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsBlobSource() (*BlobSource, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsAzureTableSource() (*AzureTableSource, bool) {
- return nil, false
+// AsExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+ return &epa, true
}
-// AsDelimitedTextSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsControlActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsParquetSource() (*ParquetSource, bool) {
- return nil, false
+// AsBasicControlActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return &epa, true
}
-// AsCopySource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsCopySource() (*CopySource, bool) {
+// AsActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for GreenplumSource.
-func (gs GreenplumSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &gs, true
+// AsBasicActivity is the BasicActivity implementation for ExecutePipelineActivity.
+func (epa ExecutePipelineActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &epa, true
}
-// UnmarshalJSON is the custom unmarshaler for GreenplumSource struct.
-func (gs *GreenplumSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for ExecutePipelineActivity struct.
+func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -67478,14 +69665,14 @@ func (gs *GreenplumSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var executePipelineActivityTypeProperties ExecutePipelineActivityTypeProperties
+ err = json.Unmarshal(*v, &executePipelineActivityTypeProperties)
if err != nil {
return err
}
- gs.Query = query
+ epa.ExecutePipelineActivityTypeProperties = &executePipelineActivityTypeProperties
}
default:
if v != nil {
@@ -67494,46 +69681,55 @@ func (gs *GreenplumSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if gs.AdditionalProperties == nil {
- gs.AdditionalProperties = make(map[string]interface{})
+ if epa.AdditionalProperties == nil {
+ epa.AdditionalProperties = make(map[string]interface{})
}
- gs.AdditionalProperties[k] = additionalProperties
+ epa.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "name":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var name string
+ err = json.Unmarshal(*v, &name)
if err != nil {
return err
}
- gs.SourceRetryCount = sourceRetryCount
+ epa.Name = &name
}
- case "sourceRetryWait":
+ case "description":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- gs.SourceRetryWait = sourceRetryWait
+ epa.Description = &description
}
- case "maxConcurrentConnections":
+ case "dependsOn":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
if err != nil {
return err
}
- gs.MaxConcurrentConnections = maxConcurrentConnections
+ epa.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ epa.UserProperties = &userProperties
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicActivity
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- gs.Type = typeVar
+ epa.Type = typeVar
}
}
}
@@ -67541,419 +69737,822 @@ func (gs *GreenplumSource) UnmarshalJSON(body []byte) error {
return nil
}
-// GreenplumTableDataset greenplum Database dataset.
-type GreenplumTableDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// ExecutePipelineActivityTypeProperties execute pipeline activity properties.
+type ExecutePipelineActivityTypeProperties struct {
+ // Pipeline - Pipeline reference.
+ Pipeline *PipelineReference `json:"pipeline,omitempty"`
+ // Parameters - Pipeline parameters.
+ Parameters map[string]interface{} `json:"parameters"`
+ // WaitOnCompletion - Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false.
+ WaitOnCompletion *bool `json:"waitOnCompletion,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for ExecutePipelineActivityTypeProperties.
+func (epatp ExecutePipelineActivityTypeProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if epatp.Pipeline != nil {
+ objectMap["pipeline"] = epatp.Pipeline
+ }
+ if epatp.Parameters != nil {
+ objectMap["parameters"] = epatp.Parameters
+ }
+ if epatp.WaitOnCompletion != nil {
+ objectMap["waitOnCompletion"] = epatp.WaitOnCompletion
+ }
+ return json.Marshal(objectMap)
+}
+
+// ExecuteSSISPackageActivity execute SSIS package activity.
+type ExecuteSSISPackageActivity struct {
+ // ExecuteSSISPackageActivityTypeProperties - Execute SSIS package activity properties.
+ *ExecuteSSISPackageActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) MarshalJSON() ([]byte, error) {
- gtd.Type = TypeGreenplumTable
+// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) MarshalJSON() ([]byte, error) {
+ espa.Type = TypeExecuteSSISPackage
objectMap := make(map[string]interface{})
- if gtd.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = gtd.GenericDatasetTypeProperties
- }
- if gtd.Description != nil {
- objectMap["description"] = gtd.Description
+ if espa.ExecuteSSISPackageActivityTypeProperties != nil {
+ objectMap["typeProperties"] = espa.ExecuteSSISPackageActivityTypeProperties
}
- if gtd.Structure != nil {
- objectMap["structure"] = gtd.Structure
+ if espa.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = espa.LinkedServiceName
}
- if gtd.Schema != nil {
- objectMap["schema"] = gtd.Schema
+ if espa.Policy != nil {
+ objectMap["policy"] = espa.Policy
}
- if gtd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = gtd.LinkedServiceName
+ if espa.Name != nil {
+ objectMap["name"] = espa.Name
}
- if gtd.Parameters != nil {
- objectMap["parameters"] = gtd.Parameters
+ if espa.Description != nil {
+ objectMap["description"] = espa.Description
}
- if gtd.Annotations != nil {
- objectMap["annotations"] = gtd.Annotations
+ if espa.DependsOn != nil {
+ objectMap["dependsOn"] = espa.DependsOn
}
- if gtd.Folder != nil {
- objectMap["folder"] = gtd.Folder
+ if espa.UserProperties != nil {
+ objectMap["userProperties"] = espa.UserProperties
}
- if gtd.Type != "" {
- objectMap["type"] = gtd.Type
+ if espa.Type != "" {
+ objectMap["type"] = espa.Type
}
- for k, v := range gtd.AdditionalProperties {
+ for k, v := range espa.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
- return nil, false
-}
-
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
- return nil, false
-}
-
-// AsResponsysObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsWebActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsLookupActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsDeleteActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsCustomActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
- return nil, false
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+ return &espa, true
}
-// AsMariaDBTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsCopyActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
- return >d, true
+// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &espa, true
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsWebHookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsFilterActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsValidationActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsUntilActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsWaitActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsForEachActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
- return nil, false
+// AsBasicActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
+func (espa ExecuteSSISPackageActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &espa, true
}
-// AsSapHanaTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for ExecuteSSISPackageActivity struct.
+func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var executeSSISPackageActivityTypeProperties ExecuteSSISPackageActivityTypeProperties
+ err = json.Unmarshal(*v, &executeSSISPackageActivityTypeProperties)
+ if err != nil {
+ return err
+ }
+ espa.ExecuteSSISPackageActivityTypeProperties = &executeSSISPackageActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ espa.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ espa.Policy = &policy
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if espa.AdditionalProperties == nil {
+ espa.AdditionalProperties = make(map[string]interface{})
+ }
+ espa.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ espa.Name = &name
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ espa.Description = &description
+ }
+ case "dependsOn":
+ if v != nil {
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
+ if err != nil {
+ return err
+ }
+ espa.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ espa.UserProperties = &userProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ espa.Type = typeVar
+ }
+ }
+ }
-// AsSapEccResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
- return nil, false
+ return nil
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
- return nil, false
+// ExecuteSSISPackageActivityTypeProperties execute SSIS package activity properties.
+type ExecuteSSISPackageActivityTypeProperties struct {
+ // PackageLocation - SSIS package location.
+ PackageLocation *SSISPackageLocation `json:"packageLocation,omitempty"`
+ // Runtime - Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string).
+ Runtime interface{} `json:"runtime,omitempty"`
+ // LoggingLevel - The logging level of SSIS package execution. Type: string (or Expression with resultType string).
+ LoggingLevel interface{} `json:"loggingLevel,omitempty"`
+ // EnvironmentPath - The environment path to execute the SSIS package. Type: string (or Expression with resultType string).
+ EnvironmentPath interface{} `json:"environmentPath,omitempty"`
+ // ExecutionCredential - The package execution credential.
+ ExecutionCredential *SSISExecutionCredential `json:"executionCredential,omitempty"`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // ProjectParameters - The project level parameters to execute the SSIS package.
+ ProjectParameters map[string]*SSISExecutionParameter `json:"projectParameters"`
+ // PackageParameters - The package level parameters to execute the SSIS package.
+ PackageParameters map[string]*SSISExecutionParameter `json:"packageParameters"`
+ // ProjectConnectionManagers - The project level connection managers to execute the SSIS package.
+ ProjectConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"projectConnectionManagers"`
+ // PackageConnectionManagers - The package level connection managers to execute the SSIS package.
+ PackageConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"packageConnectionManagers"`
+ // PropertyOverrides - The property overrides to execute the SSIS package.
+ PropertyOverrides map[string]*SSISPropertyOverride `json:"propertyOverrides"`
+ // LogLocation - SSIS package execution log location.
+ LogLocation *SSISLogLocation `json:"logLocation,omitempty"`
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivityTypeProperties.
+func (espatp ExecuteSSISPackageActivityTypeProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if espatp.PackageLocation != nil {
+ objectMap["packageLocation"] = espatp.PackageLocation
+ }
+ if espatp.Runtime != nil {
+ objectMap["runtime"] = espatp.Runtime
+ }
+ if espatp.LoggingLevel != nil {
+ objectMap["loggingLevel"] = espatp.LoggingLevel
+ }
+ if espatp.EnvironmentPath != nil {
+ objectMap["environmentPath"] = espatp.EnvironmentPath
+ }
+ if espatp.ExecutionCredential != nil {
+ objectMap["executionCredential"] = espatp.ExecutionCredential
+ }
+ if espatp.ConnectVia != nil {
+ objectMap["connectVia"] = espatp.ConnectVia
+ }
+ if espatp.ProjectParameters != nil {
+ objectMap["projectParameters"] = espatp.ProjectParameters
+ }
+ if espatp.PackageParameters != nil {
+ objectMap["packageParameters"] = espatp.PackageParameters
+ }
+ if espatp.ProjectConnectionManagers != nil {
+ objectMap["projectConnectionManagers"] = espatp.ProjectConnectionManagers
+ }
+ if espatp.PackageConnectionManagers != nil {
+ objectMap["packageConnectionManagers"] = espatp.PackageConnectionManagers
+ }
+ if espatp.PropertyOverrides != nil {
+ objectMap["propertyOverrides"] = espatp.PropertyOverrides
+ }
+ if espatp.LogLocation != nil {
+ objectMap["logLocation"] = espatp.LogLocation
+ }
+ return json.Marshal(objectMap)
+}
+
+// BasicExecutionActivity base class for all execution activities.
+type BasicExecutionActivity interface {
+ AsAzureFunctionActivity() (*AzureFunctionActivity, bool)
+ AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool)
+ AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool)
+ AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool)
+ AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool)
+ AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool)
+ AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool)
+ AsGetMetadataActivity() (*GetMetadataActivity, bool)
+ AsWebActivity() (*WebActivity, bool)
+ AsLookupActivity() (*LookupActivity, bool)
+ AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool)
+ AsDeleteActivity() (*DeleteActivity, bool)
+ AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool)
+ AsCustomActivity() (*CustomActivity, bool)
+ AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool)
+ AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool)
+ AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool)
+ AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool)
+ AsHDInsightPigActivity() (*HDInsightPigActivity, bool)
+ AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool)
+ AsCopyActivity() (*CopyActivity, bool)
+ AsExecutionActivity() (*ExecutionActivity, bool)
+}
+
+// ExecutionActivity base class for all execution activities.
+type ExecutionActivity struct {
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
+}
+
+func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
+
+ switch m["type"] {
+ case string(TypeAzureFunctionActivity):
+ var afa AzureFunctionActivity
+ err := json.Unmarshal(body, &afa)
+ return afa, err
+ case string(TypeDatabricksSparkPython):
+ var dspa DatabricksSparkPythonActivity
+ err := json.Unmarshal(body, &dspa)
+ return dspa, err
+ case string(TypeDatabricksSparkJar):
+ var dsja DatabricksSparkJarActivity
+ err := json.Unmarshal(body, &dsja)
+ return dsja, err
+ case string(TypeDatabricksNotebook):
+ var dna DatabricksNotebookActivity
+ err := json.Unmarshal(body, &dna)
+ return dna, err
+ case string(TypeDataLakeAnalyticsUSQL):
+ var dlaua DataLakeAnalyticsUSQLActivity
+ err := json.Unmarshal(body, &dlaua)
+ return dlaua, err
+ case string(TypeAzureMLUpdateResource):
+ var amura AzureMLUpdateResourceActivity
+ err := json.Unmarshal(body, &amura)
+ return amura, err
+ case string(TypeAzureMLBatchExecution):
+ var ambea AzureMLBatchExecutionActivity
+ err := json.Unmarshal(body, &ambea)
+ return ambea, err
+ case string(TypeGetMetadata):
+ var gma GetMetadataActivity
+ err := json.Unmarshal(body, &gma)
+ return gma, err
+ case string(TypeWebActivity):
+ var wa WebActivity
+ err := json.Unmarshal(body, &wa)
+ return wa, err
+ case string(TypeLookup):
+ var la LookupActivity
+ err := json.Unmarshal(body, &la)
+ return la, err
+ case string(TypeAzureDataExplorerCommand):
+ var adeca AzureDataExplorerCommandActivity
+ err := json.Unmarshal(body, &adeca)
+ return adeca, err
+ case string(TypeDelete):
+ var da DeleteActivity
+ err := json.Unmarshal(body, &da)
+ return da, err
+ case string(TypeSQLServerStoredProcedure):
+ var ssspa SQLServerStoredProcedureActivity
+ err := json.Unmarshal(body, &ssspa)
+ return ssspa, err
+ case string(TypeCustom):
+ var ca CustomActivity
+ err := json.Unmarshal(body, &ca)
+ return ca, err
+ case string(TypeExecuteSSISPackage):
+ var espa ExecuteSSISPackageActivity
+ err := json.Unmarshal(body, &espa)
+ return espa, err
+ case string(TypeHDInsightSpark):
+ var hisa HDInsightSparkActivity
+ err := json.Unmarshal(body, &hisa)
+ return hisa, err
+ case string(TypeHDInsightStreaming):
+ var hisa HDInsightStreamingActivity
+ err := json.Unmarshal(body, &hisa)
+ return hisa, err
+ case string(TypeHDInsightMapReduce):
+ var himra HDInsightMapReduceActivity
+ err := json.Unmarshal(body, &himra)
+ return himra, err
+ case string(TypeHDInsightPig):
+ var hipa HDInsightPigActivity
+ err := json.Unmarshal(body, &hipa)
+ return hipa, err
+ case string(TypeHDInsightHive):
+ var hiha HDInsightHiveActivity
+ err := json.Unmarshal(body, &hiha)
+ return hiha, err
+ case string(TypeCopy):
+ var ca CopyActivity
+ err := json.Unmarshal(body, &ca)
+ return ca, err
+ default:
+ var ea ExecutionActivity
+ err := json.Unmarshal(body, &ea)
+ return ea, err
+ }
+}
+func unmarshalBasicExecutionActivityArray(body []byte) ([]BasicExecutionActivity, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
+
+ eaArray := make([]BasicExecutionActivity, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ ea, err := unmarshalBasicExecutionActivity(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ eaArray[index] = ea
+ }
+ return eaArray, nil
+}
+
+// MarshalJSON is the custom marshaler for ExecutionActivity.
+func (ea ExecutionActivity) MarshalJSON() ([]byte, error) {
+ ea.Type = TypeExecution
+ objectMap := make(map[string]interface{})
+ if ea.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = ea.LinkedServiceName
+ }
+ if ea.Policy != nil {
+ objectMap["policy"] = ea.Policy
+ }
+ if ea.Name != nil {
+ objectMap["name"] = ea.Name
+ }
+ if ea.Description != nil {
+ objectMap["description"] = ea.Description
+ }
+ if ea.DependsOn != nil {
+ objectMap["dependsOn"] = ea.DependsOn
+ }
+ if ea.UserProperties != nil {
+ objectMap["userProperties"] = ea.UserProperties
+ }
+ if ea.Type != "" {
+ objectMap["type"] = ea.Type
+ }
+ for k, v := range ea.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsWebActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsLookupActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsDeleteActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsCustomActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsCopyActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsExecutionActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+ return &ea, true
+}
+
+// AsBasicExecutionActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &ea, true
+}
+
+// AsWebHookActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsDataset() (*Dataset, bool) {
+// AsFilterActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for GreenplumTableDataset.
-func (gtd GreenplumTableDataset) AsBasicDataset() (BasicDataset, bool) {
- return >d, true
+// AsValidationActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsValidationActivity() (*ValidationActivity, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for GreenplumTableDataset struct.
-func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error {
+// AsUntilActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsUntilActivity() (*UntilActivity, bool) {
+ return nil, false
+}
+
+// AsWaitActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsWaitActivity() (*WaitActivity, bool) {
+ return nil, false
+}
+
+// AsForEachActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) {
+ return nil, false
+}
+
+// AsIfConditionActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+ return nil, false
+}
+
+// AsExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+ return nil, false
+}
+
+// AsControlActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsControlActivity() (*ControlActivity, bool) {
+ return nil, false
+}
+
+// AsBasicControlActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return nil, false
+}
+
+// AsActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsActivity() (*Activity, bool) {
+ return nil, false
+}
+
+// AsBasicActivity is the BasicActivity implementation for ExecutionActivity.
+func (ea ExecutionActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &ea, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ExecutionActivity struct.
+func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -67961,14 +70560,23 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "linkedServiceName":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- gtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ ea.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ ea.Policy = &policy
}
default:
if v != nil {
@@ -67977,10 +70585,19 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if gtd.AdditionalProperties == nil {
- gtd.AdditionalProperties = make(map[string]interface{})
+ if ea.AdditionalProperties == nil {
+ ea.AdditionalProperties = make(map[string]interface{})
}
- gtd.AdditionalProperties[k] = additionalProperties
+ ea.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ ea.Name = &name
}
case "description":
if v != nil {
@@ -67989,70 +70606,202 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- gtd.Description = &description
+ ea.Description = &description
}
- case "structure":
+ case "dependsOn":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
if err != nil {
return err
}
- gtd.Structure = structure
+ ea.DependsOn = &dependsOn
}
- case "schema":
+ case "userProperties":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
if err != nil {
return err
}
- gtd.Schema = schema
+ ea.UserProperties = &userProperties
}
- case "linkedServiceName":
+ case "type":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- gtd.LinkedServiceName = &linkedServiceName
+ ea.Type = typeVar
}
- case "parameters":
+ }
+ }
+
+ return nil
+}
+
+// ExposureControlRequest the exposure control request.
+type ExposureControlRequest struct {
+ // FeatureName - The feature name.
+ FeatureName *string `json:"featureName,omitempty"`
+ // FeatureType - The feature type.
+ FeatureType *string `json:"featureType,omitempty"`
+}
+
+// ExposureControlResponse the exposure control response.
+type ExposureControlResponse struct {
+ autorest.Response `json:"-"`
+ // FeatureName - READ-ONLY; The feature name.
+ FeatureName *string `json:"featureName,omitempty"`
+ // Value - READ-ONLY; The feature value.
+ Value *string `json:"value,omitempty"`
+}
+
+// Expression azure Data Factory expression definition.
+type Expression struct {
+ // Type - Expression type.
+ Type *string `json:"type,omitempty"`
+ // Value - Expression value.
+ Value *string `json:"value,omitempty"`
+}
+
+// Factory factory resource type.
+type Factory struct {
+ autorest.Response `json:"-"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Identity - Managed service identity of the factory.
+ Identity *FactoryIdentity `json:"identity,omitempty"`
+ // FactoryProperties - Properties of the factory.
+ *FactoryProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; The resource identifier.
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; The resource name.
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; The resource type.
+ Type *string `json:"type,omitempty"`
+ // Location - The resource location.
+ Location *string `json:"location,omitempty"`
+ // Tags - The resource tags.
+ Tags map[string]*string `json:"tags"`
+ // ETag - READ-ONLY; Etag identifies change in the resource.
+ ETag *string `json:"eTag,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for Factory.
+func (f Factory) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if f.Identity != nil {
+ objectMap["identity"] = f.Identity
+ }
+ if f.FactoryProperties != nil {
+ objectMap["properties"] = f.FactoryProperties
+ }
+ if f.Location != nil {
+ objectMap["location"] = f.Location
+ }
+ if f.Tags != nil {
+ objectMap["tags"] = f.Tags
+ }
+ for k, v := range f.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for Factory struct.
+func (f *Factory) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- gtd.Parameters = parameters
+ if f.AdditionalProperties == nil {
+ f.AdditionalProperties = make(map[string]interface{})
+ }
+ f.AdditionalProperties[k] = additionalProperties
}
- case "annotations":
+ case "identity":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var identity FactoryIdentity
+ err = json.Unmarshal(*v, &identity)
if err != nil {
return err
}
- gtd.Annotations = &annotations
+ f.Identity = &identity
}
- case "folder":
+ case "properties":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var factoryProperties FactoryProperties
+ err = json.Unmarshal(*v, &factoryProperties)
if err != nil {
return err
}
- gtd.Folder = &folder
+ f.FactoryProperties = &factoryProperties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ f.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ f.Name = &name
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar string
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- gtd.Type = typeVar
+ f.Type = &typeVar
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ f.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ f.Tags = tags
+ }
+ case "eTag":
+ if v != nil {
+ var eTag string
+ err = json.Unmarshal(*v, &eTag)
+ if err != nil {
+ return err
+ }
+ f.ETag = &eTag
}
}
}
@@ -68060,1115 +70809,1038 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// HBaseLinkedService hBase server linked service.
-type HBaseLinkedService struct {
- // HBaseLinkedServiceTypeProperties - HBase server linked service properties.
- *HBaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+// FactoryGitHubConfiguration factory's GitHub repo information.
+type FactoryGitHubConfiguration struct {
+ // HostName - GitHub Enterprise host name. For example: https://github.mydomain.com
+ HostName *string `json:"hostName,omitempty"`
+ // AccountName - Account name.
+ AccountName *string `json:"accountName,omitempty"`
+ // RepositoryName - Repository name.
+ RepositoryName *string `json:"repositoryName,omitempty"`
+ // CollaborationBranch - Collaboration branch.
+ CollaborationBranch *string `json:"collaborationBranch,omitempty"`
+ // RootFolder - Root folder.
+ RootFolder *string `json:"rootFolder,omitempty"`
+ // LastCommitID - Last commit id.
+ LastCommitID *string `json:"lastCommitId,omitempty"`
+ // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration'
+ Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HBaseLinkedService.
-func (hbls HBaseLinkedService) MarshalJSON() ([]byte, error) {
- hbls.Type = TypeHBase
+// MarshalJSON is the custom marshaler for FactoryGitHubConfiguration.
+func (fghc FactoryGitHubConfiguration) MarshalJSON() ([]byte, error) {
+ fghc.Type = TypeFactoryGitHubConfiguration
objectMap := make(map[string]interface{})
- if hbls.HBaseLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = hbls.HBaseLinkedServiceTypeProperties
+ if fghc.HostName != nil {
+ objectMap["hostName"] = fghc.HostName
}
- if hbls.ConnectVia != nil {
- objectMap["connectVia"] = hbls.ConnectVia
+ if fghc.AccountName != nil {
+ objectMap["accountName"] = fghc.AccountName
}
- if hbls.Description != nil {
- objectMap["description"] = hbls.Description
+ if fghc.RepositoryName != nil {
+ objectMap["repositoryName"] = fghc.RepositoryName
}
- if hbls.Parameters != nil {
- objectMap["parameters"] = hbls.Parameters
+ if fghc.CollaborationBranch != nil {
+ objectMap["collaborationBranch"] = fghc.CollaborationBranch
}
- if hbls.Annotations != nil {
- objectMap["annotations"] = hbls.Annotations
+ if fghc.RootFolder != nil {
+ objectMap["rootFolder"] = fghc.RootFolder
}
- if hbls.Type != "" {
- objectMap["type"] = hbls.Type
+ if fghc.LastCommitID != nil {
+ objectMap["lastCommitId"] = fghc.LastCommitID
}
- for k, v := range hbls.AdditionalProperties {
- objectMap[k] = v
+ if fghc.Type != "" {
+ objectMap["type"] = fghc.Type
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration.
+func (fghc FactoryGitHubConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return nil, false
+// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration.
+func (fghc FactoryGitHubConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) {
+ return &fghc, true
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration.
+func (fghc FactoryGitHubConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
- return nil, false
+// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration.
+func (fghc FactoryGitHubConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) {
+ return &fghc, true
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
- return nil, false
+// FactoryIdentity identity properties of the factory resource.
+type FactoryIdentity struct {
+ // Type - The identity type. Currently the only supported type is 'SystemAssigned'.
+ Type *string `json:"type,omitempty"`
+ // PrincipalID - READ-ONLY; The principal id of the identity.
+ PrincipalID *uuid.UUID `json:"principalId,omitempty"`
+ // TenantID - READ-ONLY; The client tenant id of the identity.
+ TenantID *uuid.UUID `json:"tenantId,omitempty"`
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
- return nil, false
+// FactoryListResponse a list of factory resources.
+type FactoryListResponse struct {
+ autorest.Response `json:"-"`
+ // Value - List of factories.
+ Value *[]Factory `json:"value,omitempty"`
+ // NextLink - The link to the next page of results, if any remaining results exist.
+ NextLink *string `json:"nextLink,omitempty"`
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
- return nil, false
+// FactoryListResponseIterator provides access to a complete listing of Factory values.
+type FactoryListResponseIterator struct {
+ i int
+ page FactoryListResponsePage
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
- return nil, false
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *FactoryListResponseIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponseIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
- return nil, false
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *FactoryListResponseIterator) Next() error {
+ return iter.NextWithContext(context.Background())
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
- return nil, false
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter FactoryListResponseIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
}
-// AsZohoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
- return nil, false
+// Response returns the raw server response from the last page request.
+func (iter FactoryListResponseIterator) Response() FactoryListResponse {
+ return iter.page.Response()
}
-// AsXeroLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
- return nil, false
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter FactoryListResponseIterator) Value() Factory {
+ if !iter.page.NotDone() {
+ return Factory{}
+ }
+ return iter.page.Values()[iter.i]
}
-// AsSquareLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
- return nil, false
+// Creates a new instance of the FactoryListResponseIterator type.
+func NewFactoryListResponseIterator(page FactoryListResponsePage) FactoryListResponseIterator {
+ return FactoryListResponseIterator{page: page}
}
-// AsSparkLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
- return nil, false
+// IsEmpty returns true if the ListResult contains no values.
+func (flr FactoryListResponse) IsEmpty() bool {
+ return flr.Value == nil || len(*flr.Value) == 0
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
- return nil, false
+// 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 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(flr.NextLink)))
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
- return nil, false
+// FactoryListResponsePage contains a page of Factory values.
+type FactoryListResponsePage struct {
+ fn func(context.Context, FactoryListResponse) (FactoryListResponse, error)
+ flr FactoryListResponse
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
- return nil, false
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *FactoryListResponsePage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponsePage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.flr)
+ if err != nil {
+ return err
+ }
+ page.flr = next
+ return nil
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
- return nil, false
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *FactoryListResponsePage) Next() error {
+ return page.NextWithContext(context.Background())
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
- return nil, false
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page FactoryListResponsePage) NotDone() bool {
+ return !page.flr.IsEmpty()
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
- return nil, false
+// Response returns the raw server response from the last page request.
+func (page FactoryListResponsePage) Response() FactoryListResponse {
+ return page.flr
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
- return nil, false
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page FactoryListResponsePage) Values() []Factory {
+ if page.flr.IsEmpty() {
+ return nil
+ }
+ return *page.flr.Value
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
- return nil, false
+// Creates a new instance of the FactoryListResponsePage type.
+func NewFactoryListResponsePage(getNextPage func(context.Context, FactoryListResponse) (FactoryListResponse, error)) FactoryListResponsePage {
+ return FactoryListResponsePage{fn: getNextPage}
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
- return nil, false
+// FactoryProperties factory resource properties.
+type FactoryProperties struct {
+ // ProvisioningState - READ-ONLY; Factory provisioning state, example Succeeded.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ // CreateTime - READ-ONLY; Time the factory was created in ISO8601 format.
+ CreateTime *date.Time `json:"createTime,omitempty"`
+ // Version - READ-ONLY; Version of the factory.
+ Version *string `json:"version,omitempty"`
+ // RepoConfiguration - Git repo information of the factory.
+ RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"`
}
-// AsJiraLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for FactoryProperties struct.
+func (fp *FactoryProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "provisioningState":
+ if v != nil {
+ var provisioningState string
+ err = json.Unmarshal(*v, &provisioningState)
+ if err != nil {
+ return err
+ }
+ fp.ProvisioningState = &provisioningState
+ }
+ case "createTime":
+ if v != nil {
+ var createTime date.Time
+ err = json.Unmarshal(*v, &createTime)
+ if err != nil {
+ return err
+ }
+ fp.CreateTime = &createTime
+ }
+ case "version":
+ if v != nil {
+ var version string
+ err = json.Unmarshal(*v, &version)
+ if err != nil {
+ return err
+ }
+ fp.Version = &version
+ }
+ case "repoConfiguration":
+ if v != nil {
+ repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v)
+ if err != nil {
+ return err
+ }
+ fp.RepoConfiguration = repoConfiguration
+ }
+ }
+ }
-// AsImpalaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
- return nil, false
+ return nil
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
- return nil, false
+// BasicFactoryRepoConfiguration factory's git repo information.
+type BasicFactoryRepoConfiguration interface {
+ AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool)
+ AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool)
+ AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool)
}
-// AsHiveLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
- return nil, false
+// FactoryRepoConfiguration factory's git repo information.
+type FactoryRepoConfiguration struct {
+ // AccountName - Account name.
+ AccountName *string `json:"accountName,omitempty"`
+ // RepositoryName - Repository name.
+ RepositoryName *string `json:"repositoryName,omitempty"`
+ // CollaborationBranch - Collaboration branch.
+ CollaborationBranch *string `json:"collaborationBranch,omitempty"`
+ // RootFolder - Root folder.
+ RootFolder *string `json:"rootFolder,omitempty"`
+ // LastCommitID - Last commit id.
+ LastCommitID *string `json:"lastCommitId,omitempty"`
+ // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration'
+ Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"`
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
- return &hbls, true
-}
+func unmarshalBasicFactoryRepoConfiguration(body []byte) (BasicFactoryRepoConfiguration, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
-// AsGreenplumLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
- return nil, false
+ switch m["type"] {
+ case string(TypeFactoryVSTSConfiguration):
+ var fvc FactoryVSTSConfiguration
+ err := json.Unmarshal(body, &fvc)
+ return fvc, err
+ case string(TypeFactoryGitHubConfiguration):
+ var fghc FactoryGitHubConfiguration
+ err := json.Unmarshal(body, &fghc)
+ return fghc, err
+ default:
+ var frc FactoryRepoConfiguration
+ err := json.Unmarshal(body, &frc)
+ return frc, err
+ }
}
+func unmarshalBasicFactoryRepoConfigurationArray(body []byte) ([]BasicFactoryRepoConfiguration, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
- return nil, false
-}
+ frcArray := make([]BasicFactoryRepoConfiguration, len(rawMessages))
-// AsEloquaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
- return nil, false
+ for index, rawMessage := range rawMessages {
+ frc, err := unmarshalBasicFactoryRepoConfiguration(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ frcArray[index] = frc
+ }
+ return frcArray, nil
}
-// AsDrillLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
- return nil, false
-}
-
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
- return nil, false
-}
-
-// AsConcurLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
- return nil, false
-}
-
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
- return nil, false
-}
-
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
- return nil, false
-}
-
-// AsSapHanaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
- return nil, false
-}
-
-// AsSapBWLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
- return nil, false
-}
-
-// AsSftpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
- return nil, false
-}
-
-// AsFtpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
- return nil, false
-}
-
-// AsHTTPLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for FactoryRepoConfiguration.
+func (frc FactoryRepoConfiguration) MarshalJSON() ([]byte, error) {
+ frc.Type = TypeFactoryRepoConfiguration
+ objectMap := make(map[string]interface{})
+ if frc.AccountName != nil {
+ objectMap["accountName"] = frc.AccountName
+ }
+ if frc.RepositoryName != nil {
+ objectMap["repositoryName"] = frc.RepositoryName
+ }
+ if frc.CollaborationBranch != nil {
+ objectMap["collaborationBranch"] = frc.CollaborationBranch
+ }
+ if frc.RootFolder != nil {
+ objectMap["rootFolder"] = frc.RootFolder
+ }
+ if frc.LastCommitID != nil {
+ objectMap["lastCommitId"] = frc.LastCommitID
+ }
+ if frc.Type != "" {
+ objectMap["type"] = frc.Type
+ }
+ return json.Marshal(objectMap)
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration.
+func (frc FactoryRepoConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration.
+func (frc FactoryRepoConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
- return nil, false
+// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration.
+func (frc FactoryRepoConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) {
+ return &frc, true
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
- return nil, false
+// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration.
+func (frc FactoryRepoConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) {
+ return &frc, true
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
- return nil, false
+// FactoryRepoUpdate factory's git repo information.
+type FactoryRepoUpdate struct {
+ // FactoryResourceID - The factory resource id.
+ FactoryResourceID *string `json:"factoryResourceId,omitempty"`
+ // RepoConfiguration - Git repo information of the factory.
+ RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"`
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for FactoryRepoUpdate struct.
+func (fru *FactoryRepoUpdate) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "factoryResourceId":
+ if v != nil {
+ var factoryResourceID string
+ err = json.Unmarshal(*v, &factoryResourceID)
+ if err != nil {
+ return err
+ }
+ fru.FactoryResourceID = &factoryResourceID
+ }
+ case "repoConfiguration":
+ if v != nil {
+ repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v)
+ if err != nil {
+ return err
+ }
+ fru.RepoConfiguration = repoConfiguration
+ }
+ }
+ }
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
- return nil, false
+ return nil
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
- return nil, false
+// FactoryUpdateParameters parameters for updating a factory resource.
+type FactoryUpdateParameters struct {
+ // Tags - The resource tags.
+ Tags map[string]*string `json:"tags"`
+ // Identity - Managed service identity of the factory.
+ Identity *FactoryIdentity `json:"identity,omitempty"`
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for FactoryUpdateParameters.
+func (fup FactoryUpdateParameters) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if fup.Tags != nil {
+ objectMap["tags"] = fup.Tags
+ }
+ if fup.Identity != nil {
+ objectMap["identity"] = fup.Identity
+ }
+ return json.Marshal(objectMap)
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
- return nil, false
+// FactoryVSTSConfiguration factory's VSTS repo information.
+type FactoryVSTSConfiguration struct {
+ // ProjectName - VSTS project name.
+ ProjectName *string `json:"projectName,omitempty"`
+ // TenantID - VSTS tenant id.
+ TenantID *string `json:"tenantId,omitempty"`
+ // AccountName - Account name.
+ AccountName *string `json:"accountName,omitempty"`
+ // RepositoryName - Repository name.
+ RepositoryName *string `json:"repositoryName,omitempty"`
+ // CollaborationBranch - Collaboration branch.
+ CollaborationBranch *string `json:"collaborationBranch,omitempty"`
+ // RootFolder - Root folder.
+ RootFolder *string `json:"rootFolder,omitempty"`
+ // LastCommitID - Last commit id.
+ LastCommitID *string `json:"lastCommitId,omitempty"`
+ // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration'
+ Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"`
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for FactoryVSTSConfiguration.
+func (fvc FactoryVSTSConfiguration) MarshalJSON() ([]byte, error) {
+ fvc.Type = TypeFactoryVSTSConfiguration
+ objectMap := make(map[string]interface{})
+ if fvc.ProjectName != nil {
+ objectMap["projectName"] = fvc.ProjectName
+ }
+ if fvc.TenantID != nil {
+ objectMap["tenantId"] = fvc.TenantID
+ }
+ if fvc.AccountName != nil {
+ objectMap["accountName"] = fvc.AccountName
+ }
+ if fvc.RepositoryName != nil {
+ objectMap["repositoryName"] = fvc.RepositoryName
+ }
+ if fvc.CollaborationBranch != nil {
+ objectMap["collaborationBranch"] = fvc.CollaborationBranch
+ }
+ if fvc.RootFolder != nil {
+ objectMap["rootFolder"] = fvc.RootFolder
+ }
+ if fvc.LastCommitID != nil {
+ objectMap["lastCommitId"] = fvc.LastCommitID
+ }
+ if fvc.Type != "" {
+ objectMap["type"] = fvc.Type
+ }
+ return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
- return nil, false
+// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration.
+func (fvc FactoryVSTSConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) {
+ return &fvc, true
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration.
+func (fvc FactoryVSTSConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration.
+func (fvc FactoryVSTSConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
- return nil, false
+// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration.
+func (fvc FactoryVSTSConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) {
+ return &fvc, true
}
-// AsWebLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
- return nil, false
+// FileServerLinkedService file system linked service.
+type FileServerLinkedService struct {
+ // FileServerLinkedServiceTypeProperties - File system linked service properties.
+ *FileServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// AsODataLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for FileServerLinkedService.
+func (fsls FileServerLinkedService) MarshalJSON() ([]byte, error) {
+ fsls.Type = TypeFileServer
+ objectMap := make(map[string]interface{})
+ if fsls.FileServerLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = fsls.FileServerLinkedServiceTypeProperties
+ }
+ if fsls.ConnectVia != nil {
+ objectMap["connectVia"] = fsls.ConnectVia
+ }
+ if fsls.Description != nil {
+ objectMap["description"] = fsls.Description
+ }
+ if fsls.Parameters != nil {
+ objectMap["parameters"] = fsls.Parameters
+ }
+ if fsls.Annotations != nil {
+ objectMap["annotations"] = fsls.Annotations
+ }
+ if fsls.Type != "" {
+ objectMap["type"] = fsls.Type
+ }
+ for k, v := range fsls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
-func (hbls HBaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &hbls, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for HBaseLinkedService struct.
-func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var hBaseLinkedServiceTypeProperties HBaseLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &hBaseLinkedServiceTypeProperties)
- if err != nil {
- return err
- }
- hbls.HBaseLinkedServiceTypeProperties = &hBaseLinkedServiceTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if hbls.AdditionalProperties == nil {
- hbls.AdditionalProperties = make(map[string]interface{})
- }
- hbls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
- }
- hbls.ConnectVia = &connectVia
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- hbls.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- hbls.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- hbls.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- hbls.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// HBaseLinkedServiceTypeProperties hBase server linked service properties.
-type HBaseLinkedServiceTypeProperties struct {
- // Host - The IP address or host name of the HBase server. (i.e. 192.168.222.160)
- Host interface{} `json:"host,omitempty"`
- // Port - The TCP port that the HBase instance uses to listen for client connections. The default value is 9090.
- Port interface{} `json:"port,omitempty"`
- // HTTPPath - The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version)
- HTTPPath interface{} `json:"httpPath,omitempty"`
- // AuthenticationType - The authentication mechanism to use to connect to the HBase server. Possible values include: 'HBaseAuthenticationTypeAnonymous', 'HBaseAuthenticationTypeBasic'
- AuthenticationType HBaseAuthenticationType `json:"authenticationType,omitempty"`
- // Username - The user name used to connect to the HBase instance.
- Username interface{} `json:"username,omitempty"`
- // Password - The password corresponding to the user name.
- Password BasicSecretBase `json:"password,omitempty"`
- // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
- EnableSsl interface{} `json:"enableSsl,omitempty"`
- // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
- TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
- // AllowHostNameCNMismatch - Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
- AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
- // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
- AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for HBaseLinkedServiceTypeProperties struct.
-func (hblstp *HBaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "host":
- if v != nil {
- var host interface{}
- err = json.Unmarshal(*v, &host)
- if err != nil {
- return err
- }
- hblstp.Host = host
- }
- case "port":
- if v != nil {
- var port interface{}
- err = json.Unmarshal(*v, &port)
- if err != nil {
- return err
- }
- hblstp.Port = port
- }
- case "httpPath":
- if v != nil {
- var HTTPPath interface{}
- err = json.Unmarshal(*v, &HTTPPath)
- if err != nil {
- return err
- }
- hblstp.HTTPPath = HTTPPath
- }
- case "authenticationType":
- if v != nil {
- var authenticationType HBaseAuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- hblstp.AuthenticationType = authenticationType
- }
- case "username":
- if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
- if err != nil {
- return err
- }
- hblstp.Username = username
- }
- case "password":
- if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- hblstp.Password = password
- }
- case "enableSsl":
- if v != nil {
- var enableSsl interface{}
- err = json.Unmarshal(*v, &enableSsl)
- if err != nil {
- return err
- }
- hblstp.EnableSsl = enableSsl
- }
- case "trustedCertPath":
- if v != nil {
- var trustedCertPath interface{}
- err = json.Unmarshal(*v, &trustedCertPath)
- if err != nil {
- return err
- }
- hblstp.TrustedCertPath = trustedCertPath
- }
- case "allowHostNameCNMismatch":
- if v != nil {
- var allowHostNameCNMismatch interface{}
- err = json.Unmarshal(*v, &allowHostNameCNMismatch)
- if err != nil {
- return err
- }
- hblstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
- }
- case "allowSelfSignedServerCert":
- if v != nil {
- var allowSelfSignedServerCert interface{}
- err = json.Unmarshal(*v, &allowSelfSignedServerCert)
- if err != nil {
- return err
- }
- hblstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
- }
- case "encryptedCredential":
- if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
- if err != nil {
- return err
- }
- hblstp.EncryptedCredential = encryptedCredential
- }
- }
- }
-
- return nil
-}
-
-// HBaseObjectDataset hBase server dataset.
-type HBaseObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) MarshalJSON() ([]byte, error) {
- hbod.Type = TypeHBaseObject
- objectMap := make(map[string]interface{})
- if hbod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = hbod.GenericDatasetTypeProperties
- }
- if hbod.Description != nil {
- objectMap["description"] = hbod.Description
- }
- if hbod.Structure != nil {
- objectMap["structure"] = hbod.Structure
- }
- if hbod.Schema != nil {
- objectMap["schema"] = hbod.Schema
- }
- if hbod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = hbod.LinkedServiceName
- }
- if hbod.Parameters != nil {
- objectMap["parameters"] = hbod.Parameters
- }
- if hbod.Annotations != nil {
- objectMap["annotations"] = hbod.Annotations
- }
- if hbod.Folder != nil {
- objectMap["folder"] = hbod.Folder
- }
- if hbod.Type != "" {
- objectMap["type"] = hbod.Type
- }
- for k, v := range hbod.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
- return &hbod, true
-}
-
-// AsGreenplumTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
- return nil, false
+// AsFileServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return &fsls, true
}
-// AsOffice365Dataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsDataset() (*Dataset, bool) {
+// AsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for HBaseObjectDataset.
-func (hbod HBaseObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &hbod, true
+// AsBasicLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
+func (fsls FileServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &fsls, true
}
-// UnmarshalJSON is the custom unmarshaler for HBaseObjectDataset struct.
-func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for FileServerLinkedService struct.
+func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -69178,12 +71850,12 @@ func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var fileServerLinkedServiceTypeProperties FileServerLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &fileServerLinkedServiceTypeProperties)
if err != nil {
return err
}
- hbod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ fsls.FileServerLinkedServiceTypeProperties = &fileServerLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -69192,46 +71864,28 @@ func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hbod.AdditionalProperties == nil {
- hbod.AdditionalProperties = make(map[string]interface{})
- }
- hbod.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- hbod.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
+ if fsls.AdditionalProperties == nil {
+ fsls.AdditionalProperties = make(map[string]interface{})
}
- hbod.Structure = structure
+ fsls.AdditionalProperties[k] = additionalProperties
}
- case "schema":
+ case "connectVia":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- hbod.Schema = schema
+ fsls.ConnectVia = &connectVia
}
- case "linkedServiceName":
+ case "description":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- hbod.LinkedServiceName = &linkedServiceName
+ fsls.Description = &description
}
case "parameters":
if v != nil {
@@ -69240,7 +71894,7 @@ func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hbod.Parameters = parameters
+ fsls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -69249,25 +71903,16 @@ func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hbod.Annotations = &annotations
- }
- case "folder":
- if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
- if err != nil {
- return err
- }
- hbod.Folder = &folder
+ fsls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- hbod.Type = typeVar
+ fsls.Type = typeVar
}
}
}
@@ -69275,394 +71920,853 @@ func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// HBaseSource a copy activity HBase server source.
-type HBaseSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+// FileServerLinkedServiceTypeProperties file system linked service properties.
+type FileServerLinkedServiceTypeProperties struct {
+ // Host - Host name of the server. Type: string (or Expression with resultType string).
+ Host interface{} `json:"host,omitempty"`
+ // UserID - User ID to logon the server. Type: string (or Expression with resultType string).
+ UserID interface{} `json:"userId,omitempty"`
+ // Password - Password to logon the server.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// MarshalJSON is the custom marshaler for HBaseSource.
-func (hbs HBaseSource) MarshalJSON() ([]byte, error) {
- hbs.Type = TypeHBaseSource
+// UnmarshalJSON is the custom unmarshaler for FileServerLinkedServiceTypeProperties struct.
+func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "host":
+ if v != nil {
+ var host interface{}
+ err = json.Unmarshal(*v, &host)
+ if err != nil {
+ return err
+ }
+ fslstp.Host = host
+ }
+ case "userId":
+ if v != nil {
+ var userID interface{}
+ err = json.Unmarshal(*v, &userID)
+ if err != nil {
+ return err
+ }
+ fslstp.UserID = userID
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ fslstp.Password = password
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ fslstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// FileServerLocation the location of file server dataset.
+type FileServerLocation struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - Type of dataset storage location.
+ Type *string `json:"type,omitempty"`
+ // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string)
+ FolderPath interface{} `json:"folderPath,omitempty"`
+ // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string).
+ FileName interface{} `json:"fileName,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for FileServerLocation.
+func (fsl FileServerLocation) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if hbs.Query != nil {
- objectMap["query"] = hbs.Query
+ if fsl.Type != nil {
+ objectMap["type"] = fsl.Type
}
- if hbs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = hbs.SourceRetryCount
+ if fsl.FolderPath != nil {
+ objectMap["folderPath"] = fsl.FolderPath
}
- if hbs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = hbs.SourceRetryWait
+ if fsl.FileName != nil {
+ objectMap["fileName"] = fsl.FileName
}
- if hbs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = hbs.MaxConcurrentConnections
+ for k, v := range fsl.AdditionalProperties {
+ objectMap[k] = v
}
- if hbs.Type != "" {
- objectMap["type"] = hbs.Type
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for FileServerLocation struct.
+func (fsl *FileServerLocation) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
}
- for k, v := range hbs.AdditionalProperties {
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if fsl.AdditionalProperties == nil {
+ fsl.AdditionalProperties = make(map[string]interface{})
+ }
+ fsl.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ fsl.Type = &typeVar
+ }
+ case "folderPath":
+ if v != nil {
+ var folderPath interface{}
+ err = json.Unmarshal(*v, &folderPath)
+ if err != nil {
+ return err
+ }
+ fsl.FolderPath = folderPath
+ }
+ case "fileName":
+ if v != nil {
+ var fileName interface{}
+ err = json.Unmarshal(*v, &fileName)
+ if err != nil {
+ return err
+ }
+ fsl.FileName = fileName
+ }
+ }
+ }
+
+ return nil
+}
+
+// FileServerReadSettings file server read settings.
+type FileServerReadSettings struct {
+ // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
+ Recursive interface{} `json:"recursive,omitempty"`
+ // WildcardFolderPath - FileServer wildcardFolderPath. Type: string (or Expression with resultType string).
+ WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"`
+ // WildcardFileName - FileServer wildcardFileName. Type: string (or Expression with resultType string).
+ WildcardFileName interface{} `json:"wildcardFileName,omitempty"`
+ // EnablePartitionDiscovery - Indicates whether to enable partition discovery.
+ EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"`
+ // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string).
+ ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"`
+ // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string).
+ ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - The read setting type.
+ Type *string `json:"type,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for FileServerReadSettings.
+func (fsrs FileServerReadSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if fsrs.Recursive != nil {
+ objectMap["recursive"] = fsrs.Recursive
+ }
+ if fsrs.WildcardFolderPath != nil {
+ objectMap["wildcardFolderPath"] = fsrs.WildcardFolderPath
+ }
+ if fsrs.WildcardFileName != nil {
+ objectMap["wildcardFileName"] = fsrs.WildcardFileName
+ }
+ if fsrs.EnablePartitionDiscovery != nil {
+ objectMap["enablePartitionDiscovery"] = fsrs.EnablePartitionDiscovery
+ }
+ if fsrs.ModifiedDatetimeStart != nil {
+ objectMap["modifiedDatetimeStart"] = fsrs.ModifiedDatetimeStart
+ }
+ if fsrs.ModifiedDatetimeEnd != nil {
+ objectMap["modifiedDatetimeEnd"] = fsrs.ModifiedDatetimeEnd
+ }
+ if fsrs.Type != nil {
+ objectMap["type"] = fsrs.Type
+ }
+ if fsrs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = fsrs.MaxConcurrentConnections
+ }
+ for k, v := range fsrs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// UnmarshalJSON is the custom unmarshaler for FileServerReadSettings struct.
+func (fsrs *FileServerReadSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "recursive":
+ if v != nil {
+ var recursive interface{}
+ err = json.Unmarshal(*v, &recursive)
+ if err != nil {
+ return err
+ }
+ fsrs.Recursive = recursive
+ }
+ case "wildcardFolderPath":
+ if v != nil {
+ var wildcardFolderPath interface{}
+ err = json.Unmarshal(*v, &wildcardFolderPath)
+ if err != nil {
+ return err
+ }
+ fsrs.WildcardFolderPath = wildcardFolderPath
+ }
+ case "wildcardFileName":
+ if v != nil {
+ var wildcardFileName interface{}
+ err = json.Unmarshal(*v, &wildcardFileName)
+ if err != nil {
+ return err
+ }
+ fsrs.WildcardFileName = wildcardFileName
+ }
+ case "enablePartitionDiscovery":
+ if v != nil {
+ var enablePartitionDiscovery bool
+ err = json.Unmarshal(*v, &enablePartitionDiscovery)
+ if err != nil {
+ return err
+ }
+ fsrs.EnablePartitionDiscovery = &enablePartitionDiscovery
+ }
+ case "modifiedDatetimeStart":
+ if v != nil {
+ var modifiedDatetimeStart interface{}
+ err = json.Unmarshal(*v, &modifiedDatetimeStart)
+ if err != nil {
+ return err
+ }
+ fsrs.ModifiedDatetimeStart = modifiedDatetimeStart
+ }
+ case "modifiedDatetimeEnd":
+ if v != nil {
+ var modifiedDatetimeEnd interface{}
+ err = json.Unmarshal(*v, &modifiedDatetimeEnd)
+ if err != nil {
+ return err
+ }
+ fsrs.ModifiedDatetimeEnd = modifiedDatetimeEnd
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if fsrs.AdditionalProperties == nil {
+ fsrs.AdditionalProperties = make(map[string]interface{})
+ }
+ fsrs.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ fsrs.Type = &typeVar
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ fsrs.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ }
+ }
+
+ return nil
+}
+
+// FileServerWriteSettings file server write settings.
+type FileServerWriteSettings struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - The write setting type.
+ Type *string `json:"type,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // CopyBehavior - The type of copy behavior for copy sink.
+ CopyBehavior interface{} `json:"copyBehavior,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for FileServerWriteSettings.
+func (fsws FileServerWriteSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if fsws.Type != nil {
+ objectMap["type"] = fsws.Type
+ }
+ if fsws.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = fsws.MaxConcurrentConnections
+ }
+ if fsws.CopyBehavior != nil {
+ objectMap["copyBehavior"] = fsws.CopyBehavior
+ }
+ for k, v := range fsws.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for FileServerWriteSettings struct.
+func (fsws *FileServerWriteSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if fsws.AdditionalProperties == nil {
+ fsws.AdditionalProperties = make(map[string]interface{})
+ }
+ fsws.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ fsws.Type = &typeVar
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ fsws.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "copyBehavior":
+ if v != nil {
+ var copyBehavior interface{}
+ err = json.Unmarshal(*v, ©Behavior)
+ if err != nil {
+ return err
+ }
+ fsws.CopyBehavior = copyBehavior
+ }
+ }
+ }
+
+ return nil
+}
+
+// FileShareDataset an on-premises file system dataset.
+type FileShareDataset struct {
+ // FileShareDatasetTypeProperties - On-premises file system dataset properties.
+ *FileShareDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for FileShareDataset.
+func (fsd FileShareDataset) MarshalJSON() ([]byte, error) {
+ fsd.Type = TypeFileShare
+ objectMap := make(map[string]interface{})
+ if fsd.FileShareDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = fsd.FileShareDatasetTypeProperties
+ }
+ if fsd.Description != nil {
+ objectMap["description"] = fsd.Description
+ }
+ if fsd.Structure != nil {
+ objectMap["structure"] = fsd.Structure
+ }
+ if fsd.Schema != nil {
+ objectMap["schema"] = fsd.Schema
+ }
+ if fsd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = fsd.LinkedServiceName
+ }
+ if fsd.Parameters != nil {
+ objectMap["parameters"] = fsd.Parameters
+ }
+ if fsd.Annotations != nil {
+ objectMap["annotations"] = fsd.Annotations
+ }
+ if fsd.Folder != nil {
+ objectMap["folder"] = fsd.Folder
+ }
+ if fsd.Type != "" {
+ objectMap["type"] = fsd.Type
+ }
+ for k, v := range fsd.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsHBaseSource() (*HBaseSource, bool) {
- return &hbs, true
+// AsHBaseObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsOffice365Source() (*Office365Source, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsWebSource() (*WebSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsOracleSource() (*OracleSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSQLSource() (*SQLSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsRestSource() (*RestSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return &fsd, true
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsBlobSource() (*BlobSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsParquetSource() (*ParquetSource, bool) {
+// AsCustomDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsCopySource() (*CopySource, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for HBaseSource.
-func (hbs HBaseSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &hbs, true
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HBaseSource struct.
-func (hbs *HBaseSource) UnmarshalJSON(body []byte) error {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for FileShareDataset.
+func (fsd FileShareDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &fsd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for FileShareDataset struct.
+func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -69670,14 +72774,14 @@ func (hbs *HBaseSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var fileShareDatasetTypeProperties FileShareDatasetTypeProperties
+ err = json.Unmarshal(*v, &fileShareDatasetTypeProperties)
if err != nil {
return err
}
- hbs.Query = query
+ fsd.FileShareDatasetTypeProperties = &fileShareDatasetTypeProperties
}
default:
if v != nil {
@@ -69686,46 +72790,82 @@ func (hbs *HBaseSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hbs.AdditionalProperties == nil {
- hbs.AdditionalProperties = make(map[string]interface{})
+ if fsd.AdditionalProperties == nil {
+ fsd.AdditionalProperties = make(map[string]interface{})
}
- hbs.AdditionalProperties[k] = additionalProperties
+ fsd.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "description":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- hbs.SourceRetryCount = sourceRetryCount
+ fsd.Description = &description
}
- case "sourceRetryWait":
+ case "structure":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- hbs.SourceRetryWait = sourceRetryWait
+ fsd.Structure = structure
}
- case "maxConcurrentConnections":
+ case "schema":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- hbs.MaxConcurrentConnections = maxConcurrentConnections
+ fsd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ fsd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ fsd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ fsd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ fsd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- hbs.Type = typeVar
+ fsd.Type = typeVar
}
}
}
@@ -69733,782 +72873,849 @@ func (hbs *HBaseSource) UnmarshalJSON(body []byte) error {
return nil
}
-// HdfsLinkedService hadoop Distributed File System (HDFS) linked service.
-type HdfsLinkedService struct {
- // HdfsLinkedServiceTypeProperties - HDFS linked service properties.
- *HdfsLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// FileShareDatasetTypeProperties on-premises file system dataset properties.
+type FileShareDatasetTypeProperties struct {
+ // FolderPath - The path of the on-premises file system. Type: string (or Expression with resultType string).
+ FolderPath interface{} `json:"folderPath,omitempty"`
+ // FileName - The name of the on-premises file system. Type: string (or Expression with resultType string).
+ FileName interface{} `json:"fileName,omitempty"`
+ // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string).
+ ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"`
+ // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string).
+ ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"`
+ // Format - The format of the files.
+ Format BasicDatasetStorageFormat `json:"format,omitempty"`
+ // FileFilter - Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string).
+ FileFilter interface{} `json:"fileFilter,omitempty"`
+ // Compression - The data compression method used for the file system.
+ Compression BasicDatasetCompression `json:"compression,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for FileShareDatasetTypeProperties struct.
+func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "folderPath":
+ if v != nil {
+ var folderPath interface{}
+ err = json.Unmarshal(*v, &folderPath)
+ if err != nil {
+ return err
+ }
+ fsdtp.FolderPath = folderPath
+ }
+ case "fileName":
+ if v != nil {
+ var fileName interface{}
+ err = json.Unmarshal(*v, &fileName)
+ if err != nil {
+ return err
+ }
+ fsdtp.FileName = fileName
+ }
+ case "modifiedDatetimeStart":
+ if v != nil {
+ var modifiedDatetimeStart interface{}
+ err = json.Unmarshal(*v, &modifiedDatetimeStart)
+ if err != nil {
+ return err
+ }
+ fsdtp.ModifiedDatetimeStart = modifiedDatetimeStart
+ }
+ case "modifiedDatetimeEnd":
+ if v != nil {
+ var modifiedDatetimeEnd interface{}
+ err = json.Unmarshal(*v, &modifiedDatetimeEnd)
+ if err != nil {
+ return err
+ }
+ fsdtp.ModifiedDatetimeEnd = modifiedDatetimeEnd
+ }
+ case "format":
+ if v != nil {
+ formatVar, err := unmarshalBasicDatasetStorageFormat(*v)
+ if err != nil {
+ return err
+ }
+ fsdtp.Format = formatVar
+ }
+ case "fileFilter":
+ if v != nil {
+ var fileFilter interface{}
+ err = json.Unmarshal(*v, &fileFilter)
+ if err != nil {
+ return err
+ }
+ fsdtp.FileFilter = fileFilter
+ }
+ case "compression":
+ if v != nil {
+ compression, err := unmarshalBasicDatasetCompression(*v)
+ if err != nil {
+ return err
+ }
+ fsdtp.Compression = compression
+ }
+ }
+ }
+
+ return nil
+}
+
+// FileSystemSink a copy activity file system sink.
+type FileSystemSink struct {
+ // CopyBehavior - The type of copy behavior for copy sink.
+ CopyBehavior interface{} `json:"copyBehavior,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HdfsLinkedService.
-func (hls HdfsLinkedService) MarshalJSON() ([]byte, error) {
- hls.Type = TypeHdfs
+// MarshalJSON is the custom marshaler for FileSystemSink.
+func (fss FileSystemSink) MarshalJSON() ([]byte, error) {
+ fss.Type = TypeFileSystemSink
objectMap := make(map[string]interface{})
- if hls.HdfsLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = hls.HdfsLinkedServiceTypeProperties
+ if fss.CopyBehavior != nil {
+ objectMap["copyBehavior"] = fss.CopyBehavior
}
- if hls.ConnectVia != nil {
- objectMap["connectVia"] = hls.ConnectVia
+ if fss.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = fss.WriteBatchSize
}
- if hls.Description != nil {
- objectMap["description"] = hls.Description
+ if fss.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = fss.WriteBatchTimeout
}
- if hls.Parameters != nil {
- objectMap["parameters"] = hls.Parameters
+ if fss.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = fss.SinkRetryCount
}
- if hls.Annotations != nil {
- objectMap["annotations"] = hls.Annotations
+ if fss.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = fss.SinkRetryWait
}
- if hls.Type != "" {
- objectMap["type"] = hls.Type
+ if fss.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections
}
- for k, v := range hls.AdditionalProperties {
+ if fss.Type != "" {
+ objectMap["type"] = fss.Type
+ }
+ for k, v := range fss.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsInformixSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsOdbcSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsOracleSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSQLMISink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsSQLSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsFileSystemSink() (*FileSystemSink, bool) {
+ return &fss, true
+}
+
+// AsBlobSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsBinarySink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsParquetSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsCopySink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsCopySink() (*CopySink, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsBasicCopySink is the BasicCopySink implementation for FileSystemSink.
+func (fss FileSystemSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &fss, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for FileSystemSink struct.
+func (fss *FileSystemSink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "copyBehavior":
+ if v != nil {
+ var copyBehavior interface{}
+ err = json.Unmarshal(*v, ©Behavior)
+ if err != nil {
+ return err
+ }
+ fss.CopyBehavior = copyBehavior
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if fss.AdditionalProperties == nil {
+ fss.AdditionalProperties = make(map[string]interface{})
+ }
+ fss.AdditionalProperties[k] = additionalProperties
+ }
+ case "writeBatchSize":
+ if v != nil {
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
+ if err != nil {
+ return err
+ }
+ fss.WriteBatchSize = writeBatchSize
+ }
+ case "writeBatchTimeout":
+ if v != nil {
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
+ if err != nil {
+ return err
+ }
+ fss.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ fss.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ fss.SinkRetryWait = sinkRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ fss.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySink
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ fss.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// FileSystemSource a copy activity file system source.
+type FileSystemSource struct {
+ // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
+ Recursive interface{} `json:"recursive,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for FileSystemSource.
+func (fss FileSystemSource) MarshalJSON() ([]byte, error) {
+ fss.Type = TypeFileSystemSource
+ objectMap := make(map[string]interface{})
+ if fss.Recursive != nil {
+ objectMap["recursive"] = fss.Recursive
+ }
+ if fss.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = fss.SourceRetryCount
+ }
+ if fss.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = fss.SourceRetryWait
+ }
+ if fss.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections
+ }
+ if fss.Type != "" {
+ objectMap["type"] = fss.Type
+ }
+ for k, v := range fss.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
- return &hls, true
+// AsAmazonMWSSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return &fss, true
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
-func (hls HdfsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &hls, true
+// AsSapHanaSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HdfsLinkedService struct.
-func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var hdfsLinkedServiceTypeProperties HdfsLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &hdfsLinkedServiceTypeProperties)
- if err != nil {
- return err
- }
- hls.HdfsLinkedServiceTypeProperties = &hdfsLinkedServiceTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if hls.AdditionalProperties == nil {
- hls.AdditionalProperties = make(map[string]interface{})
- }
- hls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
- }
- hls.ConnectVia = &connectVia
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- hls.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- hls.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- hls.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- hls.Type = typeVar
- }
- }
- }
+// AsSapEccSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
- return nil
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
}
-// HdfsLinkedServiceTypeProperties HDFS linked service properties.
-type HdfsLinkedServiceTypeProperties struct {
- // URL - The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string).
- URL interface{} `json:"url,omitempty"`
- // AuthenticationType - Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string).
- AuthenticationType interface{} `json:"authenticationType,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
- // UserName - User name for Windows authentication. Type: string (or Expression with resultType string).
- UserName interface{} `json:"userName,omitempty"`
- // Password - Password for Windows authentication.
- Password BasicSecretBase `json:"password,omitempty"`
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HdfsLinkedServiceTypeProperties struct.
-func (hlstp *HdfsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "url":
- if v != nil {
- var URL interface{}
- err = json.Unmarshal(*v, &URL)
- if err != nil {
- return err
- }
- hlstp.URL = URL
- }
- case "authenticationType":
- if v != nil {
- var authenticationType interface{}
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- hlstp.AuthenticationType = authenticationType
- }
- case "encryptedCredential":
- if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
- if err != nil {
- return err
- }
- hlstp.EncryptedCredential = encryptedCredential
- }
- case "userName":
- if v != nil {
- var userName interface{}
- err = json.Unmarshal(*v, &userName)
- if err != nil {
- return err
- }
- hlstp.UserName = userName
- }
- case "password":
- if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- hlstp.Password = password
- }
- }
- }
+// AsSalesforceSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
- return nil
+// AsODataSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
}
-// HdfsLocation the location of HDFS.
-type HdfsLocation struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - Type of dataset storage location.
- Type *string `json:"type,omitempty"`
- // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string)
- FolderPath interface{} `json:"folderPath,omitempty"`
- // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string).
- FileName interface{} `json:"fileName,omitempty"`
+// AsSybaseSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for HdfsLocation.
-func (hl HdfsLocation) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if hl.Type != nil {
- objectMap["type"] = hl.Type
- }
- if hl.FolderPath != nil {
- objectMap["folderPath"] = hl.FolderPath
- }
- if hl.FileName != nil {
- objectMap["fileName"] = hl.FileName
- }
- for k, v := range hl.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsPostgreSQLSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HdfsLocation struct.
-func (hl *HdfsLocation) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if hl.AdditionalProperties == nil {
- hl.AdditionalProperties = make(map[string]interface{})
- }
- hl.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- hl.Type = &typeVar
- }
- case "folderPath":
- if v != nil {
- var folderPath interface{}
- err = json.Unmarshal(*v, &folderPath)
- if err != nil {
- return err
- }
- hl.FolderPath = folderPath
- }
- case "fileName":
- if v != nil {
- var fileName interface{}
- err = json.Unmarshal(*v, &fileName)
- if err != nil {
- return err
- }
- hl.FileName = fileName
- }
- }
- }
+// AsMySQLSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
- return nil
+// AsOdbcSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
}
-// HdfsReadSetting HDFS read settings.
-type HdfsReadSetting struct {
- // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
- Recursive interface{} `json:"recursive,omitempty"`
- // WildcardFolderPath - HDFS wildcardFolderPath. Type: string (or Expression with resultType string).
- WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"`
- // WildcardFileName - HDFS wildcardFileName. Type: string (or Expression with resultType string).
- WildcardFileName interface{} `json:"wildcardFileName,omitempty"`
- // EnablePartitionDiscovery - Indicates whether to enable partition discovery.
- EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"`
- // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string).
- ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"`
- // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string).
- ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"`
- // DistcpSettings - Specifies Distcp-related settings.
- DistcpSettings *DistcpSettings `json:"distcpSettings,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - The read setting type.
- Type *string `json:"type,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+// AsDb2Source is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for HdfsReadSetting.
-func (hrs HdfsReadSetting) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if hrs.Recursive != nil {
- objectMap["recursive"] = hrs.Recursive
- }
- if hrs.WildcardFolderPath != nil {
- objectMap["wildcardFolderPath"] = hrs.WildcardFolderPath
- }
- if hrs.WildcardFileName != nil {
- objectMap["wildcardFileName"] = hrs.WildcardFileName
- }
- if hrs.EnablePartitionDiscovery != nil {
- objectMap["enablePartitionDiscovery"] = hrs.EnablePartitionDiscovery
- }
- if hrs.ModifiedDatetimeStart != nil {
- objectMap["modifiedDatetimeStart"] = hrs.ModifiedDatetimeStart
- }
- if hrs.ModifiedDatetimeEnd != nil {
- objectMap["modifiedDatetimeEnd"] = hrs.ModifiedDatetimeEnd
- }
- if hrs.DistcpSettings != nil {
- objectMap["distcpSettings"] = hrs.DistcpSettings
- }
- if hrs.Type != nil {
- objectMap["type"] = hrs.Type
- }
- if hrs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = hrs.MaxConcurrentConnections
- }
- for k, v := range hrs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsMicrosoftAccessSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for FileSystemSource.
+func (fss FileSystemSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &fss, true
}
-// UnmarshalJSON is the custom unmarshaler for HdfsReadSetting struct.
-func (hrs *HdfsReadSetting) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for FileSystemSource struct.
+func (fss *FileSystemSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -70523,91 +73730,55 @@ func (hrs *HdfsReadSetting) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hrs.Recursive = recursive
- }
- case "wildcardFolderPath":
- if v != nil {
- var wildcardFolderPath interface{}
- err = json.Unmarshal(*v, &wildcardFolderPath)
- if err != nil {
- return err
- }
- hrs.WildcardFolderPath = wildcardFolderPath
- }
- case "wildcardFileName":
- if v != nil {
- var wildcardFileName interface{}
- err = json.Unmarshal(*v, &wildcardFileName)
- if err != nil {
- return err
- }
- hrs.WildcardFileName = wildcardFileName
+ fss.Recursive = recursive
}
- case "enablePartitionDiscovery":
+ default:
if v != nil {
- var enablePartitionDiscovery bool
- err = json.Unmarshal(*v, &enablePartitionDiscovery)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- hrs.EnablePartitionDiscovery = &enablePartitionDiscovery
- }
- case "modifiedDatetimeStart":
- if v != nil {
- var modifiedDatetimeStart interface{}
- err = json.Unmarshal(*v, &modifiedDatetimeStart)
- if err != nil {
- return err
+ if fss.AdditionalProperties == nil {
+ fss.AdditionalProperties = make(map[string]interface{})
}
- hrs.ModifiedDatetimeStart = modifiedDatetimeStart
+ fss.AdditionalProperties[k] = additionalProperties
}
- case "modifiedDatetimeEnd":
+ case "sourceRetryCount":
if v != nil {
- var modifiedDatetimeEnd interface{}
- err = json.Unmarshal(*v, &modifiedDatetimeEnd)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- hrs.ModifiedDatetimeEnd = modifiedDatetimeEnd
+ fss.SourceRetryCount = sourceRetryCount
}
- case "distcpSettings":
+ case "sourceRetryWait":
if v != nil {
- var distcpSettings DistcpSettings
- err = json.Unmarshal(*v, &distcpSettings)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- hrs.DistcpSettings = &distcpSettings
+ fss.SourceRetryWait = sourceRetryWait
}
- default:
+ case "maxConcurrentConnections":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- if hrs.AdditionalProperties == nil {
- hrs.AdditionalProperties = make(map[string]interface{})
- }
- hrs.AdditionalProperties[k] = additionalProperties
+ fss.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar string
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- hrs.Type = &typeVar
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- hrs.MaxConcurrentConnections = maxConcurrentConnections
+ fss.Type = typeVar
}
}
}
@@ -70615,399 +73786,239 @@ func (hrs *HdfsReadSetting) UnmarshalJSON(body []byte) error {
return nil
}
-// HdfsSource a copy activity HDFS source.
-type HdfsSource struct {
- // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
- Recursive interface{} `json:"recursive,omitempty"`
- // DistcpSettings - Specifies Distcp-related settings.
- DistcpSettings *DistcpSettings `json:"distcpSettings,omitempty"`
+// FilterActivity filter and return results from input array based on the conditions.
+type FilterActivity struct {
+ // FilterActivityTypeProperties - Filter activity properties.
+ *FilterActivityTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HdfsSource.
-func (hs HdfsSource) MarshalJSON() ([]byte, error) {
- hs.Type = TypeHdfsSource
+// MarshalJSON is the custom marshaler for FilterActivity.
+func (fa FilterActivity) MarshalJSON() ([]byte, error) {
+ fa.Type = TypeFilter
objectMap := make(map[string]interface{})
- if hs.Recursive != nil {
- objectMap["recursive"] = hs.Recursive
+ if fa.FilterActivityTypeProperties != nil {
+ objectMap["typeProperties"] = fa.FilterActivityTypeProperties
}
- if hs.DistcpSettings != nil {
- objectMap["distcpSettings"] = hs.DistcpSettings
+ if fa.Name != nil {
+ objectMap["name"] = fa.Name
}
- if hs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = hs.SourceRetryCount
+ if fa.Description != nil {
+ objectMap["description"] = fa.Description
}
- if hs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = hs.SourceRetryWait
+ if fa.DependsOn != nil {
+ objectMap["dependsOn"] = fa.DependsOn
}
- if hs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections
+ if fa.UserProperties != nil {
+ objectMap["userProperties"] = fa.UserProperties
}
- if hs.Type != "" {
- objectMap["type"] = hs.Type
+ if fa.Type != "" {
+ objectMap["type"] = fa.Type
}
- for k, v := range hs.AdditionalProperties {
+ for k, v := range fa.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsZohoSource() (*ZohoSource, bool) {
+// AsWebActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsXeroSource() (*XeroSource, bool) {
+// AsLookupActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSquareSource() (*SquareSource, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSparkSource() (*SparkSource, bool) {
+// AsDeleteActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsShopifySource() (*ShopifySource, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsCustomActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsCopyActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsJiraSource() (*JiraSource, bool) {
+// AsExecutionActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsBasicExecutionActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsWebHookActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsHiveSource() (*HiveSource, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsGreenplumSource() (*GreenplumSource, bool) {
- return nil, false
+// AsFilterActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsFilterActivity() (*FilterActivity, bool) {
+ return &fa, true
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
- return nil, false
-}
-
-// AsEloquaSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsEloquaSource() (*EloquaSource, bool) {
- return nil, false
-}
-
-// AsDrillSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsDrillSource() (*DrillSource, bool) {
- return nil, false
-}
-
-// AsCouchbaseSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
- return nil, false
-}
-
-// AsConcurSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsConcurSource() (*ConcurSource, bool) {
- return nil, false
-}
-
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
- return nil, false
-}
-
-// AsAmazonMWSSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
- return nil, false
-}
-
-// AsHTTPSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsHTTPSource() (*HTTPSource, bool) {
- return nil, false
-}
-
-// AsAzureBlobFSSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
- return nil, false
-}
-
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
- return nil, false
-}
-
-// AsOffice365Source is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsOffice365Source() (*Office365Source, bool) {
- return nil, false
-}
-
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
- return nil, false
-}
-
-// AsMongoDbV2Source is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
- return nil, false
-}
-
-// AsMongoDbSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsMongoDbSource() (*MongoDbSource, bool) {
- return nil, false
-}
-
-// AsCassandraSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsCassandraSource() (*CassandraSource, bool) {
- return nil, false
-}
-
-// AsWebSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsWebSource() (*WebSource, bool) {
- return nil, false
-}
-
-// AsTeradataSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsTeradataSource() (*TeradataSource, bool) {
- return nil, false
-}
-
-// AsOracleSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsOracleSource() (*OracleSource, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
- return nil, false
-}
-
-// AsAzureMySQLSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
- return nil, false
-}
-
-// AsHdfsSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsHdfsSource() (*HdfsSource, bool) {
- return &hs, true
-}
-
-// AsFileSystemSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsFileSystemSource() (*FileSystemSource, bool) {
- return nil, false
-}
-
-// AsSQLDWSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSQLDWSource() (*SQLDWSource, bool) {
- return nil, false
-}
-
-// AsAzureSQLSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
- return nil, false
-}
-
-// AsSQLServerSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSQLServerSource() (*SQLServerSource, bool) {
- return nil, false
-}
-
-// AsSQLSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSQLSource() (*SQLSource, bool) {
- return nil, false
-}
-
-// AsRestSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsRestSource() (*RestSource, bool) {
- return nil, false
-}
-
-// AsSapTableSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSapTableSource() (*SapTableSource, bool) {
- return nil, false
-}
-
-// AsSapOpenHubSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
- return nil, false
-}
-
-// AsSapHanaSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSapHanaSource() (*SapHanaSource, bool) {
- return nil, false
-}
-
-// AsSapEccSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSapEccSource() (*SapEccSource, bool) {
- return nil, false
-}
-
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
- return nil, false
-}
-
-// AsSalesforceSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsValidationActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsUntilActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsWaitActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsForEachActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsBlobSource() (*BlobSource, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsControlActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsParquetSource() (*ParquetSource, bool) {
- return nil, false
+// AsBasicControlActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return &fa, true
}
-// AsCopySource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsCopySource() (*CopySource, bool) {
+// AsActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for HdfsSource.
-func (hs HdfsSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &hs, true
+// AsBasicActivity is the BasicActivity implementation for FilterActivity.
+func (fa FilterActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &fa, true
}
-// UnmarshalJSON is the custom unmarshaler for HdfsSource struct.
-func (hs *HdfsSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for FilterActivity struct.
+func (fa *FilterActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -71015,71 +74026,71 @@ func (hs *HdfsSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "recursive":
+ case "typeProperties":
if v != nil {
- var recursive interface{}
- err = json.Unmarshal(*v, &recursive)
+ var filterActivityTypeProperties FilterActivityTypeProperties
+ err = json.Unmarshal(*v, &filterActivityTypeProperties)
if err != nil {
return err
}
- hs.Recursive = recursive
+ fa.FilterActivityTypeProperties = &filterActivityTypeProperties
}
- case "distcpSettings":
+ default:
if v != nil {
- var distcpSettings DistcpSettings
- err = json.Unmarshal(*v, &distcpSettings)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- hs.DistcpSettings = &distcpSettings
+ if fa.AdditionalProperties == nil {
+ fa.AdditionalProperties = make(map[string]interface{})
+ }
+ fa.AdditionalProperties[k] = additionalProperties
}
- default:
+ case "name":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var name string
+ err = json.Unmarshal(*v, &name)
if err != nil {
return err
}
- if hs.AdditionalProperties == nil {
- hs.AdditionalProperties = make(map[string]interface{})
- }
- hs.AdditionalProperties[k] = additionalProperties
+ fa.Name = &name
}
- case "sourceRetryCount":
+ case "description":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- hs.SourceRetryCount = sourceRetryCount
+ fa.Description = &description
}
- case "sourceRetryWait":
+ case "dependsOn":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
if err != nil {
return err
}
- hs.SourceRetryWait = sourceRetryWait
+ fa.DependsOn = &dependsOn
}
- case "maxConcurrentConnections":
+ case "userProperties":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
if err != nil {
return err
}
- hs.MaxConcurrentConnections = maxConcurrentConnections
+ fa.UserProperties = &userProperties
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicActivity
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- hs.Type = typeVar
+ fa.Type = typeVar
}
}
}
@@ -71087,14 +74098,18 @@ func (hs *HdfsSource) UnmarshalJSON(body []byte) error {
return nil
}
-// HDInsightHiveActivity hDInsight Hive activity type.
-type HDInsightHiveActivity struct {
- // HDInsightHiveActivityTypeProperties - HDInsight Hive activity properties.
- *HDInsightHiveActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
+// FilterActivityTypeProperties filter activity properties.
+type FilterActivityTypeProperties struct {
+ // Items - Input array on which filter should be applied.
+ Items *Expression `json:"items,omitempty"`
+ // Condition - Condition to be used for filtering the input.
+ Condition *Expression `json:"condition,omitempty"`
+}
+
+// ForEachActivity this activity is used for iterating over a collection and execute given activities.
+type ForEachActivity struct {
+ // ForEachActivityTypeProperties - ForEach activity properties.
+ *ForEachActivityTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Name - Activity name.
@@ -71105,226 +74120,225 @@ type HDInsightHiveActivity struct {
DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
// UserProperties - Activity user properties.
UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) MarshalJSON() ([]byte, error) {
- hiha.Type = TypeHDInsightHive
+// MarshalJSON is the custom marshaler for ForEachActivity.
+func (fea ForEachActivity) MarshalJSON() ([]byte, error) {
+ fea.Type = TypeForEach
objectMap := make(map[string]interface{})
- if hiha.HDInsightHiveActivityTypeProperties != nil {
- objectMap["typeProperties"] = hiha.HDInsightHiveActivityTypeProperties
- }
- if hiha.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = hiha.LinkedServiceName
- }
- if hiha.Policy != nil {
- objectMap["policy"] = hiha.Policy
+ if fea.ForEachActivityTypeProperties != nil {
+ objectMap["typeProperties"] = fea.ForEachActivityTypeProperties
}
- if hiha.Name != nil {
- objectMap["name"] = hiha.Name
+ if fea.Name != nil {
+ objectMap["name"] = fea.Name
}
- if hiha.Description != nil {
- objectMap["description"] = hiha.Description
+ if fea.Description != nil {
+ objectMap["description"] = fea.Description
}
- if hiha.DependsOn != nil {
- objectMap["dependsOn"] = hiha.DependsOn
+ if fea.DependsOn != nil {
+ objectMap["dependsOn"] = fea.DependsOn
}
- if hiha.UserProperties != nil {
- objectMap["userProperties"] = hiha.UserProperties
+ if fea.UserProperties != nil {
+ objectMap["userProperties"] = fea.UserProperties
}
- if hiha.Type != "" {
- objectMap["type"] = hiha.Type
+ if fea.Type != "" {
+ objectMap["type"] = fea.Type
}
- for k, v := range hiha.AdditionalProperties {
+ for k, v := range fea.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsWebActivity() (*WebActivity, bool) {
+// AsWebActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsLookupActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsDeleteActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsCustomActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
- return &hiha, true
+// AsHDInsightPigActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+ return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsCopyActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &hiha, true
+// AsExecutionActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsBasicExecutionActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsWebHookActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsFilterActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsValidationActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsUntilActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsWaitActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
- return nil, false
+// AsForEachActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsForEachActivity() (*ForEachActivity, bool) {
+ return &fea, true
}
-// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsControlActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsActivity() (*Activity, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return &fea, true
+}
+
+// AsActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for HDInsightHiveActivity.
-func (hiha HDInsightHiveActivity) AsBasicActivity() (BasicActivity, bool) {
- return &hiha, true
+// AsBasicActivity is the BasicActivity implementation for ForEachActivity.
+func (fea ForEachActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &fea, true
}
-// UnmarshalJSON is the custom unmarshaler for HDInsightHiveActivity struct.
-func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for ForEachActivity struct.
+func (fea *ForEachActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -71334,30 +74348,12 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var hDInsightHiveActivityTypeProperties HDInsightHiveActivityTypeProperties
- err = json.Unmarshal(*v, &hDInsightHiveActivityTypeProperties)
- if err != nil {
- return err
- }
- hiha.HDInsightHiveActivityTypeProperties = &hDInsightHiveActivityTypeProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- hiha.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
+ var forEachActivityTypeProperties ForEachActivityTypeProperties
+ err = json.Unmarshal(*v, &forEachActivityTypeProperties)
if err != nil {
return err
}
- hiha.Policy = &policy
+ fea.ForEachActivityTypeProperties = &forEachActivityTypeProperties
}
default:
if v != nil {
@@ -71366,10 +74362,10 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hiha.AdditionalProperties == nil {
- hiha.AdditionalProperties = make(map[string]interface{})
+ if fea.AdditionalProperties == nil {
+ fea.AdditionalProperties = make(map[string]interface{})
}
- hiha.AdditionalProperties[k] = additionalProperties
+ fea.AdditionalProperties[k] = additionalProperties
}
case "name":
if v != nil {
@@ -71378,7 +74374,7 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hiha.Name = &name
+ fea.Name = &name
}
case "description":
if v != nil {
@@ -71387,7 +74383,7 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hiha.Description = &description
+ fea.Description = &description
}
case "dependsOn":
if v != nil {
@@ -71396,7 +74392,7 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hiha.DependsOn = &dependsOn
+ fea.DependsOn = &dependsOn
}
case "userProperties":
if v != nil {
@@ -71405,7 +74401,7 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hiha.UserProperties = &userProperties
+ fea.UserProperties = &userProperties
}
case "type":
if v != nil {
@@ -71414,7 +74410,7 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hiha.Type = typeVar
+ fea.Type = typeVar
}
}
}
@@ -71422,60 +74418,310 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// HDInsightHiveActivityTypeProperties hDInsight Hive activity properties.
-type HDInsightHiveActivityTypeProperties struct {
- // StorageLinkedServices - Storage linked service references.
- StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
- // Arguments - User specified arguments to HDInsightActivity.
- Arguments *[]interface{} `json:"arguments,omitempty"`
- // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
- GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
- // ScriptPath - Script path. Type: string (or Expression with resultType string).
- ScriptPath interface{} `json:"scriptPath,omitempty"`
- // ScriptLinkedService - Script linked service reference.
- ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"`
- // Defines - Allows user to specify defines for Hive job request.
- Defines map[string]interface{} `json:"defines"`
- // Variables - User specified arguments under hivevar namespace.
- Variables *[]interface{} `json:"variables,omitempty"`
- // QueryTimeout - Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package)
- QueryTimeout *int32 `json:"queryTimeout,omitempty"`
+// ForEachActivityTypeProperties forEach activity properties.
+type ForEachActivityTypeProperties struct {
+ // IsSequential - Should the loop be executed in sequence or in parallel (max 50)
+ IsSequential *bool `json:"isSequential,omitempty"`
+ // BatchCount - Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).
+ BatchCount *int32 `json:"batchCount,omitempty"`
+ // Items - Collection to iterate.
+ Items *Expression `json:"items,omitempty"`
+ // Activities - List of activities to execute .
+ Activities *[]BasicActivity `json:"activities,omitempty"`
}
-// MarshalJSON is the custom marshaler for HDInsightHiveActivityTypeProperties.
-func (hihatp HDInsightHiveActivityTypeProperties) MarshalJSON() ([]byte, error) {
+// UnmarshalJSON is the custom unmarshaler for ForEachActivityTypeProperties struct.
+func (featp *ForEachActivityTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "isSequential":
+ if v != nil {
+ var isSequential bool
+ err = json.Unmarshal(*v, &isSequential)
+ if err != nil {
+ return err
+ }
+ featp.IsSequential = &isSequential
+ }
+ case "batchCount":
+ if v != nil {
+ var batchCount int32
+ err = json.Unmarshal(*v, &batchCount)
+ if err != nil {
+ return err
+ }
+ featp.BatchCount = &batchCount
+ }
+ case "items":
+ if v != nil {
+ var items Expression
+ err = json.Unmarshal(*v, &items)
+ if err != nil {
+ return err
+ }
+ featp.Items = &items
+ }
+ case "activities":
+ if v != nil {
+ activities, err := unmarshalBasicActivityArray(*v)
+ if err != nil {
+ return err
+ }
+ featp.Activities = &activities
+ }
+ }
+ }
+
+ return nil
+}
+
+// FormatReadSettings format read settings.
+type FormatReadSettings struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - The read setting type.
+ Type *string `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for FormatReadSettings.
+func (frs FormatReadSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if hihatp.StorageLinkedServices != nil {
- objectMap["storageLinkedServices"] = hihatp.StorageLinkedServices
+ if frs.Type != nil {
+ objectMap["type"] = frs.Type
}
- if hihatp.Arguments != nil {
- objectMap["arguments"] = hihatp.Arguments
+ for k, v := range frs.AdditionalProperties {
+ objectMap[k] = v
}
- if hihatp.GetDebugInfo != "" {
- objectMap["getDebugInfo"] = hihatp.GetDebugInfo
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for FormatReadSettings struct.
+func (frs *FormatReadSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
}
- if hihatp.ScriptPath != nil {
- objectMap["scriptPath"] = hihatp.ScriptPath
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if frs.AdditionalProperties == nil {
+ frs.AdditionalProperties = make(map[string]interface{})
+ }
+ frs.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ frs.Type = &typeVar
+ }
+ }
}
- if hihatp.ScriptLinkedService != nil {
- objectMap["scriptLinkedService"] = hihatp.ScriptLinkedService
+
+ return nil
+}
+
+// FormatWriteSettings format write settings.
+type FormatWriteSettings struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - The write setting type.
+ Type *string `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for FormatWriteSettings.
+func (fws FormatWriteSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if fws.Type != nil {
+ objectMap["type"] = fws.Type
}
- if hihatp.Defines != nil {
- objectMap["defines"] = hihatp.Defines
+ for k, v := range fws.AdditionalProperties {
+ objectMap[k] = v
}
- if hihatp.Variables != nil {
- objectMap["variables"] = hihatp.Variables
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for FormatWriteSettings struct.
+func (fws *FormatWriteSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
}
- if hihatp.QueryTimeout != nil {
- objectMap["queryTimeout"] = hihatp.QueryTimeout
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if fws.AdditionalProperties == nil {
+ fws.AdditionalProperties = make(map[string]interface{})
+ }
+ fws.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ fws.Type = &typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// FtpReadSettings ftp read settings.
+type FtpReadSettings struct {
+ // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
+ Recursive interface{} `json:"recursive,omitempty"`
+ // WildcardFolderPath - Ftp wildcardFolderPath. Type: string (or Expression with resultType string).
+ WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"`
+ // WildcardFileName - Ftp wildcardFileName. Type: string (or Expression with resultType string).
+ WildcardFileName interface{} `json:"wildcardFileName,omitempty"`
+ // UseBinaryTransfer - Specify whether to use binary transfer mode for FTP stores.
+ UseBinaryTransfer *bool `json:"useBinaryTransfer,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - The read setting type.
+ Type *string `json:"type,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for FtpReadSettings.
+func (frs FtpReadSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if frs.Recursive != nil {
+ objectMap["recursive"] = frs.Recursive
+ }
+ if frs.WildcardFolderPath != nil {
+ objectMap["wildcardFolderPath"] = frs.WildcardFolderPath
+ }
+ if frs.WildcardFileName != nil {
+ objectMap["wildcardFileName"] = frs.WildcardFileName
+ }
+ if frs.UseBinaryTransfer != nil {
+ objectMap["useBinaryTransfer"] = frs.UseBinaryTransfer
+ }
+ if frs.Type != nil {
+ objectMap["type"] = frs.Type
+ }
+ if frs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = frs.MaxConcurrentConnections
+ }
+ for k, v := range frs.AdditionalProperties {
+ objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// HDInsightLinkedService hDInsight linked service.
-type HDInsightLinkedService struct {
- // HDInsightLinkedServiceTypeProperties - HDInsight linked service properties.
- *HDInsightLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// UnmarshalJSON is the custom unmarshaler for FtpReadSettings struct.
+func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "recursive":
+ if v != nil {
+ var recursive interface{}
+ err = json.Unmarshal(*v, &recursive)
+ if err != nil {
+ return err
+ }
+ frs.Recursive = recursive
+ }
+ case "wildcardFolderPath":
+ if v != nil {
+ var wildcardFolderPath interface{}
+ err = json.Unmarshal(*v, &wildcardFolderPath)
+ if err != nil {
+ return err
+ }
+ frs.WildcardFolderPath = wildcardFolderPath
+ }
+ case "wildcardFileName":
+ if v != nil {
+ var wildcardFileName interface{}
+ err = json.Unmarshal(*v, &wildcardFileName)
+ if err != nil {
+ return err
+ }
+ frs.WildcardFileName = wildcardFileName
+ }
+ case "useBinaryTransfer":
+ if v != nil {
+ var useBinaryTransfer bool
+ err = json.Unmarshal(*v, &useBinaryTransfer)
+ if err != nil {
+ return err
+ }
+ frs.UseBinaryTransfer = &useBinaryTransfer
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if frs.AdditionalProperties == nil {
+ frs.AdditionalProperties = make(map[string]interface{})
+ }
+ frs.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ frs.Type = &typeVar
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ frs.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ }
+ }
+
+ return nil
+}
+
+// FtpServerLinkedService a FTP server Linked Service.
+type FtpServerLinkedService struct {
+ // FtpServerLinkedServiceTypeProperties - Properties specific to this linked service type.
+ *FtpServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -71486,470 +74732,500 @@ type HDInsightLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HDInsightLinkedService.
-func (hils HDInsightLinkedService) MarshalJSON() ([]byte, error) {
- hils.Type = TypeHDInsight
+// MarshalJSON is the custom marshaler for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) MarshalJSON() ([]byte, error) {
+ fsls.Type = TypeFtpServer
objectMap := make(map[string]interface{})
- if hils.HDInsightLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = hils.HDInsightLinkedServiceTypeProperties
+ if fsls.FtpServerLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = fsls.FtpServerLinkedServiceTypeProperties
}
- if hils.ConnectVia != nil {
- objectMap["connectVia"] = hils.ConnectVia
+ if fsls.ConnectVia != nil {
+ objectMap["connectVia"] = fsls.ConnectVia
}
- if hils.Description != nil {
- objectMap["description"] = hils.Description
+ if fsls.Description != nil {
+ objectMap["description"] = fsls.Description
}
- if hils.Parameters != nil {
- objectMap["parameters"] = hils.Parameters
+ if fsls.Parameters != nil {
+ objectMap["parameters"] = fsls.Parameters
}
- if hils.Annotations != nil {
- objectMap["annotations"] = hils.Annotations
+ if fsls.Annotations != nil {
+ objectMap["annotations"] = fsls.Annotations
}
- if hils.Type != "" {
- objectMap["type"] = hils.Type
+ if fsls.Type != "" {
+ objectMap["type"] = fsls.Type
}
- for k, v := range hils.AdditionalProperties {
+ for k, v := range fsls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return &fsls, true
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
- return &hils, true
+// AsOracleLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
-func (hils HDInsightLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &hils, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedService struct.
-func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
+func (fsls FtpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &fsls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedService struct.
+func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -71959,12 +75235,12 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var hDInsightLinkedServiceTypeProperties HDInsightLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &hDInsightLinkedServiceTypeProperties)
+ var ftpServerLinkedServiceTypeProperties FtpServerLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &ftpServerLinkedServiceTypeProperties)
if err != nil {
return err
}
- hils.HDInsightLinkedServiceTypeProperties = &hDInsightLinkedServiceTypeProperties
+ fsls.FtpServerLinkedServiceTypeProperties = &ftpServerLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -71973,10 +75249,10 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hils.AdditionalProperties == nil {
- hils.AdditionalProperties = make(map[string]interface{})
+ if fsls.AdditionalProperties == nil {
+ fsls.AdditionalProperties = make(map[string]interface{})
}
- hils.AdditionalProperties[k] = additionalProperties
+ fsls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -71985,7 +75261,7 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hils.ConnectVia = &connectVia
+ fsls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -71994,7 +75270,7 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hils.Description = &description
+ fsls.Description = &description
}
case "parameters":
if v != nil {
@@ -72003,7 +75279,7 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hils.Parameters = parameters
+ fsls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -72012,7 +75288,7 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hils.Annotations = &annotations
+ fsls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -72021,7 +75297,7 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hils.Type = typeVar
+ fsls.Type = typeVar
}
}
}
@@ -72029,28 +75305,28 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// HDInsightLinkedServiceTypeProperties hDInsight linked service properties.
-type HDInsightLinkedServiceTypeProperties struct {
- // ClusterURI - HDInsight cluster URI. Type: string (or Expression with resultType string).
- ClusterURI interface{} `json:"clusterUri,omitempty"`
- // UserName - HDInsight cluster user name. Type: string (or Expression with resultType string).
+// FtpServerLinkedServiceTypeProperties properties specific to this linked service type.
+type FtpServerLinkedServiceTypeProperties struct {
+ // Host - Host name of the FTP server. Type: string (or Expression with resultType string).
+ Host interface{} `json:"host,omitempty"`
+ // Port - The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0.
+ Port interface{} `json:"port,omitempty"`
+ // AuthenticationType - The authentication type to be used to connect to the FTP server. Possible values include: 'FtpAuthenticationTypeBasic', 'FtpAuthenticationTypeAnonymous'
+ AuthenticationType FtpAuthenticationType `json:"authenticationType,omitempty"`
+ // UserName - Username to logon the FTP server. Type: string (or Expression with resultType string).
UserName interface{} `json:"userName,omitempty"`
- // Password - HDInsight cluster password.
+ // Password - Password to logon the FTP server.
Password BasicSecretBase `json:"password,omitempty"`
- // LinkedServiceName - The Azure Storage linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // HcatalogLinkedServiceName - A reference to the Azure SQL linked service that points to the HCatalog database.
- HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
- // IsEspEnabled - Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean.
- IsEspEnabled interface{} `json:"isEspEnabled,omitempty"`
- // FileSystem - Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string).
- FileSystem interface{} `json:"fileSystem,omitempty"`
+ // EnableSsl - If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean).
+ EnableSsl interface{} `json:"enableSsl,omitempty"`
+ // EnableServerCertificateValidation - If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean).
+ EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedServiceTypeProperties struct.
-func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedServiceTypeProperties struct.
+func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -72058,14 +75334,32 @@ func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e
}
for k, v := range m {
switch k {
- case "clusterUri":
+ case "host":
if v != nil {
- var clusterURI interface{}
- err = json.Unmarshal(*v, &clusterURI)
+ var host interface{}
+ err = json.Unmarshal(*v, &host)
if err != nil {
return err
}
- hilstp.ClusterURI = clusterURI
+ fslstp.Host = host
+ }
+ case "port":
+ if v != nil {
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
+ if err != nil {
+ return err
+ }
+ fslstp.Port = port
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType FtpAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ fslstp.AuthenticationType = authenticationType
}
case "userName":
if v != nil {
@@ -72074,7 +75368,7 @@ func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- hilstp.UserName = userName
+ fslstp.UserName = userName
}
case "password":
if v != nil {
@@ -72082,52 +75376,118 @@ func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- hilstp.Password = password
+ fslstp.Password = password
}
- case "linkedServiceName":
+ case "encryptedCredential":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
if err != nil {
return err
}
- hilstp.LinkedServiceName = &linkedServiceName
+ fslstp.EncryptedCredential = encryptedCredential
}
- case "hcatalogLinkedServiceName":
+ case "enableSsl":
if v != nil {
- var hcatalogLinkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &hcatalogLinkedServiceName)
+ var enableSsl interface{}
+ err = json.Unmarshal(*v, &enableSsl)
if err != nil {
return err
}
- hilstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName
+ fslstp.EnableSsl = enableSsl
}
- case "encryptedCredential":
+ case "enableServerCertificateValidation":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var enableServerCertificateValidation interface{}
+ err = json.Unmarshal(*v, &enableServerCertificateValidation)
if err != nil {
return err
}
- hilstp.EncryptedCredential = encryptedCredential
+ fslstp.EnableServerCertificateValidation = enableServerCertificateValidation
}
- case "isEspEnabled":
+ }
+ }
+
+ return nil
+}
+
+// FtpServerLocation the location of ftp server dataset.
+type FtpServerLocation struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - Type of dataset storage location.
+ Type *string `json:"type,omitempty"`
+ // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string)
+ FolderPath interface{} `json:"folderPath,omitempty"`
+ // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string).
+ FileName interface{} `json:"fileName,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for FtpServerLocation.
+func (fsl FtpServerLocation) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if fsl.Type != nil {
+ objectMap["type"] = fsl.Type
+ }
+ if fsl.FolderPath != nil {
+ objectMap["folderPath"] = fsl.FolderPath
+ }
+ if fsl.FileName != nil {
+ objectMap["fileName"] = fsl.FileName
+ }
+ for k, v := range fsl.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for FtpServerLocation struct.
+func (fsl *FtpServerLocation) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
if v != nil {
- var isEspEnabled interface{}
- err = json.Unmarshal(*v, &isEspEnabled)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- hilstp.IsEspEnabled = isEspEnabled
+ if fsl.AdditionalProperties == nil {
+ fsl.AdditionalProperties = make(map[string]interface{})
+ }
+ fsl.AdditionalProperties[k] = additionalProperties
}
- case "fileSystem":
+ case "type":
if v != nil {
- var fileSystem interface{}
- err = json.Unmarshal(*v, &fileSystem)
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- hilstp.FileSystem = fileSystem
+ fsl.Type = &typeVar
+ }
+ case "folderPath":
+ if v != nil {
+ var folderPath interface{}
+ err = json.Unmarshal(*v, &folderPath)
+ if err != nil {
+ return err
+ }
+ fsl.FolderPath = folderPath
+ }
+ case "fileName":
+ if v != nil {
+ var fileName interface{}
+ err = json.Unmarshal(*v, &fileName)
+ if err != nil {
+ return err
+ }
+ fsl.FileName = fileName
}
}
}
@@ -72135,10 +75495,16 @@ func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e
return nil
}
-// HDInsightMapReduceActivity hDInsight MapReduce activity type.
-type HDInsightMapReduceActivity struct {
- // HDInsightMapReduceActivityTypeProperties - HDInsight MapReduce activity properties.
- *HDInsightMapReduceActivityTypeProperties `json:"typeProperties,omitempty"`
+// GenericDatasetTypeProperties properties specific to this dataset type.
+type GenericDatasetTypeProperties struct {
+ // TableName - The table name. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
+}
+
+// GetMetadataActivity activity to get metadata of dataset
+type GetMetadataActivity struct {
+ // GetMetadataActivityTypeProperties - GetMetadata activity properties.
+ *GetMetadataActivityTypeProperties `json:"typeProperties,omitempty"`
// LinkedServiceName - Linked service reference.
LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
// Policy - Activity policy.
@@ -72153,226 +75519,231 @@ type HDInsightMapReduceActivity struct {
DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
// UserProperties - Activity user properties.
UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) MarshalJSON() ([]byte, error) {
- himra.Type = TypeHDInsightMapReduce
+// MarshalJSON is the custom marshaler for GetMetadataActivity.
+func (gma GetMetadataActivity) MarshalJSON() ([]byte, error) {
+ gma.Type = TypeGetMetadata
objectMap := make(map[string]interface{})
- if himra.HDInsightMapReduceActivityTypeProperties != nil {
- objectMap["typeProperties"] = himra.HDInsightMapReduceActivityTypeProperties
+ if gma.GetMetadataActivityTypeProperties != nil {
+ objectMap["typeProperties"] = gma.GetMetadataActivityTypeProperties
}
- if himra.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = himra.LinkedServiceName
+ if gma.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = gma.LinkedServiceName
}
- if himra.Policy != nil {
- objectMap["policy"] = himra.Policy
+ if gma.Policy != nil {
+ objectMap["policy"] = gma.Policy
}
- if himra.Name != nil {
- objectMap["name"] = himra.Name
+ if gma.Name != nil {
+ objectMap["name"] = gma.Name
}
- if himra.Description != nil {
- objectMap["description"] = himra.Description
+ if gma.Description != nil {
+ objectMap["description"] = gma.Description
}
- if himra.DependsOn != nil {
- objectMap["dependsOn"] = himra.DependsOn
+ if gma.DependsOn != nil {
+ objectMap["dependsOn"] = gma.DependsOn
}
- if himra.UserProperties != nil {
- objectMap["userProperties"] = himra.UserProperties
+ if gma.UserProperties != nil {
+ objectMap["userProperties"] = gma.UserProperties
}
- if himra.Type != "" {
- objectMap["type"] = himra.Type
+ if gma.Type != "" {
+ objectMap["type"] = gma.Type
}
- for k, v := range himra.AdditionalProperties {
+ for k, v := range gma.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+ return &gma, true
+}
+
+// AsWebActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsWebActivity() (*WebActivity, bool) {
+// AsLookupActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsDeleteActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsCustomActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
- return &himra, true
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+ return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsCopyActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsExecutionActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &himra, true
+// AsBasicExecutionActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &gma, true
}
-// AsWebHookActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsWebHookActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsFilterActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsValidationActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsUntilActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsWaitActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsForEachActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsControlActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsActivity() (*Activity, bool) {
+// AsActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
-func (himra HDInsightMapReduceActivity) AsBasicActivity() (BasicActivity, bool) {
- return &himra, true
+// AsBasicActivity is the BasicActivity implementation for GetMetadataActivity.
+func (gma GetMetadataActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &gma, true
}
-// UnmarshalJSON is the custom unmarshaler for HDInsightMapReduceActivity struct.
-func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for GetMetadataActivity struct.
+func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -72382,12 +75753,12 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var hDInsightMapReduceActivityTypeProperties HDInsightMapReduceActivityTypeProperties
- err = json.Unmarshal(*v, &hDInsightMapReduceActivityTypeProperties)
+ var getMetadataActivityTypeProperties GetMetadataActivityTypeProperties
+ err = json.Unmarshal(*v, &getMetadataActivityTypeProperties)
if err != nil {
return err
}
- himra.HDInsightMapReduceActivityTypeProperties = &hDInsightMapReduceActivityTypeProperties
+ gma.GetMetadataActivityTypeProperties = &getMetadataActivityTypeProperties
}
case "linkedServiceName":
if v != nil {
@@ -72396,7 +75767,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- himra.LinkedServiceName = &linkedServiceName
+ gma.LinkedServiceName = &linkedServiceName
}
case "policy":
if v != nil {
@@ -72405,7 +75776,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- himra.Policy = &policy
+ gma.Policy = &policy
}
default:
if v != nil {
@@ -72414,10 +75785,10 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if himra.AdditionalProperties == nil {
- himra.AdditionalProperties = make(map[string]interface{})
+ if gma.AdditionalProperties == nil {
+ gma.AdditionalProperties = make(map[string]interface{})
}
- himra.AdditionalProperties[k] = additionalProperties
+ gma.AdditionalProperties[k] = additionalProperties
}
case "name":
if v != nil {
@@ -72426,7 +75797,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- himra.Name = &name
+ gma.Name = &name
}
case "description":
if v != nil {
@@ -72435,7 +75806,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- himra.Description = &description
+ gma.Description = &description
}
case "dependsOn":
if v != nil {
@@ -72444,7 +75815,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- himra.DependsOn = &dependsOn
+ gma.DependsOn = &dependsOn
}
case "userProperties":
if v != nil {
@@ -72453,7 +75824,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- himra.UserProperties = &userProperties
+ gma.UserProperties = &userProperties
}
case "type":
if v != nil {
@@ -72462,7 +75833,7 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- himra.Type = typeVar
+ gma.Type = typeVar
}
}
}
@@ -72470,60 +75841,41 @@ func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// HDInsightMapReduceActivityTypeProperties hDInsight MapReduce activity properties.
-type HDInsightMapReduceActivityTypeProperties struct {
- // StorageLinkedServices - Storage linked service references.
- StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
- // Arguments - User specified arguments to HDInsightActivity.
- Arguments *[]interface{} `json:"arguments,omitempty"`
- // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
- GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
- // ClassName - Class name. Type: string (or Expression with resultType string).
- ClassName interface{} `json:"className,omitempty"`
- // JarFilePath - Jar path. Type: string (or Expression with resultType string).
- JarFilePath interface{} `json:"jarFilePath,omitempty"`
- // JarLinkedService - Jar linked service reference.
- JarLinkedService *LinkedServiceReference `json:"jarLinkedService,omitempty"`
- // JarLibs - Jar libs.
- JarLibs *[]interface{} `json:"jarLibs,omitempty"`
- // Defines - Allows user to specify defines for the MapReduce job request.
- Defines map[string]interface{} `json:"defines"`
+// GetMetadataActivityTypeProperties getMetadata activity properties.
+type GetMetadataActivityTypeProperties struct {
+ // Dataset - GetMetadata activity dataset reference.
+ Dataset *DatasetReference `json:"dataset,omitempty"`
+ // FieldList - Fields of metadata to get from dataset.
+ FieldList *[]interface{} `json:"fieldList,omitempty"`
}
-// MarshalJSON is the custom marshaler for HDInsightMapReduceActivityTypeProperties.
-func (himratp HDInsightMapReduceActivityTypeProperties) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if himratp.StorageLinkedServices != nil {
- objectMap["storageLinkedServices"] = himratp.StorageLinkedServices
- }
- if himratp.Arguments != nil {
- objectMap["arguments"] = himratp.Arguments
- }
- if himratp.GetDebugInfo != "" {
- objectMap["getDebugInfo"] = himratp.GetDebugInfo
- }
- if himratp.ClassName != nil {
- objectMap["className"] = himratp.ClassName
- }
- if himratp.JarFilePath != nil {
- objectMap["jarFilePath"] = himratp.JarFilePath
- }
- if himratp.JarLinkedService != nil {
- objectMap["jarLinkedService"] = himratp.JarLinkedService
- }
- if himratp.JarLibs != nil {
- objectMap["jarLibs"] = himratp.JarLibs
- }
- if himratp.Defines != nil {
- objectMap["defines"] = himratp.Defines
- }
- return json.Marshal(objectMap)
+// GetSsisObjectMetadataRequest the request payload of get SSIS object metadata.
+type GetSsisObjectMetadataRequest struct {
+ // MetadataPath - Metadata path.
+ MetadataPath *string `json:"metadataPath,omitempty"`
}
-// HDInsightOnDemandLinkedService hDInsight ondemand linked service.
-type HDInsightOnDemandLinkedService struct {
- // HDInsightOnDemandLinkedServiceTypeProperties - HDInsight ondemand linked service properties.
- *HDInsightOnDemandLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// GitHubAccessTokenRequest get GitHub access token request definition.
+type GitHubAccessTokenRequest struct {
+ // GitHubAccessCode - GitHub access code.
+ GitHubAccessCode *string `json:"gitHubAccessCode,omitempty"`
+ // GitHubClientID - GitHub application client ID.
+ GitHubClientID *string `json:"gitHubClientId,omitempty"`
+ // GitHubAccessTokenBaseURL - GitHub access token base URL.
+ GitHubAccessTokenBaseURL *string `json:"gitHubAccessTokenBaseUrl,omitempty"`
+}
+
+// GitHubAccessTokenResponse get GitHub access token response definition.
+type GitHubAccessTokenResponse struct {
+ autorest.Response `json:"-"`
+ // GitHubAccessToken - GitHub access token.
+ GitHubAccessToken *string `json:"gitHubAccessToken,omitempty"`
+}
+
+// GoogleAdWordsLinkedService google AdWords service linked service.
+type GoogleAdWordsLinkedService struct {
+ // GoogleAdWordsLinkedServiceTypeProperties - Google AdWords service linked service properties.
+ *GoogleAdWordsLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -72534,470 +75886,500 @@ type HDInsightOnDemandLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) MarshalJSON() ([]byte, error) {
- hiodls.Type = TypeHDInsightOnDemand
+// MarshalJSON is the custom marshaler for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) MarshalJSON() ([]byte, error) {
+ gawls.Type = TypeGoogleAdWords
objectMap := make(map[string]interface{})
- if hiodls.HDInsightOnDemandLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = hiodls.HDInsightOnDemandLinkedServiceTypeProperties
+ if gawls.GoogleAdWordsLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = gawls.GoogleAdWordsLinkedServiceTypeProperties
}
- if hiodls.ConnectVia != nil {
- objectMap["connectVia"] = hiodls.ConnectVia
+ if gawls.ConnectVia != nil {
+ objectMap["connectVia"] = gawls.ConnectVia
}
- if hiodls.Description != nil {
- objectMap["description"] = hiodls.Description
+ if gawls.Description != nil {
+ objectMap["description"] = gawls.Description
}
- if hiodls.Parameters != nil {
- objectMap["parameters"] = hiodls.Parameters
+ if gawls.Parameters != nil {
+ objectMap["parameters"] = gawls.Parameters
}
- if hiodls.Annotations != nil {
- objectMap["annotations"] = hiodls.Annotations
+ if gawls.Annotations != nil {
+ objectMap["annotations"] = gawls.Annotations
}
- if hiodls.Type != "" {
- objectMap["type"] = hiodls.Type
+ if gawls.Type != "" {
+ objectMap["type"] = gawls.Type
}
- for k, v := range hiodls.AdditionalProperties {
+ for k, v := range gawls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return &gawls, true
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
- return &hiodls, true
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
-func (hiodls HDInsightOnDemandLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &hiodls, true
+// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedService struct.
-func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService.
+func (gawls GoogleAdWordsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &gawls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedService struct.
+func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -73007,12 +76389,12 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var hDInsightOnDemandLinkedServiceTypeProperties HDInsightOnDemandLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &hDInsightOnDemandLinkedServiceTypeProperties)
+ var googleAdWordsLinkedServiceTypeProperties GoogleAdWordsLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &googleAdWordsLinkedServiceTypeProperties)
if err != nil {
return err
}
- hiodls.HDInsightOnDemandLinkedServiceTypeProperties = &hDInsightOnDemandLinkedServiceTypeProperties
+ gawls.GoogleAdWordsLinkedServiceTypeProperties = &googleAdWordsLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -73021,10 +76403,10 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hiodls.AdditionalProperties == nil {
- hiodls.AdditionalProperties = make(map[string]interface{})
+ if gawls.AdditionalProperties == nil {
+ gawls.AdditionalProperties = make(map[string]interface{})
}
- hiodls.AdditionalProperties[k] = additionalProperties
+ gawls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -73033,7 +76415,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hiodls.ConnectVia = &connectVia
+ gawls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -73042,7 +76424,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hiodls.Description = &description
+ gawls.Description = &description
}
case "parameters":
if v != nil {
@@ -73051,7 +76433,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hiodls.Parameters = parameters
+ gawls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -73060,7 +76442,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hiodls.Annotations = &annotations
+ gawls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -73069,7 +76451,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hiodls.Type = typeVar
+ gawls.Type = typeVar
}
}
}
@@ -73077,78 +76459,34 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// HDInsightOnDemandLinkedServiceTypeProperties hDInsight ondemand linked service properties.
-type HDInsightOnDemandLinkedServiceTypeProperties struct {
- // ClusterSize - Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string).
- ClusterSize interface{} `json:"clusterSize,omitempty"`
- // TimeToLive - The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string).
- TimeToLive interface{} `json:"timeToLive,omitempty"`
- // Version - Version of the HDInsight cluster. Type: string (or Expression with resultType string).
- Version interface{} `json:"version,omitempty"`
- // LinkedServiceName - Azure Storage linked service to be used by the on-demand cluster for storing and processing data.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // HostSubscriptionID - The customer’s subscription to host the cluster. Type: string (or Expression with resultType string).
- HostSubscriptionID interface{} `json:"hostSubscriptionId,omitempty"`
- // ServicePrincipalID - The service principal id for the hostSubscriptionId. Type: string (or Expression with resultType string).
- ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
- // ServicePrincipalKey - The key for the service principal id.
- ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
- // Tenant - The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string).
- Tenant interface{} `json:"tenant,omitempty"`
- // ClusterResourceGroup - The resource group where the cluster belongs. Type: string (or Expression with resultType string).
- ClusterResourceGroup interface{} `json:"clusterResourceGroup,omitempty"`
- // ClusterNamePrefix - The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string).
- ClusterNamePrefix interface{} `json:"clusterNamePrefix,omitempty"`
- // ClusterUserName - The username to access the cluster. Type: string (or Expression with resultType string).
- ClusterUserName interface{} `json:"clusterUserName,omitempty"`
- // ClusterPassword - The password to access the cluster.
- ClusterPassword BasicSecretBase `json:"clusterPassword,omitempty"`
- // ClusterSSHUserName - The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string).
- ClusterSSHUserName interface{} `json:"clusterSshUserName,omitempty"`
- // ClusterSSHPassword - The password to SSH remotely connect cluster’s node (for Linux).
- ClusterSSHPassword BasicSecretBase `json:"clusterSshPassword,omitempty"`
- // AdditionalLinkedServiceNames - Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf.
- AdditionalLinkedServiceNames *[]LinkedServiceReference `json:"additionalLinkedServiceNames,omitempty"`
- // HcatalogLinkedServiceName - The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore.
- HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"`
- // ClusterType - The cluster type. Type: string (or Expression with resultType string).
- ClusterType interface{} `json:"clusterType,omitempty"`
- // SparkVersion - The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string).
- SparkVersion interface{} `json:"sparkVersion,omitempty"`
- // CoreConfiguration - Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to be created.
- CoreConfiguration interface{} `json:"coreConfiguration,omitempty"`
- // HBaseConfiguration - Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster.
- HBaseConfiguration interface{} `json:"hBaseConfiguration,omitempty"`
- // HdfsConfiguration - Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster.
- HdfsConfiguration interface{} `json:"hdfsConfiguration,omitempty"`
- // HiveConfiguration - Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster.
- HiveConfiguration interface{} `json:"hiveConfiguration,omitempty"`
- // MapReduceConfiguration - Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster.
- MapReduceConfiguration interface{} `json:"mapReduceConfiguration,omitempty"`
- // OozieConfiguration - Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster.
- OozieConfiguration interface{} `json:"oozieConfiguration,omitempty"`
- // StormConfiguration - Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster.
- StormConfiguration interface{} `json:"stormConfiguration,omitempty"`
- // YarnConfiguration - Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster.
- YarnConfiguration interface{} `json:"yarnConfiguration,omitempty"`
+// GoogleAdWordsLinkedServiceTypeProperties google AdWords service linked service properties.
+type GoogleAdWordsLinkedServiceTypeProperties struct {
+ // ClientCustomerID - The Client customer ID of the AdWords account that you want to fetch report data for.
+ ClientCustomerID interface{} `json:"clientCustomerID,omitempty"`
+ // DeveloperToken - The developer token associated with the manager account that you use to grant access to the AdWords API.
+ DeveloperToken BasicSecretBase `json:"developerToken,omitempty"`
+ // AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'ServiceAuthentication', 'UserAuthentication'
+ AuthenticationType GoogleAdWordsAuthenticationType `json:"authenticationType,omitempty"`
+ // RefreshToken - The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication.
+ RefreshToken BasicSecretBase `json:"refreshToken,omitempty"`
+ // ClientID - The client id of the google application used to acquire the refresh token.
+ ClientID BasicSecretBase `json:"clientId,omitempty"`
+ // ClientSecret - The client secret of the google application used to acquire the refresh token.
+ ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
+ // Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.
+ Email interface{} `json:"email,omitempty"`
+ // KeyFilePath - The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR.
+ KeyFilePath interface{} `json:"keyFilePath,omitempty"`
+ // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
+ TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
+ // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
+ UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
- // HeadNodeSize - Specifies the size of the head node for the HDInsight cluster.
- HeadNodeSize interface{} `json:"headNodeSize,omitempty"`
- // DataNodeSize - Specifies the size of the data node for the HDInsight cluster.
- DataNodeSize interface{} `json:"dataNodeSize,omitempty"`
- // ZookeeperNodeSize - Specifies the size of the Zoo Keeper node for the HDInsight cluster.
- ZookeeperNodeSize interface{} `json:"zookeeperNodeSize,omitempty"`
- // ScriptActions - Custom script actions to run on HDI ondemand cluster once it's up. Please refer to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions.
- ScriptActions *[]ScriptAction `json:"scriptActions,omitempty"`
- // VirtualNetworkID - The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string).
- VirtualNetworkID interface{} `json:"virtualNetworkId,omitempty"`
- // SubnetName - The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string).
- SubnetName interface{} `json:"subnetName,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedServiceTypeProperties struct.
-func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedServiceTypeProperties struct.
+func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -73156,236 +76494,91 @@ func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body
}
for k, v := range m {
switch k {
- case "clusterSize":
- if v != nil {
- var clusterSize interface{}
- err = json.Unmarshal(*v, &clusterSize)
- if err != nil {
- return err
- }
- hiodlstp.ClusterSize = clusterSize
- }
- case "timeToLive":
- if v != nil {
- var timeToLive interface{}
- err = json.Unmarshal(*v, &timeToLive)
- if err != nil {
- return err
- }
- hiodlstp.TimeToLive = timeToLive
- }
- case "version":
- if v != nil {
- var version interface{}
- err = json.Unmarshal(*v, &version)
- if err != nil {
- return err
- }
- hiodlstp.Version = version
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- hiodlstp.LinkedServiceName = &linkedServiceName
- }
- case "hostSubscriptionId":
- if v != nil {
- var hostSubscriptionID interface{}
- err = json.Unmarshal(*v, &hostSubscriptionID)
- if err != nil {
- return err
- }
- hiodlstp.HostSubscriptionID = hostSubscriptionID
- }
- case "servicePrincipalId":
- if v != nil {
- var servicePrincipalID interface{}
- err = json.Unmarshal(*v, &servicePrincipalID)
- if err != nil {
- return err
- }
- hiodlstp.ServicePrincipalID = servicePrincipalID
- }
- case "servicePrincipalKey":
- if v != nil {
- servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- hiodlstp.ServicePrincipalKey = servicePrincipalKey
- }
- case "tenant":
- if v != nil {
- var tenant interface{}
- err = json.Unmarshal(*v, &tenant)
- if err != nil {
- return err
- }
- hiodlstp.Tenant = tenant
- }
- case "clusterResourceGroup":
- if v != nil {
- var clusterResourceGroup interface{}
- err = json.Unmarshal(*v, &clusterResourceGroup)
- if err != nil {
- return err
- }
- hiodlstp.ClusterResourceGroup = clusterResourceGroup
- }
- case "clusterNamePrefix":
- if v != nil {
- var clusterNamePrefix interface{}
- err = json.Unmarshal(*v, &clusterNamePrefix)
- if err != nil {
- return err
- }
- hiodlstp.ClusterNamePrefix = clusterNamePrefix
- }
- case "clusterUserName":
- if v != nil {
- var clusterUserName interface{}
- err = json.Unmarshal(*v, &clusterUserName)
- if err != nil {
- return err
- }
- hiodlstp.ClusterUserName = clusterUserName
- }
- case "clusterPassword":
- if v != nil {
- clusterPassword, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- hiodlstp.ClusterPassword = clusterPassword
- }
- case "clusterSshUserName":
- if v != nil {
- var clusterSSHUserName interface{}
- err = json.Unmarshal(*v, &clusterSSHUserName)
- if err != nil {
- return err
- }
- hiodlstp.ClusterSSHUserName = clusterSSHUserName
- }
- case "clusterSshPassword":
- if v != nil {
- clusterSSHPassword, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- hiodlstp.ClusterSSHPassword = clusterSSHPassword
- }
- case "additionalLinkedServiceNames":
- if v != nil {
- var additionalLinkedServiceNames []LinkedServiceReference
- err = json.Unmarshal(*v, &additionalLinkedServiceNames)
- if err != nil {
- return err
- }
- hiodlstp.AdditionalLinkedServiceNames = &additionalLinkedServiceNames
- }
- case "hcatalogLinkedServiceName":
- if v != nil {
- var hcatalogLinkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &hcatalogLinkedServiceName)
- if err != nil {
- return err
- }
- hiodlstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName
- }
- case "clusterType":
+ case "clientCustomerID":
if v != nil {
- var clusterType interface{}
- err = json.Unmarshal(*v, &clusterType)
+ var clientCustomerID interface{}
+ err = json.Unmarshal(*v, &clientCustomerID)
if err != nil {
return err
}
- hiodlstp.ClusterType = clusterType
+ gawlstp.ClientCustomerID = clientCustomerID
}
- case "sparkVersion":
+ case "developerToken":
if v != nil {
- var sparkVersion interface{}
- err = json.Unmarshal(*v, &sparkVersion)
+ developerToken, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- hiodlstp.SparkVersion = sparkVersion
+ gawlstp.DeveloperToken = developerToken
}
- case "coreConfiguration":
+ case "authenticationType":
if v != nil {
- var coreConfiguration interface{}
- err = json.Unmarshal(*v, &coreConfiguration)
+ var authenticationType GoogleAdWordsAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
}
- hiodlstp.CoreConfiguration = coreConfiguration
+ gawlstp.AuthenticationType = authenticationType
}
- case "hBaseConfiguration":
+ case "refreshToken":
if v != nil {
- var hBaseConfiguration interface{}
- err = json.Unmarshal(*v, &hBaseConfiguration)
+ refreshToken, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- hiodlstp.HBaseConfiguration = hBaseConfiguration
+ gawlstp.RefreshToken = refreshToken
}
- case "hdfsConfiguration":
+ case "clientId":
if v != nil {
- var hdfsConfiguration interface{}
- err = json.Unmarshal(*v, &hdfsConfiguration)
+ clientID, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- hiodlstp.HdfsConfiguration = hdfsConfiguration
+ gawlstp.ClientID = clientID
}
- case "hiveConfiguration":
+ case "clientSecret":
if v != nil {
- var hiveConfiguration interface{}
- err = json.Unmarshal(*v, &hiveConfiguration)
+ clientSecret, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- hiodlstp.HiveConfiguration = hiveConfiguration
+ gawlstp.ClientSecret = clientSecret
}
- case "mapReduceConfiguration":
+ case "email":
if v != nil {
- var mapReduceConfiguration interface{}
- err = json.Unmarshal(*v, &mapReduceConfiguration)
+ var email interface{}
+ err = json.Unmarshal(*v, &email)
if err != nil {
return err
}
- hiodlstp.MapReduceConfiguration = mapReduceConfiguration
+ gawlstp.Email = email
}
- case "oozieConfiguration":
+ case "keyFilePath":
if v != nil {
- var oozieConfiguration interface{}
- err = json.Unmarshal(*v, &oozieConfiguration)
+ var keyFilePath interface{}
+ err = json.Unmarshal(*v, &keyFilePath)
if err != nil {
return err
}
- hiodlstp.OozieConfiguration = oozieConfiguration
+ gawlstp.KeyFilePath = keyFilePath
}
- case "stormConfiguration":
+ case "trustedCertPath":
if v != nil {
- var stormConfiguration interface{}
- err = json.Unmarshal(*v, &stormConfiguration)
+ var trustedCertPath interface{}
+ err = json.Unmarshal(*v, &trustedCertPath)
if err != nil {
return err
}
- hiodlstp.StormConfiguration = stormConfiguration
+ gawlstp.TrustedCertPath = trustedCertPath
}
- case "yarnConfiguration":
+ case "useSystemTrustStore":
if v != nil {
- var yarnConfiguration interface{}
- err = json.Unmarshal(*v, &yarnConfiguration)
+ var useSystemTrustStore interface{}
+ err = json.Unmarshal(*v, &useSystemTrustStore)
if err != nil {
return err
}
- hiodlstp.YarnConfiguration = yarnConfiguration
+ gawlstp.UseSystemTrustStore = useSystemTrustStore
}
case "encryptedCredential":
if v != nil {
@@ -73394,61 +76587,7 @@ func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body
if err != nil {
return err
}
- hiodlstp.EncryptedCredential = encryptedCredential
- }
- case "headNodeSize":
- if v != nil {
- var headNodeSize interface{}
- err = json.Unmarshal(*v, &headNodeSize)
- if err != nil {
- return err
- }
- hiodlstp.HeadNodeSize = headNodeSize
- }
- case "dataNodeSize":
- if v != nil {
- var dataNodeSize interface{}
- err = json.Unmarshal(*v, &dataNodeSize)
- if err != nil {
- return err
- }
- hiodlstp.DataNodeSize = dataNodeSize
- }
- case "zookeeperNodeSize":
- if v != nil {
- var zookeeperNodeSize interface{}
- err = json.Unmarshal(*v, &zookeeperNodeSize)
- if err != nil {
- return err
- }
- hiodlstp.ZookeeperNodeSize = zookeeperNodeSize
- }
- case "scriptActions":
- if v != nil {
- var scriptActions []ScriptAction
- err = json.Unmarshal(*v, &scriptActions)
- if err != nil {
- return err
- }
- hiodlstp.ScriptActions = &scriptActions
- }
- case "virtualNetworkId":
- if v != nil {
- var virtualNetworkID interface{}
- err = json.Unmarshal(*v, &virtualNetworkID)
- if err != nil {
- return err
- }
- hiodlstp.VirtualNetworkID = virtualNetworkID
- }
- case "subnetName":
- if v != nil {
- var subnetName interface{}
- err = json.Unmarshal(*v, &subnetName)
- if err != nil {
- return err
- }
- hiodlstp.SubnetName = subnetName
+ gawlstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -73456,619 +76595,469 @@ func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body
return nil
}
-// HDInsightPigActivity hDInsight Pig activity type.
-type HDInsightPigActivity struct {
- // HDInsightPigActivityTypeProperties - HDInsight Pig activity properties.
- *HDInsightPigActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
+// GoogleAdWordsObjectDataset google AdWords service dataset.
+type GoogleAdWordsObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) MarshalJSON() ([]byte, error) {
- hipa.Type = TypeHDInsightPig
+// MarshalJSON is the custom marshaler for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) MarshalJSON() ([]byte, error) {
+ gawod.Type = TypeGoogleAdWordsObject
objectMap := make(map[string]interface{})
- if hipa.HDInsightPigActivityTypeProperties != nil {
- objectMap["typeProperties"] = hipa.HDInsightPigActivityTypeProperties
+ if gawod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = gawod.GenericDatasetTypeProperties
}
- if hipa.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = hipa.LinkedServiceName
+ if gawod.Description != nil {
+ objectMap["description"] = gawod.Description
}
- if hipa.Policy != nil {
- objectMap["policy"] = hipa.Policy
+ if gawod.Structure != nil {
+ objectMap["structure"] = gawod.Structure
}
- if hipa.Name != nil {
- objectMap["name"] = hipa.Name
+ if gawod.Schema != nil {
+ objectMap["schema"] = gawod.Schema
}
- if hipa.Description != nil {
- objectMap["description"] = hipa.Description
+ if gawod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = gawod.LinkedServiceName
}
- if hipa.DependsOn != nil {
- objectMap["dependsOn"] = hipa.DependsOn
+ if gawod.Parameters != nil {
+ objectMap["parameters"] = gawod.Parameters
}
- if hipa.UserProperties != nil {
- objectMap["userProperties"] = hipa.UserProperties
+ if gawod.Annotations != nil {
+ objectMap["annotations"] = gawod.Annotations
}
- if hipa.Type != "" {
- objectMap["type"] = hipa.Type
+ if gawod.Folder != nil {
+ objectMap["folder"] = gawod.Folder
}
- for k, v := range hipa.AdditionalProperties {
+ if gawod.Type != "" {
+ objectMap["type"] = gawod.Type
+ }
+ for k, v := range gawod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
- return nil, false
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return &gawod, true
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsWebActivity() (*WebActivity, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
- return &hipa, true
-}
-
-// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &hipa, true
+// AsMagentoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsActivity() (*Activity, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for HDInsightPigActivity.
-func (hipa HDInsightPigActivity) AsBasicActivity() (BasicActivity, bool) {
- return &hipa, true
+// AsHTTPDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HDInsightPigActivity struct.
-func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var hDInsightPigActivityTypeProperties HDInsightPigActivityTypeProperties
- err = json.Unmarshal(*v, &hDInsightPigActivityTypeProperties)
- if err != nil {
- return err
- }
- hipa.HDInsightPigActivityTypeProperties = &hDInsightPigActivityTypeProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- hipa.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
- if err != nil {
- return err
- }
- hipa.Policy = &policy
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if hipa.AdditionalProperties == nil {
- hipa.AdditionalProperties = make(map[string]interface{})
- }
- hipa.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- hipa.Name = &name
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- hipa.Description = &description
- }
- case "dependsOn":
- if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
- if err != nil {
- return err
- }
- hipa.DependsOn = &dependsOn
- }
- case "userProperties":
- if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
- if err != nil {
- return err
- }
- hipa.UserProperties = &userProperties
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicActivity
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- hipa.Type = typeVar
- }
- }
- }
-
- return nil
+// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
}
-// HDInsightPigActivityTypeProperties hDInsight Pig activity properties.
-type HDInsightPigActivityTypeProperties struct {
- // StorageLinkedServices - Storage linked service references.
- StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
- // Arguments - User specified arguments to HDInsightActivity.
- Arguments *[]interface{} `json:"arguments,omitempty"`
- // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
- GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
- // ScriptPath - Script path. Type: string (or Expression with resultType string).
- ScriptPath interface{} `json:"scriptPath,omitempty"`
- // ScriptLinkedService - Script linked service reference.
- ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"`
- // Defines - Allows user to specify defines for Pig job request.
- Defines map[string]interface{} `json:"defines"`
+// AsWebTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for HDInsightPigActivityTypeProperties.
-func (hipatp HDInsightPigActivityTypeProperties) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if hipatp.StorageLinkedServices != nil {
- objectMap["storageLinkedServices"] = hipatp.StorageLinkedServices
- }
- if hipatp.Arguments != nil {
- objectMap["arguments"] = hipatp.Arguments
- }
- if hipatp.GetDebugInfo != "" {
- objectMap["getDebugInfo"] = hipatp.GetDebugInfo
- }
- if hipatp.ScriptPath != nil {
- objectMap["scriptPath"] = hipatp.ScriptPath
- }
- if hipatp.ScriptLinkedService != nil {
- objectMap["scriptLinkedService"] = hipatp.ScriptLinkedService
- }
- if hipatp.Defines != nil {
- objectMap["defines"] = hipatp.Defines
- }
- return json.Marshal(objectMap)
+// AsSapTableResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
}
-// HDInsightSparkActivity hDInsight Spark activity.
-type HDInsightSparkActivity struct {
- // HDInsightSparkActivityTypeProperties - HDInsight spark activity properties.
- *HDInsightSparkActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+// AsRestResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) MarshalJSON() ([]byte, error) {
- hisa.Type = TypeHDInsightSpark
- objectMap := make(map[string]interface{})
- if hisa.HDInsightSparkActivityTypeProperties != nil {
- objectMap["typeProperties"] = hisa.HDInsightSparkActivityTypeProperties
- }
- if hisa.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = hisa.LinkedServiceName
- }
- if hisa.Policy != nil {
- objectMap["policy"] = hisa.Policy
- }
- if hisa.Name != nil {
- objectMap["name"] = hisa.Name
- }
- if hisa.Description != nil {
- objectMap["description"] = hisa.Description
- }
- if hisa.DependsOn != nil {
- objectMap["dependsOn"] = hisa.DependsOn
- }
- if hisa.UserProperties != nil {
- objectMap["userProperties"] = hisa.UserProperties
- }
- if hisa.Type != "" {
- objectMap["type"] = hisa.Type
- }
- for k, v := range hisa.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsSQLServerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
}
-// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsWebActivity() (*WebActivity, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
- return &hisa, true
+// AsOracleTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsFileShareDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &hisa, true
+// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsCustomDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsActivity() (*Activity, bool) {
+// AsBinaryDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for HDInsightSparkActivity.
-func (hisa HDInsightSparkActivity) AsBasicActivity() (BasicActivity, bool) {
- return &hisa, true
+// AsDelimitedTextDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HDInsightSparkActivity struct.
-func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error {
+// AsParquetDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset.
+func (gawod GoogleAdWordsObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &gawod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsObjectDataset struct.
+func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -74078,87 +77067,96 @@ func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var hDInsightSparkActivityTypeProperties HDInsightSparkActivityTypeProperties
- err = json.Unmarshal(*v, &hDInsightSparkActivityTypeProperties)
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
if err != nil {
return err
}
- hisa.HDInsightSparkActivityTypeProperties = &hDInsightSparkActivityTypeProperties
+ gawod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
- case "linkedServiceName":
+ default:
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- hisa.LinkedServiceName = &linkedServiceName
+ if gawod.AdditionalProperties == nil {
+ gawod.AdditionalProperties = make(map[string]interface{})
+ }
+ gawod.AdditionalProperties[k] = additionalProperties
}
- case "policy":
+ case "description":
if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- hisa.Policy = &policy
+ gawod.Description = &description
}
- default:
+ case "structure":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- if hisa.AdditionalProperties == nil {
- hisa.AdditionalProperties = make(map[string]interface{})
+ gawod.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
}
- hisa.AdditionalProperties[k] = additionalProperties
+ gawod.Schema = schema
}
- case "name":
+ case "linkedServiceName":
if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- hisa.Name = &name
+ gawod.LinkedServiceName = &linkedServiceName
}
- case "description":
+ case "parameters":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- hisa.Description = &description
+ gawod.Parameters = parameters
}
- case "dependsOn":
+ case "annotations":
if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- hisa.DependsOn = &dependsOn
+ gawod.Annotations = &annotations
}
- case "userProperties":
+ case "folder":
if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
if err != nil {
return err
}
- hisa.UserProperties = &userProperties
+ gawod.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicActivity
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- hisa.Type = typeVar
+ gawod.Type = typeVar
}
}
}
@@ -74166,294 +77164,459 @@ func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// HDInsightSparkActivityTypeProperties hDInsight spark activity properties.
-type HDInsightSparkActivityTypeProperties struct {
- // RootPath - The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).
- RootPath interface{} `json:"rootPath,omitempty"`
- // EntryFilePath - The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).
- EntryFilePath interface{} `json:"entryFilePath,omitempty"`
- // Arguments - The user-specified arguments to HDInsightSparkActivity.
- Arguments *[]interface{} `json:"arguments,omitempty"`
- // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
- GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
- // SparkJobLinkedService - The storage linked service for uploading the entry file and dependencies, and for receiving logs.
- SparkJobLinkedService *LinkedServiceReference `json:"sparkJobLinkedService,omitempty"`
- // ClassName - The application's Java/Spark main class.
- ClassName *string `json:"className,omitempty"`
- // ProxyUser - The user to impersonate that will execute the job. Type: string (or Expression with resultType string).
- ProxyUser interface{} `json:"proxyUser,omitempty"`
- // SparkConfig - Spark configuration property.
- SparkConfig map[string]interface{} `json:"sparkConfig"`
+// GoogleAdWordsSource a copy activity Google AdWords service source.
+type GoogleAdWordsSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HDInsightSparkActivityTypeProperties.
-func (hisatp HDInsightSparkActivityTypeProperties) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) MarshalJSON() ([]byte, error) {
+ gaws.Type = TypeGoogleAdWordsSource
objectMap := make(map[string]interface{})
- if hisatp.RootPath != nil {
- objectMap["rootPath"] = hisatp.RootPath
- }
- if hisatp.EntryFilePath != nil {
- objectMap["entryFilePath"] = hisatp.EntryFilePath
- }
- if hisatp.Arguments != nil {
- objectMap["arguments"] = hisatp.Arguments
+ if gaws.Query != nil {
+ objectMap["query"] = gaws.Query
}
- if hisatp.GetDebugInfo != "" {
- objectMap["getDebugInfo"] = hisatp.GetDebugInfo
+ if gaws.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = gaws.SourceRetryCount
}
- if hisatp.SparkJobLinkedService != nil {
- objectMap["sparkJobLinkedService"] = hisatp.SparkJobLinkedService
+ if gaws.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = gaws.SourceRetryWait
}
- if hisatp.ClassName != nil {
- objectMap["className"] = hisatp.ClassName
+ if gaws.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = gaws.MaxConcurrentConnections
}
- if hisatp.ProxyUser != nil {
- objectMap["proxyUser"] = hisatp.ProxyUser
+ if gaws.Type != "" {
+ objectMap["type"] = gaws.Type
}
- if hisatp.SparkConfig != nil {
- objectMap["sparkConfig"] = hisatp.SparkConfig
+ for k, v := range gaws.AdditionalProperties {
+ objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// HDInsightStreamingActivity hDInsight streaming activity type.
-type HDInsightStreamingActivity struct {
- // HDInsightStreamingActivityTypeProperties - HDInsight streaming activity properties.
- *HDInsightStreamingActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) MarshalJSON() ([]byte, error) {
- hisa.Type = TypeHDInsightStreaming
- objectMap := make(map[string]interface{})
- if hisa.HDInsightStreamingActivityTypeProperties != nil {
- objectMap["typeProperties"] = hisa.HDInsightStreamingActivityTypeProperties
- }
- if hisa.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = hisa.LinkedServiceName
- }
- if hisa.Policy != nil {
- objectMap["policy"] = hisa.Policy
- }
- if hisa.Name != nil {
- objectMap["name"] = hisa.Name
- }
- if hisa.Description != nil {
- objectMap["description"] = hisa.Description
- }
- if hisa.DependsOn != nil {
- objectMap["dependsOn"] = hisa.DependsOn
- }
- if hisa.UserProperties != nil {
- objectMap["userProperties"] = hisa.UserProperties
- }
- if hisa.Type != "" {
- objectMap["type"] = hisa.Type
- }
- for k, v := range hisa.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return &gaws, true
}
-// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsResponsysSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsVerticaSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsZohoSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsXeroSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsWebActivity() (*WebActivity, bool) {
+// AsSquareSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsSparkSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsShopifySource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsPrestoSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
- return &hisa, true
+// AsPaypalSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsMarketoSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsMagentoSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsJiraSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsImpalaSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &hisa, true
+// AsHubspotSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsHiveSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsHBaseSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsEloquaSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsDrillSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsConcurSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsHTTPSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsActivity() (*Activity, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for HDInsightStreamingActivity.
-func (hisa HDInsightStreamingActivity) AsBasicActivity() (BasicActivity, bool) {
- return &hisa, true
+// AsOffice365Source is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HDInsightStreamingActivity struct.
-func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for GoogleAdWordsSource.
+func (gaws GoogleAdWordsSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &gaws, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsSource struct.
+func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -74461,32 +77624,14 @@ func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
- if v != nil {
- var hDInsightStreamingActivityTypeProperties HDInsightStreamingActivityTypeProperties
- err = json.Unmarshal(*v, &hDInsightStreamingActivityTypeProperties)
- if err != nil {
- return err
- }
- hisa.HDInsightStreamingActivityTypeProperties = &hDInsightStreamingActivityTypeProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- hisa.LinkedServiceName = &linkedServiceName
- }
- case "policy":
+ case "query":
if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- hisa.Policy = &policy
+ gaws.Query = query
}
default:
if v != nil {
@@ -74495,55 +77640,46 @@ func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hisa.AdditionalProperties == nil {
- hisa.AdditionalProperties = make(map[string]interface{})
- }
- hisa.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
+ if gaws.AdditionalProperties == nil {
+ gaws.AdditionalProperties = make(map[string]interface{})
}
- hisa.Name = &name
+ gaws.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- hisa.Description = &description
+ gaws.SourceRetryCount = sourceRetryCount
}
- case "dependsOn":
+ case "sourceRetryWait":
if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- hisa.DependsOn = &dependsOn
+ gaws.SourceRetryWait = sourceRetryWait
}
- case "userProperties":
+ case "maxConcurrentConnections":
if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- hisa.UserProperties = &userProperties
+ gaws.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicActivity
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- hisa.Type = typeVar
+ gaws.Type = typeVar
}
}
}
@@ -74551,80 +77687,10 @@ func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error {
return nil
}
-// HDInsightStreamingActivityTypeProperties hDInsight streaming activity properties.
-type HDInsightStreamingActivityTypeProperties struct {
- // StorageLinkedServices - Storage linked service references.
- StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
- // Arguments - User specified arguments to HDInsightActivity.
- Arguments *[]interface{} `json:"arguments,omitempty"`
- // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
- GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
- // Mapper - Mapper executable name. Type: string (or Expression with resultType string).
- Mapper interface{} `json:"mapper,omitempty"`
- // Reducer - Reducer executable name. Type: string (or Expression with resultType string).
- Reducer interface{} `json:"reducer,omitempty"`
- // Input - Input blob path. Type: string (or Expression with resultType string).
- Input interface{} `json:"input,omitempty"`
- // Output - Output blob path. Type: string (or Expression with resultType string).
- Output interface{} `json:"output,omitempty"`
- // FilePaths - Paths to streaming job files. Can be directories.
- FilePaths *[]interface{} `json:"filePaths,omitempty"`
- // FileLinkedService - Linked service reference where the files are located.
- FileLinkedService *LinkedServiceReference `json:"fileLinkedService,omitempty"`
- // Combiner - Combiner executable name. Type: string (or Expression with resultType string).
- Combiner interface{} `json:"combiner,omitempty"`
- // CommandEnvironment - Command line environment values.
- CommandEnvironment *[]interface{} `json:"commandEnvironment,omitempty"`
- // Defines - Allows user to specify defines for streaming job request.
- Defines map[string]interface{} `json:"defines"`
-}
-
-// MarshalJSON is the custom marshaler for HDInsightStreamingActivityTypeProperties.
-func (hisatp HDInsightStreamingActivityTypeProperties) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if hisatp.StorageLinkedServices != nil {
- objectMap["storageLinkedServices"] = hisatp.StorageLinkedServices
- }
- if hisatp.Arguments != nil {
- objectMap["arguments"] = hisatp.Arguments
- }
- if hisatp.GetDebugInfo != "" {
- objectMap["getDebugInfo"] = hisatp.GetDebugInfo
- }
- if hisatp.Mapper != nil {
- objectMap["mapper"] = hisatp.Mapper
- }
- if hisatp.Reducer != nil {
- objectMap["reducer"] = hisatp.Reducer
- }
- if hisatp.Input != nil {
- objectMap["input"] = hisatp.Input
- }
- if hisatp.Output != nil {
- objectMap["output"] = hisatp.Output
- }
- if hisatp.FilePaths != nil {
- objectMap["filePaths"] = hisatp.FilePaths
- }
- if hisatp.FileLinkedService != nil {
- objectMap["fileLinkedService"] = hisatp.FileLinkedService
- }
- if hisatp.Combiner != nil {
- objectMap["combiner"] = hisatp.Combiner
- }
- if hisatp.CommandEnvironment != nil {
- objectMap["commandEnvironment"] = hisatp.CommandEnvironment
- }
- if hisatp.Defines != nil {
- objectMap["defines"] = hisatp.Defines
- }
- return json.Marshal(objectMap)
-}
-
-// HiveLinkedService hive Server linked service.
-type HiveLinkedService struct {
- // HiveLinkedServiceTypeProperties - Hive Server linked service properties.
- *HiveLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// GoogleBigQueryLinkedService google BigQuery service linked service.
+type GoogleBigQueryLinkedService struct {
+ // GoogleBigQueryLinkedServiceTypeProperties - Google BigQuery service linked service properties.
+ *GoogleBigQueryLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -74635,470 +77701,500 @@ type HiveLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HiveLinkedService.
-func (hls HiveLinkedService) MarshalJSON() ([]byte, error) {
- hls.Type = TypeHive
+// MarshalJSON is the custom marshaler for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) MarshalJSON() ([]byte, error) {
+ gbqls.Type = TypeGoogleBigQuery
objectMap := make(map[string]interface{})
- if hls.HiveLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = hls.HiveLinkedServiceTypeProperties
+ if gbqls.GoogleBigQueryLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = gbqls.GoogleBigQueryLinkedServiceTypeProperties
}
- if hls.ConnectVia != nil {
- objectMap["connectVia"] = hls.ConnectVia
+ if gbqls.ConnectVia != nil {
+ objectMap["connectVia"] = gbqls.ConnectVia
}
- if hls.Description != nil {
- objectMap["description"] = hls.Description
+ if gbqls.Description != nil {
+ objectMap["description"] = gbqls.Description
}
- if hls.Parameters != nil {
- objectMap["parameters"] = hls.Parameters
+ if gbqls.Parameters != nil {
+ objectMap["parameters"] = gbqls.Parameters
}
- if hls.Annotations != nil {
- objectMap["annotations"] = hls.Annotations
+ if gbqls.Annotations != nil {
+ objectMap["annotations"] = gbqls.Annotations
}
- if hls.Type != "" {
- objectMap["type"] = hls.Type
+ if gbqls.Type != "" {
+ objectMap["type"] = gbqls.Type
}
- for k, v := range hls.AdditionalProperties {
+ for k, v := range gbqls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
- return &hls, true
+// AsHiveLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
- return nil, false
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return &gbqls, true
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for HiveLinkedService.
-func (hls HiveLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &hls, true
+// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HiveLinkedService struct.
-func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
+func (gbqls GoogleBigQueryLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &gbqls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedService struct.
+func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -75108,12 +78204,12 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var hiveLinkedServiceTypeProperties HiveLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &hiveLinkedServiceTypeProperties)
+ var googleBigQueryLinkedServiceTypeProperties GoogleBigQueryLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &googleBigQueryLinkedServiceTypeProperties)
if err != nil {
return err
}
- hls.HiveLinkedServiceTypeProperties = &hiveLinkedServiceTypeProperties
+ gbqls.GoogleBigQueryLinkedServiceTypeProperties = &googleBigQueryLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -75122,10 +78218,10 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hls.AdditionalProperties == nil {
- hls.AdditionalProperties = make(map[string]interface{})
+ if gbqls.AdditionalProperties == nil {
+ gbqls.AdditionalProperties = make(map[string]interface{})
}
- hls.AdditionalProperties[k] = additionalProperties
+ gbqls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -75134,7 +78230,7 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hls.ConnectVia = &connectVia
+ gbqls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -75143,7 +78239,7 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hls.Description = &description
+ gbqls.Description = &description
}
case "parameters":
if v != nil {
@@ -75152,7 +78248,7 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hls.Parameters = parameters
+ gbqls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -75161,7 +78257,7 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hls.Annotations = &annotations
+ gbqls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -75170,7 +78266,7 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hls.Type = typeVar
+ gbqls.Type = typeVar
}
}
}
@@ -75178,46 +78274,36 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// HiveLinkedServiceTypeProperties hive Server linked service properties.
-type HiveLinkedServiceTypeProperties struct {
- // Host - IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).
- Host interface{} `json:"host,omitempty"`
- // Port - The TCP port that the Hive server uses to listen for client connections.
- Port interface{} `json:"port,omitempty"`
- // ServerType - The type of Hive server. Possible values include: 'HiveServer1', 'HiveServer2', 'HiveThriftServer'
- ServerType HiveServerType `json:"serverType,omitempty"`
- // ThriftTransportProtocol - The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', 'HTTP'
- ThriftTransportProtocol HiveThriftTransportProtocol `json:"thriftTransportProtocol,omitempty"`
- // AuthenticationType - The authentication method used to access the Hive server. Possible values include: 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService'
- AuthenticationType HiveAuthenticationType `json:"authenticationType,omitempty"`
- // ServiceDiscoveryMode - true to indicate using the ZooKeeper service, false not.
- ServiceDiscoveryMode interface{} `json:"serviceDiscoveryMode,omitempty"`
- // ZooKeeperNameSpace - The namespace on ZooKeeper under which Hive Server 2 nodes are added.
- ZooKeeperNameSpace interface{} `json:"zooKeeperNameSpace,omitempty"`
- // UseNativeQuery - Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL.
- UseNativeQuery interface{} `json:"useNativeQuery,omitempty"`
- // Username - The user name that you use to access Hive Server.
- Username interface{} `json:"username,omitempty"`
- // Password - The password corresponding to the user name that you provided in the Username field
- Password BasicSecretBase `json:"password,omitempty"`
- // HTTPPath - The partial URL corresponding to the Hive server.
- HTTPPath interface{} `json:"httpPath,omitempty"`
- // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
- EnableSsl interface{} `json:"enableSsl,omitempty"`
+// GoogleBigQueryLinkedServiceTypeProperties google BigQuery service linked service properties.
+type GoogleBigQueryLinkedServiceTypeProperties struct {
+ // Project - The default BigQuery project to query against.
+ Project interface{} `json:"project,omitempty"`
+ // AdditionalProjects - A comma-separated list of public BigQuery projects to access.
+ AdditionalProjects interface{} `json:"additionalProjects,omitempty"`
+ // RequestGoogleDriveScope - Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false.
+ RequestGoogleDriveScope interface{} `json:"requestGoogleDriveScope,omitempty"`
+ // AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'GoogleBigQueryAuthenticationTypeServiceAuthentication', 'GoogleBigQueryAuthenticationTypeUserAuthentication'
+ AuthenticationType GoogleBigQueryAuthenticationType `json:"authenticationType,omitempty"`
+ // RefreshToken - The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication.
+ RefreshToken BasicSecretBase `json:"refreshToken,omitempty"`
+ // ClientID - The client id of the google application used to acquire the refresh token.
+ ClientID BasicSecretBase `json:"clientId,omitempty"`
+ // ClientSecret - The client secret of the google application used to acquire the refresh token.
+ ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
+ // Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.
+ Email interface{} `json:"email,omitempty"`
+ // KeyFilePath - The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR.
+ KeyFilePath interface{} `json:"keyFilePath,omitempty"`
// TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
// UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
- // AllowHostNameCNMismatch - Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
- AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
- // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
- AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for HiveLinkedServiceTypeProperties struct.
-func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedServiceTypeProperties struct.
+func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -75225,112 +78311,83 @@ func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "host":
- if v != nil {
- var host interface{}
- err = json.Unmarshal(*v, &host)
- if err != nil {
- return err
- }
- hlstp.Host = host
- }
- case "port":
+ case "project":
if v != nil {
- var port interface{}
- err = json.Unmarshal(*v, &port)
+ var project interface{}
+ err = json.Unmarshal(*v, &project)
if err != nil {
return err
}
- hlstp.Port = port
+ gbqlstp.Project = project
}
- case "serverType":
+ case "additionalProjects":
if v != nil {
- var serverType HiveServerType
- err = json.Unmarshal(*v, &serverType)
+ var additionalProjects interface{}
+ err = json.Unmarshal(*v, &additionalProjects)
if err != nil {
return err
}
- hlstp.ServerType = serverType
+ gbqlstp.AdditionalProjects = additionalProjects
}
- case "thriftTransportProtocol":
+ case "requestGoogleDriveScope":
if v != nil {
- var thriftTransportProtocol HiveThriftTransportProtocol
- err = json.Unmarshal(*v, &thriftTransportProtocol)
+ var requestGoogleDriveScope interface{}
+ err = json.Unmarshal(*v, &requestGoogleDriveScope)
if err != nil {
return err
}
- hlstp.ThriftTransportProtocol = thriftTransportProtocol
+ gbqlstp.RequestGoogleDriveScope = requestGoogleDriveScope
}
case "authenticationType":
if v != nil {
- var authenticationType HiveAuthenticationType
+ var authenticationType GoogleBigQueryAuthenticationType
err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
}
- hlstp.AuthenticationType = authenticationType
- }
- case "serviceDiscoveryMode":
- if v != nil {
- var serviceDiscoveryMode interface{}
- err = json.Unmarshal(*v, &serviceDiscoveryMode)
- if err != nil {
- return err
- }
- hlstp.ServiceDiscoveryMode = serviceDiscoveryMode
- }
- case "zooKeeperNameSpace":
- if v != nil {
- var zooKeeperNameSpace interface{}
- err = json.Unmarshal(*v, &zooKeeperNameSpace)
- if err != nil {
- return err
- }
- hlstp.ZooKeeperNameSpace = zooKeeperNameSpace
+ gbqlstp.AuthenticationType = authenticationType
}
- case "useNativeQuery":
+ case "refreshToken":
if v != nil {
- var useNativeQuery interface{}
- err = json.Unmarshal(*v, &useNativeQuery)
+ refreshToken, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- hlstp.UseNativeQuery = useNativeQuery
+ gbqlstp.RefreshToken = refreshToken
}
- case "username":
+ case "clientId":
if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
+ clientID, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- hlstp.Username = username
+ gbqlstp.ClientID = clientID
}
- case "password":
+ case "clientSecret":
if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
+ clientSecret, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- hlstp.Password = password
+ gbqlstp.ClientSecret = clientSecret
}
- case "httpPath":
+ case "email":
if v != nil {
- var HTTPPath interface{}
- err = json.Unmarshal(*v, &HTTPPath)
+ var email interface{}
+ err = json.Unmarshal(*v, &email)
if err != nil {
return err
}
- hlstp.HTTPPath = HTTPPath
+ gbqlstp.Email = email
}
- case "enableSsl":
+ case "keyFilePath":
if v != nil {
- var enableSsl interface{}
- err = json.Unmarshal(*v, &enableSsl)
+ var keyFilePath interface{}
+ err = json.Unmarshal(*v, &keyFilePath)
if err != nil {
return err
}
- hlstp.EnableSsl = enableSsl
+ gbqlstp.KeyFilePath = keyFilePath
}
case "trustedCertPath":
if v != nil {
@@ -75339,7 +78396,7 @@ func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hlstp.TrustedCertPath = trustedCertPath
+ gbqlstp.TrustedCertPath = trustedCertPath
}
case "useSystemTrustStore":
if v != nil {
@@ -75348,25 +78405,7 @@ func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hlstp.UseSystemTrustStore = useSystemTrustStore
- }
- case "allowHostNameCNMismatch":
- if v != nil {
- var allowHostNameCNMismatch interface{}
- err = json.Unmarshal(*v, &allowHostNameCNMismatch)
- if err != nil {
- return err
- }
- hlstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
- }
- case "allowSelfSignedServerCert":
- if v != nil {
- var allowSelfSignedServerCert interface{}
- err = json.Unmarshal(*v, &allowSelfSignedServerCert)
- if err != nil {
- return err
- }
- hlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
+ gbqlstp.UseSystemTrustStore = useSystemTrustStore
}
case "encryptedCredential":
if v != nil {
@@ -75375,7 +78414,7 @@ func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hlstp.EncryptedCredential = encryptedCredential
+ gbqlstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -75383,8 +78422,8 @@ func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
return nil
}
-// HiveObjectDataset hive Server dataset.
-type HiveObjectDataset struct {
+// GoogleBigQueryObjectDataset google BigQuery service dataset.
+type GoogleBigQueryObjectDataset struct {
// GenericDatasetTypeProperties - Properties specific to this dataset type.
*GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -75403,399 +78442,449 @@ type HiveObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HiveObjectDataset.
-func (hod HiveObjectDataset) MarshalJSON() ([]byte, error) {
- hod.Type = TypeHiveObject
+// MarshalJSON is the custom marshaler for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) {
+ gbqod.Type = TypeGoogleBigQueryObject
objectMap := make(map[string]interface{})
- if hod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = hod.GenericDatasetTypeProperties
+ if gbqod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = gbqod.GenericDatasetTypeProperties
}
- if hod.Description != nil {
- objectMap["description"] = hod.Description
+ if gbqod.Description != nil {
+ objectMap["description"] = gbqod.Description
}
- if hod.Structure != nil {
- objectMap["structure"] = hod.Structure
+ if gbqod.Structure != nil {
+ objectMap["structure"] = gbqod.Structure
}
- if hod.Schema != nil {
- objectMap["schema"] = hod.Schema
+ if gbqod.Schema != nil {
+ objectMap["schema"] = gbqod.Schema
}
- if hod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = hod.LinkedServiceName
+ if gbqod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = gbqod.LinkedServiceName
}
- if hod.Parameters != nil {
- objectMap["parameters"] = hod.Parameters
+ if gbqod.Parameters != nil {
+ objectMap["parameters"] = gbqod.Parameters
}
- if hod.Annotations != nil {
- objectMap["annotations"] = hod.Annotations
+ if gbqod.Annotations != nil {
+ objectMap["annotations"] = gbqod.Annotations
}
- if hod.Folder != nil {
- objectMap["folder"] = hod.Folder
+ if gbqod.Folder != nil {
+ objectMap["folder"] = gbqod.Folder
}
- if hod.Type != "" {
- objectMap["type"] = hod.Type
+ if gbqod.Type != "" {
+ objectMap["type"] = gbqod.Type
}
- for k, v := range hod.AdditionalProperties {
+ for k, v := range gbqod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
- return &hod, true
+// AsHiveObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return &gbqod, true
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for HiveObjectDataset.
-func (hod HiveObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &hod, true
+// AsAzureSQLMITableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HiveObjectDataset struct.
-func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
+func (gbqod GoogleBigQueryObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &gbqod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryObjectDataset struct.
+func (gbqod *GoogleBigQueryObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -75810,7 +78899,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ gbqod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -75819,10 +78908,10 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hod.AdditionalProperties == nil {
- hod.AdditionalProperties = make(map[string]interface{})
+ if gbqod.AdditionalProperties == nil {
+ gbqod.AdditionalProperties = make(map[string]interface{})
}
- hod.AdditionalProperties[k] = additionalProperties
+ gbqod.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -75831,7 +78920,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Description = &description
+ gbqod.Description = &description
}
case "structure":
if v != nil {
@@ -75840,7 +78929,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Structure = structure
+ gbqod.Structure = structure
}
case "schema":
if v != nil {
@@ -75849,7 +78938,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Schema = schema
+ gbqod.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -75858,7 +78947,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.LinkedServiceName = &linkedServiceName
+ gbqod.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -75867,7 +78956,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Parameters = parameters
+ gbqod.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -75876,7 +78965,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Annotations = &annotations
+ gbqod.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -75885,7 +78974,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Folder = &folder
+ gbqod.Folder = &folder
}
case "type":
if v != nil {
@@ -75894,7 +78983,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Type = typeVar
+ gbqod.Type = typeVar
}
}
}
@@ -75902,8 +78991,8 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// HiveSource a copy activity Hive Server source.
-type HiveSource struct {
+// GoogleBigQuerySource a copy activity Google BigQuery service source.
+type GoogleBigQuerySource struct {
// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -75914,409 +79003,474 @@ type HiveSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HiveSource.
-func (hs HiveSource) MarshalJSON() ([]byte, error) {
- hs.Type = TypeHiveSource
+// MarshalJSON is the custom marshaler for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) MarshalJSON() ([]byte, error) {
+ gbqs.Type = TypeGoogleBigQuerySource
objectMap := make(map[string]interface{})
- if hs.Query != nil {
- objectMap["query"] = hs.Query
+ if gbqs.Query != nil {
+ objectMap["query"] = gbqs.Query
}
- if hs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = hs.SourceRetryCount
+ if gbqs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = gbqs.SourceRetryCount
}
- if hs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = hs.SourceRetryWait
+ if gbqs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = gbqs.SourceRetryWait
}
- if hs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections
+ if gbqs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = gbqs.MaxConcurrentConnections
}
- if hs.Type != "" {
- objectMap["type"] = hs.Type
+ if gbqs.Type != "" {
+ objectMap["type"] = gbqs.Type
}
- for k, v := range hs.AdditionalProperties {
+ for k, v := range gbqs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifySource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsHiveSource() (*HiveSource, bool) {
- return &hs, true
+// AsHiveSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return &gbqs, true
+}
+
+// AsEloquaSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsDrillSource() (*DrillSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsConcurSource() (*ConcurSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsOffice365Source is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsOffice365Source() (*Office365Source, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsWebSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsWebSource() (*WebSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsOracleSource() (*OracleSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsRestSource() (*RestSource, bool) {
+// AsRestSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsODataSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsBlobSource() (*BlobSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsParquetSource() (*ParquetSource, bool) {
+// AsDb2Source is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsCopySource() (*CopySource, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for HiveSource.
-func (hs HiveSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &hs, true
+// AsInformixSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HiveSource struct.
-func (hs *HiveSource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "query":
- if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
- if err != nil {
- return err
- }
- hs.Query = query
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if hs.AdditionalProperties == nil {
- hs.AdditionalProperties = make(map[string]interface{})
+// AsRelationalSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for GoogleBigQuerySource.
+func (gbqs GoogleBigQuerySource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &gbqs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for GoogleBigQuerySource struct.
+func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
}
- hs.AdditionalProperties[k] = additionalProperties
+ gbqs.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if gbqs.AdditionalProperties == nil {
+ gbqs.AdditionalProperties = make(map[string]interface{})
+ }
+ gbqs.AdditionalProperties[k] = additionalProperties
}
case "sourceRetryCount":
if v != nil {
@@ -76325,7 +79479,7 @@ func (hs *HiveSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hs.SourceRetryCount = sourceRetryCount
+ gbqs.SourceRetryCount = sourceRetryCount
}
case "sourceRetryWait":
if v != nil {
@@ -76334,7 +79488,7 @@ func (hs *HiveSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hs.SourceRetryWait = sourceRetryWait
+ gbqs.SourceRetryWait = sourceRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -76343,7 +79497,7 @@ func (hs *HiveSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hs.MaxConcurrentConnections = maxConcurrentConnections
+ gbqs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -76352,7 +79506,7 @@ func (hs *HiveSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hs.Type = typeVar
+ gbqs.Type = typeVar
}
}
}
@@ -76360,419 +79514,514 @@ func (hs *HiveSource) UnmarshalJSON(body []byte) error {
return nil
}
-// HTTPDataset a file in an HTTP web server.
-type HTTPDataset struct {
- // HTTPDatasetTypeProperties - Properties specific to this dataset type.
- *HTTPDatasetTypeProperties `json:"typeProperties,omitempty"`
+// GreenplumLinkedService greenplum Database linked service.
+type GreenplumLinkedService struct {
+ // GreenplumLinkedServiceTypeProperties - Greenplum Database linked service properties.
+ *GreenplumLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
+ // Parameters - Parameters for linked service.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
+ // Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HTTPDataset.
-func (hd HTTPDataset) MarshalJSON() ([]byte, error) {
- hd.Type = TypeHTTPFile
+// MarshalJSON is the custom marshaler for GreenplumLinkedService.
+func (gls GreenplumLinkedService) MarshalJSON() ([]byte, error) {
+ gls.Type = TypeGreenplum
objectMap := make(map[string]interface{})
- if hd.HTTPDatasetTypeProperties != nil {
- objectMap["typeProperties"] = hd.HTTPDatasetTypeProperties
- }
- if hd.Description != nil {
- objectMap["description"] = hd.Description
- }
- if hd.Structure != nil {
- objectMap["structure"] = hd.Structure
- }
- if hd.Schema != nil {
- objectMap["schema"] = hd.Schema
+ if gls.GreenplumLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = gls.GreenplumLinkedServiceTypeProperties
}
- if hd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = hd.LinkedServiceName
+ if gls.ConnectVia != nil {
+ objectMap["connectVia"] = gls.ConnectVia
}
- if hd.Parameters != nil {
- objectMap["parameters"] = hd.Parameters
+ if gls.Description != nil {
+ objectMap["description"] = gls.Description
}
- if hd.Annotations != nil {
- objectMap["annotations"] = hd.Annotations
+ if gls.Parameters != nil {
+ objectMap["parameters"] = gls.Parameters
}
- if hd.Folder != nil {
- objectMap["folder"] = hd.Folder
+ if gls.Annotations != nil {
+ objectMap["annotations"] = gls.Annotations
}
- if hd.Type != "" {
- objectMap["type"] = hd.Type
+ if gls.Type != "" {
+ objectMap["type"] = gls.Type
}
- for k, v := range hd.AdditionalProperties {
+ for k, v := range gls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return &gls, true
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsHTTPDataset() (*HTTPDataset, bool) {
- return &hd, true
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsDataset() (*Dataset, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for HTTPDataset.
-func (hd HTTPDataset) AsBasicDataset() (BasicDataset, bool) {
- return &hd, true
+// AsSybaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HTTPDataset struct.
-func (hd *HTTPDataset) UnmarshalJSON(body []byte) error {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
+func (gls GreenplumLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &gls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for GreenplumLinkedService struct.
+func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -76782,12 +80031,12 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var HTTPDatasetTypeProperties HTTPDatasetTypeProperties
- err = json.Unmarshal(*v, &HTTPDatasetTypeProperties)
+ var greenplumLinkedServiceTypeProperties GreenplumLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &greenplumLinkedServiceTypeProperties)
if err != nil {
return err
}
- hd.HTTPDatasetTypeProperties = &HTTPDatasetTypeProperties
+ gls.GreenplumLinkedServiceTypeProperties = &greenplumLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -76796,46 +80045,28 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hd.AdditionalProperties == nil {
- hd.AdditionalProperties = make(map[string]interface{})
- }
- hd.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- hd.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
+ if gls.AdditionalProperties == nil {
+ gls.AdditionalProperties = make(map[string]interface{})
}
- hd.Structure = structure
+ gls.AdditionalProperties[k] = additionalProperties
}
- case "schema":
+ case "connectVia":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- hd.Schema = schema
+ gls.ConnectVia = &connectVia
}
- case "linkedServiceName":
+ case "description":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- hd.LinkedServiceName = &linkedServiceName
+ gls.Description = &description
}
case "parameters":
if v != nil {
@@ -76844,7 +80075,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hd.Parameters = parameters
+ gls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -76853,25 +80084,16 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hd.Annotations = &annotations
- }
- case "folder":
- if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
- if err != nil {
- return err
- }
- hd.Folder = &folder
+ gls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- hd.Type = typeVar
+ gls.Type = typeVar
}
}
}
@@ -76879,569 +80101,469 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// HTTPDatasetTypeProperties properties specific to this dataset type.
-type HTTPDatasetTypeProperties struct {
- // RelativeURL - The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string).
- RelativeURL interface{} `json:"relativeUrl,omitempty"`
- // RequestMethod - The HTTP method for the HTTP request. Type: string (or Expression with resultType string).
- RequestMethod interface{} `json:"requestMethod,omitempty"`
- // RequestBody - The body for the HTTP request. Type: string (or Expression with resultType string).
- RequestBody interface{} `json:"requestBody,omitempty"`
- // AdditionalHeaders - The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1
- // ...
- // request-header-name-n:request-header-value-n Type: string (or Expression with resultType string).
- AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"`
- // Format - The format of files.
- Format BasicDatasetStorageFormat `json:"format,omitempty"`
- // Compression - The data compression method used on files.
- Compression BasicDatasetCompression `json:"compression,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for HTTPDatasetTypeProperties struct.
-func (hdtp *HTTPDatasetTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "relativeUrl":
- if v != nil {
- var relativeURL interface{}
- err = json.Unmarshal(*v, &relativeURL)
- if err != nil {
- return err
- }
- hdtp.RelativeURL = relativeURL
- }
- case "requestMethod":
- if v != nil {
- var requestMethod interface{}
- err = json.Unmarshal(*v, &requestMethod)
- if err != nil {
- return err
- }
- hdtp.RequestMethod = requestMethod
- }
- case "requestBody":
- if v != nil {
- var requestBody interface{}
- err = json.Unmarshal(*v, &requestBody)
- if err != nil {
- return err
- }
- hdtp.RequestBody = requestBody
- }
- case "additionalHeaders":
- if v != nil {
- var additionalHeaders interface{}
- err = json.Unmarshal(*v, &additionalHeaders)
- if err != nil {
- return err
- }
- hdtp.AdditionalHeaders = additionalHeaders
- }
- case "format":
- if v != nil {
- formatVar, err := unmarshalBasicDatasetStorageFormat(*v)
- if err != nil {
- return err
- }
- hdtp.Format = formatVar
- }
- case "compression":
- if v != nil {
- compression, err := unmarshalBasicDatasetCompression(*v)
- if err != nil {
- return err
- }
- hdtp.Compression = compression
- }
- }
- }
-
- return nil
+// GreenplumLinkedServiceTypeProperties greenplum Database linked service properties.
+type GreenplumLinkedServiceTypeProperties struct {
+ // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // Pwd - The Azure key vault secret reference of password in connection string.
+ Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// HTTPLinkedService linked service for an HTTP source.
-type HTTPLinkedService struct {
- // HTTPLinkedServiceTypeProperties - Properties specific to this linked service type.
- *HTTPLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// GreenplumSource a copy activity Greenplum Database source.
+type GreenplumSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HTTPLinkedService.
-func (hls HTTPLinkedService) MarshalJSON() ([]byte, error) {
- hls.Type = TypeHTTPServer
+// MarshalJSON is the custom marshaler for GreenplumSource.
+func (gs GreenplumSource) MarshalJSON() ([]byte, error) {
+ gs.Type = TypeGreenplumSource
objectMap := make(map[string]interface{})
- if hls.HTTPLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = hls.HTTPLinkedServiceTypeProperties
- }
- if hls.ConnectVia != nil {
- objectMap["connectVia"] = hls.ConnectVia
+ if gs.Query != nil {
+ objectMap["query"] = gs.Query
}
- if hls.Description != nil {
- objectMap["description"] = hls.Description
+ if gs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = gs.SourceRetryCount
}
- if hls.Parameters != nil {
- objectMap["parameters"] = hls.Parameters
+ if gs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = gs.SourceRetryWait
}
- if hls.Annotations != nil {
- objectMap["annotations"] = hls.Annotations
+ if gs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = gs.MaxConcurrentConnections
}
- if hls.Type != "" {
- objectMap["type"] = hls.Type
+ if gs.Type != "" {
+ objectMap["type"] = gs.Type
}
- for k, v := range hls.AdditionalProperties {
+ for k, v := range gs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return &gs, true
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
- return &hls, true
+// AsOracleSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMySQLSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
- return nil, false
-}
-
-// AsFileServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
- return nil, false
-}
-
-// AsHDInsightLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
- return nil, false
-}
-
-// AsDynamicsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
- return nil, false
-}
-
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsBinarySource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsParquetSource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsCopySource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
-func (hls HTTPLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &hls, true
+// AsBasicCopySource is the BasicCopySource implementation for GreenplumSource.
+func (gs GreenplumSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &gs, true
}
-// UnmarshalJSON is the custom unmarshaler for HTTPLinkedService struct.
-func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for GreenplumSource struct.
+func (gs *GreenplumSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -77449,14 +80571,14 @@ func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var HTTPLinkedServiceTypeProperties HTTPLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &HTTPLinkedServiceTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- hls.HTTPLinkedServiceTypeProperties = &HTTPLinkedServiceTypeProperties
+ gs.Query = query
}
default:
if v != nil {
@@ -77465,161 +80587,46 @@ func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hls.AdditionalProperties == nil {
- hls.AdditionalProperties = make(map[string]interface{})
- }
- hls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if gs.AdditionalProperties == nil {
+ gs.AdditionalProperties = make(map[string]interface{})
}
- hls.ConnectVia = &connectVia
+ gs.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- hls.Description = &description
+ gs.SourceRetryCount = sourceRetryCount
}
- case "parameters":
+ case "sourceRetryWait":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- hls.Parameters = parameters
+ gs.SourceRetryWait = sourceRetryWait
}
- case "annotations":
+ case "maxConcurrentConnections":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- hls.Annotations = &annotations
+ gs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- hls.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// HTTPLinkedServiceTypeProperties properties specific to this linked service type.
-type HTTPLinkedServiceTypeProperties struct {
- // URL - The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression with resultType string).
- URL interface{} `json:"url,omitempty"`
- // AuthenticationType - The authentication type to be used to connect to the HTTP server. Possible values include: 'HTTPAuthenticationTypeBasic', 'HTTPAuthenticationTypeAnonymous', 'HTTPAuthenticationTypeDigest', 'HTTPAuthenticationTypeWindows', 'HTTPAuthenticationTypeClientCertificate'
- AuthenticationType HTTPAuthenticationType `json:"authenticationType,omitempty"`
- // UserName - User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string).
- UserName interface{} `json:"userName,omitempty"`
- // Password - Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication.
- Password BasicSecretBase `json:"password,omitempty"`
- // EmbeddedCertData - Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).
- EmbeddedCertData interface{} `json:"embeddedCertData,omitempty"`
- // CertThumbprint - Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).
- CertThumbprint interface{} `json:"certThumbprint,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
- // EnableServerCertificateValidation - If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean).
- EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for HTTPLinkedServiceTypeProperties struct.
-func (hlstp *HTTPLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "url":
- if v != nil {
- var URL interface{}
- err = json.Unmarshal(*v, &URL)
- if err != nil {
- return err
- }
- hlstp.URL = URL
- }
- case "authenticationType":
- if v != nil {
- var authenticationType HTTPAuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- hlstp.AuthenticationType = authenticationType
- }
- case "userName":
- if v != nil {
- var userName interface{}
- err = json.Unmarshal(*v, &userName)
- if err != nil {
- return err
- }
- hlstp.UserName = userName
- }
- case "password":
- if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- hlstp.Password = password
- }
- case "embeddedCertData":
- if v != nil {
- var embeddedCertData interface{}
- err = json.Unmarshal(*v, &embeddedCertData)
- if err != nil {
- return err
- }
- hlstp.EmbeddedCertData = embeddedCertData
- }
- case "certThumbprint":
- if v != nil {
- var certThumbprint interface{}
- err = json.Unmarshal(*v, &certThumbprint)
- if err != nil {
- return err
- }
- hlstp.CertThumbprint = certThumbprint
- }
- case "encryptedCredential":
- if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
- if err != nil {
- return err
- }
- hlstp.EncryptedCredential = encryptedCredential
- }
- case "enableServerCertificateValidation":
- if v != nil {
- var enableServerCertificateValidation interface{}
- err = json.Unmarshal(*v, &enableServerCertificateValidation)
- if err != nil {
- return err
- }
- hlstp.EnableServerCertificateValidation = enableServerCertificateValidation
+ gs.Type = typeVar
}
}
}
@@ -77627,618 +80634,469 @@ func (hlstp *HTTPLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
return nil
}
-// HTTPReadSetting sftp read settings.
-type HTTPReadSetting struct {
- // RequestMethod - The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string).
- RequestMethod interface{} `json:"requestMethod,omitempty"`
- // RequestBody - The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string).
- RequestBody interface{} `json:"requestBody,omitempty"`
- // AdditionalHeaders - The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string).
- AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"`
- // RequestTimeout - Specifies the timeout for a HTTP client to get HTTP response from HTTP server.
- RequestTimeout interface{} `json:"requestTimeout,omitempty"`
+// GreenplumTableDataset greenplum Database dataset.
+type GreenplumTableDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Type - The read setting type.
- Type *string `json:"type,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HTTPReadSetting.
-func (hrs HTTPReadSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) MarshalJSON() ([]byte, error) {
+ gtd.Type = TypeGreenplumTable
objectMap := make(map[string]interface{})
- if hrs.RequestMethod != nil {
- objectMap["requestMethod"] = hrs.RequestMethod
+ if gtd.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = gtd.GenericDatasetTypeProperties
}
- if hrs.RequestBody != nil {
- objectMap["requestBody"] = hrs.RequestBody
+ if gtd.Description != nil {
+ objectMap["description"] = gtd.Description
}
- if hrs.AdditionalHeaders != nil {
- objectMap["additionalHeaders"] = hrs.AdditionalHeaders
+ if gtd.Structure != nil {
+ objectMap["structure"] = gtd.Structure
}
- if hrs.RequestTimeout != nil {
- objectMap["requestTimeout"] = hrs.RequestTimeout
+ if gtd.Schema != nil {
+ objectMap["schema"] = gtd.Schema
}
- if hrs.Type != nil {
- objectMap["type"] = hrs.Type
+ if gtd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = gtd.LinkedServiceName
}
- if hrs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = hrs.MaxConcurrentConnections
+ if gtd.Parameters != nil {
+ objectMap["parameters"] = gtd.Parameters
}
- for k, v := range hrs.AdditionalProperties {
+ if gtd.Annotations != nil {
+ objectMap["annotations"] = gtd.Annotations
+ }
+ if gtd.Folder != nil {
+ objectMap["folder"] = gtd.Folder
+ }
+ if gtd.Type != "" {
+ objectMap["type"] = gtd.Type
+ }
+ for k, v := range gtd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for HTTPReadSetting struct.
-func (hrs *HTTPReadSetting) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "requestMethod":
- if v != nil {
- var requestMethod interface{}
- err = json.Unmarshal(*v, &requestMethod)
- if err != nil {
- return err
- }
- hrs.RequestMethod = requestMethod
- }
- case "requestBody":
- if v != nil {
- var requestBody interface{}
- err = json.Unmarshal(*v, &requestBody)
- if err != nil {
- return err
- }
- hrs.RequestBody = requestBody
- }
- case "additionalHeaders":
- if v != nil {
- var additionalHeaders interface{}
- err = json.Unmarshal(*v, &additionalHeaders)
- if err != nil {
- return err
- }
- hrs.AdditionalHeaders = additionalHeaders
- }
- case "requestTimeout":
- if v != nil {
- var requestTimeout interface{}
- err = json.Unmarshal(*v, &requestTimeout)
- if err != nil {
- return err
- }
- hrs.RequestTimeout = requestTimeout
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if hrs.AdditionalProperties == nil {
- hrs.AdditionalProperties = make(map[string]interface{})
- }
- hrs.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- hrs.Type = &typeVar
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- hrs.MaxConcurrentConnections = maxConcurrentConnections
- }
- }
- }
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
- return nil
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
}
-// HTTPServerLocation the location of http server.
-type HTTPServerLocation struct {
- // RelativeURL - Specify the relativeUrl of http server. Type: string (or Expression with resultType string)
- RelativeURL interface{} `json:"relativeUrl,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Type - Type of dataset storage location.
- Type *string `json:"type,omitempty"`
- // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string)
- FolderPath interface{} `json:"folderPath,omitempty"`
- // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string).
- FileName interface{} `json:"fileName,omitempty"`
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for HTTPServerLocation.
-func (hsl HTTPServerLocation) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if hsl.RelativeURL != nil {
- objectMap["relativeUrl"] = hsl.RelativeURL
- }
- if hsl.Type != nil {
- objectMap["type"] = hsl.Type
- }
- if hsl.FolderPath != nil {
- objectMap["folderPath"] = hsl.FolderPath
- }
- if hsl.FileName != nil {
- objectMap["fileName"] = hsl.FileName
- }
- for k, v := range hsl.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HTTPServerLocation struct.
-func (hsl *HTTPServerLocation) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "relativeUrl":
- if v != nil {
- var relativeURL interface{}
- err = json.Unmarshal(*v, &relativeURL)
- if err != nil {
- return err
- }
- hsl.RelativeURL = relativeURL
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if hsl.AdditionalProperties == nil {
- hsl.AdditionalProperties = make(map[string]interface{})
- }
- hsl.AdditionalProperties[k] = additionalProperties
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- hsl.Type = &typeVar
- }
- case "folderPath":
- if v != nil {
- var folderPath interface{}
- err = json.Unmarshal(*v, &folderPath)
- if err != nil {
- return err
- }
- hsl.FolderPath = folderPath
- }
- case "fileName":
- if v != nil {
- var fileName interface{}
- err = json.Unmarshal(*v, &fileName)
- if err != nil {
- return err
- }
- hsl.FileName = fileName
- }
- }
- }
+// AsResponsysObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
- return nil
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
}
-// HTTPSource a copy activity source for an HTTP file.
-type HTTPSource struct {
- // HTTPRequestTimeout - Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+// AsVerticaTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for HTTPSource.
-func (hs HTTPSource) MarshalJSON() ([]byte, error) {
- hs.Type = TypeHTTPSource
- objectMap := make(map[string]interface{})
- if hs.HTTPRequestTimeout != nil {
- objectMap["httpRequestTimeout"] = hs.HTTPRequestTimeout
- }
- if hs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = hs.SourceRetryCount
- }
- if hs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = hs.SourceRetryWait
- }
- if hs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections
- }
- if hs.Type != "" {
- objectMap["type"] = hs.Type
- }
- for k, v := range hs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsNetezzaTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsZohoSource() (*ZohoSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsXeroSource() (*XeroSource, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSquareSource() (*SquareSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSparkSource() (*SparkSource, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsShopifySource() (*ShopifySource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return >d, true
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsJiraSource() (*JiraSource, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsHiveSource() (*HiveSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsDrillSource() (*DrillSource, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsConcurSource() (*ConcurSource, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsHTTPSource() (*HTTPSource, bool) {
- return &hs, true
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsOffice365Source() (*Office365Source, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsWebSource() (*WebSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsOracleSource() (*OracleSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSQLSource() (*SQLSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsRestSource() (*RestSource, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsCustomDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsBlobSource() (*BlobSource, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsBinaryDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsParquetSource() (*ParquetSource, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsCopySource() (*CopySource, bool) {
+// AsParquetDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for HTTPSource.
-func (hs HTTPSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &hs, true
+// AsAmazonS3Dataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HTTPSource struct.
-func (hs *HTTPSource) UnmarshalJSON(body []byte) error {
+// AsDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for GreenplumTableDataset.
+func (gtd GreenplumTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return >d, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for GreenplumTableDataset struct.
+func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -78246,14 +81104,14 @@ func (hs *HTTPSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "httpRequestTimeout":
+ case "typeProperties":
if v != nil {
- var HTTPRequestTimeout interface{}
- err = json.Unmarshal(*v, &HTTPRequestTimeout)
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
if err != nil {
return err
}
- hs.HTTPRequestTimeout = HTTPRequestTimeout
+ gtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -78262,46 +81120,82 @@ func (hs *HTTPSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hs.AdditionalProperties == nil {
- hs.AdditionalProperties = make(map[string]interface{})
+ if gtd.AdditionalProperties == nil {
+ gtd.AdditionalProperties = make(map[string]interface{})
}
- hs.AdditionalProperties[k] = additionalProperties
+ gtd.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "description":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- hs.SourceRetryCount = sourceRetryCount
+ gtd.Description = &description
}
- case "sourceRetryWait":
+ case "structure":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- hs.SourceRetryWait = sourceRetryWait
+ gtd.Structure = structure
}
- case "maxConcurrentConnections":
+ case "schema":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- hs.MaxConcurrentConnections = maxConcurrentConnections
+ gtd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ gtd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ gtd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ gtd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ gtd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- hs.Type = typeVar
+ gtd.Type = typeVar
}
}
}
@@ -78309,10 +81203,10 @@ func (hs *HTTPSource) UnmarshalJSON(body []byte) error {
return nil
}
-// HubspotLinkedService hubspot Service linked service.
-type HubspotLinkedService struct {
- // HubspotLinkedServiceTypeProperties - Hubspot Service linked service properties.
- *HubspotLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// HBaseLinkedService hBase server linked service.
+type HBaseLinkedService struct {
+ // HBaseLinkedServiceTypeProperties - HBase server linked service properties.
+ *HBaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -78323,470 +81217,500 @@ type HubspotLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HubspotLinkedService.
-func (hls HubspotLinkedService) MarshalJSON() ([]byte, error) {
- hls.Type = TypeHubspot
+// MarshalJSON is the custom marshaler for HBaseLinkedService.
+func (hbls HBaseLinkedService) MarshalJSON() ([]byte, error) {
+ hbls.Type = TypeHBase
objectMap := make(map[string]interface{})
- if hls.HubspotLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = hls.HubspotLinkedServiceTypeProperties
+ if hbls.HBaseLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = hbls.HBaseLinkedServiceTypeProperties
}
- if hls.ConnectVia != nil {
- objectMap["connectVia"] = hls.ConnectVia
+ if hbls.ConnectVia != nil {
+ objectMap["connectVia"] = hbls.ConnectVia
}
- if hls.Description != nil {
- objectMap["description"] = hls.Description
+ if hbls.Description != nil {
+ objectMap["description"] = hbls.Description
}
- if hls.Parameters != nil {
- objectMap["parameters"] = hls.Parameters
+ if hbls.Parameters != nil {
+ objectMap["parameters"] = hbls.Parameters
}
- if hls.Annotations != nil {
- objectMap["annotations"] = hls.Annotations
+ if hbls.Annotations != nil {
+ objectMap["annotations"] = hbls.Annotations
}
- if hls.Type != "" {
- objectMap["type"] = hls.Type
+ if hbls.Type != "" {
+ objectMap["type"] = hbls.Type
}
- for k, v := range hls.AdditionalProperties {
+ for k, v := range hbls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
- return &hls, true
+// AsHubspotLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return &hbls, true
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
-func (hls HubspotLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &hls, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HubspotLinkedService struct.
-func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
+func (hbls HBaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &hbls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HBaseLinkedService struct.
+func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -78796,12 +81720,12 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var hubspotLinkedServiceTypeProperties HubspotLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &hubspotLinkedServiceTypeProperties)
+ var hBaseLinkedServiceTypeProperties HBaseLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &hBaseLinkedServiceTypeProperties)
if err != nil {
return err
}
- hls.HubspotLinkedServiceTypeProperties = &hubspotLinkedServiceTypeProperties
+ hbls.HBaseLinkedServiceTypeProperties = &hBaseLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -78810,10 +81734,10 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hls.AdditionalProperties == nil {
- hls.AdditionalProperties = make(map[string]interface{})
+ if hbls.AdditionalProperties == nil {
+ hbls.AdditionalProperties = make(map[string]interface{})
}
- hls.AdditionalProperties[k] = additionalProperties
+ hbls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -78822,7 +81746,7 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hls.ConnectVia = &connectVia
+ hbls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -78831,7 +81755,7 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hls.Description = &description
+ hbls.Description = &description
}
case "parameters":
if v != nil {
@@ -78840,7 +81764,7 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hls.Parameters = parameters
+ hbls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -78849,7 +81773,7 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hls.Annotations = &annotations
+ hbls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -78858,7 +81782,7 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hls.Type = typeVar
+ hbls.Type = typeVar
}
}
}
@@ -78866,28 +81790,34 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// HubspotLinkedServiceTypeProperties hubspot Service linked service properties.
-type HubspotLinkedServiceTypeProperties struct {
- // ClientID - The client ID associated with your Hubspot application.
- ClientID interface{} `json:"clientId,omitempty"`
- // ClientSecret - The client secret associated with your Hubspot application.
- ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
- // AccessToken - The access token obtained when initially authenticating your OAuth integration.
- AccessToken BasicSecretBase `json:"accessToken,omitempty"`
- // RefreshToken - The refresh token obtained when initially authenticating your OAuth integration.
- RefreshToken BasicSecretBase `json:"refreshToken,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
- UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
- UseHostVerification interface{} `json:"useHostVerification,omitempty"`
- // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
- UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+// HBaseLinkedServiceTypeProperties hBase server linked service properties.
+type HBaseLinkedServiceTypeProperties struct {
+ // Host - The IP address or host name of the HBase server. (i.e. 192.168.222.160)
+ Host interface{} `json:"host,omitempty"`
+ // Port - The TCP port that the HBase instance uses to listen for client connections. The default value is 9090.
+ Port interface{} `json:"port,omitempty"`
+ // HTTPPath - The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version)
+ HTTPPath interface{} `json:"httpPath,omitempty"`
+ // AuthenticationType - The authentication mechanism to use to connect to the HBase server. Possible values include: 'HBaseAuthenticationTypeAnonymous', 'HBaseAuthenticationTypeBasic'
+ AuthenticationType HBaseAuthenticationType `json:"authenticationType,omitempty"`
+ // Username - The user name used to connect to the HBase instance.
+ Username interface{} `json:"username,omitempty"`
+ // Password - The password corresponding to the user name.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
+ EnableSsl interface{} `json:"enableSsl,omitempty"`
+ // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
+ TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
+ // AllowHostNameCNMismatch - Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
+ AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
+ // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
+ AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for HubspotLinkedServiceTypeProperties struct.
-func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for HBaseLinkedServiceTypeProperties struct.
+func (hblstp *HBaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -78895,65 +81825,94 @@ func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro
}
for k, v := range m {
switch k {
- case "clientId":
+ case "host":
if v != nil {
- var clientID interface{}
- err = json.Unmarshal(*v, &clientID)
+ var host interface{}
+ err = json.Unmarshal(*v, &host)
if err != nil {
return err
}
- hlstp.ClientID = clientID
+ hblstp.Host = host
}
- case "clientSecret":
+ case "port":
if v != nil {
- clientSecret, err := unmarshalBasicSecretBase(*v)
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
if err != nil {
return err
}
- hlstp.ClientSecret = clientSecret
+ hblstp.Port = port
}
- case "accessToken":
+ case "httpPath":
if v != nil {
- accessToken, err := unmarshalBasicSecretBase(*v)
+ var HTTPPath interface{}
+ err = json.Unmarshal(*v, &HTTPPath)
if err != nil {
return err
}
- hlstp.AccessToken = accessToken
+ hblstp.HTTPPath = HTTPPath
}
- case "refreshToken":
+ case "authenticationType":
if v != nil {
- refreshToken, err := unmarshalBasicSecretBase(*v)
+ var authenticationType HBaseAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
}
- hlstp.RefreshToken = refreshToken
+ hblstp.AuthenticationType = authenticationType
}
- case "useEncryptedEndpoints":
+ case "username":
if v != nil {
- var useEncryptedEndpoints interface{}
- err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
if err != nil {
return err
}
- hlstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ hblstp.Username = username
}
- case "useHostVerification":
+ case "password":
if v != nil {
- var useHostVerification interface{}
- err = json.Unmarshal(*v, &useHostVerification)
+ password, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- hlstp.UseHostVerification = useHostVerification
+ hblstp.Password = password
}
- case "usePeerVerification":
+ case "enableSsl":
if v != nil {
- var usePeerVerification interface{}
- err = json.Unmarshal(*v, &usePeerVerification)
+ var enableSsl interface{}
+ err = json.Unmarshal(*v, &enableSsl)
if err != nil {
return err
}
- hlstp.UsePeerVerification = usePeerVerification
+ hblstp.EnableSsl = enableSsl
+ }
+ case "trustedCertPath":
+ if v != nil {
+ var trustedCertPath interface{}
+ err = json.Unmarshal(*v, &trustedCertPath)
+ if err != nil {
+ return err
+ }
+ hblstp.TrustedCertPath = trustedCertPath
+ }
+ case "allowHostNameCNMismatch":
+ if v != nil {
+ var allowHostNameCNMismatch interface{}
+ err = json.Unmarshal(*v, &allowHostNameCNMismatch)
+ if err != nil {
+ return err
+ }
+ hblstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
+ }
+ case "allowSelfSignedServerCert":
+ if v != nil {
+ var allowSelfSignedServerCert interface{}
+ err = json.Unmarshal(*v, &allowSelfSignedServerCert)
+ if err != nil {
+ return err
+ }
+ hblstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
}
case "encryptedCredential":
if v != nil {
@@ -78962,7 +81921,7 @@ func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro
if err != nil {
return err
}
- hlstp.EncryptedCredential = encryptedCredential
+ hblstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -78970,8 +81929,8 @@ func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro
return nil
}
-// HubspotObjectDataset hubspot Service dataset.
-type HubspotObjectDataset struct {
+// HBaseObjectDataset hBase server dataset.
+type HBaseObjectDataset struct {
// GenericDatasetTypeProperties - Properties specific to this dataset type.
*GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -78990,399 +81949,449 @@ type HubspotObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HubspotObjectDataset.
-func (hod HubspotObjectDataset) MarshalJSON() ([]byte, error) {
- hod.Type = TypeHubspotObject
+// MarshalJSON is the custom marshaler for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) MarshalJSON() ([]byte, error) {
+ hbod.Type = TypeHBaseObject
objectMap := make(map[string]interface{})
- if hod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = hod.GenericDatasetTypeProperties
+ if hbod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = hbod.GenericDatasetTypeProperties
}
- if hod.Description != nil {
- objectMap["description"] = hod.Description
+ if hbod.Description != nil {
+ objectMap["description"] = hbod.Description
}
- if hod.Structure != nil {
- objectMap["structure"] = hod.Structure
+ if hbod.Structure != nil {
+ objectMap["structure"] = hbod.Structure
}
- if hod.Schema != nil {
- objectMap["schema"] = hod.Schema
+ if hbod.Schema != nil {
+ objectMap["schema"] = hbod.Schema
}
- if hod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = hod.LinkedServiceName
+ if hbod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = hbod.LinkedServiceName
}
- if hod.Parameters != nil {
- objectMap["parameters"] = hod.Parameters
+ if hbod.Parameters != nil {
+ objectMap["parameters"] = hbod.Parameters
}
- if hod.Annotations != nil {
- objectMap["annotations"] = hod.Annotations
+ if hbod.Annotations != nil {
+ objectMap["annotations"] = hbod.Annotations
}
- if hod.Folder != nil {
- objectMap["folder"] = hod.Folder
+ if hbod.Folder != nil {
+ objectMap["folder"] = hbod.Folder
}
- if hod.Type != "" {
- objectMap["type"] = hod.Type
+ if hbod.Type != "" {
+ objectMap["type"] = hbod.Type
}
- for k, v := range hod.AdditionalProperties {
+ for k, v := range hbod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
- return &hod, true
+// AsHubspotObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return &hbod, true
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for HubspotObjectDataset.
-func (hod HubspotObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &hod, true
+// AsAzureSQLMITableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for HubspotObjectDataset struct.
-func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for HBaseObjectDataset.
+func (hbod HBaseObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &hbod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HBaseObjectDataset struct.
+func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -79397,7 +82406,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ hbod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -79406,10 +82415,10 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if hod.AdditionalProperties == nil {
- hod.AdditionalProperties = make(map[string]interface{})
+ if hbod.AdditionalProperties == nil {
+ hbod.AdditionalProperties = make(map[string]interface{})
}
- hod.AdditionalProperties[k] = additionalProperties
+ hbod.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -79418,7 +82427,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Description = &description
+ hbod.Description = &description
}
case "structure":
if v != nil {
@@ -79427,7 +82436,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Structure = structure
+ hbod.Structure = structure
}
case "schema":
if v != nil {
@@ -79436,7 +82445,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Schema = schema
+ hbod.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -79445,7 +82454,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.LinkedServiceName = &linkedServiceName
+ hbod.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -79454,7 +82463,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Parameters = parameters
+ hbod.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -79463,7 +82472,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Annotations = &annotations
+ hbod.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -79472,7 +82481,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Folder = &folder
+ hbod.Folder = &folder
}
case "type":
if v != nil {
@@ -79481,7 +82490,7 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- hod.Type = typeVar
+ hbod.Type = typeVar
}
}
}
@@ -79489,8 +82498,8 @@ func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// HubspotSource a copy activity Hubspot Service source.
-type HubspotSource struct {
+// HBaseSource a copy activity HBase server source.
+type HBaseSource struct {
// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -79501,682 +82510,447 @@ type HubspotSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for HubspotSource.
-func (hs HubspotSource) MarshalJSON() ([]byte, error) {
- hs.Type = TypeHubspotSource
+// MarshalJSON is the custom marshaler for HBaseSource.
+func (hbs HBaseSource) MarshalJSON() ([]byte, error) {
+ hbs.Type = TypeHBaseSource
objectMap := make(map[string]interface{})
- if hs.Query != nil {
- objectMap["query"] = hs.Query
+ if hbs.Query != nil {
+ objectMap["query"] = hbs.Query
}
- if hs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = hs.SourceRetryCount
+ if hbs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = hbs.SourceRetryCount
}
- if hs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = hs.SourceRetryWait
+ if hbs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = hbs.SourceRetryWait
}
- if hs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections
+ if hbs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = hbs.MaxConcurrentConnections
}
- if hs.Type != "" {
- objectMap["type"] = hs.Type
+ if hbs.Type != "" {
+ objectMap["type"] = hbs.Type
}
- for k, v := range hs.AdditionalProperties {
+ for k, v := range hbs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifySource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsHubspotSource() (*HubspotSource, bool) {
- return &hs, true
+// AsHubspotSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsHBaseSource() (*HBaseSource, bool) {
- return nil, false
+// AsHBaseSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsHBaseSource() (*HBaseSource, bool) {
+ return &hbs, true
}
-// AsGreenplumSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsOffice365Source() (*Office365Source, bool) {
+// AsOffice365Source is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsWebSource() (*WebSource, bool) {
+// AsWebSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsOracleSource() (*OracleSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsHdfsSource() (*HdfsSource, bool) {
- return nil, false
-}
-
-// AsFileSystemSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsFileSystemSource() (*FileSystemSource, bool) {
- return nil, false
-}
-
-// AsSQLDWSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSQLDWSource() (*SQLDWSource, bool) {
- return nil, false
-}
-
-// AsAzureSQLSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
- return nil, false
-}
-
-// AsSQLServerSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSQLServerSource() (*SQLServerSource, bool) {
- return nil, false
-}
-
-// AsSQLSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSQLSource() (*SQLSource, bool) {
- return nil, false
-}
-
-// AsRestSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsRestSource() (*RestSource, bool) {
- return nil, false
-}
-
-// AsSapTableSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSapTableSource() (*SapTableSource, bool) {
- return nil, false
-}
-
-// AsSapOpenHubSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
- return nil, false
-}
-
-// AsSapHanaSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSapHanaSource() (*SapHanaSource, bool) {
- return nil, false
-}
-
-// AsSapEccSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSapEccSource() (*SapEccSource, bool) {
- return nil, false
-}
-
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
- return nil, false
-}
-
-// AsSalesforceSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsSalesforceSource() (*SalesforceSource, bool) {
- return nil, false
-}
-
-// AsRelationalSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsRelationalSource() (*RelationalSource, bool) {
- return nil, false
-}
-
-// AsDynamicsSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsDynamicsSource() (*DynamicsSource, bool) {
- return nil, false
-}
-
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
- return nil, false
-}
-
-// AsBlobSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsBlobSource() (*BlobSource, bool) {
- return nil, false
-}
-
-// AsAzureTableSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsAzureTableSource() (*AzureTableSource, bool) {
- return nil, false
-}
-
-// AsDelimitedTextSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
- return nil, false
-}
-
-// AsParquetSource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsParquetSource() (*ParquetSource, bool) {
- return nil, false
-}
-
-// AsCopySource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsCopySource() (*CopySource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for HubspotSource.
-func (hs HubspotSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &hs, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for HubspotSource struct.
-func (hs *HubspotSource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "query":
- if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
- if err != nil {
- return err
- }
- hs.Query = query
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if hs.AdditionalProperties == nil {
- hs.AdditionalProperties = make(map[string]interface{})
- }
- hs.AdditionalProperties[k] = additionalProperties
- }
- case "sourceRetryCount":
- if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
- if err != nil {
- return err
- }
- hs.SourceRetryCount = sourceRetryCount
- }
- case "sourceRetryWait":
- if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
- if err != nil {
- return err
- }
- hs.SourceRetryWait = sourceRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- hs.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- hs.Type = typeVar
- }
- }
- }
-
- 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.
-type IfConditionActivity struct {
- // IfConditionActivityTypeProperties - IfCondition activity properties.
- *IfConditionActivityTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for IfConditionActivity.
-func (ica IfConditionActivity) MarshalJSON() ([]byte, error) {
- ica.Type = TypeIfCondition
- objectMap := make(map[string]interface{})
- if ica.IfConditionActivityTypeProperties != nil {
- objectMap["typeProperties"] = ica.IfConditionActivityTypeProperties
- }
- if ica.Name != nil {
- objectMap["name"] = ica.Name
- }
- if ica.Description != nil {
- objectMap["description"] = ica.Description
- }
- if ica.DependsOn != nil {
- objectMap["dependsOn"] = ica.DependsOn
- }
- if ica.UserProperties != nil {
- objectMap["userProperties"] = ica.UserProperties
- }
- if ica.Type != "" {
- objectMap["type"] = ica.Type
- }
- for k, v := range ica.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// AsAzureFunctionActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsSQLMISource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsSQLSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsRestSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsSapTableSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsWebActivity() (*WebActivity, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsLookupActivity() (*LookupActivity, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsSapEccSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsODataSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsSybaseSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsMySQLSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsOdbcSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsDb2Source is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+// AsInformixSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsRelationalSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsBlobSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsBinarySource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
- return &ica, true
-}
-
-// AsExecutePipelineActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsParquetSource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
- return &ica, true
-}
-
-// AsActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsActivity() (*Activity, bool) {
+// AsCopySource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for IfConditionActivity.
-func (ica IfConditionActivity) AsBasicActivity() (BasicActivity, bool) {
- return &ica, true
+// AsBasicCopySource is the BasicCopySource implementation for HBaseSource.
+func (hbs HBaseSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &hbs, true
}
-// UnmarshalJSON is the custom unmarshaler for IfConditionActivity struct.
-func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for HBaseSource struct.
+func (hbs *HBaseSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -80184,14 +82958,14 @@ func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var ifConditionActivityTypeProperties IfConditionActivityTypeProperties
- err = json.Unmarshal(*v, &ifConditionActivityTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- ica.IfConditionActivityTypeProperties = &ifConditionActivityTypeProperties
+ hbs.Query = query
}
default:
if v != nil {
@@ -80200,105 +82974,46 @@ func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ica.AdditionalProperties == nil {
- ica.AdditionalProperties = make(map[string]interface{})
- }
- ica.AdditionalProperties[k] = additionalProperties
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
+ if hbs.AdditionalProperties == nil {
+ hbs.AdditionalProperties = make(map[string]interface{})
}
- ica.Name = &name
+ hbs.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- ica.Description = &description
+ hbs.SourceRetryCount = sourceRetryCount
}
- case "dependsOn":
+ case "sourceRetryWait":
if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- ica.DependsOn = &dependsOn
+ hbs.SourceRetryWait = sourceRetryWait
}
- case "userProperties":
+ case "maxConcurrentConnections":
if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- ica.UserProperties = &userProperties
+ hbs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicActivity
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ica.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// IfConditionActivityTypeProperties ifCondition activity properties.
-type IfConditionActivityTypeProperties struct {
- // Expression - An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed.
- Expression *Expression `json:"expression,omitempty"`
- // IfTrueActivities - List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action.
- IfTrueActivities *[]BasicActivity `json:"ifTrueActivities,omitempty"`
- // IfFalseActivities - List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action.
- IfFalseActivities *[]BasicActivity `json:"ifFalseActivities,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for IfConditionActivityTypeProperties struct.
-func (icatp *IfConditionActivityTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "expression":
- if v != nil {
- var expression Expression
- err = json.Unmarshal(*v, &expression)
- if err != nil {
- return err
- }
- icatp.Expression = &expression
- }
- case "ifTrueActivities":
- if v != nil {
- ifTrueActivities, err := unmarshalBasicActivityArray(*v)
- if err != nil {
- return err
- }
- icatp.IfTrueActivities = &ifTrueActivities
- }
- case "ifFalseActivities":
- if v != nil {
- ifFalseActivities, err := unmarshalBasicActivityArray(*v)
- if err != nil {
- return err
- }
- icatp.IfFalseActivities = &ifFalseActivities
+ hbs.Type = typeVar
}
}
}
@@ -80306,10 +83021,10 @@ func (icatp *IfConditionActivityTypeProperties) UnmarshalJSON(body []byte) error
return nil
}
-// ImpalaLinkedService impala server linked service.
-type ImpalaLinkedService struct {
- // ImpalaLinkedServiceTypeProperties - Impala server linked service properties.
- *ImpalaLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// HdfsLinkedService hadoop Distributed File System (HDFS) linked service.
+type HdfsLinkedService struct {
+ // HdfsLinkedServiceTypeProperties - HDFS linked service properties.
+ *HdfsLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -80320,470 +83035,500 @@ type ImpalaLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ImpalaLinkedService.
-func (ils ImpalaLinkedService) MarshalJSON() ([]byte, error) {
- ils.Type = TypeImpala
+// MarshalJSON is the custom marshaler for HdfsLinkedService.
+func (hls HdfsLinkedService) MarshalJSON() ([]byte, error) {
+ hls.Type = TypeHdfs
objectMap := make(map[string]interface{})
- if ils.ImpalaLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = ils.ImpalaLinkedServiceTypeProperties
+ if hls.HdfsLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = hls.HdfsLinkedServiceTypeProperties
}
- if ils.ConnectVia != nil {
- objectMap["connectVia"] = ils.ConnectVia
+ if hls.ConnectVia != nil {
+ objectMap["connectVia"] = hls.ConnectVia
}
- if ils.Description != nil {
- objectMap["description"] = ils.Description
+ if hls.Description != nil {
+ objectMap["description"] = hls.Description
}
- if ils.Parameters != nil {
- objectMap["parameters"] = ils.Parameters
+ if hls.Parameters != nil {
+ objectMap["parameters"] = hls.Parameters
}
- if ils.Annotations != nil {
- objectMap["annotations"] = ils.Annotations
+ if hls.Annotations != nil {
+ objectMap["annotations"] = hls.Annotations
}
- if ils.Type != "" {
- objectMap["type"] = ils.Type
+ if hls.Type != "" {
+ objectMap["type"] = hls.Type
}
- for k, v := range ils.AdditionalProperties {
+ for k, v := range hls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
- return &ils, true
+// AsImpalaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return &hls, true
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
-func (ils ImpalaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &ils, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedService struct.
-func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
+func (hls HdfsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &hls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HdfsLinkedService struct.
+func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -80793,12 +83538,12 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var impalaLinkedServiceTypeProperties ImpalaLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &impalaLinkedServiceTypeProperties)
+ var hdfsLinkedServiceTypeProperties HdfsLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &hdfsLinkedServiceTypeProperties)
if err != nil {
return err
}
- ils.ImpalaLinkedServiceTypeProperties = &impalaLinkedServiceTypeProperties
+ hls.HdfsLinkedServiceTypeProperties = &hdfsLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -80807,10 +83552,10 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ils.AdditionalProperties == nil {
- ils.AdditionalProperties = make(map[string]interface{})
+ if hls.AdditionalProperties == nil {
+ hls.AdditionalProperties = make(map[string]interface{})
}
- ils.AdditionalProperties[k] = additionalProperties
+ hls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -80819,7 +83564,7 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ils.ConnectVia = &connectVia
+ hls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -80828,7 +83573,7 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ils.Description = &description
+ hls.Description = &description
}
case "parameters":
if v != nil {
@@ -80837,7 +83582,7 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ils.Parameters = parameters
+ hls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -80846,7 +83591,7 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ils.Annotations = &annotations
+ hls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -80855,7 +83600,7 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ils.Type = typeVar
+ hls.Type = typeVar
}
}
}
@@ -80863,34 +83608,22 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// ImpalaLinkedServiceTypeProperties impala server linked service properties.
-type ImpalaLinkedServiceTypeProperties struct {
- // Host - The IP address or host name of the Impala server. (i.e. 192.168.222.160)
- Host interface{} `json:"host,omitempty"`
- // Port - The TCP port that the Impala server uses to listen for client connections. The default value is 21050.
- Port interface{} `json:"port,omitempty"`
- // AuthenticationType - The authentication type to use. Possible values include: 'ImpalaAuthenticationTypeAnonymous', 'ImpalaAuthenticationTypeSASLUsername', 'ImpalaAuthenticationTypeUsernameAndPassword'
- AuthenticationType ImpalaAuthenticationType `json:"authenticationType,omitempty"`
- // Username - The user name used to access the Impala server. The default value is anonymous when using SASLUsername.
- Username interface{} `json:"username,omitempty"`
- // Password - The password corresponding to the user name when using UsernameAndPassword.
- Password BasicSecretBase `json:"password,omitempty"`
- // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
- EnableSsl interface{} `json:"enableSsl,omitempty"`
- // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
- TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
- // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
- UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
- // AllowHostNameCNMismatch - Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
- AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
- // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
- AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
+// HdfsLinkedServiceTypeProperties HDFS linked service properties.
+type HdfsLinkedServiceTypeProperties struct {
+ // URL - The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string).
+ URL interface{} `json:"url,omitempty"`
+ // AuthenticationType - Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string).
+ AuthenticationType interface{} `json:"authenticationType,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+ // UserName - User name for Windows authentication. Type: string (or Expression with resultType string).
+ UserName interface{} `json:"userName,omitempty"`
+ // Password - Password for Windows authentication.
+ Password BasicSecretBase `json:"password,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedServiceTypeProperties struct.
-func (ilstp *ImpalaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for HdfsLinkedServiceTypeProperties struct.
+func (hlstp *HdfsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -80898,41 +83631,41 @@ func (ilstp *ImpalaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
}
for k, v := range m {
switch k {
- case "host":
+ case "url":
if v != nil {
- var host interface{}
- err = json.Unmarshal(*v, &host)
+ var URL interface{}
+ err = json.Unmarshal(*v, &URL)
if err != nil {
return err
}
- ilstp.Host = host
+ hlstp.URL = URL
}
- case "port":
+ case "authenticationType":
if v != nil {
- var port interface{}
- err = json.Unmarshal(*v, &port)
+ var authenticationType interface{}
+ err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
}
- ilstp.Port = port
+ hlstp.AuthenticationType = authenticationType
}
- case "authenticationType":
+ case "encryptedCredential":
if v != nil {
- var authenticationType ImpalaAuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
if err != nil {
return err
}
- ilstp.AuthenticationType = authenticationType
+ hlstp.EncryptedCredential = encryptedCredential
}
- case "username":
+ case "userName":
if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
+ var userName interface{}
+ err = json.Unmarshal(*v, &userName)
if err != nil {
return err
}
- ilstp.Username = username
+ hlstp.UserName = userName
}
case "password":
if v != nil {
@@ -80940,61 +83673,259 @@ func (ilstp *ImpalaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- ilstp.Password = password
+ hlstp.Password = password
}
- case "enableSsl":
+ }
+ }
+
+ return nil
+}
+
+// HdfsLocation the location of HDFS.
+type HdfsLocation struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - Type of dataset storage location.
+ Type *string `json:"type,omitempty"`
+ // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string)
+ FolderPath interface{} `json:"folderPath,omitempty"`
+ // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string).
+ FileName interface{} `json:"fileName,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HdfsLocation.
+func (hl HdfsLocation) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if hl.Type != nil {
+ objectMap["type"] = hl.Type
+ }
+ if hl.FolderPath != nil {
+ objectMap["folderPath"] = hl.FolderPath
+ }
+ if hl.FileName != nil {
+ objectMap["fileName"] = hl.FileName
+ }
+ for k, v := range hl.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for HdfsLocation struct.
+func (hl *HdfsLocation) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
if v != nil {
- var enableSsl interface{}
- err = json.Unmarshal(*v, &enableSsl)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- ilstp.EnableSsl = enableSsl
+ if hl.AdditionalProperties == nil {
+ hl.AdditionalProperties = make(map[string]interface{})
+ }
+ hl.AdditionalProperties[k] = additionalProperties
}
- case "trustedCertPath":
+ case "type":
if v != nil {
- var trustedCertPath interface{}
- err = json.Unmarshal(*v, &trustedCertPath)
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ilstp.TrustedCertPath = trustedCertPath
+ hl.Type = &typeVar
}
- case "useSystemTrustStore":
+ case "folderPath":
if v != nil {
- var useSystemTrustStore interface{}
- err = json.Unmarshal(*v, &useSystemTrustStore)
+ var folderPath interface{}
+ err = json.Unmarshal(*v, &folderPath)
if err != nil {
return err
}
- ilstp.UseSystemTrustStore = useSystemTrustStore
+ hl.FolderPath = folderPath
}
- case "allowHostNameCNMismatch":
+ case "fileName":
if v != nil {
- var allowHostNameCNMismatch interface{}
- err = json.Unmarshal(*v, &allowHostNameCNMismatch)
+ var fileName interface{}
+ err = json.Unmarshal(*v, &fileName)
if err != nil {
return err
}
- ilstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
+ hl.FileName = fileName
}
- case "allowSelfSignedServerCert":
+ }
+ }
+
+ return nil
+}
+
+// HdfsReadSettings HDFS read settings.
+type HdfsReadSettings struct {
+ // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
+ Recursive interface{} `json:"recursive,omitempty"`
+ // WildcardFolderPath - HDFS wildcardFolderPath. Type: string (or Expression with resultType string).
+ WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"`
+ // WildcardFileName - HDFS wildcardFileName. Type: string (or Expression with resultType string).
+ WildcardFileName interface{} `json:"wildcardFileName,omitempty"`
+ // EnablePartitionDiscovery - Indicates whether to enable partition discovery.
+ EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"`
+ // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string).
+ ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"`
+ // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string).
+ ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"`
+ // DistcpSettings - Specifies Distcp-related settings.
+ DistcpSettings *DistcpSettings `json:"distcpSettings,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - The read setting type.
+ Type *string `json:"type,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HdfsReadSettings.
+func (hrs HdfsReadSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if hrs.Recursive != nil {
+ objectMap["recursive"] = hrs.Recursive
+ }
+ if hrs.WildcardFolderPath != nil {
+ objectMap["wildcardFolderPath"] = hrs.WildcardFolderPath
+ }
+ if hrs.WildcardFileName != nil {
+ objectMap["wildcardFileName"] = hrs.WildcardFileName
+ }
+ if hrs.EnablePartitionDiscovery != nil {
+ objectMap["enablePartitionDiscovery"] = hrs.EnablePartitionDiscovery
+ }
+ if hrs.ModifiedDatetimeStart != nil {
+ objectMap["modifiedDatetimeStart"] = hrs.ModifiedDatetimeStart
+ }
+ if hrs.ModifiedDatetimeEnd != nil {
+ objectMap["modifiedDatetimeEnd"] = hrs.ModifiedDatetimeEnd
+ }
+ if hrs.DistcpSettings != nil {
+ objectMap["distcpSettings"] = hrs.DistcpSettings
+ }
+ if hrs.Type != nil {
+ objectMap["type"] = hrs.Type
+ }
+ if hrs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = hrs.MaxConcurrentConnections
+ }
+ for k, v := range hrs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for HdfsReadSettings struct.
+func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "recursive":
if v != nil {
- var allowSelfSignedServerCert interface{}
- err = json.Unmarshal(*v, &allowSelfSignedServerCert)
+ var recursive interface{}
+ err = json.Unmarshal(*v, &recursive)
if err != nil {
return err
}
- ilstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
+ hrs.Recursive = recursive
}
- case "encryptedCredential":
+ case "wildcardFolderPath":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var wildcardFolderPath interface{}
+ err = json.Unmarshal(*v, &wildcardFolderPath)
if err != nil {
return err
}
- ilstp.EncryptedCredential = encryptedCredential
+ hrs.WildcardFolderPath = wildcardFolderPath
+ }
+ case "wildcardFileName":
+ if v != nil {
+ var wildcardFileName interface{}
+ err = json.Unmarshal(*v, &wildcardFileName)
+ if err != nil {
+ return err
+ }
+ hrs.WildcardFileName = wildcardFileName
+ }
+ case "enablePartitionDiscovery":
+ if v != nil {
+ var enablePartitionDiscovery bool
+ err = json.Unmarshal(*v, &enablePartitionDiscovery)
+ if err != nil {
+ return err
+ }
+ hrs.EnablePartitionDiscovery = &enablePartitionDiscovery
+ }
+ case "modifiedDatetimeStart":
+ if v != nil {
+ var modifiedDatetimeStart interface{}
+ err = json.Unmarshal(*v, &modifiedDatetimeStart)
+ if err != nil {
+ return err
+ }
+ hrs.ModifiedDatetimeStart = modifiedDatetimeStart
+ }
+ case "modifiedDatetimeEnd":
+ if v != nil {
+ var modifiedDatetimeEnd interface{}
+ err = json.Unmarshal(*v, &modifiedDatetimeEnd)
+ if err != nil {
+ return err
+ }
+ hrs.ModifiedDatetimeEnd = modifiedDatetimeEnd
+ }
+ case "distcpSettings":
+ if v != nil {
+ var distcpSettings DistcpSettings
+ err = json.Unmarshal(*v, &distcpSettings)
+ if err != nil {
+ return err
+ }
+ hrs.DistcpSettings = &distcpSettings
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hrs.AdditionalProperties == nil {
+ hrs.AdditionalProperties = make(map[string]interface{})
+ }
+ hrs.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hrs.Type = &typeVar
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ hrs.MaxConcurrentConnections = maxConcurrentConnections
}
}
}
@@ -81002,419 +83933,464 @@ func (ilstp *ImpalaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
return nil
}
-// ImpalaObjectDataset impala server dataset.
-type ImpalaObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// HdfsSource a copy activity HDFS source.
+type HdfsSource struct {
+ // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
+ Recursive interface{} `json:"recursive,omitempty"`
+ // DistcpSettings - Specifies Distcp-related settings.
+ DistcpSettings *DistcpSettings `json:"distcpSettings,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) MarshalJSON() ([]byte, error) {
- iod.Type = TypeImpalaObject
+// MarshalJSON is the custom marshaler for HdfsSource.
+func (hs HdfsSource) MarshalJSON() ([]byte, error) {
+ hs.Type = TypeHdfsSource
objectMap := make(map[string]interface{})
- if iod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = iod.GenericDatasetTypeProperties
- }
- if iod.Description != nil {
- objectMap["description"] = iod.Description
- }
- if iod.Structure != nil {
- objectMap["structure"] = iod.Structure
- }
- if iod.Schema != nil {
- objectMap["schema"] = iod.Schema
+ if hs.Recursive != nil {
+ objectMap["recursive"] = hs.Recursive
}
- if iod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = iod.LinkedServiceName
+ if hs.DistcpSettings != nil {
+ objectMap["distcpSettings"] = hs.DistcpSettings
}
- if iod.Parameters != nil {
- objectMap["parameters"] = iod.Parameters
+ if hs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = hs.SourceRetryCount
}
- if iod.Annotations != nil {
- objectMap["annotations"] = iod.Annotations
+ if hs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = hs.SourceRetryWait
}
- if iod.Folder != nil {
- objectMap["folder"] = iod.Folder
+ if hs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections
}
- if iod.Type != "" {
- objectMap["type"] = iod.Type
+ if hs.Type != "" {
+ objectMap["type"] = hs.Type
}
- for k, v := range iod.AdditionalProperties {
+ for k, v := range hs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
- return &iod, true
+// AsImpalaSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsWebSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsTeradataSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsOracleSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsHdfsSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsHdfsSource() (*HdfsSource, bool) {
+ return &hs, true
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSQLMISource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSQLSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsRestSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsSapTableSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsSapEccSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsODataSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsSybaseSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsMySQLSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsOdbcSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsDb2Source is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsDataset() (*Dataset, bool) {
+// AsInformixSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for ImpalaObjectDataset.
-func (iod ImpalaObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &iod, true
+// AsRelationalSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ImpalaObjectDataset struct.
-func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for HdfsSource.
+func (hs HdfsSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &hs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HdfsSource struct.
+func (hs *HdfsSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -81422,98 +84398,71 @@ func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
- if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
- if err != nil {
- return err
- }
- iod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if iod.AdditionalProperties == nil {
- iod.AdditionalProperties = make(map[string]interface{})
- }
- iod.AdditionalProperties[k] = additionalProperties
- }
- case "description":
+ case "recursive":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var recursive interface{}
+ err = json.Unmarshal(*v, &recursive)
if err != nil {
return err
}
- iod.Description = &description
+ hs.Recursive = recursive
}
- case "structure":
+ case "distcpSettings":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var distcpSettings DistcpSettings
+ err = json.Unmarshal(*v, &distcpSettings)
if err != nil {
return err
}
- iod.Structure = structure
+ hs.DistcpSettings = &distcpSettings
}
- case "schema":
+ default:
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- iod.Schema = schema
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
+ if hs.AdditionalProperties == nil {
+ hs.AdditionalProperties = make(map[string]interface{})
}
- iod.LinkedServiceName = &linkedServiceName
+ hs.AdditionalProperties[k] = additionalProperties
}
- case "parameters":
+ case "sourceRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- iod.Parameters = parameters
+ hs.SourceRetryCount = sourceRetryCount
}
- case "annotations":
+ case "sourceRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- iod.Annotations = &annotations
+ hs.SourceRetryWait = sourceRetryWait
}
- case "folder":
+ case "maxConcurrentConnections":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- iod.Folder = &folder
+ hs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- iod.Type = typeVar
+ hs.Type = typeVar
}
}
}
@@ -81521,654 +84470,904 @@ func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// ImpalaSource a copy activity Impala server source.
-type ImpalaSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// HDInsightHiveActivity hDInsight Hive activity type.
+type HDInsightHiveActivity struct {
+ // HDInsightHiveActivityTypeProperties - HDInsight Hive activity properties.
+ *HDInsightHiveActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ImpalaSource.
-func (is ImpalaSource) MarshalJSON() ([]byte, error) {
- is.Type = TypeImpalaSource
+// MarshalJSON is the custom marshaler for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) MarshalJSON() ([]byte, error) {
+ hiha.Type = TypeHDInsightHive
objectMap := make(map[string]interface{})
- if is.Query != nil {
- objectMap["query"] = is.Query
+ if hiha.HDInsightHiveActivityTypeProperties != nil {
+ objectMap["typeProperties"] = hiha.HDInsightHiveActivityTypeProperties
}
- if is.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = is.SourceRetryCount
+ if hiha.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = hiha.LinkedServiceName
}
- if is.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = is.SourceRetryWait
+ if hiha.Policy != nil {
+ objectMap["policy"] = hiha.Policy
}
- if is.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = is.MaxConcurrentConnections
+ if hiha.Name != nil {
+ objectMap["name"] = hiha.Name
}
- if is.Type != "" {
- objectMap["type"] = is.Type
+ if hiha.Description != nil {
+ objectMap["description"] = hiha.Description
}
- for k, v := range is.AdditionalProperties {
+ if hiha.DependsOn != nil {
+ objectMap["dependsOn"] = hiha.DependsOn
+ }
+ if hiha.UserProperties != nil {
+ objectMap["userProperties"] = hiha.UserProperties
+ }
+ if hiha.Type != "" {
+ objectMap["type"] = hiha.Type
+ }
+ for k, v := range hiha.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsZohoSource() (*ZohoSource, bool) {
+// AsWebActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsXeroSource() (*XeroSource, bool) {
+// AsLookupActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSquareSource() (*SquareSource, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSparkSource() (*SparkSource, bool) {
+// AsDeleteActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsShopifySource() (*ShopifySource, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsCustomActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsMariaDBSource() (*MariaDBSource, bool) {
- return nil, false
+// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+ return &hiha, true
}
-// AsMagentoSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsCopyActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsJiraSource() (*JiraSource, bool) {
+// AsExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsImpalaSource() (*ImpalaSource, bool) {
- return &is, true
+// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &hiha, true
}
-// AsHubspotSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsWebHookActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsHiveSource() (*HiveSource, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsFilterActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsValidationActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsUntilActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsDrillSource() (*DrillSource, bool) {
+// AsWaitActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsForEachActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsConcurSource() (*ConcurSource, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsControlActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
- return nil, false
+// AsBasicActivity is the BasicActivity implementation for HDInsightHiveActivity.
+func (hiha HDInsightHiveActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &hiha, true
}
-// AsOffice365Source is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsOffice365Source() (*Office365Source, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for HDInsightHiveActivity struct.
+func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var hDInsightHiveActivityTypeProperties HDInsightHiveActivityTypeProperties
+ err = json.Unmarshal(*v, &hDInsightHiveActivityTypeProperties)
+ if err != nil {
+ return err
+ }
+ hiha.HDInsightHiveActivityTypeProperties = &hDInsightHiveActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ hiha.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ hiha.Policy = &policy
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hiha.AdditionalProperties == nil {
+ hiha.AdditionalProperties = make(map[string]interface{})
+ }
+ hiha.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ hiha.Name = &name
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ hiha.Description = &description
+ }
+ case "dependsOn":
+ if v != nil {
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
+ if err != nil {
+ return err
+ }
+ hiha.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ hiha.UserProperties = &userProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hiha.Type = typeVar
+ }
+ }
+ }
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
- return nil, false
+ return nil
}
-// AsMongoDbV2Source is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
- return nil, false
+// HDInsightHiveActivityTypeProperties hDInsight Hive activity properties.
+type HDInsightHiveActivityTypeProperties struct {
+ // StorageLinkedServices - Storage linked service references.
+ StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
+ // Arguments - User specified arguments to HDInsightActivity.
+ Arguments *[]interface{} `json:"arguments,omitempty"`
+ // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
+ GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
+ // ScriptPath - Script path. Type: string (or Expression with resultType string).
+ ScriptPath interface{} `json:"scriptPath,omitempty"`
+ // ScriptLinkedService - Script linked service reference.
+ ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"`
+ // Defines - Allows user to specify defines for Hive job request.
+ Defines map[string]interface{} `json:"defines"`
+ // Variables - User specified arguments under hivevar namespace.
+ Variables *[]interface{} `json:"variables,omitempty"`
+ // QueryTimeout - Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package)
+ QueryTimeout *int32 `json:"queryTimeout,omitempty"`
}
-// AsMongoDbSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsMongoDbSource() (*MongoDbSource, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for HDInsightHiveActivityTypeProperties.
+func (hihatp HDInsightHiveActivityTypeProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if hihatp.StorageLinkedServices != nil {
+ objectMap["storageLinkedServices"] = hihatp.StorageLinkedServices
+ }
+ if hihatp.Arguments != nil {
+ objectMap["arguments"] = hihatp.Arguments
+ }
+ if hihatp.GetDebugInfo != "" {
+ objectMap["getDebugInfo"] = hihatp.GetDebugInfo
+ }
+ if hihatp.ScriptPath != nil {
+ objectMap["scriptPath"] = hihatp.ScriptPath
+ }
+ if hihatp.ScriptLinkedService != nil {
+ objectMap["scriptLinkedService"] = hihatp.ScriptLinkedService
+ }
+ if hihatp.Defines != nil {
+ objectMap["defines"] = hihatp.Defines
+ }
+ if hihatp.Variables != nil {
+ objectMap["variables"] = hihatp.Variables
+ }
+ if hihatp.QueryTimeout != nil {
+ objectMap["queryTimeout"] = hihatp.QueryTimeout
+ }
+ return json.Marshal(objectMap)
}
-// AsCassandraSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsCassandraSource() (*CassandraSource, bool) {
+// HDInsightLinkedService hDInsight linked service.
+type HDInsightLinkedService struct {
+ // HDInsightLinkedServiceTypeProperties - HDInsight linked service properties.
+ *HDInsightLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HDInsightLinkedService.
+func (hils HDInsightLinkedService) MarshalJSON() ([]byte, error) {
+ hils.Type = TypeHDInsight
+ objectMap := make(map[string]interface{})
+ if hils.HDInsightLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = hils.HDInsightLinkedServiceTypeProperties
+ }
+ if hils.ConnectVia != nil {
+ objectMap["connectVia"] = hils.ConnectVia
+ }
+ if hils.Description != nil {
+ objectMap["description"] = hils.Description
+ }
+ if hils.Parameters != nil {
+ objectMap["parameters"] = hils.Parameters
+ }
+ if hils.Annotations != nil {
+ objectMap["annotations"] = hils.Annotations
+ }
+ if hils.Type != "" {
+ objectMap["type"] = hils.Type
+ }
+ for k, v := range hils.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsWebSource() (*WebSource, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsOracleSource() (*OracleSource, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSQLSource() (*SQLSource, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsRestSource() (*RestSource, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsBlobSource() (*BlobSource, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsParquetSource() (*ParquetSource, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsCopySource() (*CopySource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for ImpalaSource.
-func (is ImpalaSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &is, true
+// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ImpalaSource struct.
-func (is *ImpalaSource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "query":
- if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
- if err != nil {
- return err
- }
- is.Query = query
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if is.AdditionalProperties == nil {
- is.AdditionalProperties = make(map[string]interface{})
- }
- is.AdditionalProperties[k] = additionalProperties
- }
- case "sourceRetryCount":
- if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
- if err != nil {
- return err
- }
- is.SourceRetryCount = sourceRetryCount
- }
- case "sourceRetryWait":
- if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
- if err != nil {
- return err
- }
- is.SourceRetryWait = sourceRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- is.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- is.Type = typeVar
- }
- }
- }
+// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
}
-// BasicIntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities.
-type BasicIntegrationRuntime interface {
- AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool)
- AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool)
- AsIntegrationRuntime() (*IntegrationRuntime, bool)
+// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
}
-// IntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities.
-type IntegrationRuntime struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Integration runtime description.
- Description *string `json:"description,omitempty"`
- // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged'
- Type TypeBasicIntegrationRuntime `json:"type,omitempty"`
+// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
}
-func unmarshalBasicIntegrationRuntime(body []byte) (BasicIntegrationRuntime, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
- switch m["type"] {
- case string(TypeSelfHosted):
- var shir SelfHostedIntegrationRuntime
- err := json.Unmarshal(body, &shir)
- return shir, err
- case string(TypeManaged):
- var mir ManagedIntegrationRuntime
- err := json.Unmarshal(body, &mir)
- return mir, err
- default:
- var ir IntegrationRuntime
- err := json.Unmarshal(body, &ir)
- return ir, err
- }
+// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
}
-func unmarshalBasicIntegrationRuntimeArray(body []byte) ([]BasicIntegrationRuntime, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
- irArray := make([]BasicIntegrationRuntime, len(rawMessages))
+// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
- for index, rawMessage := range rawMessages {
- ir, err := unmarshalBasicIntegrationRuntime(*rawMessage)
- if err != nil {
- return nil, err
- }
- irArray[index] = ir
- }
- return irArray, nil
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for IntegrationRuntime.
-func (ir IntegrationRuntime) MarshalJSON() ([]byte, error) {
- ir.Type = TypeIntegrationRuntime
- objectMap := make(map[string]interface{})
- if ir.Description != nil {
- objectMap["description"] = ir.Description
- }
- if ir.Type != "" {
- objectMap["type"] = ir.Type
- }
- for k, v := range ir.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
}
-// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
-func (ir IntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
-func (ir IntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
-func (ir IntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) {
- return &ir, true
+// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
}
-// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
-func (ir IntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) {
- return &ir, true
+// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for IntegrationRuntime struct.
-func (ir *IntegrationRuntime) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if ir.AdditionalProperties == nil {
- ir.AdditionalProperties = make(map[string]interface{})
- }
- ir.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- ir.Description = &description
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicIntegrationRuntime
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ir.Type = typeVar
- }
- }
- }
+// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
}
-// IntegrationRuntimeAuthKeys the integration runtime authentication keys.
-type IntegrationRuntimeAuthKeys struct {
- autorest.Response `json:"-"`
- // AuthKey1 - The primary integration runtime authentication key.
- AuthKey1 *string `json:"authKey1,omitempty"`
- // AuthKey2 - The secondary integration runtime authentication key.
- AuthKey2 *string `json:"authKey2,omitempty"`
+// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
}
-// IntegrationRuntimeComputeProperties the compute resource properties for managed integration runtime.
-type IntegrationRuntimeComputeProperties struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Location - The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities
- Location *string `json:"location,omitempty"`
- // NodeSize - The node size requirement to managed integration runtime.
- NodeSize *string `json:"nodeSize,omitempty"`
- // NumberOfNodes - The required number of nodes for managed integration runtime.
- NumberOfNodes *int32 `json:"numberOfNodes,omitempty"`
- // MaxParallelExecutionsPerNode - Maximum parallel executions count per node for managed integration runtime.
- MaxParallelExecutionsPerNode *int32 `json:"maxParallelExecutionsPerNode,omitempty"`
- // VNetProperties - VNet properties for managed integration runtime.
- VNetProperties *IntegrationRuntimeVNetProperties `json:"vNetProperties,omitempty"`
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for IntegrationRuntimeComputeProperties.
-func (ircp IntegrationRuntimeComputeProperties) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if ircp.Location != nil {
- objectMap["location"] = ircp.Location
- }
- if ircp.NodeSize != nil {
- objectMap["nodeSize"] = ircp.NodeSize
- }
- if ircp.NumberOfNodes != nil {
- objectMap["numberOfNodes"] = ircp.NumberOfNodes
- }
- if ircp.MaxParallelExecutionsPerNode != nil {
- objectMap["maxParallelExecutionsPerNode"] = ircp.MaxParallelExecutionsPerNode
- }
- if ircp.VNetProperties != nil {
- objectMap["vNetProperties"] = ircp.VNetProperties
- }
- for k, v := range ircp.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeComputeProperties struct.
-func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) error {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return &hils, true
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
+func (hils HDInsightLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &hils, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedService struct.
+func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -82176,6 +85375,15 @@ func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) erro
}
for k, v := range m {
switch k {
+ case "typeProperties":
+ if v != nil {
+ var hDInsightLinkedServiceTypeProperties HDInsightLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &hDInsightLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ hils.HDInsightLinkedServiceTypeProperties = &hDInsightLinkedServiceTypeProperties
+ }
default:
if v != nil {
var additionalProperties interface{}
@@ -82183,55 +85391,55 @@ func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) erro
if err != nil {
return err
}
- if ircp.AdditionalProperties == nil {
- ircp.AdditionalProperties = make(map[string]interface{})
+ if hils.AdditionalProperties == nil {
+ hils.AdditionalProperties = make(map[string]interface{})
}
- ircp.AdditionalProperties[k] = additionalProperties
+ hils.AdditionalProperties[k] = additionalProperties
}
- case "location":
+ case "connectVia":
if v != nil {
- var location string
- err = json.Unmarshal(*v, &location)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- ircp.Location = &location
+ hils.ConnectVia = &connectVia
}
- case "nodeSize":
+ case "description":
if v != nil {
- var nodeSize string
- err = json.Unmarshal(*v, &nodeSize)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- ircp.NodeSize = &nodeSize
+ hils.Description = &description
}
- case "numberOfNodes":
+ case "parameters":
if v != nil {
- var numberOfNodes int32
- err = json.Unmarshal(*v, &numberOfNodes)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- ircp.NumberOfNodes = &numberOfNodes
+ hils.Parameters = parameters
}
- case "maxParallelExecutionsPerNode":
+ case "annotations":
if v != nil {
- var maxParallelExecutionsPerNode int32
- err = json.Unmarshal(*v, &maxParallelExecutionsPerNode)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- ircp.MaxParallelExecutionsPerNode = &maxParallelExecutionsPerNode
+ hils.Annotations = &annotations
}
- case "vNetProperties":
+ case "type":
if v != nil {
- var vNetProperties IntegrationRuntimeVNetProperties
- err = json.Unmarshal(*v, &vNetProperties)
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ircp.VNetProperties = &vNetProperties
+ hils.Type = typeVar
}
}
}
@@ -82239,37 +85447,28 @@ func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) erro
return nil
}
-// IntegrationRuntimeConnectionInfo connection information for encrypting the on-premises data source
-// credentials.
-type IntegrationRuntimeConnectionInfo struct {
- autorest.Response `json:"-"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // ServiceToken - READ-ONLY; The token generated in service. Callers use this token to authenticate to integration runtime.
- ServiceToken *string `json:"serviceToken,omitempty"`
- // IdentityCertThumbprint - READ-ONLY; The integration runtime SSL certificate thumbprint. Click-Once application uses it to do server validation.
- IdentityCertThumbprint *string `json:"identityCertThumbprint,omitempty"`
- // HostServiceURI - READ-ONLY; The on-premises integration runtime host URL.
- HostServiceURI *string `json:"hostServiceUri,omitempty"`
- // Version - READ-ONLY; The integration runtime version.
- Version *string `json:"version,omitempty"`
- // PublicKey - READ-ONLY; The public key for encrypting a credential when transferring the credential to the integration runtime.
- PublicKey *string `json:"publicKey,omitempty"`
- // IsIdentityCertExprired - READ-ONLY; Whether the identity certificate is expired.
- IsIdentityCertExprired *bool `json:"isIdentityCertExprired,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for IntegrationRuntimeConnectionInfo.
-func (irci IntegrationRuntimeConnectionInfo) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- for k, v := range irci.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// HDInsightLinkedServiceTypeProperties hDInsight linked service properties.
+type HDInsightLinkedServiceTypeProperties struct {
+ // ClusterURI - HDInsight cluster URI. Type: string (or Expression with resultType string).
+ ClusterURI interface{} `json:"clusterUri,omitempty"`
+ // UserName - HDInsight cluster user name. Type: string (or Expression with resultType string).
+ UserName interface{} `json:"userName,omitempty"`
+ // Password - HDInsight cluster password.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // LinkedServiceName - The Azure Storage linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // HcatalogLinkedServiceName - A reference to the Azure SQL linked service that points to the HCatalog database.
+ HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+ // IsEspEnabled - Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean.
+ IsEspEnabled interface{} `json:"isEspEnabled,omitempty"`
+ // FileSystem - Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string).
+ FileSystem interface{} `json:"fileSystem,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeConnectionInfo struct.
-func (irci *IntegrationRuntimeConnectionInfo) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedServiceTypeProperties struct.
+func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -82277,71 +85476,76 @@ func (irci *IntegrationRuntimeConnectionInfo) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- default:
+ case "clusterUri":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var clusterURI interface{}
+ err = json.Unmarshal(*v, &clusterURI)
if err != nil {
return err
}
- if irci.AdditionalProperties == nil {
- irci.AdditionalProperties = make(map[string]interface{})
+ hilstp.ClusterURI = clusterURI
+ }
+ case "userName":
+ if v != nil {
+ var userName interface{}
+ err = json.Unmarshal(*v, &userName)
+ if err != nil {
+ return err
}
- irci.AdditionalProperties[k] = additionalProperties
+ hilstp.UserName = userName
}
- case "serviceToken":
+ case "password":
if v != nil {
- var serviceToken string
- err = json.Unmarshal(*v, &serviceToken)
+ password, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- irci.ServiceToken = &serviceToken
+ hilstp.Password = password
}
- case "identityCertThumbprint":
+ case "linkedServiceName":
if v != nil {
- var identityCertThumbprint string
- err = json.Unmarshal(*v, &identityCertThumbprint)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- irci.IdentityCertThumbprint = &identityCertThumbprint
+ hilstp.LinkedServiceName = &linkedServiceName
}
- case "hostServiceUri":
+ case "hcatalogLinkedServiceName":
if v != nil {
- var hostServiceURI string
- err = json.Unmarshal(*v, &hostServiceURI)
+ var hcatalogLinkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &hcatalogLinkedServiceName)
if err != nil {
return err
}
- irci.HostServiceURI = &hostServiceURI
+ hilstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName
}
- case "version":
+ case "encryptedCredential":
if v != nil {
- var version string
- err = json.Unmarshal(*v, &version)
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
if err != nil {
return err
}
- irci.Version = &version
+ hilstp.EncryptedCredential = encryptedCredential
}
- case "publicKey":
+ case "isEspEnabled":
if v != nil {
- var publicKey string
- err = json.Unmarshal(*v, &publicKey)
+ var isEspEnabled interface{}
+ err = json.Unmarshal(*v, &isEspEnabled)
if err != nil {
return err
}
- irci.PublicKey = &publicKey
+ hilstp.IsEspEnabled = isEspEnabled
}
- case "isIdentityCertExprired":
+ case "fileSystem":
if v != nil {
- var isIdentityCertExprired bool
- err = json.Unmarshal(*v, &isIdentityCertExprired)
+ var fileSystem interface{}
+ err = json.Unmarshal(*v, &fileSystem)
if err != nil {
return err
}
- irci.IsIdentityCertExprired = &isIdentityCertExprired
+ hilstp.FileSystem = fileSystem
}
}
}
@@ -82349,592 +85553,249 @@ func (irci *IntegrationRuntimeConnectionInfo) UnmarshalJSON(body []byte) error {
return nil
}
-// IntegrationRuntimeCustomSetupScriptProperties custom setup script properties for a managed dedicated
-// integration runtime.
-type IntegrationRuntimeCustomSetupScriptProperties struct {
- // BlobContainerURI - The URI of the Azure blob container that contains the custom setup script.
- BlobContainerURI *string `json:"blobContainerUri,omitempty"`
- // SasToken - The SAS token of the Azure blob container.
- SasToken *SecureString `json:"sasToken,omitempty"`
+// HDInsightMapReduceActivity hDInsight MapReduce activity type.
+type HDInsightMapReduceActivity struct {
+ // HDInsightMapReduceActivityTypeProperties - HDInsight MapReduce activity properties.
+ *HDInsightMapReduceActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// IntegrationRuntimeDataProxyProperties data proxy properties for a managed dedicated integration runtime.
-type IntegrationRuntimeDataProxyProperties struct {
- // ConnectVia - The self-hosted integration runtime reference.
- ConnectVia *EntityReference `json:"connectVia,omitempty"`
- // StagingLinkedService - The staging linked service reference.
- StagingLinkedService *EntityReference `json:"stagingLinkedService,omitempty"`
- // Path - The path to contain the staged data in the Blob storage.
- Path *string `json:"path,omitempty"`
+// MarshalJSON is the custom marshaler for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) MarshalJSON() ([]byte, error) {
+ himra.Type = TypeHDInsightMapReduce
+ objectMap := make(map[string]interface{})
+ if himra.HDInsightMapReduceActivityTypeProperties != nil {
+ objectMap["typeProperties"] = himra.HDInsightMapReduceActivityTypeProperties
+ }
+ if himra.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = himra.LinkedServiceName
+ }
+ if himra.Policy != nil {
+ objectMap["policy"] = himra.Policy
+ }
+ if himra.Name != nil {
+ objectMap["name"] = himra.Name
+ }
+ if himra.Description != nil {
+ objectMap["description"] = himra.Description
+ }
+ if himra.DependsOn != nil {
+ objectMap["dependsOn"] = himra.DependsOn
+ }
+ if himra.UserProperties != nil {
+ objectMap["userProperties"] = himra.UserProperties
+ }
+ if himra.Type != "" {
+ objectMap["type"] = himra.Type
+ }
+ for k, v := range himra.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// IntegrationRuntimeListResponse a list of integration runtime resources.
-type IntegrationRuntimeListResponse struct {
- autorest.Response `json:"-"`
- // Value - List of integration runtimes.
- Value *[]IntegrationRuntimeResource `json:"value,omitempty"`
- // NextLink - The link to the next page of results, if any remaining results exist.
- NextLink *string `json:"nextLink,omitempty"`
+// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+ return nil, false
}
-// IntegrationRuntimeListResponseIterator provides access to a complete listing of
-// IntegrationRuntimeResource values.
-type IntegrationRuntimeListResponseIterator struct {
- i int
- page IntegrationRuntimeListResponsePage
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+ return nil, false
}
-// NextWithContext advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-func (iter *IntegrationRuntimeListResponseIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/IntegrationRuntimeListResponseIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+ return nil, false
}
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *IntegrationRuntimeListResponseIterator) Next() error {
- return iter.NextWithContext(context.Background())
+// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+ return nil, false
}
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter IntegrationRuntimeListResponseIterator) NotDone() bool {
- return iter.page.NotDone() && iter.i < len(iter.page.Values())
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (iter IntegrationRuntimeListResponseIterator) Response() IntegrationRuntimeListResponse {
- return iter.page.Response()
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+ return nil, false
}
-// Value returns the current value or a zero-initialized value if the
-// iterator has advanced beyond the end of the collection.
-func (iter IntegrationRuntimeListResponseIterator) Value() IntegrationRuntimeResource {
- if !iter.page.NotDone() {
- return IntegrationRuntimeResource{}
- }
- return iter.page.Values()[iter.i]
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+ return nil, false
}
-// Creates a new instance of the IntegrationRuntimeListResponseIterator type.
-func NewIntegrationRuntimeListResponseIterator(page IntegrationRuntimeListResponsePage) IntegrationRuntimeListResponseIterator {
- return IntegrationRuntimeListResponseIterator{page: page}
+// AsGetMetadataActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+ return nil, false
}
-// IsEmpty returns true if the ListResult contains no values.
-func (irlr IntegrationRuntimeListResponse) IsEmpty() bool {
- return irlr.Value == nil || len(*irlr.Value) == 0
+// AsWebActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsWebActivity() (*WebActivity, bool) {
+ return nil, false
}
-// 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 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(irlr.NextLink)))
+// AsLookupActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsLookupActivity() (*LookupActivity, bool) {
+ return nil, false
}
-// IntegrationRuntimeListResponsePage contains a page of IntegrationRuntimeResource values.
-type IntegrationRuntimeListResponsePage struct {
- fn func(context.Context, IntegrationRuntimeListResponse) (IntegrationRuntimeListResponse, error)
- irlr IntegrationRuntimeListResponse
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return nil, false
}
-// NextWithContext advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-func (page *IntegrationRuntimeListResponsePage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/IntegrationRuntimeListResponsePage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.irlr)
- if err != nil {
- return err
- }
- page.irlr = next
- return nil
+// AsDeleteActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+ return nil, false
}
-// Next advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (page *IntegrationRuntimeListResponsePage) Next() error {
- return page.NextWithContext(context.Background())
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+ return nil, false
}
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page IntegrationRuntimeListResponsePage) NotDone() bool {
- return !page.irlr.IsEmpty()
+// AsCustomActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsCustomActivity() (*CustomActivity, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (page IntegrationRuntimeListResponsePage) Response() IntegrationRuntimeListResponse {
- return page.irlr
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+ return nil, false
}
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page IntegrationRuntimeListResponsePage) Values() []IntegrationRuntimeResource {
- if page.irlr.IsEmpty() {
- return nil
- }
- return *page.irlr.Value
+// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+ return nil, false
}
-// Creates a new instance of the IntegrationRuntimeListResponsePage type.
-func NewIntegrationRuntimeListResponsePage(getNextPage func(context.Context, IntegrationRuntimeListResponse) (IntegrationRuntimeListResponse, error)) IntegrationRuntimeListResponsePage {
- return IntegrationRuntimeListResponsePage{fn: getNextPage}
+// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+ return nil, false
}
-// IntegrationRuntimeMonitoringData get monitoring data response.
-type IntegrationRuntimeMonitoringData struct {
- autorest.Response `json:"-"`
- // Name - Integration runtime name.
- Name *string `json:"name,omitempty"`
- // Nodes - Integration runtime node monitoring data.
- Nodes *[]IntegrationRuntimeNodeMonitoringData `json:"nodes,omitempty"`
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+ return &himra, true
}
-// IntegrationRuntimeNodeIPAddress the IP address of self-hosted integration runtime node.
-type IntegrationRuntimeNodeIPAddress struct {
- autorest.Response `json:"-"`
- // IPAddress - READ-ONLY; The IP address of self-hosted integration runtime node.
- IPAddress *string `json:"ipAddress,omitempty"`
+// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+ return nil, false
}
-// IntegrationRuntimeNodeMonitoringData monitoring data for integration runtime node.
-type IntegrationRuntimeNodeMonitoringData struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // NodeName - READ-ONLY; Name of the integration runtime node.
- NodeName *string `json:"nodeName,omitempty"`
- // AvailableMemoryInMB - READ-ONLY; Available memory (MB) on the integration runtime node.
- AvailableMemoryInMB *int32 `json:"availableMemoryInMB,omitempty"`
- // CPUUtilization - READ-ONLY; CPU percentage on the integration runtime node.
- CPUUtilization *int32 `json:"cpuUtilization,omitempty"`
- // ConcurrentJobsLimit - READ-ONLY; Maximum concurrent jobs on the integration runtime node.
- ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"`
- // ConcurrentJobsRunning - READ-ONLY; The number of jobs currently running on the integration runtime node.
- ConcurrentJobsRunning *int32 `json:"concurrentJobsRunning,omitempty"`
- // MaxConcurrentJobs - READ-ONLY; The maximum concurrent jobs in this integration runtime.
- MaxConcurrentJobs *int32 `json:"maxConcurrentJobs,omitempty"`
- // SentBytes - READ-ONLY; Sent bytes on the integration runtime node.
- SentBytes *float64 `json:"sentBytes,omitempty"`
- // ReceivedBytes - READ-ONLY; Received bytes on the integration runtime node.
- ReceivedBytes *float64 `json:"receivedBytes,omitempty"`
+// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for IntegrationRuntimeNodeMonitoringData.
-func (irnmd IntegrationRuntimeNodeMonitoringData) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- for k, v := range irnmd.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsCopyActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsCopyActivity() (*CopyActivity, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeNodeMonitoringData struct.
-func (irnmd *IntegrationRuntimeNodeMonitoringData) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if irnmd.AdditionalProperties == nil {
- irnmd.AdditionalProperties = make(map[string]interface{})
- }
- irnmd.AdditionalProperties[k] = additionalProperties
- }
- case "nodeName":
- if v != nil {
- var nodeName string
- err = json.Unmarshal(*v, &nodeName)
- if err != nil {
- return err
- }
- irnmd.NodeName = &nodeName
- }
- case "availableMemoryInMB":
- if v != nil {
- var availableMemoryInMB int32
- err = json.Unmarshal(*v, &availableMemoryInMB)
- if err != nil {
- return err
- }
- irnmd.AvailableMemoryInMB = &availableMemoryInMB
- }
- case "cpuUtilization":
- if v != nil {
- var CPUUtilization int32
- err = json.Unmarshal(*v, &CPUUtilization)
- if err != nil {
- return err
- }
- irnmd.CPUUtilization = &CPUUtilization
- }
- case "concurrentJobsLimit":
- if v != nil {
- var concurrentJobsLimit int32
- err = json.Unmarshal(*v, &concurrentJobsLimit)
- if err != nil {
- return err
- }
- irnmd.ConcurrentJobsLimit = &concurrentJobsLimit
- }
- case "concurrentJobsRunning":
- if v != nil {
- var concurrentJobsRunning int32
- err = json.Unmarshal(*v, &concurrentJobsRunning)
- if err != nil {
- return err
- }
- irnmd.ConcurrentJobsRunning = &concurrentJobsRunning
- }
- case "maxConcurrentJobs":
- if v != nil {
- var maxConcurrentJobs int32
- err = json.Unmarshal(*v, &maxConcurrentJobs)
- if err != nil {
- return err
- }
- irnmd.MaxConcurrentJobs = &maxConcurrentJobs
- }
- case "sentBytes":
- if v != nil {
- var sentBytes float64
- err = json.Unmarshal(*v, &sentBytes)
- if err != nil {
- return err
- }
- irnmd.SentBytes = &sentBytes
- }
- case "receivedBytes":
- if v != nil {
- var receivedBytes float64
- err = json.Unmarshal(*v, &receivedBytes)
- if err != nil {
- return err
- }
- irnmd.ReceivedBytes = &receivedBytes
- }
- }
- }
+// AsExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+ return nil, false
+}
- return nil
+// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &himra, true
}
-// IntegrationRuntimeObjectMetadataRefreshFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
-type IntegrationRuntimeObjectMetadataRefreshFuture struct {
- azure.Future
+// AsWebHookActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+ return nil, false
}
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *IntegrationRuntimeObjectMetadataRefreshFuture) Result(client IntegrationRuntimeObjectMetadataClient) (somsr SsisObjectMetadataStatusResponse, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimeObjectMetadataRefreshFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimeObjectMetadataRefreshFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if somsr.Response.Response, err = future.GetResult(sender); err == nil && somsr.Response.Response.StatusCode != http.StatusNoContent {
- somsr, err = client.RefreshResponder(somsr.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimeObjectMetadataRefreshFuture", "Result", somsr.Response.Response, "Failure responding to request")
- }
- }
- return
+// AsAppendVariableActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+ return nil, false
}
-// IntegrationRuntimeReference integration runtime reference type.
-type IntegrationRuntimeReference struct {
- // Type - Type of integration runtime.
- Type *string `json:"type,omitempty"`
- // ReferenceName - Reference integration runtime name.
- ReferenceName *string `json:"referenceName,omitempty"`
- // Parameters - Arguments for integration runtime.
- Parameters map[string]interface{} `json:"parameters"`
+// AsSetVariableActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for IntegrationRuntimeReference.
-func (irr IntegrationRuntimeReference) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if irr.Type != nil {
- objectMap["type"] = irr.Type
- }
- if irr.ReferenceName != nil {
- objectMap["referenceName"] = irr.ReferenceName
- }
- if irr.Parameters != nil {
- objectMap["parameters"] = irr.Parameters
- }
- return json.Marshal(objectMap)
+// AsFilterActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsFilterActivity() (*FilterActivity, bool) {
+ return nil, false
}
-// IntegrationRuntimeRegenerateKeyParameters parameters to regenerate the authentication key.
-type IntegrationRuntimeRegenerateKeyParameters struct {
- // KeyName - The name of the authentication key to regenerate. Possible values include: 'AuthKey1', 'AuthKey2'
- KeyName IntegrationRuntimeAuthKeyName `json:"keyName,omitempty"`
+// AsValidationActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsValidationActivity() (*ValidationActivity, bool) {
+ return nil, false
}
-// IntegrationRuntimeResource integration runtime resource type.
-type IntegrationRuntimeResource struct {
- autorest.Response `json:"-"`
- // Properties - Integration runtime properties.
- Properties BasicIntegrationRuntime `json:"properties,omitempty"`
- // ID - READ-ONLY; The resource identifier.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The resource name.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The resource type.
- Type *string `json:"type,omitempty"`
- // Etag - READ-ONLY; Etag identifies change in the resource.
- Etag *string `json:"etag,omitempty"`
+// AsUntilActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsUntilActivity() (*UntilActivity, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeResource struct.
-func (irr *IntegrationRuntimeResource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "properties":
- if v != nil {
- properties, err := unmarshalBasicIntegrationRuntime(*v)
- if err != nil {
- return err
- }
- irr.Properties = properties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- irr.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- irr.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- irr.Type = &typeVar
- }
- case "etag":
- if v != nil {
- var etag string
- err = json.Unmarshal(*v, &etag)
- if err != nil {
- return err
- }
- irr.Etag = &etag
- }
- }
- }
+// AsWaitActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsWaitActivity() (*WaitActivity, bool) {
+ return nil, false
+}
- return nil
+// AsForEachActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsForEachActivity() (*ForEachActivity, bool) {
+ return nil, false
}
-// IntegrationRuntimeSsisCatalogInfo catalog information for managed dedicated integration runtime.
-type IntegrationRuntimeSsisCatalogInfo struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // CatalogServerEndpoint - The catalog database server URL.
- CatalogServerEndpoint *string `json:"catalogServerEndpoint,omitempty"`
- // CatalogAdminUserName - The administrator user name of catalog database.
- CatalogAdminUserName *string `json:"catalogAdminUserName,omitempty"`
- // CatalogAdminPassword - The password of the administrator user account of the catalog database.
- CatalogAdminPassword *SecureString `json:"catalogAdminPassword,omitempty"`
- // CatalogPricingTier - The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: 'IntegrationRuntimeSsisCatalogPricingTierBasic', 'IntegrationRuntimeSsisCatalogPricingTierStandard', 'IntegrationRuntimeSsisCatalogPricingTierPremium', 'IntegrationRuntimeSsisCatalogPricingTierPremiumRS'
- CatalogPricingTier IntegrationRuntimeSsisCatalogPricingTier `json:"catalogPricingTier,omitempty"`
+// AsIfConditionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for IntegrationRuntimeSsisCatalogInfo.
-func (irsci IntegrationRuntimeSsisCatalogInfo) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if irsci.CatalogServerEndpoint != nil {
- objectMap["catalogServerEndpoint"] = irsci.CatalogServerEndpoint
- }
- if irsci.CatalogAdminUserName != nil {
- objectMap["catalogAdminUserName"] = irsci.CatalogAdminUserName
- }
- if irsci.CatalogAdminPassword != nil {
- objectMap["catalogAdminPassword"] = irsci.CatalogAdminPassword
- }
- if irsci.CatalogPricingTier != "" {
- objectMap["catalogPricingTier"] = irsci.CatalogPricingTier
- }
- for k, v := range irsci.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeSsisCatalogInfo struct.
-func (irsci *IntegrationRuntimeSsisCatalogInfo) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if irsci.AdditionalProperties == nil {
- irsci.AdditionalProperties = make(map[string]interface{})
- }
- irsci.AdditionalProperties[k] = additionalProperties
- }
- case "catalogServerEndpoint":
- if v != nil {
- var catalogServerEndpoint string
- err = json.Unmarshal(*v, &catalogServerEndpoint)
- if err != nil {
- return err
- }
- irsci.CatalogServerEndpoint = &catalogServerEndpoint
- }
- case "catalogAdminUserName":
- if v != nil {
- var catalogAdminUserName string
- err = json.Unmarshal(*v, &catalogAdminUserName)
- if err != nil {
- return err
- }
- irsci.CatalogAdminUserName = &catalogAdminUserName
- }
- case "catalogAdminPassword":
- if v != nil {
- var catalogAdminPassword SecureString
- err = json.Unmarshal(*v, &catalogAdminPassword)
- if err != nil {
- return err
- }
- irsci.CatalogAdminPassword = &catalogAdminPassword
- }
- case "catalogPricingTier":
- if v != nil {
- var catalogPricingTier IntegrationRuntimeSsisCatalogPricingTier
- err = json.Unmarshal(*v, &catalogPricingTier)
- if err != nil {
- return err
- }
- irsci.CatalogPricingTier = catalogPricingTier
- }
- }
- }
+// AsControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsControlActivity() (*ControlActivity, bool) {
+ return nil, false
+}
- return nil
+// AsBasicControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return nil, false
}
-// IntegrationRuntimeSsisProperties SSIS properties for managed integration runtime.
-type IntegrationRuntimeSsisProperties struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // CatalogInfo - Catalog information for managed dedicated integration runtime.
- CatalogInfo *IntegrationRuntimeSsisCatalogInfo `json:"catalogInfo,omitempty"`
- // LicenseType - License type for bringing your own license scenario. Possible values include: 'BasePrice', 'LicenseIncluded'
- LicenseType IntegrationRuntimeLicenseType `json:"licenseType,omitempty"`
- // CustomSetupScriptProperties - Custom setup script properties for a managed dedicated integration runtime.
- CustomSetupScriptProperties *IntegrationRuntimeCustomSetupScriptProperties `json:"customSetupScriptProperties,omitempty"`
- // DataProxyProperties - Data proxy properties for a managed dedicated integration runtime.
- DataProxyProperties *IntegrationRuntimeDataProxyProperties `json:"dataProxyProperties,omitempty"`
- // Edition - The edition for the SSIS Integration Runtime. Possible values include: 'Standard', 'Enterprise'
- Edition IntegrationRuntimeEdition `json:"edition,omitempty"`
+// AsActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsActivity() (*Activity, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for IntegrationRuntimeSsisProperties.
-func (irsp IntegrationRuntimeSsisProperties) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if irsp.CatalogInfo != nil {
- objectMap["catalogInfo"] = irsp.CatalogInfo
- }
- if irsp.LicenseType != "" {
- objectMap["licenseType"] = irsp.LicenseType
- }
- if irsp.CustomSetupScriptProperties != nil {
- objectMap["customSetupScriptProperties"] = irsp.CustomSetupScriptProperties
- }
- if irsp.DataProxyProperties != nil {
- objectMap["dataProxyProperties"] = irsp.DataProxyProperties
- }
- if irsp.Edition != "" {
- objectMap["edition"] = irsp.Edition
- }
- for k, v := range irsp.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsBasicActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
+func (himra HDInsightMapReduceActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &himra, true
}
-// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeSsisProperties struct.
-func (irsp *IntegrationRuntimeSsisProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for HDInsightMapReduceActivity struct.
+func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -82942,223 +85803,33 @@ func (irsp *IntegrationRuntimeSsisProperties) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if irsp.AdditionalProperties == nil {
- irsp.AdditionalProperties = make(map[string]interface{})
- }
- irsp.AdditionalProperties[k] = additionalProperties
- }
- case "catalogInfo":
- if v != nil {
- var catalogInfo IntegrationRuntimeSsisCatalogInfo
- err = json.Unmarshal(*v, &catalogInfo)
- if err != nil {
- return err
- }
- irsp.CatalogInfo = &catalogInfo
- }
- case "licenseType":
- if v != nil {
- var licenseType IntegrationRuntimeLicenseType
- err = json.Unmarshal(*v, &licenseType)
- if err != nil {
- return err
- }
- irsp.LicenseType = licenseType
- }
- case "customSetupScriptProperties":
+ case "typeProperties":
if v != nil {
- var customSetupScriptProperties IntegrationRuntimeCustomSetupScriptProperties
- err = json.Unmarshal(*v, &customSetupScriptProperties)
+ var hDInsightMapReduceActivityTypeProperties HDInsightMapReduceActivityTypeProperties
+ err = json.Unmarshal(*v, &hDInsightMapReduceActivityTypeProperties)
if err != nil {
return err
}
- irsp.CustomSetupScriptProperties = &customSetupScriptProperties
+ himra.HDInsightMapReduceActivityTypeProperties = &hDInsightMapReduceActivityTypeProperties
}
- case "dataProxyProperties":
+ case "linkedServiceName":
if v != nil {
- var dataProxyProperties IntegrationRuntimeDataProxyProperties
- err = json.Unmarshal(*v, &dataProxyProperties)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- irsp.DataProxyProperties = &dataProxyProperties
+ himra.LinkedServiceName = &linkedServiceName
}
- case "edition":
+ case "policy":
if v != nil {
- var edition IntegrationRuntimeEdition
- err = json.Unmarshal(*v, &edition)
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
if err != nil {
return err
}
- irsp.Edition = edition
+ himra.Policy = &policy
}
- }
- }
-
- return nil
-}
-
-// IntegrationRuntimesStartFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type IntegrationRuntimesStartFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *IntegrationRuntimesStartFuture) Result(client IntegrationRuntimesClient) (irsr IntegrationRuntimeStatusResponse, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStartFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if irsr.Response.Response, err = future.GetResult(sender); err == nil && irsr.Response.Response.StatusCode != http.StatusNoContent {
- irsr, err = client.StartResponder(irsr.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", irsr.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
-// IntegrationRuntimesStopFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type IntegrationRuntimesStopFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *IntegrationRuntimesStopFuture) Result(client IntegrationRuntimesClient) (ar autorest.Response, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStopFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStopFuture")
- return
- }
- ar.Response = future.Response()
- return
-}
-
-// BasicIntegrationRuntimeStatus integration runtime status.
-type BasicIntegrationRuntimeStatus interface {
- AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool)
- AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool)
- AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool)
-}
-
-// IntegrationRuntimeStatus integration runtime status.
-type IntegrationRuntimeStatus struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // DataFactoryName - READ-ONLY; The data factory name which the integration runtime belong to.
- DataFactoryName *string `json:"dataFactoryName,omitempty"`
- // State - READ-ONLY; The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied'
- State IntegrationRuntimeState `json:"state,omitempty"`
- // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged'
- Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"`
-}
-
-func unmarshalBasicIntegrationRuntimeStatus(body []byte) (BasicIntegrationRuntimeStatus, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
-
- switch m["type"] {
- case string(TypeBasicIntegrationRuntimeStatusTypeSelfHosted):
- var shirs SelfHostedIntegrationRuntimeStatus
- err := json.Unmarshal(body, &shirs)
- return shirs, err
- case string(TypeBasicIntegrationRuntimeStatusTypeManaged):
- var mirs ManagedIntegrationRuntimeStatus
- err := json.Unmarshal(body, &mirs)
- return mirs, err
- default:
- var irs IntegrationRuntimeStatus
- err := json.Unmarshal(body, &irs)
- return irs, err
- }
-}
-func unmarshalBasicIntegrationRuntimeStatusArray(body []byte) ([]BasicIntegrationRuntimeStatus, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
-
- irsArray := make([]BasicIntegrationRuntimeStatus, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- irs, err := unmarshalBasicIntegrationRuntimeStatus(*rawMessage)
- if err != nil {
- return nil, err
- }
- irsArray[index] = irs
- }
- return irsArray, nil
-}
-
-// MarshalJSON is the custom marshaler for IntegrationRuntimeStatus.
-func (irs IntegrationRuntimeStatus) MarshalJSON() ([]byte, error) {
- irs.Type = TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus
- objectMap := make(map[string]interface{})
- if irs.Type != "" {
- objectMap["type"] = irs.Type
- }
- for k, v := range irs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
-func (irs IntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) {
- return nil, false
-}
-
-// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
-func (irs IntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) {
- return nil, false
-}
-
-// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
-func (irs IntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) {
- return &irs, true
-}
-
-// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
-func (irs IntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) {
- return &irs, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatus struct.
-func (irs *IntegrationRuntimeStatus) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
default:
if v != nil {
var additionalProperties interface{}
@@ -83166,86 +85837,55 @@ func (irs *IntegrationRuntimeStatus) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if irs.AdditionalProperties == nil {
- irs.AdditionalProperties = make(map[string]interface{})
+ if himra.AdditionalProperties == nil {
+ himra.AdditionalProperties = make(map[string]interface{})
}
- irs.AdditionalProperties[k] = additionalProperties
+ himra.AdditionalProperties[k] = additionalProperties
}
- case "dataFactoryName":
+ case "name":
if v != nil {
- var dataFactoryName string
- err = json.Unmarshal(*v, &dataFactoryName)
+ var name string
+ err = json.Unmarshal(*v, &name)
if err != nil {
return err
}
- irs.DataFactoryName = &dataFactoryName
+ himra.Name = &name
}
- case "state":
+ case "description":
if v != nil {
- var state IntegrationRuntimeState
- err = json.Unmarshal(*v, &state)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- irs.State = state
+ himra.Description = &description
}
- case "type":
+ case "dependsOn":
if v != nil {
- var typeVar TypeBasicIntegrationRuntimeStatus
- err = json.Unmarshal(*v, &typeVar)
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
if err != nil {
return err
}
- irs.Type = typeVar
+ himra.DependsOn = &dependsOn
}
- }
- }
-
- return nil
-}
-
-// IntegrationRuntimeStatusListResponse a list of integration runtime status.
-type IntegrationRuntimeStatusListResponse struct {
- // Value - List of integration runtime status.
- Value *[]IntegrationRuntimeStatusResponse `json:"value,omitempty"`
- // NextLink - The link to the next page of results, if any remaining results exist.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// IntegrationRuntimeStatusResponse integration runtime status response.
-type IntegrationRuntimeStatusResponse struct {
- autorest.Response `json:"-"`
- // Name - READ-ONLY; The integration runtime name.
- Name *string `json:"name,omitempty"`
- // Properties - Integration runtime properties.
- Properties BasicIntegrationRuntimeStatus `json:"properties,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatusResponse struct.
-func (irsr *IntegrationRuntimeStatusResponse) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "name":
+ case "userProperties":
if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
if err != nil {
return err
}
- irsr.Name = &name
+ himra.UserProperties = &userProperties
}
- case "properties":
+ case "type":
if v != nil {
- properties, err := unmarshalBasicIntegrationRuntimeStatus(*v)
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- irsr.Properties = properties
+ himra.Type = typeVar
}
}
}
@@ -83253,80 +85893,60 @@ func (irsr *IntegrationRuntimeStatusResponse) UnmarshalJSON(body []byte) error {
return nil
}
-// IntegrationRuntimeVNetProperties vNet properties for managed integration runtime.
-type IntegrationRuntimeVNetProperties struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // VNetID - The ID of the VNet that this integration runtime will join.
- VNetID *string `json:"vNetId,omitempty"`
- // Subnet - The name of the subnet this integration runtime will join.
- Subnet *string `json:"subnet,omitempty"`
+// HDInsightMapReduceActivityTypeProperties hDInsight MapReduce activity properties.
+type HDInsightMapReduceActivityTypeProperties struct {
+ // StorageLinkedServices - Storage linked service references.
+ StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
+ // Arguments - User specified arguments to HDInsightActivity.
+ Arguments *[]interface{} `json:"arguments,omitempty"`
+ // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
+ GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
+ // ClassName - Class name. Type: string (or Expression with resultType string).
+ ClassName interface{} `json:"className,omitempty"`
+ // JarFilePath - Jar path. Type: string (or Expression with resultType string).
+ JarFilePath interface{} `json:"jarFilePath,omitempty"`
+ // JarLinkedService - Jar linked service reference.
+ JarLinkedService *LinkedServiceReference `json:"jarLinkedService,omitempty"`
+ // JarLibs - Jar libs.
+ JarLibs *[]interface{} `json:"jarLibs,omitempty"`
+ // Defines - Allows user to specify defines for the MapReduce job request.
+ Defines map[string]interface{} `json:"defines"`
}
-// MarshalJSON is the custom marshaler for IntegrationRuntimeVNetProperties.
-func (irvnp IntegrationRuntimeVNetProperties) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for HDInsightMapReduceActivityTypeProperties.
+func (himratp HDInsightMapReduceActivityTypeProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if irvnp.VNetID != nil {
- objectMap["vNetId"] = irvnp.VNetID
+ if himratp.StorageLinkedServices != nil {
+ objectMap["storageLinkedServices"] = himratp.StorageLinkedServices
}
- if irvnp.Subnet != nil {
- objectMap["subnet"] = irvnp.Subnet
+ if himratp.Arguments != nil {
+ objectMap["arguments"] = himratp.Arguments
}
- for k, v := range irvnp.AdditionalProperties {
- objectMap[k] = v
+ if himratp.GetDebugInfo != "" {
+ objectMap["getDebugInfo"] = himratp.GetDebugInfo
}
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeVNetProperties struct.
-func (irvnp *IntegrationRuntimeVNetProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
+ if himratp.ClassName != nil {
+ objectMap["className"] = himratp.ClassName
}
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if irvnp.AdditionalProperties == nil {
- irvnp.AdditionalProperties = make(map[string]interface{})
- }
- irvnp.AdditionalProperties[k] = additionalProperties
- }
- case "vNetId":
- if v != nil {
- var vNetID string
- err = json.Unmarshal(*v, &vNetID)
- if err != nil {
- return err
- }
- irvnp.VNetID = &vNetID
- }
- case "subnet":
- if v != nil {
- var subnet string
- err = json.Unmarshal(*v, &subnet)
- if err != nil {
- return err
- }
- irvnp.Subnet = &subnet
- }
- }
+ if himratp.JarFilePath != nil {
+ objectMap["jarFilePath"] = himratp.JarFilePath
}
-
- return nil
+ if himratp.JarLinkedService != nil {
+ objectMap["jarLinkedService"] = himratp.JarLinkedService
+ }
+ if himratp.JarLibs != nil {
+ objectMap["jarLibs"] = himratp.JarLibs
+ }
+ if himratp.Defines != nil {
+ objectMap["defines"] = himratp.Defines
+ }
+ return json.Marshal(objectMap)
}
-// JiraLinkedService jira Service linked service.
-type JiraLinkedService struct {
- // JiraLinkedServiceTypeProperties - Jira Service linked service properties.
- *JiraLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// HDInsightOnDemandLinkedService hDInsight ondemand linked service.
+type HDInsightOnDemandLinkedService struct {
+ // HDInsightOnDemandLinkedServiceTypeProperties - HDInsight ondemand linked service properties.
+ *HDInsightOnDemandLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -83337,470 +85957,500 @@ type JiraLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for JiraLinkedService.
-func (jls JiraLinkedService) MarshalJSON() ([]byte, error) {
- jls.Type = TypeJira
+// MarshalJSON is the custom marshaler for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) MarshalJSON() ([]byte, error) {
+ hiodls.Type = TypeHDInsightOnDemand
objectMap := make(map[string]interface{})
- if jls.JiraLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = jls.JiraLinkedServiceTypeProperties
+ if hiodls.HDInsightOnDemandLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = hiodls.HDInsightOnDemandLinkedServiceTypeProperties
}
- if jls.ConnectVia != nil {
- objectMap["connectVia"] = jls.ConnectVia
+ if hiodls.ConnectVia != nil {
+ objectMap["connectVia"] = hiodls.ConnectVia
}
- if jls.Description != nil {
- objectMap["description"] = jls.Description
+ if hiodls.Description != nil {
+ objectMap["description"] = hiodls.Description
}
- if jls.Parameters != nil {
- objectMap["parameters"] = jls.Parameters
+ if hiodls.Parameters != nil {
+ objectMap["parameters"] = hiodls.Parameters
}
- if jls.Annotations != nil {
- objectMap["annotations"] = jls.Annotations
+ if hiodls.Annotations != nil {
+ objectMap["annotations"] = hiodls.Annotations
}
- if jls.Type != "" {
- objectMap["type"] = jls.Type
+ if hiodls.Type != "" {
+ objectMap["type"] = hiodls.Type
}
- for k, v := range jls.AdditionalProperties {
+ for k, v := range hiodls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return &hiodls, true
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
- return &jls, true
+// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for JiraLinkedService.
-func (jls JiraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &jls, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for JiraLinkedService struct.
-func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
+func (hiodls HDInsightOnDemandLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &hiodls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedService struct.
+func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -83810,12 +86460,12 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var jiraLinkedServiceTypeProperties JiraLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &jiraLinkedServiceTypeProperties)
+ var hDInsightOnDemandLinkedServiceTypeProperties HDInsightOnDemandLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &hDInsightOnDemandLinkedServiceTypeProperties)
if err != nil {
return err
}
- jls.JiraLinkedServiceTypeProperties = &jiraLinkedServiceTypeProperties
+ hiodls.HDInsightOnDemandLinkedServiceTypeProperties = &hDInsightOnDemandLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -83824,10 +86474,10 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if jls.AdditionalProperties == nil {
- jls.AdditionalProperties = make(map[string]interface{})
+ if hiodls.AdditionalProperties == nil {
+ hiodls.AdditionalProperties = make(map[string]interface{})
}
- jls.AdditionalProperties[k] = additionalProperties
+ hiodls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -83836,7 +86486,7 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- jls.ConnectVia = &connectVia
+ hiodls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -83845,7 +86495,7 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- jls.Description = &description
+ hiodls.Description = &description
}
case "parameters":
if v != nil {
@@ -83854,7 +86504,7 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- jls.Parameters = parameters
+ hiodls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -83863,7 +86513,7 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- jls.Annotations = &annotations
+ hiodls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -83872,7 +86522,7 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- jls.Type = typeVar
+ hiodls.Type = typeVar
}
}
}
@@ -83880,28 +86530,78 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// JiraLinkedServiceTypeProperties jira Service linked service properties.
-type JiraLinkedServiceTypeProperties struct {
- // Host - The IP address or host name of the Jira service. (e.g. jira.example.com)
- Host interface{} `json:"host,omitempty"`
- // Port - The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP.
- Port interface{} `json:"port,omitempty"`
- // Username - The user name that you use to access Jira Service.
- Username interface{} `json:"username,omitempty"`
- // Password - The password corresponding to the user name that you provided in the username field.
- Password BasicSecretBase `json:"password,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
- UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
- UseHostVerification interface{} `json:"useHostVerification,omitempty"`
- // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
- UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+// HDInsightOnDemandLinkedServiceTypeProperties hDInsight ondemand linked service properties.
+type HDInsightOnDemandLinkedServiceTypeProperties struct {
+ // ClusterSize - Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string).
+ ClusterSize interface{} `json:"clusterSize,omitempty"`
+ // TimeToLive - The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string).
+ TimeToLive interface{} `json:"timeToLive,omitempty"`
+ // Version - Version of the HDInsight cluster. Type: string (or Expression with resultType string).
+ Version interface{} `json:"version,omitempty"`
+ // LinkedServiceName - Azure Storage linked service to be used by the on-demand cluster for storing and processing data.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // HostSubscriptionID - The customer’s subscription to host the cluster. Type: string (or Expression with resultType string).
+ HostSubscriptionID interface{} `json:"hostSubscriptionId,omitempty"`
+ // ServicePrincipalID - The service principal id for the hostSubscriptionId. Type: string (or Expression with resultType string).
+ ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
+ // ServicePrincipalKey - The key for the service principal id.
+ ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
+ // Tenant - The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string).
+ Tenant interface{} `json:"tenant,omitempty"`
+ // ClusterResourceGroup - The resource group where the cluster belongs. Type: string (or Expression with resultType string).
+ ClusterResourceGroup interface{} `json:"clusterResourceGroup,omitempty"`
+ // ClusterNamePrefix - The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string).
+ ClusterNamePrefix interface{} `json:"clusterNamePrefix,omitempty"`
+ // ClusterUserName - The username to access the cluster. Type: string (or Expression with resultType string).
+ ClusterUserName interface{} `json:"clusterUserName,omitempty"`
+ // ClusterPassword - The password to access the cluster.
+ ClusterPassword BasicSecretBase `json:"clusterPassword,omitempty"`
+ // ClusterSSHUserName - The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string).
+ ClusterSSHUserName interface{} `json:"clusterSshUserName,omitempty"`
+ // ClusterSSHPassword - The password to SSH remotely connect cluster’s node (for Linux).
+ ClusterSSHPassword BasicSecretBase `json:"clusterSshPassword,omitempty"`
+ // AdditionalLinkedServiceNames - Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf.
+ AdditionalLinkedServiceNames *[]LinkedServiceReference `json:"additionalLinkedServiceNames,omitempty"`
+ // HcatalogLinkedServiceName - The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore.
+ HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"`
+ // ClusterType - The cluster type. Type: string (or Expression with resultType string).
+ ClusterType interface{} `json:"clusterType,omitempty"`
+ // SparkVersion - The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string).
+ SparkVersion interface{} `json:"sparkVersion,omitempty"`
+ // CoreConfiguration - Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to be created.
+ CoreConfiguration interface{} `json:"coreConfiguration,omitempty"`
+ // HBaseConfiguration - Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster.
+ HBaseConfiguration interface{} `json:"hBaseConfiguration,omitempty"`
+ // HdfsConfiguration - Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster.
+ HdfsConfiguration interface{} `json:"hdfsConfiguration,omitempty"`
+ // HiveConfiguration - Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster.
+ HiveConfiguration interface{} `json:"hiveConfiguration,omitempty"`
+ // MapReduceConfiguration - Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster.
+ MapReduceConfiguration interface{} `json:"mapReduceConfiguration,omitempty"`
+ // OozieConfiguration - Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster.
+ OozieConfiguration interface{} `json:"oozieConfiguration,omitempty"`
+ // StormConfiguration - Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster.
+ StormConfiguration interface{} `json:"stormConfiguration,omitempty"`
+ // YarnConfiguration - Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster.
+ YarnConfiguration interface{} `json:"yarnConfiguration,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+ // HeadNodeSize - Specifies the size of the head node for the HDInsight cluster.
+ HeadNodeSize interface{} `json:"headNodeSize,omitempty"`
+ // DataNodeSize - Specifies the size of the data node for the HDInsight cluster.
+ DataNodeSize interface{} `json:"dataNodeSize,omitempty"`
+ // ZookeeperNodeSize - Specifies the size of the Zoo Keeper node for the HDInsight cluster.
+ ZookeeperNodeSize interface{} `json:"zookeeperNodeSize,omitempty"`
+ // ScriptActions - Custom script actions to run on HDI ondemand cluster once it's up. Please refer to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions.
+ ScriptActions *[]ScriptAction `json:"scriptActions,omitempty"`
+ // VirtualNetworkID - The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string).
+ VirtualNetworkID interface{} `json:"virtualNetworkId,omitempty"`
+ // SubnetName - The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string).
+ SubnetName interface{} `json:"subnetName,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for JiraLinkedServiceTypeProperties struct.
-func (jlstp *JiraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedServiceTypeProperties struct.
+func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -83909,67 +86609,236 @@ func (jlstp *JiraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "host":
+ case "clusterSize":
if v != nil {
- var host interface{}
- err = json.Unmarshal(*v, &host)
+ var clusterSize interface{}
+ err = json.Unmarshal(*v, &clusterSize)
if err != nil {
return err
}
- jlstp.Host = host
+ hiodlstp.ClusterSize = clusterSize
}
- case "port":
+ case "timeToLive":
if v != nil {
- var port interface{}
- err = json.Unmarshal(*v, &port)
+ var timeToLive interface{}
+ err = json.Unmarshal(*v, &timeToLive)
if err != nil {
return err
}
- jlstp.Port = port
+ hiodlstp.TimeToLive = timeToLive
}
- case "username":
+ case "version":
if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
+ var version interface{}
+ err = json.Unmarshal(*v, &version)
if err != nil {
return err
}
- jlstp.Username = username
+ hiodlstp.Version = version
}
- case "password":
+ case "linkedServiceName":
if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- jlstp.Password = password
+ hiodlstp.LinkedServiceName = &linkedServiceName
}
- case "useEncryptedEndpoints":
+ case "hostSubscriptionId":
if v != nil {
- var useEncryptedEndpoints interface{}
- err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ var hostSubscriptionID interface{}
+ err = json.Unmarshal(*v, &hostSubscriptionID)
if err != nil {
return err
}
- jlstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ hiodlstp.HostSubscriptionID = hostSubscriptionID
}
- case "useHostVerification":
+ case "servicePrincipalId":
if v != nil {
- var useHostVerification interface{}
- err = json.Unmarshal(*v, &useHostVerification)
+ var servicePrincipalID interface{}
+ err = json.Unmarshal(*v, &servicePrincipalID)
if err != nil {
return err
}
- jlstp.UseHostVerification = useHostVerification
+ hiodlstp.ServicePrincipalID = servicePrincipalID
}
- case "usePeerVerification":
+ case "servicePrincipalKey":
if v != nil {
- var usePeerVerification interface{}
- err = json.Unmarshal(*v, &usePeerVerification)
+ servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- jlstp.UsePeerVerification = usePeerVerification
+ hiodlstp.ServicePrincipalKey = servicePrincipalKey
+ }
+ case "tenant":
+ if v != nil {
+ var tenant interface{}
+ err = json.Unmarshal(*v, &tenant)
+ if err != nil {
+ return err
+ }
+ hiodlstp.Tenant = tenant
+ }
+ case "clusterResourceGroup":
+ if v != nil {
+ var clusterResourceGroup interface{}
+ err = json.Unmarshal(*v, &clusterResourceGroup)
+ if err != nil {
+ return err
+ }
+ hiodlstp.ClusterResourceGroup = clusterResourceGroup
+ }
+ case "clusterNamePrefix":
+ if v != nil {
+ var clusterNamePrefix interface{}
+ err = json.Unmarshal(*v, &clusterNamePrefix)
+ if err != nil {
+ return err
+ }
+ hiodlstp.ClusterNamePrefix = clusterNamePrefix
+ }
+ case "clusterUserName":
+ if v != nil {
+ var clusterUserName interface{}
+ err = json.Unmarshal(*v, &clusterUserName)
+ if err != nil {
+ return err
+ }
+ hiodlstp.ClusterUserName = clusterUserName
+ }
+ case "clusterPassword":
+ if v != nil {
+ clusterPassword, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ hiodlstp.ClusterPassword = clusterPassword
+ }
+ case "clusterSshUserName":
+ if v != nil {
+ var clusterSSHUserName interface{}
+ err = json.Unmarshal(*v, &clusterSSHUserName)
+ if err != nil {
+ return err
+ }
+ hiodlstp.ClusterSSHUserName = clusterSSHUserName
+ }
+ case "clusterSshPassword":
+ if v != nil {
+ clusterSSHPassword, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ hiodlstp.ClusterSSHPassword = clusterSSHPassword
+ }
+ case "additionalLinkedServiceNames":
+ if v != nil {
+ var additionalLinkedServiceNames []LinkedServiceReference
+ err = json.Unmarshal(*v, &additionalLinkedServiceNames)
+ if err != nil {
+ return err
+ }
+ hiodlstp.AdditionalLinkedServiceNames = &additionalLinkedServiceNames
+ }
+ case "hcatalogLinkedServiceName":
+ if v != nil {
+ var hcatalogLinkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &hcatalogLinkedServiceName)
+ if err != nil {
+ return err
+ }
+ hiodlstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName
+ }
+ case "clusterType":
+ if v != nil {
+ var clusterType interface{}
+ err = json.Unmarshal(*v, &clusterType)
+ if err != nil {
+ return err
+ }
+ hiodlstp.ClusterType = clusterType
+ }
+ case "sparkVersion":
+ if v != nil {
+ var sparkVersion interface{}
+ err = json.Unmarshal(*v, &sparkVersion)
+ if err != nil {
+ return err
+ }
+ hiodlstp.SparkVersion = sparkVersion
+ }
+ case "coreConfiguration":
+ if v != nil {
+ var coreConfiguration interface{}
+ err = json.Unmarshal(*v, &coreConfiguration)
+ if err != nil {
+ return err
+ }
+ hiodlstp.CoreConfiguration = coreConfiguration
+ }
+ case "hBaseConfiguration":
+ if v != nil {
+ var hBaseConfiguration interface{}
+ err = json.Unmarshal(*v, &hBaseConfiguration)
+ if err != nil {
+ return err
+ }
+ hiodlstp.HBaseConfiguration = hBaseConfiguration
+ }
+ case "hdfsConfiguration":
+ if v != nil {
+ var hdfsConfiguration interface{}
+ err = json.Unmarshal(*v, &hdfsConfiguration)
+ if err != nil {
+ return err
+ }
+ hiodlstp.HdfsConfiguration = hdfsConfiguration
+ }
+ case "hiveConfiguration":
+ if v != nil {
+ var hiveConfiguration interface{}
+ err = json.Unmarshal(*v, &hiveConfiguration)
+ if err != nil {
+ return err
+ }
+ hiodlstp.HiveConfiguration = hiveConfiguration
+ }
+ case "mapReduceConfiguration":
+ if v != nil {
+ var mapReduceConfiguration interface{}
+ err = json.Unmarshal(*v, &mapReduceConfiguration)
+ if err != nil {
+ return err
+ }
+ hiodlstp.MapReduceConfiguration = mapReduceConfiguration
+ }
+ case "oozieConfiguration":
+ if v != nil {
+ var oozieConfiguration interface{}
+ err = json.Unmarshal(*v, &oozieConfiguration)
+ if err != nil {
+ return err
+ }
+ hiodlstp.OozieConfiguration = oozieConfiguration
+ }
+ case "stormConfiguration":
+ if v != nil {
+ var stormConfiguration interface{}
+ err = json.Unmarshal(*v, &stormConfiguration)
+ if err != nil {
+ return err
+ }
+ hiodlstp.StormConfiguration = stormConfiguration
+ }
+ case "yarnConfiguration":
+ if v != nil {
+ var yarnConfiguration interface{}
+ err = json.Unmarshal(*v, &yarnConfiguration)
+ if err != nil {
+ return err
+ }
+ hiodlstp.YarnConfiguration = yarnConfiguration
}
case "encryptedCredential":
if v != nil {
@@ -83978,7 +86847,61 @@ func (jlstp *JiraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- jlstp.EncryptedCredential = encryptedCredential
+ hiodlstp.EncryptedCredential = encryptedCredential
+ }
+ case "headNodeSize":
+ if v != nil {
+ var headNodeSize interface{}
+ err = json.Unmarshal(*v, &headNodeSize)
+ if err != nil {
+ return err
+ }
+ hiodlstp.HeadNodeSize = headNodeSize
+ }
+ case "dataNodeSize":
+ if v != nil {
+ var dataNodeSize interface{}
+ err = json.Unmarshal(*v, &dataNodeSize)
+ if err != nil {
+ return err
+ }
+ hiodlstp.DataNodeSize = dataNodeSize
+ }
+ case "zookeeperNodeSize":
+ if v != nil {
+ var zookeeperNodeSize interface{}
+ err = json.Unmarshal(*v, &zookeeperNodeSize)
+ if err != nil {
+ return err
+ }
+ hiodlstp.ZookeeperNodeSize = zookeeperNodeSize
+ }
+ case "scriptActions":
+ if v != nil {
+ var scriptActions []ScriptAction
+ err = json.Unmarshal(*v, &scriptActions)
+ if err != nil {
+ return err
+ }
+ hiodlstp.ScriptActions = &scriptActions
+ }
+ case "virtualNetworkId":
+ if v != nil {
+ var virtualNetworkID interface{}
+ err = json.Unmarshal(*v, &virtualNetworkID)
+ if err != nil {
+ return err
+ }
+ hiodlstp.VirtualNetworkID = virtualNetworkID
+ }
+ case "subnetName":
+ if v != nil {
+ var subnetName interface{}
+ err = json.Unmarshal(*v, &subnetName)
+ if err != nil {
+ return err
+ }
+ hiodlstp.SubnetName = subnetName
}
}
}
@@ -83986,419 +86909,629 @@ func (jlstp *JiraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
return nil
}
-// JiraObjectDataset jira Service dataset.
-type JiraObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// HDInsightPigActivity hDInsight Pig activity type.
+type HDInsightPigActivity struct {
+ // HDInsightPigActivityTypeProperties - HDInsight Pig activity properties.
+ *HDInsightPigActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for JiraObjectDataset.
-func (jod JiraObjectDataset) MarshalJSON() ([]byte, error) {
- jod.Type = TypeJiraObject
+// MarshalJSON is the custom marshaler for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) MarshalJSON() ([]byte, error) {
+ hipa.Type = TypeHDInsightPig
objectMap := make(map[string]interface{})
- if jod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = jod.GenericDatasetTypeProperties
- }
- if jod.Description != nil {
- objectMap["description"] = jod.Description
+ if hipa.HDInsightPigActivityTypeProperties != nil {
+ objectMap["typeProperties"] = hipa.HDInsightPigActivityTypeProperties
}
- if jod.Structure != nil {
- objectMap["structure"] = jod.Structure
+ if hipa.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = hipa.LinkedServiceName
}
- if jod.Schema != nil {
- objectMap["schema"] = jod.Schema
+ if hipa.Policy != nil {
+ objectMap["policy"] = hipa.Policy
}
- if jod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = jod.LinkedServiceName
+ if hipa.Name != nil {
+ objectMap["name"] = hipa.Name
}
- if jod.Parameters != nil {
- objectMap["parameters"] = jod.Parameters
+ if hipa.Description != nil {
+ objectMap["description"] = hipa.Description
}
- if jod.Annotations != nil {
- objectMap["annotations"] = jod.Annotations
+ if hipa.DependsOn != nil {
+ objectMap["dependsOn"] = hipa.DependsOn
}
- if jod.Folder != nil {
- objectMap["folder"] = jod.Folder
+ if hipa.UserProperties != nil {
+ objectMap["userProperties"] = hipa.UserProperties
}
- if jod.Type != "" {
- objectMap["type"] = jod.Type
+ if hipa.Type != "" {
+ objectMap["type"] = hipa.Type
}
- for k, v := range jod.AdditionalProperties {
+ for k, v := range hipa.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsWebActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsLookupActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsDeleteActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsCustomActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
- return nil, false
+// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+ return &hipa, true
}
-// AsMariaDBTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsCopyActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
- return &jod, true
-}
-
-// AsImpalaObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsExecutionActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
- return nil, false
+// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &hipa, true
}
-// AsHiveObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsWebHookActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsFilterActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsValidationActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsUntilActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsWaitActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsForEachActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsControlActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
- return nil, false
+// AsBasicActivity is the BasicActivity implementation for HDInsightPigActivity.
+func (hipa HDInsightPigActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &hipa, true
}
-// AsRestResourceDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
- return nil, false
+// UnmarshalJSON is the custom unmarshaler for HDInsightPigActivity struct.
+func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var hDInsightPigActivityTypeProperties HDInsightPigActivityTypeProperties
+ err = json.Unmarshal(*v, &hDInsightPigActivityTypeProperties)
+ if err != nil {
+ return err
+ }
+ hipa.HDInsightPigActivityTypeProperties = &hDInsightPigActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ hipa.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ hipa.Policy = &policy
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hipa.AdditionalProperties == nil {
+ hipa.AdditionalProperties = make(map[string]interface{})
+ }
+ hipa.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ hipa.Name = &name
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ hipa.Description = &description
+ }
+ case "dependsOn":
+ if v != nil {
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
+ if err != nil {
+ return err
+ }
+ hipa.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ hipa.UserProperties = &userProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hipa.Type = typeVar
+ }
+ }
+ }
+
+ return nil
}
-// AsSQLServerTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
- return nil, false
+// HDInsightPigActivityTypeProperties hDInsight Pig activity properties.
+type HDInsightPigActivityTypeProperties struct {
+ // StorageLinkedServices - Storage linked service references.
+ StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
+ // Arguments - User specified arguments to HDInsightActivity.
+ Arguments *[]interface{} `json:"arguments,omitempty"`
+ // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
+ GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
+ // ScriptPath - Script path. Type: string (or Expression with resultType string).
+ ScriptPath interface{} `json:"scriptPath,omitempty"`
+ // ScriptLinkedService - Script linked service reference.
+ ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"`
+ // Defines - Allows user to specify defines for Pig job request.
+ Defines map[string]interface{} `json:"defines"`
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for HDInsightPigActivityTypeProperties.
+func (hipatp HDInsightPigActivityTypeProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if hipatp.StorageLinkedServices != nil {
+ objectMap["storageLinkedServices"] = hipatp.StorageLinkedServices
+ }
+ if hipatp.Arguments != nil {
+ objectMap["arguments"] = hipatp.Arguments
+ }
+ if hipatp.GetDebugInfo != "" {
+ objectMap["getDebugInfo"] = hipatp.GetDebugInfo
+ }
+ if hipatp.ScriptPath != nil {
+ objectMap["scriptPath"] = hipatp.ScriptPath
+ }
+ if hipatp.ScriptLinkedService != nil {
+ objectMap["scriptLinkedService"] = hipatp.ScriptLinkedService
+ }
+ if hipatp.Defines != nil {
+ objectMap["defines"] = hipatp.Defines
+ }
+ return json.Marshal(objectMap)
}
-// AsSapHanaTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// HDInsightSparkActivity hDInsight Spark activity.
+type HDInsightSparkActivity struct {
+ // HDInsightSparkActivityTypeProperties - HDInsight spark activity properties.
+ *HDInsightSparkActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) MarshalJSON() ([]byte, error) {
+ hisa.Type = TypeHDInsightSpark
+ objectMap := make(map[string]interface{})
+ if hisa.HDInsightSparkActivityTypeProperties != nil {
+ objectMap["typeProperties"] = hisa.HDInsightSparkActivityTypeProperties
+ }
+ if hisa.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = hisa.LinkedServiceName
+ }
+ if hisa.Policy != nil {
+ objectMap["policy"] = hisa.Policy
+ }
+ if hisa.Name != nil {
+ objectMap["name"] = hisa.Name
+ }
+ if hisa.Description != nil {
+ objectMap["description"] = hisa.Description
+ }
+ if hisa.DependsOn != nil {
+ objectMap["dependsOn"] = hisa.DependsOn
+ }
+ if hisa.UserProperties != nil {
+ objectMap["userProperties"] = hisa.UserProperties
+ }
+ if hisa.Type != "" {
+ objectMap["type"] = hisa.Type
+ }
+ for k, v := range hisa.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsWebActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsLookupActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsDeleteActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsCustomActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+ return &hisa, true
+}
+
+// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsCopyActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &hisa, true
+}
+
+// AsWebHookActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsFilterActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsValidationActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsUntilActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsDataset() (*Dataset, bool) {
+// AsWaitActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for JiraObjectDataset.
-func (jod JiraObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &jod, true
+// AsForEachActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsForEachActivity() (*ForEachActivity, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for JiraObjectDataset struct.
-func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error {
+// AsIfConditionActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+ return nil, false
+}
+
+// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+ return nil, false
+}
+
+// AsControlActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsControlActivity() (*ControlActivity, bool) {
+ return nil, false
+}
+
+// AsBasicControlActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return nil, false
+}
+
+// AsActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsActivity() (*Activity, bool) {
+ return nil, false
+}
+
+// AsBasicActivity is the BasicActivity implementation for HDInsightSparkActivity.
+func (hisa HDInsightSparkActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &hisa, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HDInsightSparkActivity struct.
+func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -84408,96 +87541,87 @@ func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var hDInsightSparkActivityTypeProperties HDInsightSparkActivityTypeProperties
+ err = json.Unmarshal(*v, &hDInsightSparkActivityTypeProperties)
if err != nil {
return err
}
- jod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ hisa.HDInsightSparkActivityTypeProperties = &hDInsightSparkActivityTypeProperties
}
- default:
+ case "linkedServiceName":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- if jod.AdditionalProperties == nil {
- jod.AdditionalProperties = make(map[string]interface{})
- }
- jod.AdditionalProperties[k] = additionalProperties
+ hisa.LinkedServiceName = &linkedServiceName
}
- case "description":
+ case "policy":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
if err != nil {
return err
}
- jod.Description = &description
+ hisa.Policy = &policy
}
- case "structure":
+ default:
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- jod.Structure = structure
- }
- case "schema":
- if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
- if err != nil {
- return err
+ if hisa.AdditionalProperties == nil {
+ hisa.AdditionalProperties = make(map[string]interface{})
}
- jod.Schema = schema
+ hisa.AdditionalProperties[k] = additionalProperties
}
- case "linkedServiceName":
+ case "name":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var name string
+ err = json.Unmarshal(*v, &name)
if err != nil {
return err
}
- jod.LinkedServiceName = &linkedServiceName
+ hisa.Name = &name
}
- case "parameters":
+ case "description":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- jod.Parameters = parameters
+ hisa.Description = &description
}
- case "annotations":
+ case "dependsOn":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
if err != nil {
return err
}
- jod.Annotations = &annotations
+ hisa.DependsOn = &dependsOn
}
- case "folder":
+ case "userProperties":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
if err != nil {
return err
}
- jod.Folder = &folder
+ hisa.UserProperties = &userProperties
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicActivity
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- jod.Type = typeVar
+ hisa.Type = typeVar
}
}
}
@@ -84505,557 +87629,974 @@ func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// JiraSource a copy activity Jira Service source.
-type JiraSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// HDInsightSparkActivityTypeProperties hDInsight spark activity properties.
+type HDInsightSparkActivityTypeProperties struct {
+ // RootPath - The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).
+ RootPath interface{} `json:"rootPath,omitempty"`
+ // EntryFilePath - The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).
+ EntryFilePath interface{} `json:"entryFilePath,omitempty"`
+ // Arguments - The user-specified arguments to HDInsightSparkActivity.
+ Arguments *[]interface{} `json:"arguments,omitempty"`
+ // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
+ GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
+ // SparkJobLinkedService - The storage linked service for uploading the entry file and dependencies, and for receiving logs.
+ SparkJobLinkedService *LinkedServiceReference `json:"sparkJobLinkedService,omitempty"`
+ // ClassName - The application's Java/Spark main class.
+ ClassName *string `json:"className,omitempty"`
+ // ProxyUser - The user to impersonate that will execute the job. Type: string (or Expression with resultType string).
+ ProxyUser interface{} `json:"proxyUser,omitempty"`
+ // SparkConfig - Spark configuration property.
+ SparkConfig map[string]interface{} `json:"sparkConfig"`
+}
+
+// MarshalJSON is the custom marshaler for HDInsightSparkActivityTypeProperties.
+func (hisatp HDInsightSparkActivityTypeProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if hisatp.RootPath != nil {
+ objectMap["rootPath"] = hisatp.RootPath
+ }
+ if hisatp.EntryFilePath != nil {
+ objectMap["entryFilePath"] = hisatp.EntryFilePath
+ }
+ if hisatp.Arguments != nil {
+ objectMap["arguments"] = hisatp.Arguments
+ }
+ if hisatp.GetDebugInfo != "" {
+ objectMap["getDebugInfo"] = hisatp.GetDebugInfo
+ }
+ if hisatp.SparkJobLinkedService != nil {
+ objectMap["sparkJobLinkedService"] = hisatp.SparkJobLinkedService
+ }
+ if hisatp.ClassName != nil {
+ objectMap["className"] = hisatp.ClassName
+ }
+ if hisatp.ProxyUser != nil {
+ objectMap["proxyUser"] = hisatp.ProxyUser
+ }
+ if hisatp.SparkConfig != nil {
+ objectMap["sparkConfig"] = hisatp.SparkConfig
+ }
+ return json.Marshal(objectMap)
+}
+
+// HDInsightStreamingActivity hDInsight streaming activity type.
+type HDInsightStreamingActivity struct {
+ // HDInsightStreamingActivityTypeProperties - HDInsight streaming activity properties.
+ *HDInsightStreamingActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for JiraSource.
-func (js JiraSource) MarshalJSON() ([]byte, error) {
- js.Type = TypeJiraSource
+// MarshalJSON is the custom marshaler for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) MarshalJSON() ([]byte, error) {
+ hisa.Type = TypeHDInsightStreaming
objectMap := make(map[string]interface{})
- if js.Query != nil {
- objectMap["query"] = js.Query
+ if hisa.HDInsightStreamingActivityTypeProperties != nil {
+ objectMap["typeProperties"] = hisa.HDInsightStreamingActivityTypeProperties
}
- if js.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = js.SourceRetryCount
+ if hisa.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = hisa.LinkedServiceName
}
- if js.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = js.SourceRetryWait
+ if hisa.Policy != nil {
+ objectMap["policy"] = hisa.Policy
}
- if js.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = js.MaxConcurrentConnections
+ if hisa.Name != nil {
+ objectMap["name"] = hisa.Name
}
- if js.Type != "" {
- objectMap["type"] = js.Type
+ if hisa.Description != nil {
+ objectMap["description"] = hisa.Description
}
- for k, v := range js.AdditionalProperties {
+ if hisa.DependsOn != nil {
+ objectMap["dependsOn"] = hisa.DependsOn
+ }
+ if hisa.UserProperties != nil {
+ objectMap["userProperties"] = hisa.UserProperties
+ }
+ if hisa.Type != "" {
+ objectMap["type"] = hisa.Type
+ }
+ for k, v := range hisa.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsGetMetadataActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsZohoSource() (*ZohoSource, bool) {
+// AsWebActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsWebActivity() (*WebActivity, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsXeroSource() (*XeroSource, bool) {
+// AsLookupActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSquareSource() (*SquareSource, bool) {
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSparkSource() (*SparkSource, bool) {
+// AsDeleteActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsShopifySource() (*ShopifySource, bool) {
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsCustomActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsCustomActivity() (*CustomActivity, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+ return &hisa, true
+}
+
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsCopyActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsCopyActivity() (*CopyActivity, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsJiraSource() (*JiraSource, bool) {
- return &js, true
+// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &hisa, true
}
-// AsImpalaSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsWebHookActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsWebHookActivity() (*WebHookActivity, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsAppendVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsHiveSource() (*HiveSource, bool) {
+// AsSetVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsFilterActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsFilterActivity() (*FilterActivity, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsValidationActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsValidationActivity() (*ValidationActivity, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsUntilActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsUntilActivity() (*UntilActivity, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsWaitActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsWaitActivity() (*WaitActivity, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsDrillSource() (*DrillSource, bool) {
+// AsForEachActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsForEachActivity() (*ForEachActivity, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsIfConditionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsConcurSource() (*ConcurSource, bool) {
+// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsControlActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsControlActivity() (*ControlActivity, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsBasicControlActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsActivity() (*Activity, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsBasicActivity is the BasicActivity implementation for HDInsightStreamingActivity.
+func (hisa HDInsightStreamingActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &hisa, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HDInsightStreamingActivity struct.
+func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var hDInsightStreamingActivityTypeProperties HDInsightStreamingActivityTypeProperties
+ err = json.Unmarshal(*v, &hDInsightStreamingActivityTypeProperties)
+ if err != nil {
+ return err
+ }
+ hisa.HDInsightStreamingActivityTypeProperties = &hDInsightStreamingActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ hisa.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ hisa.Policy = &policy
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hisa.AdditionalProperties == nil {
+ hisa.AdditionalProperties = make(map[string]interface{})
+ }
+ hisa.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ hisa.Name = &name
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ hisa.Description = &description
+ }
+ case "dependsOn":
+ if v != nil {
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
+ if err != nil {
+ return err
+ }
+ hisa.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ hisa.UserProperties = &userProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hisa.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// HDInsightStreamingActivityTypeProperties hDInsight streaming activity properties.
+type HDInsightStreamingActivityTypeProperties struct {
+ // StorageLinkedServices - Storage linked service references.
+ StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
+ // Arguments - User specified arguments to HDInsightActivity.
+ Arguments *[]interface{} `json:"arguments,omitempty"`
+ // GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
+ GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
+ // Mapper - Mapper executable name. Type: string (or Expression with resultType string).
+ Mapper interface{} `json:"mapper,omitempty"`
+ // Reducer - Reducer executable name. Type: string (or Expression with resultType string).
+ Reducer interface{} `json:"reducer,omitempty"`
+ // Input - Input blob path. Type: string (or Expression with resultType string).
+ Input interface{} `json:"input,omitempty"`
+ // Output - Output blob path. Type: string (or Expression with resultType string).
+ Output interface{} `json:"output,omitempty"`
+ // FilePaths - Paths to streaming job files. Can be directories.
+ FilePaths *[]interface{} `json:"filePaths,omitempty"`
+ // FileLinkedService - Linked service reference where the files are located.
+ FileLinkedService *LinkedServiceReference `json:"fileLinkedService,omitempty"`
+ // Combiner - Combiner executable name. Type: string (or Expression with resultType string).
+ Combiner interface{} `json:"combiner,omitempty"`
+ // CommandEnvironment - Command line environment values.
+ CommandEnvironment *[]interface{} `json:"commandEnvironment,omitempty"`
+ // Defines - Allows user to specify defines for streaming job request.
+ Defines map[string]interface{} `json:"defines"`
+}
+
+// MarshalJSON is the custom marshaler for HDInsightStreamingActivityTypeProperties.
+func (hisatp HDInsightStreamingActivityTypeProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if hisatp.StorageLinkedServices != nil {
+ objectMap["storageLinkedServices"] = hisatp.StorageLinkedServices
+ }
+ if hisatp.Arguments != nil {
+ objectMap["arguments"] = hisatp.Arguments
+ }
+ if hisatp.GetDebugInfo != "" {
+ objectMap["getDebugInfo"] = hisatp.GetDebugInfo
+ }
+ if hisatp.Mapper != nil {
+ objectMap["mapper"] = hisatp.Mapper
+ }
+ if hisatp.Reducer != nil {
+ objectMap["reducer"] = hisatp.Reducer
+ }
+ if hisatp.Input != nil {
+ objectMap["input"] = hisatp.Input
+ }
+ if hisatp.Output != nil {
+ objectMap["output"] = hisatp.Output
+ }
+ if hisatp.FilePaths != nil {
+ objectMap["filePaths"] = hisatp.FilePaths
+ }
+ if hisatp.FileLinkedService != nil {
+ objectMap["fileLinkedService"] = hisatp.FileLinkedService
+ }
+ if hisatp.Combiner != nil {
+ objectMap["combiner"] = hisatp.Combiner
+ }
+ if hisatp.CommandEnvironment != nil {
+ objectMap["commandEnvironment"] = hisatp.CommandEnvironment
+ }
+ if hisatp.Defines != nil {
+ objectMap["defines"] = hisatp.Defines
+ }
+ return json.Marshal(objectMap)
+}
+
+// HiveLinkedService hive Server linked service.
+type HiveLinkedService struct {
+ // HiveLinkedServiceTypeProperties - Hive Server linked service properties.
+ *HiveLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HiveLinkedService.
+func (hls HiveLinkedService) MarshalJSON() ([]byte, error) {
+ hls.Type = TypeHive
+ objectMap := make(map[string]interface{})
+ if hls.HiveLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = hls.HiveLinkedServiceTypeProperties
+ }
+ if hls.ConnectVia != nil {
+ objectMap["connectVia"] = hls.ConnectVia
+ }
+ if hls.Description != nil {
+ objectMap["description"] = hls.Description
+ }
+ if hls.Parameters != nil {
+ objectMap["parameters"] = hls.Parameters
+ }
+ if hls.Annotations != nil {
+ objectMap["annotations"] = hls.Annotations
+ }
+ if hls.Type != "" {
+ objectMap["type"] = hls.Type
+ }
+ for k, v := range hls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsOffice365Source() (*Office365Source, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsWebSource() (*WebSource, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsOracleSource() (*OracleSource, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSQLSource() (*SQLSource, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsRestSource() (*RestSource, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsBlobSource() (*BlobSource, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return &hls, true
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsParquetSource() (*ParquetSource, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsCopySource() (*CopySource, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for JiraSource.
-func (js JiraSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &js, true
+// AsDrillLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for JiraSource struct.
-func (js *JiraSource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "query":
- if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
- if err != nil {
- return err
- }
- js.Query = query
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if js.AdditionalProperties == nil {
- js.AdditionalProperties = make(map[string]interface{})
- }
- js.AdditionalProperties[k] = additionalProperties
- }
- case "sourceRetryCount":
- if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
- if err != nil {
- return err
- }
- js.SourceRetryCount = sourceRetryCount
- }
- case "sourceRetryWait":
- if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
- if err != nil {
- return err
- }
- js.SourceRetryWait = sourceRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- js.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- js.Type = typeVar
- }
- }
- }
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsConcurLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
}
-// JSONFormat the data stored in JSON format.
-type JSONFormat struct {
- // FilePattern - File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive.
- FilePattern interface{} `json:"filePattern,omitempty"`
- // NestingSeparator - The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string).
- NestingSeparator interface{} `json:"nestingSeparator,omitempty"`
- // EncodingName - The code page name of the preferred encoding. If not provided, the default value is 'utf-8', unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported values can be found in the 'Name' column of the table of encodings in the following reference: https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType string).
- EncodingName interface{} `json:"encodingName,omitempty"`
- // JSONNodeReference - The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string).
- JSONNodeReference interface{} `json:"jsonNodeReference,omitempty"`
- // JSONPathDefinition - The JSONPath definition for each column mapping with a customized column name to extract data from JSON file. For fields under root object, start with "$"; for fields inside the array chosen by jsonNodeReference property, start from the array element. Example: {"Column1": "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType object).
- JSONPathDefinition interface{} `json:"jsonPathDefinition,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Serializer - Serializer. Type: string (or Expression with resultType string).
- Serializer interface{} `json:"serializer,omitempty"`
- // Deserializer - Deserializer. Type: string (or Expression with resultType string).
- Deserializer interface{} `json:"deserializer,omitempty"`
- // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
- Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for JSONFormat.
-func (jf JSONFormat) MarshalJSON() ([]byte, error) {
- jf.Type = TypeJSONFormat
- objectMap := make(map[string]interface{})
- if jf.FilePattern != nil {
- objectMap["filePattern"] = jf.FilePattern
- }
- if jf.NestingSeparator != nil {
- objectMap["nestingSeparator"] = jf.NestingSeparator
- }
- if jf.EncodingName != nil {
- objectMap["encodingName"] = jf.EncodingName
- }
- if jf.JSONNodeReference != nil {
- objectMap["jsonNodeReference"] = jf.JSONNodeReference
- }
- if jf.JSONPathDefinition != nil {
- objectMap["jsonPathDefinition"] = jf.JSONPathDefinition
- }
- if jf.Serializer != nil {
- objectMap["serializer"] = jf.Serializer
- }
- if jf.Deserializer != nil {
- objectMap["deserializer"] = jf.Deserializer
- }
- if jf.Type != "" {
- objectMap["type"] = jf.Type
- }
- for k, v := range jf.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
}
-// AsParquetFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
-func (jf JSONFormat) AsParquetFormat() (*ParquetFormat, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsOrcFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
-func (jf JSONFormat) AsOrcFormat() (*OrcFormat, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsAvroFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
-func (jf JSONFormat) AsAvroFormat() (*AvroFormat, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsJSONFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
-func (jf JSONFormat) AsJSONFormat() (*JSONFormat, bool) {
- return &jf, true
+// AsFtpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
}
-// AsTextFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
-func (jf JSONFormat) AsTextFormat() (*TextFormat, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
-func (jf JSONFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
-func (jf JSONFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
- return &jf, true
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for JSONFormat struct.
-func (jf *JSONFormat) UnmarshalJSON(body []byte) error {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for HiveLinkedService.
+func (hls HiveLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &hls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HiveLinkedService struct.
+func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -85063,89 +88604,276 @@ func (jf *JSONFormat) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "filePattern":
+ case "typeProperties":
if v != nil {
- var filePattern interface{}
- err = json.Unmarshal(*v, &filePattern)
+ var hiveLinkedServiceTypeProperties HiveLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &hiveLinkedServiceTypeProperties)
if err != nil {
return err
}
- jf.FilePattern = filePattern
+ hls.HiveLinkedServiceTypeProperties = &hiveLinkedServiceTypeProperties
}
- case "nestingSeparator":
+ default:
if v != nil {
- var nestingSeparator interface{}
- err = json.Unmarshal(*v, &nestingSeparator)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- jf.NestingSeparator = nestingSeparator
+ if hls.AdditionalProperties == nil {
+ hls.AdditionalProperties = make(map[string]interface{})
+ }
+ hls.AdditionalProperties[k] = additionalProperties
}
- case "encodingName":
+ case "connectVia":
if v != nil {
- var encodingName interface{}
- err = json.Unmarshal(*v, &encodingName)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- jf.EncodingName = encodingName
+ hls.ConnectVia = &connectVia
}
- case "jsonNodeReference":
+ case "description":
if v != nil {
- var JSONNodeReference interface{}
- err = json.Unmarshal(*v, &JSONNodeReference)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- jf.JSONNodeReference = JSONNodeReference
+ hls.Description = &description
}
- case "jsonPathDefinition":
+ case "parameters":
if v != nil {
- var JSONPathDefinition interface{}
- err = json.Unmarshal(*v, &JSONPathDefinition)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- jf.JSONPathDefinition = JSONPathDefinition
+ hls.Parameters = parameters
}
- default:
+ case "annotations":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- if jf.AdditionalProperties == nil {
- jf.AdditionalProperties = make(map[string]interface{})
+ hls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
}
- jf.AdditionalProperties[k] = additionalProperties
+ hls.Type = typeVar
}
- case "serializer":
+ }
+ }
+
+ return nil
+}
+
+// HiveLinkedServiceTypeProperties hive Server linked service properties.
+type HiveLinkedServiceTypeProperties struct {
+ // Host - IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).
+ Host interface{} `json:"host,omitempty"`
+ // Port - The TCP port that the Hive server uses to listen for client connections.
+ Port interface{} `json:"port,omitempty"`
+ // ServerType - The type of Hive server. Possible values include: 'HiveServer1', 'HiveServer2', 'HiveThriftServer'
+ ServerType HiveServerType `json:"serverType,omitempty"`
+ // ThriftTransportProtocol - The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', 'HTTP'
+ ThriftTransportProtocol HiveThriftTransportProtocol `json:"thriftTransportProtocol,omitempty"`
+ // AuthenticationType - The authentication method used to access the Hive server. Possible values include: 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService'
+ AuthenticationType HiveAuthenticationType `json:"authenticationType,omitempty"`
+ // ServiceDiscoveryMode - true to indicate using the ZooKeeper service, false not.
+ ServiceDiscoveryMode interface{} `json:"serviceDiscoveryMode,omitempty"`
+ // ZooKeeperNameSpace - The namespace on ZooKeeper under which Hive Server 2 nodes are added.
+ ZooKeeperNameSpace interface{} `json:"zooKeeperNameSpace,omitempty"`
+ // UseNativeQuery - Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL.
+ UseNativeQuery interface{} `json:"useNativeQuery,omitempty"`
+ // Username - The user name that you use to access Hive Server.
+ Username interface{} `json:"username,omitempty"`
+ // Password - The password corresponding to the user name that you provided in the Username field
+ Password BasicSecretBase `json:"password,omitempty"`
+ // HTTPPath - The partial URL corresponding to the Hive server.
+ HTTPPath interface{} `json:"httpPath,omitempty"`
+ // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
+ EnableSsl interface{} `json:"enableSsl,omitempty"`
+ // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
+ TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
+ // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
+ UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
+ // AllowHostNameCNMismatch - Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
+ AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
+ // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
+ AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for HiveLinkedServiceTypeProperties struct.
+func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "host":
if v != nil {
- var serializer interface{}
- err = json.Unmarshal(*v, &serializer)
+ var host interface{}
+ err = json.Unmarshal(*v, &host)
if err != nil {
return err
}
- jf.Serializer = serializer
+ hlstp.Host = host
}
- case "deserializer":
+ case "port":
if v != nil {
- var deserializer interface{}
- err = json.Unmarshal(*v, &deserializer)
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
if err != nil {
return err
}
- jf.Deserializer = deserializer
+ hlstp.Port = port
}
- case "type":
+ case "serverType":
if v != nil {
- var typeVar TypeBasicDatasetStorageFormat
- err = json.Unmarshal(*v, &typeVar)
+ var serverType HiveServerType
+ err = json.Unmarshal(*v, &serverType)
if err != nil {
return err
}
- jf.Type = typeVar
+ hlstp.ServerType = serverType
+ }
+ case "thriftTransportProtocol":
+ if v != nil {
+ var thriftTransportProtocol HiveThriftTransportProtocol
+ err = json.Unmarshal(*v, &thriftTransportProtocol)
+ if err != nil {
+ return err
+ }
+ hlstp.ThriftTransportProtocol = thriftTransportProtocol
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType HiveAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ hlstp.AuthenticationType = authenticationType
+ }
+ case "serviceDiscoveryMode":
+ if v != nil {
+ var serviceDiscoveryMode interface{}
+ err = json.Unmarshal(*v, &serviceDiscoveryMode)
+ if err != nil {
+ return err
+ }
+ hlstp.ServiceDiscoveryMode = serviceDiscoveryMode
+ }
+ case "zooKeeperNameSpace":
+ if v != nil {
+ var zooKeeperNameSpace interface{}
+ err = json.Unmarshal(*v, &zooKeeperNameSpace)
+ if err != nil {
+ return err
+ }
+ hlstp.ZooKeeperNameSpace = zooKeeperNameSpace
+ }
+ case "useNativeQuery":
+ if v != nil {
+ var useNativeQuery interface{}
+ err = json.Unmarshal(*v, &useNativeQuery)
+ if err != nil {
+ return err
+ }
+ hlstp.UseNativeQuery = useNativeQuery
+ }
+ case "username":
+ if v != nil {
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
+ if err != nil {
+ return err
+ }
+ hlstp.Username = username
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ hlstp.Password = password
+ }
+ case "httpPath":
+ if v != nil {
+ var HTTPPath interface{}
+ err = json.Unmarshal(*v, &HTTPPath)
+ if err != nil {
+ return err
+ }
+ hlstp.HTTPPath = HTTPPath
+ }
+ case "enableSsl":
+ if v != nil {
+ var enableSsl interface{}
+ err = json.Unmarshal(*v, &enableSsl)
+ if err != nil {
+ return err
+ }
+ hlstp.EnableSsl = enableSsl
+ }
+ case "trustedCertPath":
+ if v != nil {
+ var trustedCertPath interface{}
+ err = json.Unmarshal(*v, &trustedCertPath)
+ if err != nil {
+ return err
+ }
+ hlstp.TrustedCertPath = trustedCertPath
+ }
+ case "useSystemTrustStore":
+ if v != nil {
+ var useSystemTrustStore interface{}
+ err = json.Unmarshal(*v, &useSystemTrustStore)
+ if err != nil {
+ return err
+ }
+ hlstp.UseSystemTrustStore = useSystemTrustStore
+ }
+ case "allowHostNameCNMismatch":
+ if v != nil {
+ var allowHostNameCNMismatch interface{}
+ err = json.Unmarshal(*v, &allowHostNameCNMismatch)
+ if err != nil {
+ return err
+ }
+ hlstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
+ }
+ case "allowSelfSignedServerCert":
+ if v != nil {
+ var allowSelfSignedServerCert interface{}
+ err = json.Unmarshal(*v, &allowSelfSignedServerCert)
+ if err != nil {
+ return err
+ }
+ hlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ hlstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -85153,427 +88881,12967 @@ func (jf *JSONFormat) UnmarshalJSON(body []byte) error {
return nil
}
-// LinkedIntegrationRuntime the linked integration runtime information.
-type LinkedIntegrationRuntime struct {
- // Name - READ-ONLY; The name of the linked integration runtime.
- Name *string `json:"name,omitempty"`
- // SubscriptionID - READ-ONLY; The subscription ID for which the linked integration runtime belong to.
- SubscriptionID *string `json:"subscriptionId,omitempty"`
- // DataFactoryName - READ-ONLY; The name of the data factory for which the linked integration runtime belong to.
- DataFactoryName *string `json:"dataFactoryName,omitempty"`
- // DataFactoryLocation - READ-ONLY; The location of the data factory for which the linked integration runtime belong to.
- DataFactoryLocation *string `json:"dataFactoryLocation,omitempty"`
- // CreateTime - READ-ONLY; The creating time of the linked integration runtime.
- CreateTime *date.Time `json:"createTime,omitempty"`
-}
-
-// LinkedIntegrationRuntimeKeyAuthorization the key authorization type integration runtime.
-type LinkedIntegrationRuntimeKeyAuthorization struct {
- // Key - The key used for authorization.
- Key *SecureString `json:"key,omitempty"`
- // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey'
- AuthorizationType AuthorizationType `json:"authorizationType,omitempty"`
+// HiveObjectDataset hive Server dataset.
+type HiveObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeKeyAuthorization.
-func (lirka LinkedIntegrationRuntimeKeyAuthorization) MarshalJSON() ([]byte, error) {
- lirka.AuthorizationType = AuthorizationTypeKey
+// MarshalJSON is the custom marshaler for HiveObjectDataset.
+func (hod HiveObjectDataset) MarshalJSON() ([]byte, error) {
+ hod.Type = TypeHiveObject
objectMap := make(map[string]interface{})
- if lirka.Key != nil {
- objectMap["key"] = lirka.Key
+ if hod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = hod.GenericDatasetTypeProperties
}
- if lirka.AuthorizationType != "" {
- objectMap["authorizationType"] = lirka.AuthorizationType
+ if hod.Description != nil {
+ objectMap["description"] = hod.Description
+ }
+ if hod.Structure != nil {
+ objectMap["structure"] = hod.Structure
+ }
+ if hod.Schema != nil {
+ objectMap["schema"] = hod.Schema
+ }
+ if hod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = hod.LinkedServiceName
+ }
+ if hod.Parameters != nil {
+ objectMap["parameters"] = hod.Parameters
+ }
+ if hod.Annotations != nil {
+ objectMap["annotations"] = hod.Annotations
+ }
+ if hod.Folder != nil {
+ objectMap["folder"] = hod.Folder
+ }
+ if hod.Type != "" {
+ objectMap["type"] = hod.Type
+ }
+ for k, v := range hod.AdditionalProperties {
+ objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization.
-func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization.
-func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) {
- return &lirka, true
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
}
-// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization.
-func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization.
-func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) {
- return &lirka, true
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
}
-// LinkedIntegrationRuntimeRbacAuthorization the role based access control (RBAC) authorization type
-// integration runtime.
-type LinkedIntegrationRuntimeRbacAuthorization struct {
- // ResourceID - The resource identifier of the integration runtime to be shared.
- ResourceID *string `json:"resourceId,omitempty"`
- // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey'
- AuthorizationType AuthorizationType `json:"authorizationType,omitempty"`
+// AsResponsysObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeRbacAuthorization.
-func (lirra LinkedIntegrationRuntimeRbacAuthorization) MarshalJSON() ([]byte, error) {
- lirra.AuthorizationType = AuthorizationTypeRBAC
- objectMap := make(map[string]interface{})
- if lirra.ResourceID != nil {
- objectMap["resourceId"] = lirra.ResourceID
- }
- if lirra.AuthorizationType != "" {
- objectMap["authorizationType"] = lirra.AuthorizationType
- }
- return json.Marshal(objectMap)
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
}
-// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization.
-func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) {
- return &lirra, true
+// AsVerticaTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
}
-// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization.
-func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization.
-func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization.
-func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) {
- return &lirra, true
+// AsXeroObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
}
-// LinkedIntegrationRuntimeRequest data factory name for linked integration runtime request.
-type LinkedIntegrationRuntimeRequest struct {
- // LinkedFactoryName - The data factory name for linked integration runtime.
- LinkedFactoryName *string `json:"factoryName,omitempty"`
+// AsSquareObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
}
-// BasicLinkedIntegrationRuntimeType the base definition of a linked integration runtime.
-type BasicLinkedIntegrationRuntimeType interface {
- AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool)
- AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool)
- AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool)
+// AsSparkObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
}
-// LinkedIntegrationRuntimeType the base definition of a linked integration runtime.
-type LinkedIntegrationRuntimeType struct {
- // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey'
- AuthorizationType AuthorizationType `json:"authorizationType,omitempty"`
+// AsShopifyObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
}
-func unmarshalBasicLinkedIntegrationRuntimeType(body []byte) (BasicLinkedIntegrationRuntimeType, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
+// AsServiceNowObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
- switch m["authorizationType"] {
- case string(AuthorizationTypeRBAC):
- var lirra LinkedIntegrationRuntimeRbacAuthorization
- err := json.Unmarshal(body, &lirra)
- return lirra, err
- case string(AuthorizationTypeKey):
- var lirka LinkedIntegrationRuntimeKeyAuthorization
- err := json.Unmarshal(body, &lirka)
- return lirka, err
- default:
- var lirt LinkedIntegrationRuntimeType
- err := json.Unmarshal(body, &lirt)
- return lirt, err
- }
+// AsQuickBooksObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
}
-func unmarshalBasicLinkedIntegrationRuntimeTypeArray(body []byte) ([]BasicLinkedIntegrationRuntimeType, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
- lirtArray := make([]BasicLinkedIntegrationRuntimeType, len(rawMessages))
+// AsPrestoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
- for index, rawMessage := range rawMessages {
- lirt, err := unmarshalBasicLinkedIntegrationRuntimeType(*rawMessage)
- if err != nil {
- return nil, err
- }
- lirtArray[index] = lirt
- }
- return lirtArray, nil
+// AsPhoenixObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeType.
-func (lirt LinkedIntegrationRuntimeType) MarshalJSON() ([]byte, error) {
- lirt.AuthorizationType = AuthorizationTypeLinkedIntegrationRuntimeType
- objectMap := make(map[string]interface{})
- if lirt.AuthorizationType != "" {
- objectMap["authorizationType"] = lirt.AuthorizationType
- }
- return json.Marshal(objectMap)
+// AsPaypalObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
}
-// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType.
-func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType.
-func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType.
-func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) {
- return &lirt, true
+// AsMagentoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
}
-// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType.
-func (lirt LinkedIntegrationRuntimeType) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) {
- return &lirt, true
+// AsJiraObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
}
-// BasicLinkedService the Azure Data Factory nested object which contains the information and credential which can be
-// used to connect with related store or compute resource.
-type BasicLinkedService interface {
- AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool)
- AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool)
- AsSapTableLinkedService() (*SapTableLinkedService, bool)
- AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool)
- AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool)
- AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool)
- AsResponsysLinkedService() (*ResponsysLinkedService, bool)
- AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool)
- AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool)
- AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool)
- AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool)
- AsNetezzaLinkedService() (*NetezzaLinkedService, bool)
- AsVerticaLinkedService() (*VerticaLinkedService, bool)
- AsZohoLinkedService() (*ZohoLinkedService, bool)
- AsXeroLinkedService() (*XeroLinkedService, bool)
- AsSquareLinkedService() (*SquareLinkedService, bool)
- AsSparkLinkedService() (*SparkLinkedService, bool)
- AsShopifyLinkedService() (*ShopifyLinkedService, bool)
- AsServiceNowLinkedService() (*ServiceNowLinkedService, bool)
- AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool)
- AsPrestoLinkedService() (*PrestoLinkedService, bool)
- AsPhoenixLinkedService() (*PhoenixLinkedService, bool)
- AsPaypalLinkedService() (*PaypalLinkedService, bool)
- AsMarketoLinkedService() (*MarketoLinkedService, bool)
- AsMariaDBLinkedService() (*MariaDBLinkedService, bool)
- AsMagentoLinkedService() (*MagentoLinkedService, bool)
- AsJiraLinkedService() (*JiraLinkedService, bool)
- AsImpalaLinkedService() (*ImpalaLinkedService, bool)
- AsHubspotLinkedService() (*HubspotLinkedService, bool)
- AsHiveLinkedService() (*HiveLinkedService, bool)
- AsHBaseLinkedService() (*HBaseLinkedService, bool)
- AsGreenplumLinkedService() (*GreenplumLinkedService, bool)
- AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool)
- AsEloquaLinkedService() (*EloquaLinkedService, bool)
- AsDrillLinkedService() (*DrillLinkedService, bool)
- AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool)
- AsConcurLinkedService() (*ConcurLinkedService, bool)
- AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool)
- AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool)
- AsSapHanaLinkedService() (*SapHanaLinkedService, bool)
- AsSapBWLinkedService() (*SapBWLinkedService, bool)
- AsSftpServerLinkedService() (*SftpServerLinkedService, bool)
- AsFtpServerLinkedService() (*FtpServerLinkedService, bool)
- AsHTTPLinkedService() (*HTTPLinkedService, bool)
- AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool)
- AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool)
- AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool)
- AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool)
- AsRestServiceLinkedService() (*RestServiceLinkedService, bool)
- AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool)
- AsSapEccLinkedService() (*SapEccLinkedService, bool)
- AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool)
- AsSalesforceLinkedService() (*SalesforceLinkedService, bool)
- AsOffice365LinkedService() (*Office365LinkedService, bool)
- AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool)
- AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool)
- AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool)
- AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool)
- AsMongoDbLinkedService() (*MongoDbLinkedService, bool)
- AsCassandraLinkedService() (*CassandraLinkedService, bool)
- AsWebLinkedService() (*WebLinkedService, bool)
- AsODataLinkedService() (*ODataLinkedService, bool)
- AsHdfsLinkedService() (*HdfsLinkedService, bool)
- AsOdbcLinkedService() (*OdbcLinkedService, bool)
- AsAzureMLLinkedService() (*AzureMLLinkedService, bool)
- AsTeradataLinkedService() (*TeradataLinkedService, bool)
- AsDb2LinkedService() (*Db2LinkedService, bool)
- AsSybaseLinkedService() (*SybaseLinkedService, bool)
- AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool)
- AsMySQLLinkedService() (*MySQLLinkedService, bool)
- AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool)
- AsOracleLinkedService() (*OracleLinkedService, bool)
- AsFileServerLinkedService() (*FileServerLinkedService, bool)
- AsHDInsightLinkedService() (*HDInsightLinkedService, bool)
- AsDynamicsLinkedService() (*DynamicsLinkedService, bool)
- AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool)
- AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool)
- AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool)
- AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool)
- AsSQLServerLinkedService() (*SQLServerLinkedService, bool)
- AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool)
- AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool)
- AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool)
- AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool)
- AsLinkedService() (*LinkedService, bool)
+// AsImpalaObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
}
-// LinkedService the Azure Data Factory nested object which contains the information and credential which can
-// be used to connect with related store or compute resource.
-type LinkedService struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+// AsHubspotObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
}
-func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
+// AsHiveObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return &hod, true
+}
- switch m["type"] {
- case string(TypeAzureFunction):
- var afls AzureFunctionLinkedService
- err := json.Unmarshal(body, &afls)
- return afls, err
- case string(TypeAzureDataExplorer):
- var adels AzureDataExplorerLinkedService
- err := json.Unmarshal(body, &adels)
- return adels, err
- case string(TypeSapTable):
- var stls SapTableLinkedService
- err := json.Unmarshal(body, &stls)
- return stls, err
- case string(TypeGoogleAdWords):
- var gawls GoogleAdWordsLinkedService
- err := json.Unmarshal(body, &gawls)
- return gawls, err
- case string(TypeOracleServiceCloud):
- var oscls OracleServiceCloudLinkedService
- err := json.Unmarshal(body, &oscls)
- return oscls, err
- case string(TypeDynamicsAX):
- var dals DynamicsAXLinkedService
- err := json.Unmarshal(body, &dals)
- return dals, err
- case string(TypeResponsys):
- var rls ResponsysLinkedService
- err := json.Unmarshal(body, &rls)
- return rls, err
- case string(TypeAzureDatabricks):
- var adls AzureDatabricksLinkedService
- err := json.Unmarshal(body, &adls)
- return adls, err
- case string(TypeAzureDataLakeAnalytics):
- var adlals AzureDataLakeAnalyticsLinkedService
- err := json.Unmarshal(body, &adlals)
- return adlals, err
- case string(TypeHDInsightOnDemand):
- var hiodls HDInsightOnDemandLinkedService
- err := json.Unmarshal(body, &hiodls)
- return hiodls, err
- case string(TypeSalesforceMarketingCloud):
- var smcls SalesforceMarketingCloudLinkedService
- err := json.Unmarshal(body, &smcls)
- return smcls, err
- case string(TypeNetezza):
- var nls NetezzaLinkedService
- err := json.Unmarshal(body, &nls)
- return nls, err
- case string(TypeVertica):
- var vls VerticaLinkedService
- err := json.Unmarshal(body, &vls)
- return vls, err
- case string(TypeZoho):
- var zls ZohoLinkedService
- err := json.Unmarshal(body, &zls)
- return zls, err
- case string(TypeXero):
- var xls XeroLinkedService
- err := json.Unmarshal(body, &xls)
- return xls, err
- case string(TypeSquare):
- var sls SquareLinkedService
- err := json.Unmarshal(body, &sls)
- return sls, err
- case string(TypeSpark):
- var sls SparkLinkedService
- err := json.Unmarshal(body, &sls)
- return sls, err
- case string(TypeShopify):
- var sls ShopifyLinkedService
- err := json.Unmarshal(body, &sls)
- return sls, err
- case string(TypeServiceNow):
- var snls ServiceNowLinkedService
- err := json.Unmarshal(body, &snls)
- return snls, err
- case string(TypeQuickBooks):
- var qbls QuickBooksLinkedService
- err := json.Unmarshal(body, &qbls)
- return qbls, err
- case string(TypePresto):
- var pls PrestoLinkedService
- err := json.Unmarshal(body, &pls)
- return pls, err
- case string(TypePhoenix):
- var pls PhoenixLinkedService
- err := json.Unmarshal(body, &pls)
- return pls, err
- case string(TypePaypal):
- var pls PaypalLinkedService
- err := json.Unmarshal(body, &pls)
- return pls, err
- case string(TypeMarketo):
- var mls MarketoLinkedService
- err := json.Unmarshal(body, &mls)
- return mls, err
- case string(TypeMariaDB):
- var mdls MariaDBLinkedService
- err := json.Unmarshal(body, &mdls)
- return mdls, err
- case string(TypeMagento):
- var mls MagentoLinkedService
- err := json.Unmarshal(body, &mls)
- return mls, err
- case string(TypeJira):
- var jls JiraLinkedService
- err := json.Unmarshal(body, &jls)
- return jls, err
- case string(TypeImpala):
- var ils ImpalaLinkedService
- err := json.Unmarshal(body, &ils)
- return ils, err
- case string(TypeHubspot):
- var hls HubspotLinkedService
- err := json.Unmarshal(body, &hls)
- return hls, err
- case string(TypeHive):
- var hls HiveLinkedService
- err := json.Unmarshal(body, &hls)
+// AsHBaseObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for HiveObjectDataset.
+func (hod HiveObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &hod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HiveObjectDataset struct.
+func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ hod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hod.AdditionalProperties == nil {
+ hod.AdditionalProperties = make(map[string]interface{})
+ }
+ hod.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ hod.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ hod.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ hod.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ hod.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ hod.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ hod.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ hod.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hod.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// HiveSource a copy activity Hive Server source.
+type HiveSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HiveSource.
+func (hs HiveSource) MarshalJSON() ([]byte, error) {
+ hs.Type = TypeHiveSource
+ objectMap := make(map[string]interface{})
+ if hs.Query != nil {
+ objectMap["query"] = hs.Query
+ }
+ if hs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = hs.SourceRetryCount
+ }
+ if hs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = hs.SourceRetryWait
+ }
+ if hs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections
+ }
+ if hs.Type != "" {
+ objectMap["type"] = hs.Type
+ }
+ for k, v := range hs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsHiveSource() (*HiveSource, bool) {
+ return &hs, true
+}
+
+// AsHBaseSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for HiveSource.
+func (hs HiveSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &hs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HiveSource struct.
+func (hs *HiveSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ hs.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hs.AdditionalProperties == nil {
+ hs.AdditionalProperties = make(map[string]interface{})
+ }
+ hs.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ hs.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ hs.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ hs.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hs.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// HTTPDataset a file in an HTTP web server.
+type HTTPDataset struct {
+ // HTTPDatasetTypeProperties - Properties specific to this dataset type.
+ *HTTPDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HTTPDataset.
+func (hd HTTPDataset) MarshalJSON() ([]byte, error) {
+ hd.Type = TypeHTTPFile
+ objectMap := make(map[string]interface{})
+ if hd.HTTPDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = hd.HTTPDatasetTypeProperties
+ }
+ if hd.Description != nil {
+ objectMap["description"] = hd.Description
+ }
+ if hd.Structure != nil {
+ objectMap["structure"] = hd.Structure
+ }
+ if hd.Schema != nil {
+ objectMap["schema"] = hd.Schema
+ }
+ if hd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = hd.LinkedServiceName
+ }
+ if hd.Parameters != nil {
+ objectMap["parameters"] = hd.Parameters
+ }
+ if hd.Annotations != nil {
+ objectMap["annotations"] = hd.Annotations
+ }
+ if hd.Folder != nil {
+ objectMap["folder"] = hd.Folder
+ }
+ if hd.Type != "" {
+ objectMap["type"] = hd.Type
+ }
+ for k, v := range hd.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
+}
+
+// AsResponsysObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsVerticaTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
+
+// AsNetezzaTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsXeroObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSquareObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSparkObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
+}
+
+// AsShopifyObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
+}
+
+// AsServiceNowObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
+
+// AsQuickBooksObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return &hd, true
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for HTTPDataset.
+func (hd HTTPDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &hd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HTTPDataset struct.
+func (hd *HTTPDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var HTTPDatasetTypeProperties HTTPDatasetTypeProperties
+ err = json.Unmarshal(*v, &HTTPDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ hd.HTTPDatasetTypeProperties = &HTTPDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hd.AdditionalProperties == nil {
+ hd.AdditionalProperties = make(map[string]interface{})
+ }
+ hd.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ hd.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ hd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ hd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ hd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ hd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ hd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ hd.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hd.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// HTTPDatasetTypeProperties properties specific to this dataset type.
+type HTTPDatasetTypeProperties struct {
+ // RelativeURL - The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string).
+ RelativeURL interface{} `json:"relativeUrl,omitempty"`
+ // RequestMethod - The HTTP method for the HTTP request. Type: string (or Expression with resultType string).
+ RequestMethod interface{} `json:"requestMethod,omitempty"`
+ // RequestBody - The body for the HTTP request. Type: string (or Expression with resultType string).
+ RequestBody interface{} `json:"requestBody,omitempty"`
+ // AdditionalHeaders - The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1
+ // ...
+ // request-header-name-n:request-header-value-n Type: string (or Expression with resultType string).
+ AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"`
+ // Format - The format of files.
+ Format BasicDatasetStorageFormat `json:"format,omitempty"`
+ // Compression - The data compression method used on files.
+ Compression BasicDatasetCompression `json:"compression,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for HTTPDatasetTypeProperties struct.
+func (hdtp *HTTPDatasetTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "relativeUrl":
+ if v != nil {
+ var relativeURL interface{}
+ err = json.Unmarshal(*v, &relativeURL)
+ if err != nil {
+ return err
+ }
+ hdtp.RelativeURL = relativeURL
+ }
+ case "requestMethod":
+ if v != nil {
+ var requestMethod interface{}
+ err = json.Unmarshal(*v, &requestMethod)
+ if err != nil {
+ return err
+ }
+ hdtp.RequestMethod = requestMethod
+ }
+ case "requestBody":
+ if v != nil {
+ var requestBody interface{}
+ err = json.Unmarshal(*v, &requestBody)
+ if err != nil {
+ return err
+ }
+ hdtp.RequestBody = requestBody
+ }
+ case "additionalHeaders":
+ if v != nil {
+ var additionalHeaders interface{}
+ err = json.Unmarshal(*v, &additionalHeaders)
+ if err != nil {
+ return err
+ }
+ hdtp.AdditionalHeaders = additionalHeaders
+ }
+ case "format":
+ if v != nil {
+ formatVar, err := unmarshalBasicDatasetStorageFormat(*v)
+ if err != nil {
+ return err
+ }
+ hdtp.Format = formatVar
+ }
+ case "compression":
+ if v != nil {
+ compression, err := unmarshalBasicDatasetCompression(*v)
+ if err != nil {
+ return err
+ }
+ hdtp.Compression = compression
+ }
+ }
+ }
+
+ return nil
+}
+
+// HTTPLinkedService linked service for an HTTP source.
+type HTTPLinkedService struct {
+ // HTTPLinkedServiceTypeProperties - Properties specific to this linked service type.
+ *HTTPLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HTTPLinkedService.
+func (hls HTTPLinkedService) MarshalJSON() ([]byte, error) {
+ hls.Type = TypeHTTPServer
+ objectMap := make(map[string]interface{})
+ if hls.HTTPLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = hls.HTTPLinkedServiceTypeProperties
+ }
+ if hls.ConnectVia != nil {
+ objectMap["connectVia"] = hls.ConnectVia
+ }
+ if hls.Description != nil {
+ objectMap["description"] = hls.Description
+ }
+ if hls.Parameters != nil {
+ objectMap["parameters"] = hls.Parameters
+ }
+ if hls.Annotations != nil {
+ objectMap["annotations"] = hls.Annotations
+ }
+ if hls.Type != "" {
+ objectMap["type"] = hls.Type
+ }
+ for k, v := range hls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return nil, false
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return &hls, true
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
+func (hls HTTPLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &hls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HTTPLinkedService struct.
+func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var HTTPLinkedServiceTypeProperties HTTPLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &HTTPLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ hls.HTTPLinkedServiceTypeProperties = &HTTPLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hls.AdditionalProperties == nil {
+ hls.AdditionalProperties = make(map[string]interface{})
+ }
+ hls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ hls.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ hls.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ hls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ hls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hls.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// HTTPLinkedServiceTypeProperties properties specific to this linked service type.
+type HTTPLinkedServiceTypeProperties struct {
+ // URL - The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression with resultType string).
+ URL interface{} `json:"url,omitempty"`
+ // AuthenticationType - The authentication type to be used to connect to the HTTP server. Possible values include: 'HTTPAuthenticationTypeBasic', 'HTTPAuthenticationTypeAnonymous', 'HTTPAuthenticationTypeDigest', 'HTTPAuthenticationTypeWindows', 'HTTPAuthenticationTypeClientCertificate'
+ AuthenticationType HTTPAuthenticationType `json:"authenticationType,omitempty"`
+ // UserName - User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string).
+ UserName interface{} `json:"userName,omitempty"`
+ // Password - Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EmbeddedCertData - Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).
+ EmbeddedCertData interface{} `json:"embeddedCertData,omitempty"`
+ // CertThumbprint - Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).
+ CertThumbprint interface{} `json:"certThumbprint,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+ // EnableServerCertificateValidation - If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean).
+ EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for HTTPLinkedServiceTypeProperties struct.
+func (hlstp *HTTPLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "url":
+ if v != nil {
+ var URL interface{}
+ err = json.Unmarshal(*v, &URL)
+ if err != nil {
+ return err
+ }
+ hlstp.URL = URL
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType HTTPAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ hlstp.AuthenticationType = authenticationType
+ }
+ case "userName":
+ if v != nil {
+ var userName interface{}
+ err = json.Unmarshal(*v, &userName)
+ if err != nil {
+ return err
+ }
+ hlstp.UserName = userName
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ hlstp.Password = password
+ }
+ case "embeddedCertData":
+ if v != nil {
+ var embeddedCertData interface{}
+ err = json.Unmarshal(*v, &embeddedCertData)
+ if err != nil {
+ return err
+ }
+ hlstp.EmbeddedCertData = embeddedCertData
+ }
+ case "certThumbprint":
+ if v != nil {
+ var certThumbprint interface{}
+ err = json.Unmarshal(*v, &certThumbprint)
+ if err != nil {
+ return err
+ }
+ hlstp.CertThumbprint = certThumbprint
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ hlstp.EncryptedCredential = encryptedCredential
+ }
+ case "enableServerCertificateValidation":
+ if v != nil {
+ var enableServerCertificateValidation interface{}
+ err = json.Unmarshal(*v, &enableServerCertificateValidation)
+ if err != nil {
+ return err
+ }
+ hlstp.EnableServerCertificateValidation = enableServerCertificateValidation
+ }
+ }
+ }
+
+ return nil
+}
+
+// HTTPReadSettings sftp read settings.
+type HTTPReadSettings struct {
+ // RequestMethod - The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string).
+ RequestMethod interface{} `json:"requestMethod,omitempty"`
+ // RequestBody - The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string).
+ RequestBody interface{} `json:"requestBody,omitempty"`
+ // AdditionalHeaders - The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string).
+ AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"`
+ // RequestTimeout - Specifies the timeout for a HTTP client to get HTTP response from HTTP server.
+ RequestTimeout interface{} `json:"requestTimeout,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - The read setting type.
+ Type *string `json:"type,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HTTPReadSettings.
+func (hrs HTTPReadSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if hrs.RequestMethod != nil {
+ objectMap["requestMethod"] = hrs.RequestMethod
+ }
+ if hrs.RequestBody != nil {
+ objectMap["requestBody"] = hrs.RequestBody
+ }
+ if hrs.AdditionalHeaders != nil {
+ objectMap["additionalHeaders"] = hrs.AdditionalHeaders
+ }
+ if hrs.RequestTimeout != nil {
+ objectMap["requestTimeout"] = hrs.RequestTimeout
+ }
+ if hrs.Type != nil {
+ objectMap["type"] = hrs.Type
+ }
+ if hrs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = hrs.MaxConcurrentConnections
+ }
+ for k, v := range hrs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for HTTPReadSettings struct.
+func (hrs *HTTPReadSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "requestMethod":
+ if v != nil {
+ var requestMethod interface{}
+ err = json.Unmarshal(*v, &requestMethod)
+ if err != nil {
+ return err
+ }
+ hrs.RequestMethod = requestMethod
+ }
+ case "requestBody":
+ if v != nil {
+ var requestBody interface{}
+ err = json.Unmarshal(*v, &requestBody)
+ if err != nil {
+ return err
+ }
+ hrs.RequestBody = requestBody
+ }
+ case "additionalHeaders":
+ if v != nil {
+ var additionalHeaders interface{}
+ err = json.Unmarshal(*v, &additionalHeaders)
+ if err != nil {
+ return err
+ }
+ hrs.AdditionalHeaders = additionalHeaders
+ }
+ case "requestTimeout":
+ if v != nil {
+ var requestTimeout interface{}
+ err = json.Unmarshal(*v, &requestTimeout)
+ if err != nil {
+ return err
+ }
+ hrs.RequestTimeout = requestTimeout
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hrs.AdditionalProperties == nil {
+ hrs.AdditionalProperties = make(map[string]interface{})
+ }
+ hrs.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hrs.Type = &typeVar
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ hrs.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ }
+ }
+
+ return nil
+}
+
+// HTTPServerLocation the location of http server.
+type HTTPServerLocation struct {
+ // RelativeURL - Specify the relativeUrl of http server. Type: string (or Expression with resultType string)
+ RelativeURL interface{} `json:"relativeUrl,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - Type of dataset storage location.
+ Type *string `json:"type,omitempty"`
+ // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string)
+ FolderPath interface{} `json:"folderPath,omitempty"`
+ // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string).
+ FileName interface{} `json:"fileName,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HTTPServerLocation.
+func (hsl HTTPServerLocation) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if hsl.RelativeURL != nil {
+ objectMap["relativeUrl"] = hsl.RelativeURL
+ }
+ if hsl.Type != nil {
+ objectMap["type"] = hsl.Type
+ }
+ if hsl.FolderPath != nil {
+ objectMap["folderPath"] = hsl.FolderPath
+ }
+ if hsl.FileName != nil {
+ objectMap["fileName"] = hsl.FileName
+ }
+ for k, v := range hsl.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for HTTPServerLocation struct.
+func (hsl *HTTPServerLocation) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "relativeUrl":
+ if v != nil {
+ var relativeURL interface{}
+ err = json.Unmarshal(*v, &relativeURL)
+ if err != nil {
+ return err
+ }
+ hsl.RelativeURL = relativeURL
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hsl.AdditionalProperties == nil {
+ hsl.AdditionalProperties = make(map[string]interface{})
+ }
+ hsl.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hsl.Type = &typeVar
+ }
+ case "folderPath":
+ if v != nil {
+ var folderPath interface{}
+ err = json.Unmarshal(*v, &folderPath)
+ if err != nil {
+ return err
+ }
+ hsl.FolderPath = folderPath
+ }
+ case "fileName":
+ if v != nil {
+ var fileName interface{}
+ err = json.Unmarshal(*v, &fileName)
+ if err != nil {
+ return err
+ }
+ hsl.FileName = fileName
+ }
+ }
+ }
+
+ return nil
+}
+
+// HTTPSource a copy activity source for an HTTP file.
+type HTTPSource struct {
+ // HTTPRequestTimeout - Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HTTPSource.
+func (hs HTTPSource) MarshalJSON() ([]byte, error) {
+ hs.Type = TypeHTTPSource
+ objectMap := make(map[string]interface{})
+ if hs.HTTPRequestTimeout != nil {
+ objectMap["httpRequestTimeout"] = hs.HTTPRequestTimeout
+ }
+ if hs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = hs.SourceRetryCount
+ }
+ if hs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = hs.SourceRetryWait
+ }
+ if hs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections
+ }
+ if hs.Type != "" {
+ objectMap["type"] = hs.Type
+ }
+ for k, v := range hs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsHTTPSource() (*HTTPSource, bool) {
+ return &hs, true
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for HTTPSource.
+func (hs HTTPSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &hs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HTTPSource struct.
+func (hs *HTTPSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "httpRequestTimeout":
+ if v != nil {
+ var HTTPRequestTimeout interface{}
+ err = json.Unmarshal(*v, &HTTPRequestTimeout)
+ if err != nil {
+ return err
+ }
+ hs.HTTPRequestTimeout = HTTPRequestTimeout
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hs.AdditionalProperties == nil {
+ hs.AdditionalProperties = make(map[string]interface{})
+ }
+ hs.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ hs.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ hs.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ hs.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hs.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// HubspotLinkedService hubspot Service linked service.
+type HubspotLinkedService struct {
+ // HubspotLinkedServiceTypeProperties - Hubspot Service linked service properties.
+ *HubspotLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HubspotLinkedService.
+func (hls HubspotLinkedService) MarshalJSON() ([]byte, error) {
+ hls.Type = TypeHubspot
+ objectMap := make(map[string]interface{})
+ if hls.HubspotLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = hls.HubspotLinkedServiceTypeProperties
+ }
+ if hls.ConnectVia != nil {
+ objectMap["connectVia"] = hls.ConnectVia
+ }
+ if hls.Description != nil {
+ objectMap["description"] = hls.Description
+ }
+ if hls.Parameters != nil {
+ objectMap["parameters"] = hls.Parameters
+ }
+ if hls.Annotations != nil {
+ objectMap["annotations"] = hls.Annotations
+ }
+ if hls.Type != "" {
+ objectMap["type"] = hls.Type
+ }
+ for k, v := range hls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return nil, false
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return &hls, true
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
+func (hls HubspotLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &hls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HubspotLinkedService struct.
+func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var hubspotLinkedServiceTypeProperties HubspotLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &hubspotLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ hls.HubspotLinkedServiceTypeProperties = &hubspotLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hls.AdditionalProperties == nil {
+ hls.AdditionalProperties = make(map[string]interface{})
+ }
+ hls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ hls.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ hls.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ hls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ hls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hls.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// HubspotLinkedServiceTypeProperties hubspot Service linked service properties.
+type HubspotLinkedServiceTypeProperties struct {
+ // ClientID - The client ID associated with your Hubspot application.
+ ClientID interface{} `json:"clientId,omitempty"`
+ // ClientSecret - The client secret associated with your Hubspot application.
+ ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
+ // AccessToken - The access token obtained when initially authenticating your OAuth integration.
+ AccessToken BasicSecretBase `json:"accessToken,omitempty"`
+ // RefreshToken - The refresh token obtained when initially authenticating your OAuth integration.
+ RefreshToken BasicSecretBase `json:"refreshToken,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
+ UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
+ // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
+ UseHostVerification interface{} `json:"useHostVerification,omitempty"`
+ // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
+ UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for HubspotLinkedServiceTypeProperties struct.
+func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "clientId":
+ if v != nil {
+ var clientID interface{}
+ err = json.Unmarshal(*v, &clientID)
+ if err != nil {
+ return err
+ }
+ hlstp.ClientID = clientID
+ }
+ case "clientSecret":
+ if v != nil {
+ clientSecret, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ hlstp.ClientSecret = clientSecret
+ }
+ case "accessToken":
+ if v != nil {
+ accessToken, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ hlstp.AccessToken = accessToken
+ }
+ case "refreshToken":
+ if v != nil {
+ refreshToken, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ hlstp.RefreshToken = refreshToken
+ }
+ case "useEncryptedEndpoints":
+ if v != nil {
+ var useEncryptedEndpoints interface{}
+ err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ if err != nil {
+ return err
+ }
+ hlstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ }
+ case "useHostVerification":
+ if v != nil {
+ var useHostVerification interface{}
+ err = json.Unmarshal(*v, &useHostVerification)
+ if err != nil {
+ return err
+ }
+ hlstp.UseHostVerification = useHostVerification
+ }
+ case "usePeerVerification":
+ if v != nil {
+ var usePeerVerification interface{}
+ err = json.Unmarshal(*v, &usePeerVerification)
+ if err != nil {
+ return err
+ }
+ hlstp.UsePeerVerification = usePeerVerification
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ hlstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// HubspotObjectDataset hubspot Service dataset.
+type HubspotObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HubspotObjectDataset.
+func (hod HubspotObjectDataset) MarshalJSON() ([]byte, error) {
+ hod.Type = TypeHubspotObject
+ objectMap := make(map[string]interface{})
+ if hod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = hod.GenericDatasetTypeProperties
+ }
+ if hod.Description != nil {
+ objectMap["description"] = hod.Description
+ }
+ if hod.Structure != nil {
+ objectMap["structure"] = hod.Structure
+ }
+ if hod.Schema != nil {
+ objectMap["schema"] = hod.Schema
+ }
+ if hod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = hod.LinkedServiceName
+ }
+ if hod.Parameters != nil {
+ objectMap["parameters"] = hod.Parameters
+ }
+ if hod.Annotations != nil {
+ objectMap["annotations"] = hod.Annotations
+ }
+ if hod.Folder != nil {
+ objectMap["folder"] = hod.Folder
+ }
+ if hod.Type != "" {
+ objectMap["type"] = hod.Type
+ }
+ for k, v := range hod.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
+}
+
+// AsResponsysObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsVerticaTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
+
+// AsNetezzaTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsXeroObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSquareObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSparkObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
+}
+
+// AsShopifyObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
+}
+
+// AsServiceNowObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
+
+// AsQuickBooksObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return &hod, true
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for HubspotObjectDataset.
+func (hod HubspotObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &hod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HubspotObjectDataset struct.
+func (hod *HubspotObjectDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ hod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hod.AdditionalProperties == nil {
+ hod.AdditionalProperties = make(map[string]interface{})
+ }
+ hod.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ hod.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ hod.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ hod.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ hod.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ hod.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ hod.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ hod.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hod.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// HubspotSource a copy activity Hubspot Service source.
+type HubspotSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for HubspotSource.
+func (hs HubspotSource) MarshalJSON() ([]byte, error) {
+ hs.Type = TypeHubspotSource
+ objectMap := make(map[string]interface{})
+ if hs.Query != nil {
+ objectMap["query"] = hs.Query
+ }
+ if hs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = hs.SourceRetryCount
+ }
+ if hs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = hs.SourceRetryWait
+ }
+ if hs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections
+ }
+ if hs.Type != "" {
+ objectMap["type"] = hs.Type
+ }
+ for k, v := range hs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsHubspotSource() (*HubspotSource, bool) {
+ return &hs, true
+}
+
+// AsHiveSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for HubspotSource.
+func (hs HubspotSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &hs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for HubspotSource struct.
+func (hs *HubspotSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ hs.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if hs.AdditionalProperties == nil {
+ hs.AdditionalProperties = make(map[string]interface{})
+ }
+ hs.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ hs.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ hs.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ hs.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ hs.Type = typeVar
+ }
+ }
+ }
+
+ 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.
+type IfConditionActivity struct {
+ // IfConditionActivityTypeProperties - IfCondition activity properties.
+ *IfConditionActivityTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for IfConditionActivity.
+func (ica IfConditionActivity) MarshalJSON() ([]byte, error) {
+ ica.Type = TypeIfCondition
+ objectMap := make(map[string]interface{})
+ if ica.IfConditionActivityTypeProperties != nil {
+ objectMap["typeProperties"] = ica.IfConditionActivityTypeProperties
+ }
+ if ica.Name != nil {
+ objectMap["name"] = ica.Name
+ }
+ if ica.Description != nil {
+ objectMap["description"] = ica.Description
+ }
+ if ica.DependsOn != nil {
+ objectMap["dependsOn"] = ica.DependsOn
+ }
+ if ica.UserProperties != nil {
+ objectMap["userProperties"] = ica.UserProperties
+ }
+ if ica.Type != "" {
+ objectMap["type"] = ica.Type
+ }
+ for k, v := range ica.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+ return nil, false
+}
+
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+ return nil, false
+}
+
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+ return nil, false
+}
+
+// AsDatabricksNotebookActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+ return nil, false
+}
+
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+ return nil, false
+}
+
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+ return nil, false
+}
+
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+ return nil, false
+}
+
+// AsGetMetadataActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+ return nil, false
+}
+
+// AsWebActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsWebActivity() (*WebActivity, bool) {
+ return nil, false
+}
+
+// AsLookupActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsLookupActivity() (*LookupActivity, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return nil, false
+}
+
+// AsDeleteActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+ return nil, false
+}
+
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+ return nil, false
+}
+
+// AsCustomActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsCustomActivity() (*CustomActivity, bool) {
+ return nil, false
+}
+
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightSparkActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightStreamingActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightPigActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightHiveActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+ return nil, false
+}
+
+// AsCopyActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsCopyActivity() (*CopyActivity, bool) {
+ return nil, false
+}
+
+// AsExecutionActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+ return nil, false
+}
+
+// AsBasicExecutionActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return nil, false
+}
+
+// AsWebHookActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+ return nil, false
+}
+
+// AsAppendVariableActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+ return nil, false
+}
+
+// AsSetVariableActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+ return nil, false
+}
+
+// AsFilterActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsFilterActivity() (*FilterActivity, bool) {
+ return nil, false
+}
+
+// AsValidationActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsValidationActivity() (*ValidationActivity, bool) {
+ return nil, false
+}
+
+// AsUntilActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsUntilActivity() (*UntilActivity, bool) {
+ return nil, false
+}
+
+// AsWaitActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsWaitActivity() (*WaitActivity, bool) {
+ return nil, false
+}
+
+// AsForEachActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsForEachActivity() (*ForEachActivity, bool) {
+ return nil, false
+}
+
+// AsIfConditionActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+ return &ica, true
+}
+
+// AsExecutePipelineActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+ return nil, false
+}
+
+// AsControlActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsControlActivity() (*ControlActivity, bool) {
+ return nil, false
+}
+
+// AsBasicControlActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return &ica, true
+}
+
+// AsActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsActivity() (*Activity, bool) {
+ return nil, false
+}
+
+// AsBasicActivity is the BasicActivity implementation for IfConditionActivity.
+func (ica IfConditionActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &ica, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for IfConditionActivity struct.
+func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var ifConditionActivityTypeProperties IfConditionActivityTypeProperties
+ err = json.Unmarshal(*v, &ifConditionActivityTypeProperties)
+ if err != nil {
+ return err
+ }
+ ica.IfConditionActivityTypeProperties = &ifConditionActivityTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ica.AdditionalProperties == nil {
+ ica.AdditionalProperties = make(map[string]interface{})
+ }
+ ica.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ ica.Name = &name
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ ica.Description = &description
+ }
+ case "dependsOn":
+ if v != nil {
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
+ if err != nil {
+ return err
+ }
+ ica.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ ica.UserProperties = &userProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ica.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// IfConditionActivityTypeProperties ifCondition activity properties.
+type IfConditionActivityTypeProperties struct {
+ // Expression - An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed.
+ Expression *Expression `json:"expression,omitempty"`
+ // IfTrueActivities - List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action.
+ IfTrueActivities *[]BasicActivity `json:"ifTrueActivities,omitempty"`
+ // IfFalseActivities - List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action.
+ IfFalseActivities *[]BasicActivity `json:"ifFalseActivities,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for IfConditionActivityTypeProperties struct.
+func (icatp *IfConditionActivityTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "expression":
+ if v != nil {
+ var expression Expression
+ err = json.Unmarshal(*v, &expression)
+ if err != nil {
+ return err
+ }
+ icatp.Expression = &expression
+ }
+ case "ifTrueActivities":
+ if v != nil {
+ ifTrueActivities, err := unmarshalBasicActivityArray(*v)
+ if err != nil {
+ return err
+ }
+ icatp.IfTrueActivities = &ifTrueActivities
+ }
+ case "ifFalseActivities":
+ if v != nil {
+ ifFalseActivities, err := unmarshalBasicActivityArray(*v)
+ if err != nil {
+ return err
+ }
+ icatp.IfFalseActivities = &ifFalseActivities
+ }
+ }
+ }
+
+ return nil
+}
+
+// ImpalaLinkedService impala server linked service.
+type ImpalaLinkedService struct {
+ // ImpalaLinkedServiceTypeProperties - Impala server linked service properties.
+ *ImpalaLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for ImpalaLinkedService.
+func (ils ImpalaLinkedService) MarshalJSON() ([]byte, error) {
+ ils.Type = TypeImpala
+ objectMap := make(map[string]interface{})
+ if ils.ImpalaLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = ils.ImpalaLinkedServiceTypeProperties
+ }
+ if ils.ConnectVia != nil {
+ objectMap["connectVia"] = ils.ConnectVia
+ }
+ if ils.Description != nil {
+ objectMap["description"] = ils.Description
+ }
+ if ils.Parameters != nil {
+ objectMap["parameters"] = ils.Parameters
+ }
+ if ils.Annotations != nil {
+ objectMap["annotations"] = ils.Annotations
+ }
+ if ils.Type != "" {
+ objectMap["type"] = ils.Type
+ }
+ for k, v := range ils.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return nil, false
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return &ils, true
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
+func (ils ImpalaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &ils, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedService struct.
+func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var impalaLinkedServiceTypeProperties ImpalaLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &impalaLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ ils.ImpalaLinkedServiceTypeProperties = &impalaLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ils.AdditionalProperties == nil {
+ ils.AdditionalProperties = make(map[string]interface{})
+ }
+ ils.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ ils.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ ils.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ ils.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ ils.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ils.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// ImpalaLinkedServiceTypeProperties impala server linked service properties.
+type ImpalaLinkedServiceTypeProperties struct {
+ // Host - The IP address or host name of the Impala server. (i.e. 192.168.222.160)
+ Host interface{} `json:"host,omitempty"`
+ // Port - The TCP port that the Impala server uses to listen for client connections. The default value is 21050.
+ Port interface{} `json:"port,omitempty"`
+ // AuthenticationType - The authentication type to use. Possible values include: 'ImpalaAuthenticationTypeAnonymous', 'ImpalaAuthenticationTypeSASLUsername', 'ImpalaAuthenticationTypeUsernameAndPassword'
+ AuthenticationType ImpalaAuthenticationType `json:"authenticationType,omitempty"`
+ // Username - The user name used to access the Impala server. The default value is anonymous when using SASLUsername.
+ Username interface{} `json:"username,omitempty"`
+ // Password - The password corresponding to the user name when using UsernameAndPassword.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
+ EnableSsl interface{} `json:"enableSsl,omitempty"`
+ // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
+ TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
+ // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
+ UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
+ // AllowHostNameCNMismatch - Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
+ AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
+ // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
+ AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedServiceTypeProperties struct.
+func (ilstp *ImpalaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "host":
+ if v != nil {
+ var host interface{}
+ err = json.Unmarshal(*v, &host)
+ if err != nil {
+ return err
+ }
+ ilstp.Host = host
+ }
+ case "port":
+ if v != nil {
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
+ if err != nil {
+ return err
+ }
+ ilstp.Port = port
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType ImpalaAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ ilstp.AuthenticationType = authenticationType
+ }
+ case "username":
+ if v != nil {
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
+ if err != nil {
+ return err
+ }
+ ilstp.Username = username
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ ilstp.Password = password
+ }
+ case "enableSsl":
+ if v != nil {
+ var enableSsl interface{}
+ err = json.Unmarshal(*v, &enableSsl)
+ if err != nil {
+ return err
+ }
+ ilstp.EnableSsl = enableSsl
+ }
+ case "trustedCertPath":
+ if v != nil {
+ var trustedCertPath interface{}
+ err = json.Unmarshal(*v, &trustedCertPath)
+ if err != nil {
+ return err
+ }
+ ilstp.TrustedCertPath = trustedCertPath
+ }
+ case "useSystemTrustStore":
+ if v != nil {
+ var useSystemTrustStore interface{}
+ err = json.Unmarshal(*v, &useSystemTrustStore)
+ if err != nil {
+ return err
+ }
+ ilstp.UseSystemTrustStore = useSystemTrustStore
+ }
+ case "allowHostNameCNMismatch":
+ if v != nil {
+ var allowHostNameCNMismatch interface{}
+ err = json.Unmarshal(*v, &allowHostNameCNMismatch)
+ if err != nil {
+ return err
+ }
+ ilstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
+ }
+ case "allowSelfSignedServerCert":
+ if v != nil {
+ var allowSelfSignedServerCert interface{}
+ err = json.Unmarshal(*v, &allowSelfSignedServerCert)
+ if err != nil {
+ return err
+ }
+ ilstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ ilstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// ImpalaObjectDataset impala server dataset.
+type ImpalaObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) MarshalJSON() ([]byte, error) {
+ iod.Type = TypeImpalaObject
+ objectMap := make(map[string]interface{})
+ if iod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = iod.GenericDatasetTypeProperties
+ }
+ if iod.Description != nil {
+ objectMap["description"] = iod.Description
+ }
+ if iod.Structure != nil {
+ objectMap["structure"] = iod.Structure
+ }
+ if iod.Schema != nil {
+ objectMap["schema"] = iod.Schema
+ }
+ if iod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = iod.LinkedServiceName
+ }
+ if iod.Parameters != nil {
+ objectMap["parameters"] = iod.Parameters
+ }
+ if iod.Annotations != nil {
+ objectMap["annotations"] = iod.Annotations
+ }
+ if iod.Folder != nil {
+ objectMap["folder"] = iod.Folder
+ }
+ if iod.Type != "" {
+ objectMap["type"] = iod.Type
+ }
+ for k, v := range iod.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
+}
+
+// AsResponsysObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsVerticaTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
+
+// AsNetezzaTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsXeroObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSquareObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSparkObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
+}
+
+// AsShopifyObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
+}
+
+// AsServiceNowObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
+
+// AsQuickBooksObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return &iod, true
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for ImpalaObjectDataset.
+func (iod ImpalaObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &iod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ImpalaObjectDataset struct.
+func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ iod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if iod.AdditionalProperties == nil {
+ iod.AdditionalProperties = make(map[string]interface{})
+ }
+ iod.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ iod.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ iod.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ iod.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ iod.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ iod.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ iod.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ iod.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ iod.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// ImpalaSource a copy activity Impala server source.
+type ImpalaSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for ImpalaSource.
+func (is ImpalaSource) MarshalJSON() ([]byte, error) {
+ is.Type = TypeImpalaSource
+ objectMap := make(map[string]interface{})
+ if is.Query != nil {
+ objectMap["query"] = is.Query
+ }
+ if is.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = is.SourceRetryCount
+ }
+ if is.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = is.SourceRetryWait
+ }
+ if is.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = is.MaxConcurrentConnections
+ }
+ if is.Type != "" {
+ objectMap["type"] = is.Type
+ }
+ for k, v := range is.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return &is, true
+}
+
+// AsHubspotSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for ImpalaSource.
+func (is ImpalaSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &is, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ImpalaSource struct.
+func (is *ImpalaSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ is.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if is.AdditionalProperties == nil {
+ is.AdditionalProperties = make(map[string]interface{})
+ }
+ is.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ is.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ is.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ is.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ is.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// InformixLinkedService informix linked service.
+type InformixLinkedService struct {
+ // InformixLinkedServiceTypeProperties - Informix linked service properties.
+ *InformixLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for InformixLinkedService.
+func (ils InformixLinkedService) MarshalJSON() ([]byte, error) {
+ ils.Type = TypeInformix
+ objectMap := make(map[string]interface{})
+ if ils.InformixLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = ils.InformixLinkedServiceTypeProperties
+ }
+ if ils.ConnectVia != nil {
+ objectMap["connectVia"] = ils.ConnectVia
+ }
+ if ils.Description != nil {
+ objectMap["description"] = ils.Description
+ }
+ if ils.Parameters != nil {
+ objectMap["parameters"] = ils.Parameters
+ }
+ if ils.Annotations != nil {
+ objectMap["annotations"] = ils.Annotations
+ }
+ if ils.Type != "" {
+ objectMap["type"] = ils.Type
+ }
+ for k, v := range ils.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return nil, false
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return &ils, true
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for InformixLinkedService.
+func (ils InformixLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &ils, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for InformixLinkedService struct.
+func (ils *InformixLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var informixLinkedServiceTypeProperties InformixLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &informixLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ ils.InformixLinkedServiceTypeProperties = &informixLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ils.AdditionalProperties == nil {
+ ils.AdditionalProperties = make(map[string]interface{})
+ }
+ ils.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ ils.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ ils.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ ils.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ ils.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ils.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// InformixLinkedServiceTypeProperties informix linked service properties.
+type InformixLinkedServiceTypeProperties struct {
+ // ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // AuthenticationType - Type of authentication used to connect to the Informix as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string).
+ AuthenticationType interface{} `json:"authenticationType,omitempty"`
+ // Credential - The access credential portion of the connection string specified in driver-specific property-value format.
+ Credential BasicSecretBase `json:"credential,omitempty"`
+ // UserName - User name for Basic authentication. Type: string (or Expression with resultType string).
+ UserName interface{} `json:"userName,omitempty"`
+ // Password - Password for Basic authentication.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for InformixLinkedServiceTypeProperties struct.
+func (ilstp *InformixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "connectionString":
+ if v != nil {
+ var connectionString interface{}
+ err = json.Unmarshal(*v, &connectionString)
+ if err != nil {
+ return err
+ }
+ ilstp.ConnectionString = connectionString
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType interface{}
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ ilstp.AuthenticationType = authenticationType
+ }
+ case "credential":
+ if v != nil {
+ credential, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ ilstp.Credential = credential
+ }
+ case "userName":
+ if v != nil {
+ var userName interface{}
+ err = json.Unmarshal(*v, &userName)
+ if err != nil {
+ return err
+ }
+ ilstp.UserName = userName
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ ilstp.Password = password
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ ilstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// InformixSink a copy activity Informix sink.
+type InformixSink struct {
+ // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string).
+ PreCopyScript interface{} `json:"preCopyScript,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for InformixSink.
+func (is InformixSink) MarshalJSON() ([]byte, error) {
+ is.Type = TypeInformixSink
+ objectMap := make(map[string]interface{})
+ if is.PreCopyScript != nil {
+ objectMap["preCopyScript"] = is.PreCopyScript
+ }
+ if is.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = is.WriteBatchSize
+ }
+ if is.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = is.WriteBatchTimeout
+ }
+ if is.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = is.SinkRetryCount
+ }
+ if is.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = is.SinkRetryWait
+ }
+ if is.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = is.MaxConcurrentConnections
+ }
+ if is.Type != "" {
+ objectMap["type"] = is.Type
+ }
+ for k, v := range is.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
+// AsSalesforceSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsSalesforceSink() (*SalesforceSink, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsDynamicsSink() (*DynamicsSink, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsInformixSink() (*InformixSink, bool) {
+ return &is, true
+}
+
+// AsOdbcSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsOdbcSink() (*OdbcSink, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+ return nil, false
+}
+
+// AsOracleSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsOracleSink() (*OracleSink, bool) {
+ return nil, false
+}
+
+// AsSQLDWSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsSQLDWSink() (*SQLDWSink, bool) {
+ return nil, false
+}
+
+// AsSQLMISink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+ return nil, false
+}
+
+// AsSQLServerSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsSQLServerSink() (*SQLServerSink, bool) {
+ return nil, false
+}
+
+// AsSQLSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsSQLSink() (*SQLSink, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+ return nil, false
+}
+
+// AsFileSystemSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsFileSystemSink() (*FileSystemSink, bool) {
+ return nil, false
+}
+
+// AsBlobSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsBlobSink() (*BlobSink, bool) {
+ return nil, false
+}
+
+// AsBinarySink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
+// AsParquetSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsParquetSink() (*ParquetSink, bool) {
+ return nil, false
+}
+
+// AsAzureTableSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsAzureTableSink() (*AzureTableSink, bool) {
+ return nil, false
+}
+
+// AsAzureQueueSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+ return nil, false
+}
+
+// AsCopySink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsCopySink() (*CopySink, bool) {
+ return nil, false
+}
+
+// AsBasicCopySink is the BasicCopySink implementation for InformixSink.
+func (is InformixSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &is, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for InformixSink struct.
+func (is *InformixSink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "preCopyScript":
+ if v != nil {
+ var preCopyScript interface{}
+ err = json.Unmarshal(*v, &preCopyScript)
+ if err != nil {
+ return err
+ }
+ is.PreCopyScript = preCopyScript
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if is.AdditionalProperties == nil {
+ is.AdditionalProperties = make(map[string]interface{})
+ }
+ is.AdditionalProperties[k] = additionalProperties
+ }
+ case "writeBatchSize":
+ if v != nil {
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
+ if err != nil {
+ return err
+ }
+ is.WriteBatchSize = writeBatchSize
+ }
+ case "writeBatchTimeout":
+ if v != nil {
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
+ if err != nil {
+ return err
+ }
+ is.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ is.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ is.SinkRetryWait = sinkRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ is.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySink
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ is.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// InformixSource a copy activity source for Informix.
+type InformixSource struct {
+ // Query - Database query. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for InformixSource.
+func (is InformixSource) MarshalJSON() ([]byte, error) {
+ is.Type = TypeInformixSource
+ objectMap := make(map[string]interface{})
+ if is.Query != nil {
+ objectMap["query"] = is.Query
+ }
+ if is.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = is.SourceRetryCount
+ }
+ if is.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = is.SourceRetryWait
+ }
+ if is.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = is.MaxConcurrentConnections
+ }
+ if is.Type != "" {
+ objectMap["type"] = is.Type
+ }
+ for k, v := range is.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsInformixSource() (*InformixSource, bool) {
+ return &is, true
+}
+
+// AsRelationalSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for InformixSource.
+func (is InformixSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &is, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for InformixSource struct.
+func (is *InformixSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ is.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if is.AdditionalProperties == nil {
+ is.AdditionalProperties = make(map[string]interface{})
+ }
+ is.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ is.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ is.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ is.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ is.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// InformixTableDataset the Informix table dataset.
+type InformixTableDataset struct {
+ // InformixTableDatasetTypeProperties - Informix table dataset properties.
+ *InformixTableDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for InformixTableDataset.
+func (itd InformixTableDataset) MarshalJSON() ([]byte, error) {
+ itd.Type = TypeInformixTable
+ objectMap := make(map[string]interface{})
+ if itd.InformixTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = itd.InformixTableDatasetTypeProperties
+ }
+ if itd.Description != nil {
+ objectMap["description"] = itd.Description
+ }
+ if itd.Structure != nil {
+ objectMap["structure"] = itd.Structure
+ }
+ if itd.Schema != nil {
+ objectMap["schema"] = itd.Schema
+ }
+ if itd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = itd.LinkedServiceName
+ }
+ if itd.Parameters != nil {
+ objectMap["parameters"] = itd.Parameters
+ }
+ if itd.Annotations != nil {
+ objectMap["annotations"] = itd.Annotations
+ }
+ if itd.Folder != nil {
+ objectMap["folder"] = itd.Folder
+ }
+ if itd.Type != "" {
+ objectMap["type"] = itd.Type
+ }
+ for k, v := range itd.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
+}
+
+// AsResponsysObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsVerticaTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
+
+// AsNetezzaTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsXeroObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSquareObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSparkObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
+}
+
+// AsShopifyObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
+}
+
+// AsServiceNowObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
+
+// AsQuickBooksObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return &itd, true
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for InformixTableDataset.
+func (itd InformixTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &itd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for InformixTableDataset struct.
+func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var informixTableDatasetTypeProperties InformixTableDatasetTypeProperties
+ err = json.Unmarshal(*v, &informixTableDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ itd.InformixTableDatasetTypeProperties = &informixTableDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if itd.AdditionalProperties == nil {
+ itd.AdditionalProperties = make(map[string]interface{})
+ }
+ itd.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ itd.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ itd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ itd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ itd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ itd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ itd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ itd.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ itd.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// InformixTableDatasetTypeProperties informix table dataset properties.
+type InformixTableDatasetTypeProperties struct {
+ // TableName - The Informix table name. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
+}
+
+// BasicIntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities.
+type BasicIntegrationRuntime interface {
+ AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool)
+ AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool)
+ AsIntegrationRuntime() (*IntegrationRuntime, bool)
+}
+
+// IntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities.
+type IntegrationRuntime struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Integration runtime description.
+ Description *string `json:"description,omitempty"`
+ // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged'
+ Type TypeBasicIntegrationRuntime `json:"type,omitempty"`
+}
+
+func unmarshalBasicIntegrationRuntime(body []byte) (BasicIntegrationRuntime, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
+
+ switch m["type"] {
+ case string(TypeSelfHosted):
+ var shir SelfHostedIntegrationRuntime
+ err := json.Unmarshal(body, &shir)
+ return shir, err
+ case string(TypeManaged):
+ var mir ManagedIntegrationRuntime
+ err := json.Unmarshal(body, &mir)
+ return mir, err
+ default:
+ var ir IntegrationRuntime
+ err := json.Unmarshal(body, &ir)
+ return ir, err
+ }
+}
+func unmarshalBasicIntegrationRuntimeArray(body []byte) ([]BasicIntegrationRuntime, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
+
+ irArray := make([]BasicIntegrationRuntime, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ ir, err := unmarshalBasicIntegrationRuntime(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ irArray[index] = ir
+ }
+ return irArray, nil
+}
+
+// MarshalJSON is the custom marshaler for IntegrationRuntime.
+func (ir IntegrationRuntime) MarshalJSON() ([]byte, error) {
+ ir.Type = TypeIntegrationRuntime
+ objectMap := make(map[string]interface{})
+ if ir.Description != nil {
+ objectMap["description"] = ir.Description
+ }
+ if ir.Type != "" {
+ objectMap["type"] = ir.Type
+ }
+ for k, v := range ir.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
+func (ir IntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) {
+ return nil, false
+}
+
+// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
+func (ir IntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) {
+ return nil, false
+}
+
+// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
+func (ir IntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) {
+ return &ir, true
+}
+
+// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
+func (ir IntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) {
+ return &ir, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for IntegrationRuntime struct.
+func (ir *IntegrationRuntime) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ir.AdditionalProperties == nil {
+ ir.AdditionalProperties = make(map[string]interface{})
+ }
+ ir.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ ir.Description = &description
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicIntegrationRuntime
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ir.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// IntegrationRuntimeAuthKeys the integration runtime authentication keys.
+type IntegrationRuntimeAuthKeys struct {
+ autorest.Response `json:"-"`
+ // AuthKey1 - The primary integration runtime authentication key.
+ AuthKey1 *string `json:"authKey1,omitempty"`
+ // AuthKey2 - The secondary integration runtime authentication key.
+ AuthKey2 *string `json:"authKey2,omitempty"`
+}
+
+// IntegrationRuntimeComputeProperties the compute resource properties for managed integration runtime.
+type IntegrationRuntimeComputeProperties struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Location - The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities
+ Location *string `json:"location,omitempty"`
+ // NodeSize - The node size requirement to managed integration runtime.
+ NodeSize *string `json:"nodeSize,omitempty"`
+ // NumberOfNodes - The required number of nodes for managed integration runtime.
+ NumberOfNodes *int32 `json:"numberOfNodes,omitempty"`
+ // MaxParallelExecutionsPerNode - Maximum parallel executions count per node for managed integration runtime.
+ MaxParallelExecutionsPerNode *int32 `json:"maxParallelExecutionsPerNode,omitempty"`
+ // VNetProperties - VNet properties for managed integration runtime.
+ VNetProperties *IntegrationRuntimeVNetProperties `json:"vNetProperties,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for IntegrationRuntimeComputeProperties.
+func (ircp IntegrationRuntimeComputeProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if ircp.Location != nil {
+ objectMap["location"] = ircp.Location
+ }
+ if ircp.NodeSize != nil {
+ objectMap["nodeSize"] = ircp.NodeSize
+ }
+ if ircp.NumberOfNodes != nil {
+ objectMap["numberOfNodes"] = ircp.NumberOfNodes
+ }
+ if ircp.MaxParallelExecutionsPerNode != nil {
+ objectMap["maxParallelExecutionsPerNode"] = ircp.MaxParallelExecutionsPerNode
+ }
+ if ircp.VNetProperties != nil {
+ objectMap["vNetProperties"] = ircp.VNetProperties
+ }
+ for k, v := range ircp.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeComputeProperties struct.
+func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ircp.AdditionalProperties == nil {
+ ircp.AdditionalProperties = make(map[string]interface{})
+ }
+ ircp.AdditionalProperties[k] = additionalProperties
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ ircp.Location = &location
+ }
+ case "nodeSize":
+ if v != nil {
+ var nodeSize string
+ err = json.Unmarshal(*v, &nodeSize)
+ if err != nil {
+ return err
+ }
+ ircp.NodeSize = &nodeSize
+ }
+ case "numberOfNodes":
+ if v != nil {
+ var numberOfNodes int32
+ err = json.Unmarshal(*v, &numberOfNodes)
+ if err != nil {
+ return err
+ }
+ ircp.NumberOfNodes = &numberOfNodes
+ }
+ case "maxParallelExecutionsPerNode":
+ if v != nil {
+ var maxParallelExecutionsPerNode int32
+ err = json.Unmarshal(*v, &maxParallelExecutionsPerNode)
+ if err != nil {
+ return err
+ }
+ ircp.MaxParallelExecutionsPerNode = &maxParallelExecutionsPerNode
+ }
+ case "vNetProperties":
+ if v != nil {
+ var vNetProperties IntegrationRuntimeVNetProperties
+ err = json.Unmarshal(*v, &vNetProperties)
+ if err != nil {
+ return err
+ }
+ ircp.VNetProperties = &vNetProperties
+ }
+ }
+ }
+
+ return nil
+}
+
+// IntegrationRuntimeConnectionInfo connection information for encrypting the on-premises data source
+// credentials.
+type IntegrationRuntimeConnectionInfo struct {
+ autorest.Response `json:"-"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ServiceToken - READ-ONLY; The token generated in service. Callers use this token to authenticate to integration runtime.
+ ServiceToken *string `json:"serviceToken,omitempty"`
+ // IdentityCertThumbprint - READ-ONLY; The integration runtime SSL certificate thumbprint. Click-Once application uses it to do server validation.
+ IdentityCertThumbprint *string `json:"identityCertThumbprint,omitempty"`
+ // HostServiceURI - READ-ONLY; The on-premises integration runtime host URL.
+ HostServiceURI *string `json:"hostServiceUri,omitempty"`
+ // Version - READ-ONLY; The integration runtime version.
+ Version *string `json:"version,omitempty"`
+ // PublicKey - READ-ONLY; The public key for encrypting a credential when transferring the credential to the integration runtime.
+ PublicKey *string `json:"publicKey,omitempty"`
+ // IsIdentityCertExprired - READ-ONLY; Whether the identity certificate is expired.
+ IsIdentityCertExprired *bool `json:"isIdentityCertExprired,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for IntegrationRuntimeConnectionInfo.
+func (irci IntegrationRuntimeConnectionInfo) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ for k, v := range irci.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeConnectionInfo struct.
+func (irci *IntegrationRuntimeConnectionInfo) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if irci.AdditionalProperties == nil {
+ irci.AdditionalProperties = make(map[string]interface{})
+ }
+ irci.AdditionalProperties[k] = additionalProperties
+ }
+ case "serviceToken":
+ if v != nil {
+ var serviceToken string
+ err = json.Unmarshal(*v, &serviceToken)
+ if err != nil {
+ return err
+ }
+ irci.ServiceToken = &serviceToken
+ }
+ case "identityCertThumbprint":
+ if v != nil {
+ var identityCertThumbprint string
+ err = json.Unmarshal(*v, &identityCertThumbprint)
+ if err != nil {
+ return err
+ }
+ irci.IdentityCertThumbprint = &identityCertThumbprint
+ }
+ case "hostServiceUri":
+ if v != nil {
+ var hostServiceURI string
+ err = json.Unmarshal(*v, &hostServiceURI)
+ if err != nil {
+ return err
+ }
+ irci.HostServiceURI = &hostServiceURI
+ }
+ case "version":
+ if v != nil {
+ var version string
+ err = json.Unmarshal(*v, &version)
+ if err != nil {
+ return err
+ }
+ irci.Version = &version
+ }
+ case "publicKey":
+ if v != nil {
+ var publicKey string
+ err = json.Unmarshal(*v, &publicKey)
+ if err != nil {
+ return err
+ }
+ irci.PublicKey = &publicKey
+ }
+ case "isIdentityCertExprired":
+ if v != nil {
+ var isIdentityCertExprired bool
+ err = json.Unmarshal(*v, &isIdentityCertExprired)
+ if err != nil {
+ return err
+ }
+ irci.IsIdentityCertExprired = &isIdentityCertExprired
+ }
+ }
+ }
+
+ return nil
+}
+
+// IntegrationRuntimeCustomSetupScriptProperties custom setup script properties for a managed dedicated
+// integration runtime.
+type IntegrationRuntimeCustomSetupScriptProperties struct {
+ // BlobContainerURI - The URI of the Azure blob container that contains the custom setup script.
+ BlobContainerURI *string `json:"blobContainerUri,omitempty"`
+ // SasToken - The SAS token of the Azure blob container.
+ SasToken *SecureString `json:"sasToken,omitempty"`
+}
+
+// IntegrationRuntimeDataProxyProperties data proxy properties for a managed dedicated integration runtime.
+type IntegrationRuntimeDataProxyProperties struct {
+ // ConnectVia - The self-hosted integration runtime reference.
+ ConnectVia *EntityReference `json:"connectVia,omitempty"`
+ // StagingLinkedService - The staging linked service reference.
+ StagingLinkedService *EntityReference `json:"stagingLinkedService,omitempty"`
+ // Path - The path to contain the staged data in the Blob storage.
+ Path *string `json:"path,omitempty"`
+}
+
+// IntegrationRuntimeListResponse a list of integration runtime resources.
+type IntegrationRuntimeListResponse struct {
+ autorest.Response `json:"-"`
+ // Value - List of integration runtimes.
+ Value *[]IntegrationRuntimeResource `json:"value,omitempty"`
+ // NextLink - The link to the next page of results, if any remaining results exist.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// IntegrationRuntimeListResponseIterator provides access to a complete listing of
+// IntegrationRuntimeResource values.
+type IntegrationRuntimeListResponseIterator struct {
+ i int
+ page IntegrationRuntimeListResponsePage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *IntegrationRuntimeListResponseIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/IntegrationRuntimeListResponseIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *IntegrationRuntimeListResponseIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter IntegrationRuntimeListResponseIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter IntegrationRuntimeListResponseIterator) Response() IntegrationRuntimeListResponse {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter IntegrationRuntimeListResponseIterator) Value() IntegrationRuntimeResource {
+ if !iter.page.NotDone() {
+ return IntegrationRuntimeResource{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the IntegrationRuntimeListResponseIterator type.
+func NewIntegrationRuntimeListResponseIterator(page IntegrationRuntimeListResponsePage) IntegrationRuntimeListResponseIterator {
+ return IntegrationRuntimeListResponseIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (irlr IntegrationRuntimeListResponse) IsEmpty() bool {
+ return irlr.Value == nil || len(*irlr.Value) == 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 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(irlr.NextLink)))
+}
+
+// IntegrationRuntimeListResponsePage contains a page of IntegrationRuntimeResource values.
+type IntegrationRuntimeListResponsePage struct {
+ fn func(context.Context, IntegrationRuntimeListResponse) (IntegrationRuntimeListResponse, error)
+ irlr IntegrationRuntimeListResponse
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *IntegrationRuntimeListResponsePage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/IntegrationRuntimeListResponsePage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.irlr)
+ if err != nil {
+ return err
+ }
+ page.irlr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *IntegrationRuntimeListResponsePage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page IntegrationRuntimeListResponsePage) NotDone() bool {
+ return !page.irlr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page IntegrationRuntimeListResponsePage) Response() IntegrationRuntimeListResponse {
+ return page.irlr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page IntegrationRuntimeListResponsePage) Values() []IntegrationRuntimeResource {
+ if page.irlr.IsEmpty() {
+ return nil
+ }
+ return *page.irlr.Value
+}
+
+// Creates a new instance of the IntegrationRuntimeListResponsePage type.
+func NewIntegrationRuntimeListResponsePage(getNextPage func(context.Context, IntegrationRuntimeListResponse) (IntegrationRuntimeListResponse, error)) IntegrationRuntimeListResponsePage {
+ return IntegrationRuntimeListResponsePage{fn: getNextPage}
+}
+
+// IntegrationRuntimeMonitoringData get monitoring data response.
+type IntegrationRuntimeMonitoringData struct {
+ autorest.Response `json:"-"`
+ // Name - Integration runtime name.
+ Name *string `json:"name,omitempty"`
+ // Nodes - Integration runtime node monitoring data.
+ Nodes *[]IntegrationRuntimeNodeMonitoringData `json:"nodes,omitempty"`
+}
+
+// IntegrationRuntimeNodeIPAddress the IP address of self-hosted integration runtime node.
+type IntegrationRuntimeNodeIPAddress struct {
+ autorest.Response `json:"-"`
+ // IPAddress - READ-ONLY; The IP address of self-hosted integration runtime node.
+ IPAddress *string `json:"ipAddress,omitempty"`
+}
+
+// IntegrationRuntimeNodeMonitoringData monitoring data for integration runtime node.
+type IntegrationRuntimeNodeMonitoringData struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // NodeName - READ-ONLY; Name of the integration runtime node.
+ NodeName *string `json:"nodeName,omitempty"`
+ // AvailableMemoryInMB - READ-ONLY; Available memory (MB) on the integration runtime node.
+ AvailableMemoryInMB *int32 `json:"availableMemoryInMB,omitempty"`
+ // CPUUtilization - READ-ONLY; CPU percentage on the integration runtime node.
+ CPUUtilization *int32 `json:"cpuUtilization,omitempty"`
+ // ConcurrentJobsLimit - READ-ONLY; Maximum concurrent jobs on the integration runtime node.
+ ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"`
+ // ConcurrentJobsRunning - READ-ONLY; The number of jobs currently running on the integration runtime node.
+ ConcurrentJobsRunning *int32 `json:"concurrentJobsRunning,omitempty"`
+ // MaxConcurrentJobs - READ-ONLY; The maximum concurrent jobs in this integration runtime.
+ MaxConcurrentJobs *int32 `json:"maxConcurrentJobs,omitempty"`
+ // SentBytes - READ-ONLY; Sent bytes on the integration runtime node.
+ SentBytes *float64 `json:"sentBytes,omitempty"`
+ // ReceivedBytes - READ-ONLY; Received bytes on the integration runtime node.
+ ReceivedBytes *float64 `json:"receivedBytes,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for IntegrationRuntimeNodeMonitoringData.
+func (irnmd IntegrationRuntimeNodeMonitoringData) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ for k, v := range irnmd.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeNodeMonitoringData struct.
+func (irnmd *IntegrationRuntimeNodeMonitoringData) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if irnmd.AdditionalProperties == nil {
+ irnmd.AdditionalProperties = make(map[string]interface{})
+ }
+ irnmd.AdditionalProperties[k] = additionalProperties
+ }
+ case "nodeName":
+ if v != nil {
+ var nodeName string
+ err = json.Unmarshal(*v, &nodeName)
+ if err != nil {
+ return err
+ }
+ irnmd.NodeName = &nodeName
+ }
+ case "availableMemoryInMB":
+ if v != nil {
+ var availableMemoryInMB int32
+ err = json.Unmarshal(*v, &availableMemoryInMB)
+ if err != nil {
+ return err
+ }
+ irnmd.AvailableMemoryInMB = &availableMemoryInMB
+ }
+ case "cpuUtilization":
+ if v != nil {
+ var CPUUtilization int32
+ err = json.Unmarshal(*v, &CPUUtilization)
+ if err != nil {
+ return err
+ }
+ irnmd.CPUUtilization = &CPUUtilization
+ }
+ case "concurrentJobsLimit":
+ if v != nil {
+ var concurrentJobsLimit int32
+ err = json.Unmarshal(*v, &concurrentJobsLimit)
+ if err != nil {
+ return err
+ }
+ irnmd.ConcurrentJobsLimit = &concurrentJobsLimit
+ }
+ case "concurrentJobsRunning":
+ if v != nil {
+ var concurrentJobsRunning int32
+ err = json.Unmarshal(*v, &concurrentJobsRunning)
+ if err != nil {
+ return err
+ }
+ irnmd.ConcurrentJobsRunning = &concurrentJobsRunning
+ }
+ case "maxConcurrentJobs":
+ if v != nil {
+ var maxConcurrentJobs int32
+ err = json.Unmarshal(*v, &maxConcurrentJobs)
+ if err != nil {
+ return err
+ }
+ irnmd.MaxConcurrentJobs = &maxConcurrentJobs
+ }
+ case "sentBytes":
+ if v != nil {
+ var sentBytes float64
+ err = json.Unmarshal(*v, &sentBytes)
+ if err != nil {
+ return err
+ }
+ irnmd.SentBytes = &sentBytes
+ }
+ case "receivedBytes":
+ if v != nil {
+ var receivedBytes float64
+ err = json.Unmarshal(*v, &receivedBytes)
+ if err != nil {
+ return err
+ }
+ irnmd.ReceivedBytes = &receivedBytes
+ }
+ }
+ }
+
+ return nil
+}
+
+// IntegrationRuntimeObjectMetadataRefreshFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
+type IntegrationRuntimeObjectMetadataRefreshFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *IntegrationRuntimeObjectMetadataRefreshFuture) Result(client IntegrationRuntimeObjectMetadataClient) (somsr SsisObjectMetadataStatusResponse, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimeObjectMetadataRefreshFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimeObjectMetadataRefreshFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if somsr.Response.Response, err = future.GetResult(sender); err == nil && somsr.Response.Response.StatusCode != http.StatusNoContent {
+ somsr, err = client.RefreshResponder(somsr.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimeObjectMetadataRefreshFuture", "Result", somsr.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// IntegrationRuntimeReference integration runtime reference type.
+type IntegrationRuntimeReference struct {
+ // Type - Type of integration runtime.
+ Type *string `json:"type,omitempty"`
+ // ReferenceName - Reference integration runtime name.
+ ReferenceName *string `json:"referenceName,omitempty"`
+ // Parameters - Arguments for integration runtime.
+ Parameters map[string]interface{} `json:"parameters"`
+}
+
+// MarshalJSON is the custom marshaler for IntegrationRuntimeReference.
+func (irr IntegrationRuntimeReference) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if irr.Type != nil {
+ objectMap["type"] = irr.Type
+ }
+ if irr.ReferenceName != nil {
+ objectMap["referenceName"] = irr.ReferenceName
+ }
+ if irr.Parameters != nil {
+ objectMap["parameters"] = irr.Parameters
+ }
+ return json.Marshal(objectMap)
+}
+
+// IntegrationRuntimeRegenerateKeyParameters parameters to regenerate the authentication key.
+type IntegrationRuntimeRegenerateKeyParameters struct {
+ // KeyName - The name of the authentication key to regenerate. Possible values include: 'AuthKey1', 'AuthKey2'
+ KeyName IntegrationRuntimeAuthKeyName `json:"keyName,omitempty"`
+}
+
+// IntegrationRuntimeResource integration runtime resource type.
+type IntegrationRuntimeResource struct {
+ autorest.Response `json:"-"`
+ // Properties - Integration runtime properties.
+ Properties BasicIntegrationRuntime `json:"properties,omitempty"`
+ // ID - READ-ONLY; The resource identifier.
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; The resource name.
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; The resource type.
+ Type *string `json:"type,omitempty"`
+ // Etag - READ-ONLY; Etag identifies change in the resource.
+ Etag *string `json:"etag,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeResource struct.
+func (irr *IntegrationRuntimeResource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ properties, err := unmarshalBasicIntegrationRuntime(*v)
+ if err != nil {
+ return err
+ }
+ irr.Properties = properties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ irr.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ irr.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ irr.Type = &typeVar
+ }
+ case "etag":
+ if v != nil {
+ var etag string
+ err = json.Unmarshal(*v, &etag)
+ if err != nil {
+ return err
+ }
+ irr.Etag = &etag
+ }
+ }
+ }
+
+ return nil
+}
+
+// IntegrationRuntimeSsisCatalogInfo catalog information for managed dedicated integration runtime.
+type IntegrationRuntimeSsisCatalogInfo struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // CatalogServerEndpoint - The catalog database server URL.
+ CatalogServerEndpoint *string `json:"catalogServerEndpoint,omitempty"`
+ // CatalogAdminUserName - The administrator user name of catalog database.
+ CatalogAdminUserName *string `json:"catalogAdminUserName,omitempty"`
+ // CatalogAdminPassword - The password of the administrator user account of the catalog database.
+ CatalogAdminPassword *SecureString `json:"catalogAdminPassword,omitempty"`
+ // CatalogPricingTier - The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: 'IntegrationRuntimeSsisCatalogPricingTierBasic', 'IntegrationRuntimeSsisCatalogPricingTierStandard', 'IntegrationRuntimeSsisCatalogPricingTierPremium', 'IntegrationRuntimeSsisCatalogPricingTierPremiumRS'
+ CatalogPricingTier IntegrationRuntimeSsisCatalogPricingTier `json:"catalogPricingTier,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for IntegrationRuntimeSsisCatalogInfo.
+func (irsci IntegrationRuntimeSsisCatalogInfo) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if irsci.CatalogServerEndpoint != nil {
+ objectMap["catalogServerEndpoint"] = irsci.CatalogServerEndpoint
+ }
+ if irsci.CatalogAdminUserName != nil {
+ objectMap["catalogAdminUserName"] = irsci.CatalogAdminUserName
+ }
+ if irsci.CatalogAdminPassword != nil {
+ objectMap["catalogAdminPassword"] = irsci.CatalogAdminPassword
+ }
+ if irsci.CatalogPricingTier != "" {
+ objectMap["catalogPricingTier"] = irsci.CatalogPricingTier
+ }
+ for k, v := range irsci.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeSsisCatalogInfo struct.
+func (irsci *IntegrationRuntimeSsisCatalogInfo) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if irsci.AdditionalProperties == nil {
+ irsci.AdditionalProperties = make(map[string]interface{})
+ }
+ irsci.AdditionalProperties[k] = additionalProperties
+ }
+ case "catalogServerEndpoint":
+ if v != nil {
+ var catalogServerEndpoint string
+ err = json.Unmarshal(*v, &catalogServerEndpoint)
+ if err != nil {
+ return err
+ }
+ irsci.CatalogServerEndpoint = &catalogServerEndpoint
+ }
+ case "catalogAdminUserName":
+ if v != nil {
+ var catalogAdminUserName string
+ err = json.Unmarshal(*v, &catalogAdminUserName)
+ if err != nil {
+ return err
+ }
+ irsci.CatalogAdminUserName = &catalogAdminUserName
+ }
+ case "catalogAdminPassword":
+ if v != nil {
+ var catalogAdminPassword SecureString
+ err = json.Unmarshal(*v, &catalogAdminPassword)
+ if err != nil {
+ return err
+ }
+ irsci.CatalogAdminPassword = &catalogAdminPassword
+ }
+ case "catalogPricingTier":
+ if v != nil {
+ var catalogPricingTier IntegrationRuntimeSsisCatalogPricingTier
+ err = json.Unmarshal(*v, &catalogPricingTier)
+ if err != nil {
+ return err
+ }
+ irsci.CatalogPricingTier = catalogPricingTier
+ }
+ }
+ }
+
+ return nil
+}
+
+// IntegrationRuntimeSsisProperties SSIS properties for managed integration runtime.
+type IntegrationRuntimeSsisProperties struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // CatalogInfo - Catalog information for managed dedicated integration runtime.
+ CatalogInfo *IntegrationRuntimeSsisCatalogInfo `json:"catalogInfo,omitempty"`
+ // LicenseType - License type for bringing your own license scenario. Possible values include: 'BasePrice', 'LicenseIncluded'
+ LicenseType IntegrationRuntimeLicenseType `json:"licenseType,omitempty"`
+ // CustomSetupScriptProperties - Custom setup script properties for a managed dedicated integration runtime.
+ CustomSetupScriptProperties *IntegrationRuntimeCustomSetupScriptProperties `json:"customSetupScriptProperties,omitempty"`
+ // DataProxyProperties - Data proxy properties for a managed dedicated integration runtime.
+ DataProxyProperties *IntegrationRuntimeDataProxyProperties `json:"dataProxyProperties,omitempty"`
+ // Edition - The edition for the SSIS Integration Runtime. Possible values include: 'Standard', 'Enterprise'
+ Edition IntegrationRuntimeEdition `json:"edition,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for IntegrationRuntimeSsisProperties.
+func (irsp IntegrationRuntimeSsisProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if irsp.CatalogInfo != nil {
+ objectMap["catalogInfo"] = irsp.CatalogInfo
+ }
+ if irsp.LicenseType != "" {
+ objectMap["licenseType"] = irsp.LicenseType
+ }
+ if irsp.CustomSetupScriptProperties != nil {
+ objectMap["customSetupScriptProperties"] = irsp.CustomSetupScriptProperties
+ }
+ if irsp.DataProxyProperties != nil {
+ objectMap["dataProxyProperties"] = irsp.DataProxyProperties
+ }
+ if irsp.Edition != "" {
+ objectMap["edition"] = irsp.Edition
+ }
+ for k, v := range irsp.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeSsisProperties struct.
+func (irsp *IntegrationRuntimeSsisProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if irsp.AdditionalProperties == nil {
+ irsp.AdditionalProperties = make(map[string]interface{})
+ }
+ irsp.AdditionalProperties[k] = additionalProperties
+ }
+ case "catalogInfo":
+ if v != nil {
+ var catalogInfo IntegrationRuntimeSsisCatalogInfo
+ err = json.Unmarshal(*v, &catalogInfo)
+ if err != nil {
+ return err
+ }
+ irsp.CatalogInfo = &catalogInfo
+ }
+ case "licenseType":
+ if v != nil {
+ var licenseType IntegrationRuntimeLicenseType
+ err = json.Unmarshal(*v, &licenseType)
+ if err != nil {
+ return err
+ }
+ irsp.LicenseType = licenseType
+ }
+ case "customSetupScriptProperties":
+ if v != nil {
+ var customSetupScriptProperties IntegrationRuntimeCustomSetupScriptProperties
+ err = json.Unmarshal(*v, &customSetupScriptProperties)
+ if err != nil {
+ return err
+ }
+ irsp.CustomSetupScriptProperties = &customSetupScriptProperties
+ }
+ case "dataProxyProperties":
+ if v != nil {
+ var dataProxyProperties IntegrationRuntimeDataProxyProperties
+ err = json.Unmarshal(*v, &dataProxyProperties)
+ if err != nil {
+ return err
+ }
+ irsp.DataProxyProperties = &dataProxyProperties
+ }
+ case "edition":
+ if v != nil {
+ var edition IntegrationRuntimeEdition
+ err = json.Unmarshal(*v, &edition)
+ if err != nil {
+ return err
+ }
+ irsp.Edition = edition
+ }
+ }
+ }
+
+ return nil
+}
+
+// IntegrationRuntimesStartFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
+type IntegrationRuntimesStartFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *IntegrationRuntimesStartFuture) Result(client IntegrationRuntimesClient) (irsr IntegrationRuntimeStatusResponse, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStartFuture")
+ return
+ }
+ sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
+ if irsr.Response.Response, err = future.GetResult(sender); err == nil && irsr.Response.Response.StatusCode != http.StatusNoContent {
+ irsr, err = client.StartResponder(irsr.Response.Response)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", irsr.Response.Response, "Failure responding to request")
+ }
+ }
+ return
+}
+
+// IntegrationRuntimesStopFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type IntegrationRuntimesStopFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *IntegrationRuntimesStopFuture) Result(client IntegrationRuntimesClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStopFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStopFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// BasicIntegrationRuntimeStatus integration runtime status.
+type BasicIntegrationRuntimeStatus interface {
+ AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool)
+ AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool)
+ AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool)
+}
+
+// IntegrationRuntimeStatus integration runtime status.
+type IntegrationRuntimeStatus struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // DataFactoryName - READ-ONLY; The data factory name which the integration runtime belong to.
+ DataFactoryName *string `json:"dataFactoryName,omitempty"`
+ // State - READ-ONLY; The state of integration runtime. Possible values include: 'IntegrationRuntimeStateInitial', 'IntegrationRuntimeStateStopped', 'IntegrationRuntimeStateStarted', 'IntegrationRuntimeStateStarting', 'IntegrationRuntimeStateStopping', 'IntegrationRuntimeStateNeedRegistration', 'IntegrationRuntimeStateOnline', 'IntegrationRuntimeStateLimited', 'IntegrationRuntimeStateOffline', 'IntegrationRuntimeStateAccessDenied'
+ State IntegrationRuntimeState `json:"state,omitempty"`
+ // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged'
+ Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"`
+}
+
+func unmarshalBasicIntegrationRuntimeStatus(body []byte) (BasicIntegrationRuntimeStatus, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
+
+ switch m["type"] {
+ case string(TypeBasicIntegrationRuntimeStatusTypeSelfHosted):
+ var shirs SelfHostedIntegrationRuntimeStatus
+ err := json.Unmarshal(body, &shirs)
+ return shirs, err
+ case string(TypeBasicIntegrationRuntimeStatusTypeManaged):
+ var mirs ManagedIntegrationRuntimeStatus
+ err := json.Unmarshal(body, &mirs)
+ return mirs, err
+ default:
+ var irs IntegrationRuntimeStatus
+ err := json.Unmarshal(body, &irs)
+ return irs, err
+ }
+}
+func unmarshalBasicIntegrationRuntimeStatusArray(body []byte) ([]BasicIntegrationRuntimeStatus, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
+
+ irsArray := make([]BasicIntegrationRuntimeStatus, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ irs, err := unmarshalBasicIntegrationRuntimeStatus(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ irsArray[index] = irs
+ }
+ return irsArray, nil
+}
+
+// MarshalJSON is the custom marshaler for IntegrationRuntimeStatus.
+func (irs IntegrationRuntimeStatus) MarshalJSON() ([]byte, error) {
+ irs.Type = TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus
+ objectMap := make(map[string]interface{})
+ if irs.Type != "" {
+ objectMap["type"] = irs.Type
+ }
+ for k, v := range irs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
+func (irs IntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) {
+ return nil, false
+}
+
+// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
+func (irs IntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) {
+ return nil, false
+}
+
+// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
+func (irs IntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) {
+ return &irs, true
+}
+
+// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
+func (irs IntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) {
+ return &irs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatus struct.
+func (irs *IntegrationRuntimeStatus) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if irs.AdditionalProperties == nil {
+ irs.AdditionalProperties = make(map[string]interface{})
+ }
+ irs.AdditionalProperties[k] = additionalProperties
+ }
+ case "dataFactoryName":
+ if v != nil {
+ var dataFactoryName string
+ err = json.Unmarshal(*v, &dataFactoryName)
+ if err != nil {
+ return err
+ }
+ irs.DataFactoryName = &dataFactoryName
+ }
+ case "state":
+ if v != nil {
+ var state IntegrationRuntimeState
+ err = json.Unmarshal(*v, &state)
+ if err != nil {
+ return err
+ }
+ irs.State = state
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicIntegrationRuntimeStatus
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ irs.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// IntegrationRuntimeStatusListResponse a list of integration runtime status.
+type IntegrationRuntimeStatusListResponse struct {
+ // Value - List of integration runtime status.
+ Value *[]IntegrationRuntimeStatusResponse `json:"value,omitempty"`
+ // NextLink - The link to the next page of results, if any remaining results exist.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// IntegrationRuntimeStatusResponse integration runtime status response.
+type IntegrationRuntimeStatusResponse struct {
+ autorest.Response `json:"-"`
+ // Name - READ-ONLY; The integration runtime name.
+ Name *string `json:"name,omitempty"`
+ // Properties - Integration runtime properties.
+ Properties BasicIntegrationRuntimeStatus `json:"properties,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatusResponse struct.
+func (irsr *IntegrationRuntimeStatusResponse) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ irsr.Name = &name
+ }
+ case "properties":
+ if v != nil {
+ properties, err := unmarshalBasicIntegrationRuntimeStatus(*v)
+ if err != nil {
+ return err
+ }
+ irsr.Properties = properties
+ }
+ }
+ }
+
+ return nil
+}
+
+// IntegrationRuntimeVNetProperties vNet properties for managed integration runtime.
+type IntegrationRuntimeVNetProperties struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // VNetID - The ID of the VNet that this integration runtime will join.
+ VNetID *string `json:"vNetId,omitempty"`
+ // Subnet - The name of the subnet this integration runtime will join.
+ Subnet *string `json:"subnet,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for IntegrationRuntimeVNetProperties.
+func (irvnp IntegrationRuntimeVNetProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if irvnp.VNetID != nil {
+ objectMap["vNetId"] = irvnp.VNetID
+ }
+ if irvnp.Subnet != nil {
+ objectMap["subnet"] = irvnp.Subnet
+ }
+ for k, v := range irvnp.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeVNetProperties struct.
+func (irvnp *IntegrationRuntimeVNetProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if irvnp.AdditionalProperties == nil {
+ irvnp.AdditionalProperties = make(map[string]interface{})
+ }
+ irvnp.AdditionalProperties[k] = additionalProperties
+ }
+ case "vNetId":
+ if v != nil {
+ var vNetID string
+ err = json.Unmarshal(*v, &vNetID)
+ if err != nil {
+ return err
+ }
+ irvnp.VNetID = &vNetID
+ }
+ case "subnet":
+ if v != nil {
+ var subnet string
+ err = json.Unmarshal(*v, &subnet)
+ if err != nil {
+ return err
+ }
+ irvnp.Subnet = &subnet
+ }
+ }
+ }
+
+ return nil
+}
+
+// JiraLinkedService jira Service linked service.
+type JiraLinkedService struct {
+ // JiraLinkedServiceTypeProperties - Jira Service linked service properties.
+ *JiraLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for JiraLinkedService.
+func (jls JiraLinkedService) MarshalJSON() ([]byte, error) {
+ jls.Type = TypeJira
+ objectMap := make(map[string]interface{})
+ if jls.JiraLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = jls.JiraLinkedServiceTypeProperties
+ }
+ if jls.ConnectVia != nil {
+ objectMap["connectVia"] = jls.ConnectVia
+ }
+ if jls.Description != nil {
+ objectMap["description"] = jls.Description
+ }
+ if jls.Parameters != nil {
+ objectMap["parameters"] = jls.Parameters
+ }
+ if jls.Annotations != nil {
+ objectMap["annotations"] = jls.Annotations
+ }
+ if jls.Type != "" {
+ objectMap["type"] = jls.Type
+ }
+ for k, v := range jls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return &jls, true
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for JiraLinkedService.
+func (jls JiraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &jls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for JiraLinkedService struct.
+func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var jiraLinkedServiceTypeProperties JiraLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &jiraLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ jls.JiraLinkedServiceTypeProperties = &jiraLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if jls.AdditionalProperties == nil {
+ jls.AdditionalProperties = make(map[string]interface{})
+ }
+ jls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ jls.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ jls.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ jls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ jls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ jls.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// JiraLinkedServiceTypeProperties jira Service linked service properties.
+type JiraLinkedServiceTypeProperties struct {
+ // Host - The IP address or host name of the Jira service. (e.g. jira.example.com)
+ Host interface{} `json:"host,omitempty"`
+ // Port - The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP.
+ Port interface{} `json:"port,omitempty"`
+ // Username - The user name that you use to access Jira Service.
+ Username interface{} `json:"username,omitempty"`
+ // Password - The password corresponding to the user name that you provided in the username field.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
+ UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
+ // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
+ UseHostVerification interface{} `json:"useHostVerification,omitempty"`
+ // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
+ UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for JiraLinkedServiceTypeProperties struct.
+func (jlstp *JiraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "host":
+ if v != nil {
+ var host interface{}
+ err = json.Unmarshal(*v, &host)
+ if err != nil {
+ return err
+ }
+ jlstp.Host = host
+ }
+ case "port":
+ if v != nil {
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
+ if err != nil {
+ return err
+ }
+ jlstp.Port = port
+ }
+ case "username":
+ if v != nil {
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
+ if err != nil {
+ return err
+ }
+ jlstp.Username = username
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ jlstp.Password = password
+ }
+ case "useEncryptedEndpoints":
+ if v != nil {
+ var useEncryptedEndpoints interface{}
+ err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ if err != nil {
+ return err
+ }
+ jlstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ }
+ case "useHostVerification":
+ if v != nil {
+ var useHostVerification interface{}
+ err = json.Unmarshal(*v, &useHostVerification)
+ if err != nil {
+ return err
+ }
+ jlstp.UseHostVerification = useHostVerification
+ }
+ case "usePeerVerification":
+ if v != nil {
+ var usePeerVerification interface{}
+ err = json.Unmarshal(*v, &usePeerVerification)
+ if err != nil {
+ return err
+ }
+ jlstp.UsePeerVerification = usePeerVerification
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ jlstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// JiraObjectDataset jira Service dataset.
+type JiraObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for JiraObjectDataset.
+func (jod JiraObjectDataset) MarshalJSON() ([]byte, error) {
+ jod.Type = TypeJiraObject
+ objectMap := make(map[string]interface{})
+ if jod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = jod.GenericDatasetTypeProperties
+ }
+ if jod.Description != nil {
+ objectMap["description"] = jod.Description
+ }
+ if jod.Structure != nil {
+ objectMap["structure"] = jod.Structure
+ }
+ if jod.Schema != nil {
+ objectMap["schema"] = jod.Schema
+ }
+ if jod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = jod.LinkedServiceName
+ }
+ if jod.Parameters != nil {
+ objectMap["parameters"] = jod.Parameters
+ }
+ if jod.Annotations != nil {
+ objectMap["annotations"] = jod.Annotations
+ }
+ if jod.Folder != nil {
+ objectMap["folder"] = jod.Folder
+ }
+ if jod.Type != "" {
+ objectMap["type"] = jod.Type
+ }
+ for k, v := range jod.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
+}
+
+// AsResponsysObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsVerticaTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
+
+// AsNetezzaTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsXeroObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSquareObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSparkObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
+}
+
+// AsShopifyObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
+}
+
+// AsServiceNowObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
+
+// AsQuickBooksObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return &jod, true
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for JiraObjectDataset.
+func (jod JiraObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &jod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for JiraObjectDataset struct.
+func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ jod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if jod.AdditionalProperties == nil {
+ jod.AdditionalProperties = make(map[string]interface{})
+ }
+ jod.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ jod.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ jod.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ jod.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ jod.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ jod.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ jod.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ jod.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ jod.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// JiraSource a copy activity Jira Service source.
+type JiraSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for JiraSource.
+func (js JiraSource) MarshalJSON() ([]byte, error) {
+ js.Type = TypeJiraSource
+ objectMap := make(map[string]interface{})
+ if js.Query != nil {
+ objectMap["query"] = js.Query
+ }
+ if js.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = js.SourceRetryCount
+ }
+ if js.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = js.SourceRetryWait
+ }
+ if js.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = js.MaxConcurrentConnections
+ }
+ if js.Type != "" {
+ objectMap["type"] = js.Type
+ }
+ for k, v := range js.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsJiraSource() (*JiraSource, bool) {
+ return &js, true
+}
+
+// AsImpalaSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for JiraSource.
+func (js JiraSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &js, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for JiraSource struct.
+func (js *JiraSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ js.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if js.AdditionalProperties == nil {
+ js.AdditionalProperties = make(map[string]interface{})
+ }
+ js.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ js.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ js.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ js.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ js.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// JSONFormat the data stored in JSON format.
+type JSONFormat struct {
+ // FilePattern - File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive.
+ FilePattern interface{} `json:"filePattern,omitempty"`
+ // NestingSeparator - The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string).
+ NestingSeparator interface{} `json:"nestingSeparator,omitempty"`
+ // EncodingName - The code page name of the preferred encoding. If not provided, the default value is 'utf-8', unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported values can be found in the 'Name' column of the table of encodings in the following reference: https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType string).
+ EncodingName interface{} `json:"encodingName,omitempty"`
+ // JSONNodeReference - The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string).
+ JSONNodeReference interface{} `json:"jsonNodeReference,omitempty"`
+ // JSONPathDefinition - The JSONPath definition for each column mapping with a customized column name to extract data from JSON file. For fields under root object, start with "$"; for fields inside the array chosen by jsonNodeReference property, start from the array element. Example: {"Column1": "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType object).
+ JSONPathDefinition interface{} `json:"jsonPathDefinition,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Serializer - Serializer. Type: string (or Expression with resultType string).
+ Serializer interface{} `json:"serializer,omitempty"`
+ // Deserializer - Deserializer. Type: string (or Expression with resultType string).
+ Deserializer interface{} `json:"deserializer,omitempty"`
+ // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
+ Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for JSONFormat.
+func (jf JSONFormat) MarshalJSON() ([]byte, error) {
+ jf.Type = TypeJSONFormat
+ objectMap := make(map[string]interface{})
+ if jf.FilePattern != nil {
+ objectMap["filePattern"] = jf.FilePattern
+ }
+ if jf.NestingSeparator != nil {
+ objectMap["nestingSeparator"] = jf.NestingSeparator
+ }
+ if jf.EncodingName != nil {
+ objectMap["encodingName"] = jf.EncodingName
+ }
+ if jf.JSONNodeReference != nil {
+ objectMap["jsonNodeReference"] = jf.JSONNodeReference
+ }
+ if jf.JSONPathDefinition != nil {
+ objectMap["jsonPathDefinition"] = jf.JSONPathDefinition
+ }
+ if jf.Serializer != nil {
+ objectMap["serializer"] = jf.Serializer
+ }
+ if jf.Deserializer != nil {
+ objectMap["deserializer"] = jf.Deserializer
+ }
+ if jf.Type != "" {
+ objectMap["type"] = jf.Type
+ }
+ for k, v := range jf.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsParquetFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
+func (jf JSONFormat) AsParquetFormat() (*ParquetFormat, bool) {
+ return nil, false
+}
+
+// AsOrcFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
+func (jf JSONFormat) AsOrcFormat() (*OrcFormat, bool) {
+ return nil, false
+}
+
+// AsAvroFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
+func (jf JSONFormat) AsAvroFormat() (*AvroFormat, bool) {
+ return nil, false
+}
+
+// AsJSONFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
+func (jf JSONFormat) AsJSONFormat() (*JSONFormat, bool) {
+ return &jf, true
+}
+
+// AsTextFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
+func (jf JSONFormat) AsTextFormat() (*TextFormat, bool) {
+ return nil, false
+}
+
+// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
+func (jf JSONFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
+ return nil, false
+}
+
+// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
+func (jf JSONFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
+ return &jf, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for JSONFormat struct.
+func (jf *JSONFormat) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "filePattern":
+ if v != nil {
+ var filePattern interface{}
+ err = json.Unmarshal(*v, &filePattern)
+ if err != nil {
+ return err
+ }
+ jf.FilePattern = filePattern
+ }
+ case "nestingSeparator":
+ if v != nil {
+ var nestingSeparator interface{}
+ err = json.Unmarshal(*v, &nestingSeparator)
+ if err != nil {
+ return err
+ }
+ jf.NestingSeparator = nestingSeparator
+ }
+ case "encodingName":
+ if v != nil {
+ var encodingName interface{}
+ err = json.Unmarshal(*v, &encodingName)
+ if err != nil {
+ return err
+ }
+ jf.EncodingName = encodingName
+ }
+ case "jsonNodeReference":
+ if v != nil {
+ var JSONNodeReference interface{}
+ err = json.Unmarshal(*v, &JSONNodeReference)
+ if err != nil {
+ return err
+ }
+ jf.JSONNodeReference = JSONNodeReference
+ }
+ case "jsonPathDefinition":
+ if v != nil {
+ var JSONPathDefinition interface{}
+ err = json.Unmarshal(*v, &JSONPathDefinition)
+ if err != nil {
+ return err
+ }
+ jf.JSONPathDefinition = JSONPathDefinition
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if jf.AdditionalProperties == nil {
+ jf.AdditionalProperties = make(map[string]interface{})
+ }
+ jf.AdditionalProperties[k] = additionalProperties
+ }
+ case "serializer":
+ if v != nil {
+ var serializer interface{}
+ err = json.Unmarshal(*v, &serializer)
+ if err != nil {
+ return err
+ }
+ jf.Serializer = serializer
+ }
+ case "deserializer":
+ if v != nil {
+ var deserializer interface{}
+ err = json.Unmarshal(*v, &deserializer)
+ if err != nil {
+ return err
+ }
+ jf.Deserializer = deserializer
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDatasetStorageFormat
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ jf.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// LinkedIntegrationRuntime the linked integration runtime information.
+type LinkedIntegrationRuntime struct {
+ // Name - READ-ONLY; The name of the linked integration runtime.
+ Name *string `json:"name,omitempty"`
+ // SubscriptionID - READ-ONLY; The subscription ID for which the linked integration runtime belong to.
+ SubscriptionID *string `json:"subscriptionId,omitempty"`
+ // DataFactoryName - READ-ONLY; The name of the data factory for which the linked integration runtime belong to.
+ DataFactoryName *string `json:"dataFactoryName,omitempty"`
+ // DataFactoryLocation - READ-ONLY; The location of the data factory for which the linked integration runtime belong to.
+ DataFactoryLocation *string `json:"dataFactoryLocation,omitempty"`
+ // CreateTime - READ-ONLY; The creating time of the linked integration runtime.
+ CreateTime *date.Time `json:"createTime,omitempty"`
+}
+
+// LinkedIntegrationRuntimeKeyAuthorization the key authorization type integration runtime.
+type LinkedIntegrationRuntimeKeyAuthorization struct {
+ // Key - The key used for authorization.
+ Key *SecureString `json:"key,omitempty"`
+ // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey'
+ AuthorizationType AuthorizationType `json:"authorizationType,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeKeyAuthorization.
+func (lirka LinkedIntegrationRuntimeKeyAuthorization) MarshalJSON() ([]byte, error) {
+ lirka.AuthorizationType = AuthorizationTypeKey
+ objectMap := make(map[string]interface{})
+ if lirka.Key != nil {
+ objectMap["key"] = lirka.Key
+ }
+ if lirka.AuthorizationType != "" {
+ objectMap["authorizationType"] = lirka.AuthorizationType
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization.
+func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) {
+ return nil, false
+}
+
+// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization.
+func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) {
+ return &lirka, true
+}
+
+// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization.
+func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeKeyAuthorization.
+func (lirka LinkedIntegrationRuntimeKeyAuthorization) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) {
+ return &lirka, true
+}
+
+// LinkedIntegrationRuntimeRbacAuthorization the role based access control (RBAC) authorization type
+// integration runtime.
+type LinkedIntegrationRuntimeRbacAuthorization struct {
+ // ResourceID - The resource identifier of the integration runtime to be shared.
+ ResourceID *string `json:"resourceId,omitempty"`
+ // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey'
+ AuthorizationType AuthorizationType `json:"authorizationType,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeRbacAuthorization.
+func (lirra LinkedIntegrationRuntimeRbacAuthorization) MarshalJSON() ([]byte, error) {
+ lirra.AuthorizationType = AuthorizationTypeRBAC
+ objectMap := make(map[string]interface{})
+ if lirra.ResourceID != nil {
+ objectMap["resourceId"] = lirra.ResourceID
+ }
+ if lirra.AuthorizationType != "" {
+ objectMap["authorizationType"] = lirra.AuthorizationType
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization.
+func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) {
+ return &lirra, true
+}
+
+// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization.
+func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) {
+ return nil, false
+}
+
+// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization.
+func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeRbacAuthorization.
+func (lirra LinkedIntegrationRuntimeRbacAuthorization) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) {
+ return &lirra, true
+}
+
+// LinkedIntegrationRuntimeRequest data factory name for linked integration runtime request.
+type LinkedIntegrationRuntimeRequest struct {
+ // LinkedFactoryName - The data factory name for linked integration runtime.
+ LinkedFactoryName *string `json:"factoryName,omitempty"`
+}
+
+// BasicLinkedIntegrationRuntimeType the base definition of a linked integration runtime.
+type BasicLinkedIntegrationRuntimeType interface {
+ AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool)
+ AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool)
+ AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool)
+}
+
+// LinkedIntegrationRuntimeType the base definition of a linked integration runtime.
+type LinkedIntegrationRuntimeType struct {
+ // AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeType', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey'
+ AuthorizationType AuthorizationType `json:"authorizationType,omitempty"`
+}
+
+func unmarshalBasicLinkedIntegrationRuntimeType(body []byte) (BasicLinkedIntegrationRuntimeType, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
+
+ switch m["authorizationType"] {
+ case string(AuthorizationTypeRBAC):
+ var lirra LinkedIntegrationRuntimeRbacAuthorization
+ err := json.Unmarshal(body, &lirra)
+ return lirra, err
+ case string(AuthorizationTypeKey):
+ var lirka LinkedIntegrationRuntimeKeyAuthorization
+ err := json.Unmarshal(body, &lirka)
+ return lirka, err
+ default:
+ var lirt LinkedIntegrationRuntimeType
+ err := json.Unmarshal(body, &lirt)
+ return lirt, err
+ }
+}
+func unmarshalBasicLinkedIntegrationRuntimeTypeArray(body []byte) ([]BasicLinkedIntegrationRuntimeType, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
+
+ lirtArray := make([]BasicLinkedIntegrationRuntimeType, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ lirt, err := unmarshalBasicLinkedIntegrationRuntimeType(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ lirtArray[index] = lirt
+ }
+ return lirtArray, nil
+}
+
+// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeType.
+func (lirt LinkedIntegrationRuntimeType) MarshalJSON() ([]byte, error) {
+ lirt.AuthorizationType = AuthorizationTypeLinkedIntegrationRuntimeType
+ objectMap := make(map[string]interface{})
+ if lirt.AuthorizationType != "" {
+ objectMap["authorizationType"] = lirt.AuthorizationType
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsLinkedIntegrationRuntimeRbacAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType.
+func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeRbacAuthorization() (*LinkedIntegrationRuntimeRbacAuthorization, bool) {
+ return nil, false
+}
+
+// AsLinkedIntegrationRuntimeKeyAuthorization is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType.
+func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeKeyAuthorization() (*LinkedIntegrationRuntimeKeyAuthorization, bool) {
+ return nil, false
+}
+
+// AsLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType.
+func (lirt LinkedIntegrationRuntimeType) AsLinkedIntegrationRuntimeType() (*LinkedIntegrationRuntimeType, bool) {
+ return &lirt, true
+}
+
+// AsBasicLinkedIntegrationRuntimeType is the BasicLinkedIntegrationRuntimeType implementation for LinkedIntegrationRuntimeType.
+func (lirt LinkedIntegrationRuntimeType) AsBasicLinkedIntegrationRuntimeType() (BasicLinkedIntegrationRuntimeType, bool) {
+ return &lirt, true
+}
+
+// BasicLinkedService the Azure Data Factory nested object which contains the information and credential which can be
+// used to connect with related store or compute resource.
+type BasicLinkedService interface {
+ AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool)
+ AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool)
+ AsSapTableLinkedService() (*SapTableLinkedService, bool)
+ AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool)
+ AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool)
+ AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool)
+ AsResponsysLinkedService() (*ResponsysLinkedService, bool)
+ AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool)
+ AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool)
+ AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool)
+ AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool)
+ AsNetezzaLinkedService() (*NetezzaLinkedService, bool)
+ AsVerticaLinkedService() (*VerticaLinkedService, bool)
+ AsZohoLinkedService() (*ZohoLinkedService, bool)
+ AsXeroLinkedService() (*XeroLinkedService, bool)
+ AsSquareLinkedService() (*SquareLinkedService, bool)
+ AsSparkLinkedService() (*SparkLinkedService, bool)
+ AsShopifyLinkedService() (*ShopifyLinkedService, bool)
+ AsServiceNowLinkedService() (*ServiceNowLinkedService, bool)
+ AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool)
+ AsPrestoLinkedService() (*PrestoLinkedService, bool)
+ AsPhoenixLinkedService() (*PhoenixLinkedService, bool)
+ AsPaypalLinkedService() (*PaypalLinkedService, bool)
+ AsMarketoLinkedService() (*MarketoLinkedService, bool)
+ AsMariaDBLinkedService() (*MariaDBLinkedService, bool)
+ AsMagentoLinkedService() (*MagentoLinkedService, bool)
+ AsJiraLinkedService() (*JiraLinkedService, bool)
+ AsImpalaLinkedService() (*ImpalaLinkedService, bool)
+ AsHubspotLinkedService() (*HubspotLinkedService, bool)
+ AsHiveLinkedService() (*HiveLinkedService, bool)
+ AsHBaseLinkedService() (*HBaseLinkedService, bool)
+ AsGreenplumLinkedService() (*GreenplumLinkedService, bool)
+ AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool)
+ AsEloquaLinkedService() (*EloquaLinkedService, bool)
+ AsDrillLinkedService() (*DrillLinkedService, bool)
+ AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool)
+ AsConcurLinkedService() (*ConcurLinkedService, bool)
+ AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool)
+ AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool)
+ AsSapHanaLinkedService() (*SapHanaLinkedService, bool)
+ AsSapBWLinkedService() (*SapBWLinkedService, bool)
+ AsSftpServerLinkedService() (*SftpServerLinkedService, bool)
+ AsFtpServerLinkedService() (*FtpServerLinkedService, bool)
+ AsHTTPLinkedService() (*HTTPLinkedService, bool)
+ AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool)
+ AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool)
+ AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool)
+ AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool)
+ AsRestServiceLinkedService() (*RestServiceLinkedService, bool)
+ AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool)
+ AsSapEccLinkedService() (*SapEccLinkedService, bool)
+ AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool)
+ AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool)
+ AsSalesforceLinkedService() (*SalesforceLinkedService, bool)
+ AsOffice365LinkedService() (*Office365LinkedService, bool)
+ AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool)
+ AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool)
+ AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool)
+ AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool)
+ AsMongoDbLinkedService() (*MongoDbLinkedService, bool)
+ AsCassandraLinkedService() (*CassandraLinkedService, bool)
+ AsWebLinkedService() (*WebLinkedService, bool)
+ AsODataLinkedService() (*ODataLinkedService, bool)
+ AsHdfsLinkedService() (*HdfsLinkedService, bool)
+ AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool)
+ AsInformixLinkedService() (*InformixLinkedService, bool)
+ AsOdbcLinkedService() (*OdbcLinkedService, bool)
+ AsAzureMLLinkedService() (*AzureMLLinkedService, bool)
+ AsTeradataLinkedService() (*TeradataLinkedService, bool)
+ AsDb2LinkedService() (*Db2LinkedService, bool)
+ AsSybaseLinkedService() (*SybaseLinkedService, bool)
+ AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool)
+ AsMySQLLinkedService() (*MySQLLinkedService, bool)
+ AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool)
+ AsOracleLinkedService() (*OracleLinkedService, bool)
+ AsFileServerLinkedService() (*FileServerLinkedService, bool)
+ AsHDInsightLinkedService() (*HDInsightLinkedService, bool)
+ AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool)
+ AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool)
+ AsDynamicsLinkedService() (*DynamicsLinkedService, bool)
+ AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool)
+ AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool)
+ AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool)
+ AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool)
+ AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool)
+ AsSQLServerLinkedService() (*SQLServerLinkedService, bool)
+ AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool)
+ AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool)
+ AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool)
+ AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool)
+ AsLinkedService() (*LinkedService, bool)
+}
+
+// LinkedService the Azure Data Factory nested object which contains the information and credential which can
+// be used to connect with related store or compute resource.
+type LinkedService struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
+
+ switch m["type"] {
+ case string(TypeAzureFunction):
+ var afls AzureFunctionLinkedService
+ err := json.Unmarshal(body, &afls)
+ return afls, err
+ case string(TypeAzureDataExplorer):
+ var adels AzureDataExplorerLinkedService
+ err := json.Unmarshal(body, &adels)
+ return adels, err
+ case string(TypeSapTable):
+ var stls SapTableLinkedService
+ err := json.Unmarshal(body, &stls)
+ return stls, err
+ case string(TypeGoogleAdWords):
+ var gawls GoogleAdWordsLinkedService
+ err := json.Unmarshal(body, &gawls)
+ return gawls, err
+ case string(TypeOracleServiceCloud):
+ var oscls OracleServiceCloudLinkedService
+ err := json.Unmarshal(body, &oscls)
+ return oscls, err
+ case string(TypeDynamicsAX):
+ var dals DynamicsAXLinkedService
+ err := json.Unmarshal(body, &dals)
+ return dals, err
+ case string(TypeResponsys):
+ var rls ResponsysLinkedService
+ err := json.Unmarshal(body, &rls)
+ return rls, err
+ case string(TypeAzureDatabricks):
+ var adls AzureDatabricksLinkedService
+ err := json.Unmarshal(body, &adls)
+ return adls, err
+ case string(TypeAzureDataLakeAnalytics):
+ var adlals AzureDataLakeAnalyticsLinkedService
+ err := json.Unmarshal(body, &adlals)
+ return adlals, err
+ case string(TypeHDInsightOnDemand):
+ var hiodls HDInsightOnDemandLinkedService
+ err := json.Unmarshal(body, &hiodls)
+ return hiodls, err
+ case string(TypeSalesforceMarketingCloud):
+ var smcls SalesforceMarketingCloudLinkedService
+ err := json.Unmarshal(body, &smcls)
+ return smcls, err
+ case string(TypeNetezza):
+ var nls NetezzaLinkedService
+ err := json.Unmarshal(body, &nls)
+ return nls, err
+ case string(TypeVertica):
+ var vls VerticaLinkedService
+ err := json.Unmarshal(body, &vls)
+ return vls, err
+ case string(TypeZoho):
+ var zls ZohoLinkedService
+ err := json.Unmarshal(body, &zls)
+ return zls, err
+ case string(TypeXero):
+ var xls XeroLinkedService
+ err := json.Unmarshal(body, &xls)
+ return xls, err
+ case string(TypeSquare):
+ var sls SquareLinkedService
+ err := json.Unmarshal(body, &sls)
+ return sls, err
+ case string(TypeSpark):
+ var sls SparkLinkedService
+ err := json.Unmarshal(body, &sls)
+ return sls, err
+ case string(TypeShopify):
+ var sls ShopifyLinkedService
+ err := json.Unmarshal(body, &sls)
+ return sls, err
+ case string(TypeServiceNow):
+ var snls ServiceNowLinkedService
+ err := json.Unmarshal(body, &snls)
+ return snls, err
+ case string(TypeQuickBooks):
+ var qbls QuickBooksLinkedService
+ err := json.Unmarshal(body, &qbls)
+ return qbls, err
+ case string(TypePresto):
+ var pls PrestoLinkedService
+ err := json.Unmarshal(body, &pls)
+ return pls, err
+ case string(TypePhoenix):
+ var pls PhoenixLinkedService
+ err := json.Unmarshal(body, &pls)
+ return pls, err
+ case string(TypePaypal):
+ var pls PaypalLinkedService
+ err := json.Unmarshal(body, &pls)
+ return pls, err
+ case string(TypeMarketo):
+ var mls MarketoLinkedService
+ err := json.Unmarshal(body, &mls)
+ return mls, err
+ case string(TypeMariaDB):
+ var mdls MariaDBLinkedService
+ err := json.Unmarshal(body, &mdls)
+ return mdls, err
+ case string(TypeMagento):
+ var mls MagentoLinkedService
+ err := json.Unmarshal(body, &mls)
+ return mls, err
+ case string(TypeJira):
+ var jls JiraLinkedService
+ err := json.Unmarshal(body, &jls)
+ return jls, err
+ case string(TypeImpala):
+ var ils ImpalaLinkedService
+ err := json.Unmarshal(body, &ils)
+ return ils, err
+ case string(TypeHubspot):
+ var hls HubspotLinkedService
+ err := json.Unmarshal(body, &hls)
+ return hls, err
+ case string(TypeHive):
+ var hls HiveLinkedService
+ err := json.Unmarshal(body, &hls)
return hls, err
case string(TypeHBase):
var hbls HBaseLinkedService
@@ -85663,6 +101931,10 @@ func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) {
var scfcls SapCloudForCustomerLinkedService
err := json.Unmarshal(body, &scfcls)
return scfcls, err
+ case string(TypeSalesforceServiceCloud):
+ var sscls SalesforceServiceCloudLinkedService
+ err := json.Unmarshal(body, &sscls)
+ return sscls, err
case string(TypeSalesforce):
var sls SalesforceLinkedService
err := json.Unmarshal(body, &sls)
@@ -85707,6 +101979,14 @@ func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) {
var hls HdfsLinkedService
err := json.Unmarshal(body, &hls)
return hls, err
+ case string(TypeMicrosoftAccess):
+ var mals MicrosoftAccessLinkedService
+ err := json.Unmarshal(body, &mals)
+ return mals, err
+ case string(TypeInformix):
+ var ils InformixLinkedService
+ err := json.Unmarshal(body, &ils)
+ return ils, err
case string(TypeOdbc):
var ols OdbcLinkedService
err := json.Unmarshal(body, &ols)
@@ -85751,6 +102031,14 @@ func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) {
var hils HDInsightLinkedService
err := json.Unmarshal(body, &hils)
return hils, err
+ case string(TypeCommonDataServiceForApps):
+ var cdsfals CommonDataServiceForAppsLinkedService
+ err := json.Unmarshal(body, &cdsfals)
+ return cdsfals, err
+ case string(TypeDynamicsCrm):
+ var dcls DynamicsCrmLinkedService
+ err := json.Unmarshal(body, &dcls)
+ return dcls, err
case string(TypeDynamics):
var dls DynamicsLinkedService
err := json.Unmarshal(body, &dls)
@@ -85767,6 +102055,10 @@ func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) {
var abls AzureBatchLinkedService
err := json.Unmarshal(body, &abls)
return abls, err
+ case string(TypeAzureSQLMI):
+ var asmls AzureSQLMILinkedService
+ err := json.Unmarshal(body, &asmls)
+ return asmls, err
case string(TypeAzureSQLDatabase):
var asdls AzureSQLDatabaseLinkedService
err := json.Unmarshal(body, &asdls)
@@ -85797,482 +102089,10707 @@ func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) {
return ls, err
}
}
-func unmarshalBasicLinkedServiceArray(body []byte) ([]BasicLinkedService, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
+func unmarshalBasicLinkedServiceArray(body []byte) ([]BasicLinkedService, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
+
+ lsArray := make([]BasicLinkedService, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ ls, err := unmarshalBasicLinkedService(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ lsArray[index] = ls
+ }
+ return lsArray, nil
+}
+
+// MarshalJSON is the custom marshaler for LinkedService.
+func (ls LinkedService) MarshalJSON() ([]byte, error) {
+ ls.Type = TypeLinkedService
+ objectMap := make(map[string]interface{})
+ if ls.ConnectVia != nil {
+ objectMap["connectVia"] = ls.ConnectVia
+ }
+ if ls.Description != nil {
+ objectMap["description"] = ls.Description
+ }
+ if ls.Parameters != nil {
+ objectMap["parameters"] = ls.Parameters
+ }
+ if ls.Annotations != nil {
+ objectMap["annotations"] = ls.Annotations
+ }
+ if ls.Type != "" {
+ objectMap["type"] = ls.Type
+ }
+ for k, v := range ls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return nil, false
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsLinkedService() (*LinkedService, bool) {
+ return &ls, true
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for LinkedService.
+func (ls LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &ls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for LinkedService struct.
+func (ls *LinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ls.AdditionalProperties == nil {
+ ls.AdditionalProperties = make(map[string]interface{})
+ }
+ ls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ ls.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ ls.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ ls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ ls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ls.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// LinkedServiceListResponse a list of linked service resources.
+type LinkedServiceListResponse struct {
+ autorest.Response `json:"-"`
+ // Value - List of linked services.
+ Value *[]LinkedServiceResource `json:"value,omitempty"`
+ // NextLink - The link to the next page of results, if any remaining results exist.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// LinkedServiceListResponseIterator provides access to a complete listing of LinkedServiceResource values.
+type LinkedServiceListResponseIterator struct {
+ i int
+ page LinkedServiceListResponsePage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *LinkedServiceListResponseIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/LinkedServiceListResponseIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *LinkedServiceListResponseIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter LinkedServiceListResponseIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter LinkedServiceListResponseIterator) Response() LinkedServiceListResponse {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter LinkedServiceListResponseIterator) Value() LinkedServiceResource {
+ if !iter.page.NotDone() {
+ return LinkedServiceResource{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the LinkedServiceListResponseIterator type.
+func NewLinkedServiceListResponseIterator(page LinkedServiceListResponsePage) LinkedServiceListResponseIterator {
+ return LinkedServiceListResponseIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (lslr LinkedServiceListResponse) IsEmpty() bool {
+ return lslr.Value == nil || len(*lslr.Value) == 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 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(lslr.NextLink)))
+}
+
+// LinkedServiceListResponsePage contains a page of LinkedServiceResource values.
+type LinkedServiceListResponsePage struct {
+ fn func(context.Context, LinkedServiceListResponse) (LinkedServiceListResponse, error)
+ lslr LinkedServiceListResponse
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *LinkedServiceListResponsePage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/LinkedServiceListResponsePage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.lslr)
+ if err != nil {
+ return err
+ }
+ page.lslr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *LinkedServiceListResponsePage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page LinkedServiceListResponsePage) NotDone() bool {
+ return !page.lslr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page LinkedServiceListResponsePage) Response() LinkedServiceListResponse {
+ return page.lslr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page LinkedServiceListResponsePage) Values() []LinkedServiceResource {
+ if page.lslr.IsEmpty() {
+ return nil
+ }
+ return *page.lslr.Value
+}
+
+// Creates a new instance of the LinkedServiceListResponsePage type.
+func NewLinkedServiceListResponsePage(getNextPage func(context.Context, LinkedServiceListResponse) (LinkedServiceListResponse, error)) LinkedServiceListResponsePage {
+ return LinkedServiceListResponsePage{fn: getNextPage}
+}
+
+// LinkedServiceReference linked service reference type.
+type LinkedServiceReference struct {
+ // Type - Linked service reference type.
+ Type *string `json:"type,omitempty"`
+ // ReferenceName - Reference LinkedService name.
+ ReferenceName *string `json:"referenceName,omitempty"`
+ // Parameters - Arguments for LinkedService.
+ Parameters map[string]interface{} `json:"parameters"`
+}
+
+// MarshalJSON is the custom marshaler for LinkedServiceReference.
+func (lsr LinkedServiceReference) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if lsr.Type != nil {
+ objectMap["type"] = lsr.Type
+ }
+ if lsr.ReferenceName != nil {
+ objectMap["referenceName"] = lsr.ReferenceName
+ }
+ if lsr.Parameters != nil {
+ objectMap["parameters"] = lsr.Parameters
+ }
+ return json.Marshal(objectMap)
+}
+
+// LinkedServiceResource linked service resource type.
+type LinkedServiceResource struct {
+ autorest.Response `json:"-"`
+ // Properties - Properties of linked service.
+ Properties BasicLinkedService `json:"properties,omitempty"`
+ // ID - READ-ONLY; The resource identifier.
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; The resource name.
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; The resource type.
+ Type *string `json:"type,omitempty"`
+ // Etag - READ-ONLY; Etag identifies change in the resource.
+ Etag *string `json:"etag,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for LinkedServiceResource struct.
+func (lsr *LinkedServiceResource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "properties":
+ if v != nil {
+ properties, err := unmarshalBasicLinkedService(*v)
+ if err != nil {
+ return err
+ }
+ lsr.Properties = properties
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ lsr.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ lsr.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ lsr.Type = &typeVar
+ }
+ case "etag":
+ if v != nil {
+ var etag string
+ err = json.Unmarshal(*v, &etag)
+ if err != nil {
+ return err
+ }
+ lsr.Etag = &etag
+ }
+ }
+ }
+
+ return nil
+}
+
+// LogStorageSettings log storage settings.
+type LogStorageSettings struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // LinkedServiceName - Log storage linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Path - The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string).
+ Path interface{} `json:"path,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for LogStorageSettings.
+func (lss LogStorageSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if lss.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = lss.LinkedServiceName
+ }
+ if lss.Path != nil {
+ objectMap["path"] = lss.Path
+ }
+ for k, v := range lss.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for LogStorageSettings struct.
+func (lss *LogStorageSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if lss.AdditionalProperties == nil {
+ lss.AdditionalProperties = make(map[string]interface{})
+ }
+ lss.AdditionalProperties[k] = additionalProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ lss.LinkedServiceName = &linkedServiceName
+ }
+ case "path":
+ if v != nil {
+ var pathVar interface{}
+ err = json.Unmarshal(*v, &pathVar)
+ if err != nil {
+ return err
+ }
+ lss.Path = pathVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// LookupActivity lookup activity.
+type LookupActivity struct {
+ // LookupActivityTypeProperties - Lookup activity properties.
+ *LookupActivityTypeProperties `json:"typeProperties,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Policy - Activity policy.
+ Policy *ActivityPolicy `json:"policy,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Name - Activity name.
+ Name *string `json:"name,omitempty"`
+ // Description - Activity description.
+ Description *string `json:"description,omitempty"`
+ // DependsOn - Activity depends on condition.
+ DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
+ // UserProperties - Activity user properties.
+ UserProperties *[]UserProperty `json:"userProperties,omitempty"`
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ Type TypeBasicActivity `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for LookupActivity.
+func (la LookupActivity) MarshalJSON() ([]byte, error) {
+ la.Type = TypeLookup
+ objectMap := make(map[string]interface{})
+ if la.LookupActivityTypeProperties != nil {
+ objectMap["typeProperties"] = la.LookupActivityTypeProperties
+ }
+ if la.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = la.LinkedServiceName
+ }
+ if la.Policy != nil {
+ objectMap["policy"] = la.Policy
+ }
+ if la.Name != nil {
+ objectMap["name"] = la.Name
+ }
+ if la.Description != nil {
+ objectMap["description"] = la.Description
+ }
+ if la.DependsOn != nil {
+ objectMap["dependsOn"] = la.DependsOn
+ }
+ if la.UserProperties != nil {
+ objectMap["userProperties"] = la.UserProperties
+ }
+ if la.Type != "" {
+ objectMap["type"] = la.Type
+ }
+ for k, v := range la.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+ return nil, false
+}
+
+// AsDatabricksSparkPythonActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+ return nil, false
+}
+
+// AsDatabricksSparkJarActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+ return nil, false
+}
+
+// AsDatabricksNotebookActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+ return nil, false
+}
+
+// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+ return nil, false
+}
+
+// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+ return nil, false
+}
+
+// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+ return nil, false
+}
+
+// AsGetMetadataActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+ return nil, false
+}
+
+// AsWebActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsWebActivity() (*WebActivity, bool) {
+ return nil, false
+}
+
+// AsLookupActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsLookupActivity() (*LookupActivity, bool) {
+ return &la, true
+}
+
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return nil, false
+}
+
+// AsDeleteActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+ return nil, false
+}
+
+// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+ return nil, false
+}
+
+// AsCustomActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsCustomActivity() (*CustomActivity, bool) {
+ return nil, false
+}
+
+// AsExecuteSSISPackageActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightSparkActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightStreamingActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightMapReduceActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightPigActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+ return nil, false
+}
+
+// AsHDInsightHiveActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+ return nil, false
+}
+
+// AsCopyActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsCopyActivity() (*CopyActivity, bool) {
+ return nil, false
+}
+
+// AsExecutionActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+ return nil, false
+}
+
+// AsBasicExecutionActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
+ return &la, true
+}
+
+// AsWebHookActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+ return nil, false
+}
+
+// AsAppendVariableActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+ return nil, false
+}
+
+// AsSetVariableActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+ return nil, false
+}
+
+// AsFilterActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsFilterActivity() (*FilterActivity, bool) {
+ return nil, false
+}
+
+// AsValidationActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsValidationActivity() (*ValidationActivity, bool) {
+ return nil, false
+}
+
+// AsUntilActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsUntilActivity() (*UntilActivity, bool) {
+ return nil, false
+}
+
+// AsWaitActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsWaitActivity() (*WaitActivity, bool) {
+ return nil, false
+}
+
+// AsForEachActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsForEachActivity() (*ForEachActivity, bool) {
+ return nil, false
+}
+
+// AsIfConditionActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+ return nil, false
+}
+
+// AsExecutePipelineActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+ return nil, false
+}
+
+// AsControlActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsControlActivity() (*ControlActivity, bool) {
+ return nil, false
+}
+
+// AsBasicControlActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+ return nil, false
+}
+
+// AsActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsActivity() (*Activity, bool) {
+ return nil, false
+}
+
+// AsBasicActivity is the BasicActivity implementation for LookupActivity.
+func (la LookupActivity) AsBasicActivity() (BasicActivity, bool) {
+ return &la, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for LookupActivity struct.
+func (la *LookupActivity) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var lookupActivityTypeProperties LookupActivityTypeProperties
+ err = json.Unmarshal(*v, &lookupActivityTypeProperties)
+ if err != nil {
+ return err
+ }
+ la.LookupActivityTypeProperties = &lookupActivityTypeProperties
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ la.LinkedServiceName = &linkedServiceName
+ }
+ case "policy":
+ if v != nil {
+ var policy ActivityPolicy
+ err = json.Unmarshal(*v, &policy)
+ if err != nil {
+ return err
+ }
+ la.Policy = &policy
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if la.AdditionalProperties == nil {
+ la.AdditionalProperties = make(map[string]interface{})
+ }
+ la.AdditionalProperties[k] = additionalProperties
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ la.Name = &name
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ la.Description = &description
+ }
+ case "dependsOn":
+ if v != nil {
+ var dependsOn []ActivityDependency
+ err = json.Unmarshal(*v, &dependsOn)
+ if err != nil {
+ return err
+ }
+ la.DependsOn = &dependsOn
+ }
+ case "userProperties":
+ if v != nil {
+ var userProperties []UserProperty
+ err = json.Unmarshal(*v, &userProperties)
+ if err != nil {
+ return err
+ }
+ la.UserProperties = &userProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicActivity
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ la.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// LookupActivityTypeProperties lookup activity properties.
+type LookupActivityTypeProperties struct {
+ // Source - Dataset-specific source properties, same as copy activity source.
+ Source BasicCopySource `json:"source,omitempty"`
+ // Dataset - Lookup activity dataset reference.
+ Dataset *DatasetReference `json:"dataset,omitempty"`
+ // FirstRowOnly - Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean).
+ FirstRowOnly interface{} `json:"firstRowOnly,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for LookupActivityTypeProperties struct.
+func (latp *LookupActivityTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "source":
+ if v != nil {
+ source, err := unmarshalBasicCopySource(*v)
+ if err != nil {
+ return err
+ }
+ latp.Source = source
+ }
+ case "dataset":
+ if v != nil {
+ var dataset DatasetReference
+ err = json.Unmarshal(*v, &dataset)
+ if err != nil {
+ return err
+ }
+ latp.Dataset = &dataset
+ }
+ case "firstRowOnly":
+ if v != nil {
+ var firstRowOnly interface{}
+ err = json.Unmarshal(*v, &firstRowOnly)
+ if err != nil {
+ return err
+ }
+ latp.FirstRowOnly = firstRowOnly
+ }
+ }
+ }
+
+ return nil
+}
+
+// MagentoLinkedService magento server linked service.
+type MagentoLinkedService struct {
+ // MagentoLinkedServiceTypeProperties - Magento server linked service properties.
+ *MagentoLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MagentoLinkedService.
+func (mls MagentoLinkedService) MarshalJSON() ([]byte, error) {
+ mls.Type = TypeMagento
+ objectMap := make(map[string]interface{})
+ if mls.MagentoLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = mls.MagentoLinkedServiceTypeProperties
+ }
+ if mls.ConnectVia != nil {
+ objectMap["connectVia"] = mls.ConnectVia
+ }
+ if mls.Description != nil {
+ objectMap["description"] = mls.Description
+ }
+ if mls.Parameters != nil {
+ objectMap["parameters"] = mls.Parameters
+ }
+ if mls.Annotations != nil {
+ objectMap["annotations"] = mls.Annotations
+ }
+ if mls.Type != "" {
+ objectMap["type"] = mls.Type
+ }
+ for k, v := range mls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return &mls, true
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return nil, false
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
+func (mls MagentoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &mls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MagentoLinkedService struct.
+func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var magentoLinkedServiceTypeProperties MagentoLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &magentoLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ mls.MagentoLinkedServiceTypeProperties = &magentoLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mls.AdditionalProperties == nil {
+ mls.AdditionalProperties = make(map[string]interface{})
+ }
+ mls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ mls.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ mls.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ mls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mls.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MagentoLinkedServiceTypeProperties magento server linked service properties.
+type MagentoLinkedServiceTypeProperties struct {
+ // Host - The URL of the Magento instance. (i.e. 192.168.222.110/magento3)
+ Host interface{} `json:"host,omitempty"`
+ // AccessToken - The access token from Magento.
+ AccessToken BasicSecretBase `json:"accessToken,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
+ UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
+ // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
+ UseHostVerification interface{} `json:"useHostVerification,omitempty"`
+ // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
+ UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for MagentoLinkedServiceTypeProperties struct.
+func (mlstp *MagentoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "host":
+ if v != nil {
+ var host interface{}
+ err = json.Unmarshal(*v, &host)
+ if err != nil {
+ return err
+ }
+ mlstp.Host = host
+ }
+ case "accessToken":
+ if v != nil {
+ accessToken, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ mlstp.AccessToken = accessToken
+ }
+ case "useEncryptedEndpoints":
+ if v != nil {
+ var useEncryptedEndpoints interface{}
+ err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ if err != nil {
+ return err
+ }
+ mlstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ }
+ case "useHostVerification":
+ if v != nil {
+ var useHostVerification interface{}
+ err = json.Unmarshal(*v, &useHostVerification)
+ if err != nil {
+ return err
+ }
+ mlstp.UseHostVerification = useHostVerification
+ }
+ case "usePeerVerification":
+ if v != nil {
+ var usePeerVerification interface{}
+ err = json.Unmarshal(*v, &usePeerVerification)
+ if err != nil {
+ return err
+ }
+ mlstp.UsePeerVerification = usePeerVerification
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ mlstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// MagentoObjectDataset magento server dataset.
+type MagentoObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MagentoObjectDataset.
+func (mod MagentoObjectDataset) MarshalJSON() ([]byte, error) {
+ mod.Type = TypeMagentoObject
+ objectMap := make(map[string]interface{})
+ if mod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = mod.GenericDatasetTypeProperties
+ }
+ if mod.Description != nil {
+ objectMap["description"] = mod.Description
+ }
+ if mod.Structure != nil {
+ objectMap["structure"] = mod.Structure
+ }
+ if mod.Schema != nil {
+ objectMap["schema"] = mod.Schema
+ }
+ if mod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = mod.LinkedServiceName
+ }
+ if mod.Parameters != nil {
+ objectMap["parameters"] = mod.Parameters
+ }
+ if mod.Annotations != nil {
+ objectMap["annotations"] = mod.Annotations
+ }
+ if mod.Folder != nil {
+ objectMap["folder"] = mod.Folder
+ }
+ if mod.Type != "" {
+ objectMap["type"] = mod.Type
+ }
+ for k, v := range mod.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
+}
+
+// AsResponsysObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsVerticaTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
+
+// AsNetezzaTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsXeroObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSquareObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSparkObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
+}
+
+// AsShopifyObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
+}
+
+// AsServiceNowObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
+
+// AsQuickBooksObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return &mod, true
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for MagentoObjectDataset.
+func (mod MagentoObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &mod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MagentoObjectDataset struct.
+func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ mod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mod.AdditionalProperties == nil {
+ mod.AdditionalProperties = make(map[string]interface{})
+ }
+ mod.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ mod.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ mod.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ mod.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ mod.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ mod.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mod.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ mod.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mod.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MagentoSource a copy activity Magento server source.
+type MagentoSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MagentoSource.
+func (ms MagentoSource) MarshalJSON() ([]byte, error) {
+ ms.Type = TypeMagentoSource
+ objectMap := make(map[string]interface{})
+ if ms.Query != nil {
+ objectMap["query"] = ms.Query
+ }
+ if ms.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ms.SourceRetryCount
+ }
+ if ms.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ms.SourceRetryWait
+ }
+ if ms.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ms.MaxConcurrentConnections
+ }
+ if ms.Type != "" {
+ objectMap["type"] = ms.Type
+ }
+ for k, v := range ms.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsMagentoSource() (*MagentoSource, bool) {
+ return &ms, true
+}
+
+// AsJiraSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for MagentoSource.
+func (ms MagentoSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ms, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MagentoSource struct.
+func (ms *MagentoSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ ms.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ms.AdditionalProperties == nil {
+ ms.AdditionalProperties = make(map[string]interface{})
+ }
+ ms.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ ms.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ ms.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ ms.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ms.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// ManagedIntegrationRuntime managed integration runtime, including managed elastic and managed dedicated
+// integration runtimes.
+type ManagedIntegrationRuntime struct {
+ // State - READ-ONLY; Integration runtime state, only valid for managed dedicated integration runtime. Possible values include: 'IntegrationRuntimeStateInitial', 'IntegrationRuntimeStateStopped', 'IntegrationRuntimeStateStarted', 'IntegrationRuntimeStateStarting', 'IntegrationRuntimeStateStopping', 'IntegrationRuntimeStateNeedRegistration', 'IntegrationRuntimeStateOnline', 'IntegrationRuntimeStateLimited', 'IntegrationRuntimeStateOffline', 'IntegrationRuntimeStateAccessDenied'
+ State IntegrationRuntimeState `json:"state,omitempty"`
+ // ManagedIntegrationRuntimeTypeProperties - Managed integration runtime properties.
+ *ManagedIntegrationRuntimeTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Integration runtime description.
+ Description *string `json:"description,omitempty"`
+ // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged'
+ Type TypeBasicIntegrationRuntime `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for ManagedIntegrationRuntime.
+func (mir ManagedIntegrationRuntime) MarshalJSON() ([]byte, error) {
+ mir.Type = TypeManaged
+ objectMap := make(map[string]interface{})
+ if mir.ManagedIntegrationRuntimeTypeProperties != nil {
+ objectMap["typeProperties"] = mir.ManagedIntegrationRuntimeTypeProperties
+ }
+ if mir.Description != nil {
+ objectMap["description"] = mir.Description
+ }
+ if mir.Type != "" {
+ objectMap["type"] = mir.Type
+ }
+ for k, v := range mir.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
+func (mir ManagedIntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) {
+ return nil, false
+}
+
+// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
+func (mir ManagedIntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) {
+ return &mir, true
+}
+
+// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
+func (mir ManagedIntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) {
+ return nil, false
+}
+
+// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
+func (mir ManagedIntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) {
+ return &mir, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ManagedIntegrationRuntime struct.
+func (mir *ManagedIntegrationRuntime) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "state":
+ if v != nil {
+ var state IntegrationRuntimeState
+ err = json.Unmarshal(*v, &state)
+ if err != nil {
+ return err
+ }
+ mir.State = state
+ }
+ case "typeProperties":
+ if v != nil {
+ var managedIntegrationRuntimeTypeProperties ManagedIntegrationRuntimeTypeProperties
+ err = json.Unmarshal(*v, &managedIntegrationRuntimeTypeProperties)
+ if err != nil {
+ return err
+ }
+ mir.ManagedIntegrationRuntimeTypeProperties = &managedIntegrationRuntimeTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mir.AdditionalProperties == nil {
+ mir.AdditionalProperties = make(map[string]interface{})
+ }
+ mir.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ mir.Description = &description
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicIntegrationRuntime
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mir.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// ManagedIntegrationRuntimeError error definition for managed integration runtime.
+type ManagedIntegrationRuntimeError struct {
+ // Time - READ-ONLY; The time when the error occurred.
+ Time *date.Time `json:"time,omitempty"`
+ // Code - READ-ONLY; Error code.
+ Code *string `json:"code,omitempty"`
+ // Parameters - READ-ONLY; Managed integration runtime error parameters.
+ Parameters *[]string `json:"parameters,omitempty"`
+ // Message - READ-ONLY; Error message.
+ Message *string `json:"message,omitempty"`
+}
+
+// ManagedIntegrationRuntimeNode properties of integration runtime node.
+type ManagedIntegrationRuntimeNode struct {
+ // NodeID - READ-ONLY; The managed integration runtime node id.
+ NodeID *string `json:"nodeId,omitempty"`
+ // Status - READ-ONLY; The managed integration runtime node status. Possible values include: 'Starting', 'Available', 'Recycling', 'Unavailable'
+ Status ManagedIntegrationRuntimeNodeStatus `json:"status,omitempty"`
+ // Errors - The errors that occurred on this integration runtime node.
+ Errors *[]ManagedIntegrationRuntimeError `json:"errors,omitempty"`
+}
+
+// ManagedIntegrationRuntimeOperationResult properties of managed integration runtime operation result.
+type ManagedIntegrationRuntimeOperationResult struct {
+ // Type - READ-ONLY; The operation type. Could be start or stop.
+ Type *string `json:"type,omitempty"`
+ // StartTime - READ-ONLY; The start time of the operation.
+ StartTime *date.Time `json:"startTime,omitempty"`
+ // Result - READ-ONLY; The operation result.
+ Result *string `json:"result,omitempty"`
+ // ErrorCode - READ-ONLY; The error code.
+ ErrorCode *string `json:"errorCode,omitempty"`
+ // Parameters - READ-ONLY; Managed integration runtime error parameters.
+ Parameters *[]string `json:"parameters,omitempty"`
+ // ActivityID - READ-ONLY; The activity id for the operation request.
+ ActivityID *string `json:"activityId,omitempty"`
+}
+
+// ManagedIntegrationRuntimeStatus managed integration runtime status.
+type ManagedIntegrationRuntimeStatus struct {
+ // ManagedIntegrationRuntimeStatusTypeProperties - Managed integration runtime status type properties.
+ *ManagedIntegrationRuntimeStatusTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // DataFactoryName - READ-ONLY; The data factory name which the integration runtime belong to.
+ DataFactoryName *string `json:"dataFactoryName,omitempty"`
+ // State - READ-ONLY; The state of integration runtime. Possible values include: 'IntegrationRuntimeStateInitial', 'IntegrationRuntimeStateStopped', 'IntegrationRuntimeStateStarted', 'IntegrationRuntimeStateStarting', 'IntegrationRuntimeStateStopping', 'IntegrationRuntimeStateNeedRegistration', 'IntegrationRuntimeStateOnline', 'IntegrationRuntimeStateLimited', 'IntegrationRuntimeStateOffline', 'IntegrationRuntimeStateAccessDenied'
+ State IntegrationRuntimeState `json:"state,omitempty"`
+ // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged'
+ Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for ManagedIntegrationRuntimeStatus.
+func (mirs ManagedIntegrationRuntimeStatus) MarshalJSON() ([]byte, error) {
+ mirs.Type = TypeBasicIntegrationRuntimeStatusTypeManaged
+ objectMap := make(map[string]interface{})
+ if mirs.ManagedIntegrationRuntimeStatusTypeProperties != nil {
+ objectMap["typeProperties"] = mirs.ManagedIntegrationRuntimeStatusTypeProperties
+ }
+ if mirs.Type != "" {
+ objectMap["type"] = mirs.Type
+ }
+ for k, v := range mirs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
+func (mirs ManagedIntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) {
+ return nil, false
+}
+
+// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
+func (mirs ManagedIntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) {
+ return &mirs, true
+}
+
+// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
+func (mirs ManagedIntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) {
+ return nil, false
+}
+
+// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
+func (mirs ManagedIntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) {
+ return &mirs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ManagedIntegrationRuntimeStatus struct.
+func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var managedIntegrationRuntimeStatusTypeProperties ManagedIntegrationRuntimeStatusTypeProperties
+ err = json.Unmarshal(*v, &managedIntegrationRuntimeStatusTypeProperties)
+ if err != nil {
+ return err
+ }
+ mirs.ManagedIntegrationRuntimeStatusTypeProperties = &managedIntegrationRuntimeStatusTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mirs.AdditionalProperties == nil {
+ mirs.AdditionalProperties = make(map[string]interface{})
+ }
+ mirs.AdditionalProperties[k] = additionalProperties
+ }
+ case "dataFactoryName":
+ if v != nil {
+ var dataFactoryName string
+ err = json.Unmarshal(*v, &dataFactoryName)
+ if err != nil {
+ return err
+ }
+ mirs.DataFactoryName = &dataFactoryName
+ }
+ case "state":
+ if v != nil {
+ var state IntegrationRuntimeState
+ err = json.Unmarshal(*v, &state)
+ if err != nil {
+ return err
+ }
+ mirs.State = state
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicIntegrationRuntimeStatus
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mirs.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// ManagedIntegrationRuntimeStatusTypeProperties managed integration runtime status type properties.
+type ManagedIntegrationRuntimeStatusTypeProperties struct {
+ // CreateTime - READ-ONLY; The time at which the integration runtime was created, in ISO8601 format.
+ CreateTime *date.Time `json:"createTime,omitempty"`
+ // Nodes - READ-ONLY; The list of nodes for managed integration runtime.
+ Nodes *[]ManagedIntegrationRuntimeNode `json:"nodes,omitempty"`
+ // OtherErrors - READ-ONLY; The errors that occurred on this integration runtime.
+ OtherErrors *[]ManagedIntegrationRuntimeError `json:"otherErrors,omitempty"`
+ // LastOperation - READ-ONLY; The last operation result that occurred on this integration runtime.
+ LastOperation *ManagedIntegrationRuntimeOperationResult `json:"lastOperation,omitempty"`
+}
+
+// ManagedIntegrationRuntimeTypeProperties managed integration runtime type properties.
+type ManagedIntegrationRuntimeTypeProperties struct {
+ // ComputeProperties - The compute resource for managed integration runtime.
+ ComputeProperties *IntegrationRuntimeComputeProperties `json:"computeProperties,omitempty"`
+ // SsisProperties - SSIS properties for managed integration runtime.
+ SsisProperties *IntegrationRuntimeSsisProperties `json:"ssisProperties,omitempty"`
+}
+
+// MariaDBLinkedService mariaDB server linked service.
+type MariaDBLinkedService struct {
+ // MariaDBLinkedServiceTypeProperties - MariaDB server linked service properties.
+ *MariaDBLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) MarshalJSON() ([]byte, error) {
+ mdls.Type = TypeMariaDB
+ objectMap := make(map[string]interface{})
+ if mdls.MariaDBLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = mdls.MariaDBLinkedServiceTypeProperties
+ }
+ if mdls.ConnectVia != nil {
+ objectMap["connectVia"] = mdls.ConnectVia
+ }
+ if mdls.Description != nil {
+ objectMap["description"] = mdls.Description
+ }
+ if mdls.Parameters != nil {
+ objectMap["parameters"] = mdls.Parameters
+ }
+ if mdls.Annotations != nil {
+ objectMap["annotations"] = mdls.Annotations
+ }
+ if mdls.Type != "" {
+ objectMap["type"] = mdls.Type
+ }
+ for k, v := range mdls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return &mdls, true
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return nil, false
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
+func (mdls MariaDBLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &mdls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MariaDBLinkedService struct.
+func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var mariaDBLinkedServiceTypeProperties MariaDBLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &mariaDBLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ mdls.MariaDBLinkedServiceTypeProperties = &mariaDBLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mdls.AdditionalProperties == nil {
+ mdls.AdditionalProperties = make(map[string]interface{})
+ }
+ mdls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ mdls.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ mdls.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ mdls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mdls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mdls.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MariaDBLinkedServiceTypeProperties mariaDB server linked service properties.
+type MariaDBLinkedServiceTypeProperties struct {
+ // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // Pwd - The Azure key vault secret reference of password in connection string.
+ Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// MariaDBSource a copy activity MariaDB server source.
+type MariaDBSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MariaDBSource.
+func (mds MariaDBSource) MarshalJSON() ([]byte, error) {
+ mds.Type = TypeMariaDBSource
+ objectMap := make(map[string]interface{})
+ if mds.Query != nil {
+ objectMap["query"] = mds.Query
+ }
+ if mds.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = mds.SourceRetryCount
+ }
+ if mds.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = mds.SourceRetryWait
+ }
+ if mds.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = mds.MaxConcurrentConnections
+ }
+ if mds.Type != "" {
+ objectMap["type"] = mds.Type
+ }
+ for k, v := range mds.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return &mds, true
+}
+
+// AsMagentoSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for MariaDBSource.
+func (mds MariaDBSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &mds, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MariaDBSource struct.
+func (mds *MariaDBSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ mds.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mds.AdditionalProperties == nil {
+ mds.AdditionalProperties = make(map[string]interface{})
+ }
+ mds.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ mds.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ mds.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ mds.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mds.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MariaDBTableDataset mariaDB server dataset.
+type MariaDBTableDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) MarshalJSON() ([]byte, error) {
+ mdtd.Type = TypeMariaDBTable
+ objectMap := make(map[string]interface{})
+ if mdtd.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = mdtd.GenericDatasetTypeProperties
+ }
+ if mdtd.Description != nil {
+ objectMap["description"] = mdtd.Description
+ }
+ if mdtd.Structure != nil {
+ objectMap["structure"] = mdtd.Structure
+ }
+ if mdtd.Schema != nil {
+ objectMap["schema"] = mdtd.Schema
+ }
+ if mdtd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = mdtd.LinkedServiceName
+ }
+ if mdtd.Parameters != nil {
+ objectMap["parameters"] = mdtd.Parameters
+ }
+ if mdtd.Annotations != nil {
+ objectMap["annotations"] = mdtd.Annotations
+ }
+ if mdtd.Folder != nil {
+ objectMap["folder"] = mdtd.Folder
+ }
+ if mdtd.Type != "" {
+ objectMap["type"] = mdtd.Type
+ }
+ for k, v := range mdtd.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
+}
+
+// AsResponsysObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsVerticaTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
+
+// AsNetezzaTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsXeroObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSquareObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSparkObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
+}
+
+// AsShopifyObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
+}
+
+// AsServiceNowObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
+
+// AsQuickBooksObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return &mdtd, true
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for MariaDBTableDataset.
+func (mdtd MariaDBTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &mdtd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MariaDBTableDataset struct.
+func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ mdtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mdtd.AdditionalProperties == nil {
+ mdtd.AdditionalProperties = make(map[string]interface{})
+ }
+ mdtd.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ mdtd.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ mdtd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ mdtd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ mdtd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ mdtd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mdtd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ mdtd.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mdtd.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MarketoLinkedService marketo server linked service.
+type MarketoLinkedService struct {
+ // MarketoLinkedServiceTypeProperties - Marketo server linked service properties.
+ *MarketoLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MarketoLinkedService.
+func (mls MarketoLinkedService) MarshalJSON() ([]byte, error) {
+ mls.Type = TypeMarketo
+ objectMap := make(map[string]interface{})
+ if mls.MarketoLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = mls.MarketoLinkedServiceTypeProperties
+ }
+ if mls.ConnectVia != nil {
+ objectMap["connectVia"] = mls.ConnectVia
+ }
+ if mls.Description != nil {
+ objectMap["description"] = mls.Description
+ }
+ if mls.Parameters != nil {
+ objectMap["parameters"] = mls.Parameters
+ }
+ if mls.Annotations != nil {
+ objectMap["annotations"] = mls.Annotations
+ }
+ if mls.Type != "" {
+ objectMap["type"] = mls.Type
+ }
+ for k, v := range mls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return &mls, true
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return nil, false
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
+func (mls MarketoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &mls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MarketoLinkedService struct.
+func (mls *MarketoLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var marketoLinkedServiceTypeProperties MarketoLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &marketoLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ mls.MarketoLinkedServiceTypeProperties = &marketoLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mls.AdditionalProperties == nil {
+ mls.AdditionalProperties = make(map[string]interface{})
+ }
+ mls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ mls.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ mls.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ mls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mls.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MarketoLinkedServiceTypeProperties marketo server linked service properties.
+type MarketoLinkedServiceTypeProperties struct {
+ // Endpoint - The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com)
+ Endpoint interface{} `json:"endpoint,omitempty"`
+ // ClientID - The client Id of your Marketo service.
+ ClientID interface{} `json:"clientId,omitempty"`
+ // ClientSecret - The client secret of your Marketo service.
+ ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
+ UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
+ // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
+ UseHostVerification interface{} `json:"useHostVerification,omitempty"`
+ // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
+ UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for MarketoLinkedServiceTypeProperties struct.
+func (mlstp *MarketoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "endpoint":
+ if v != nil {
+ var endpoint interface{}
+ err = json.Unmarshal(*v, &endpoint)
+ if err != nil {
+ return err
+ }
+ mlstp.Endpoint = endpoint
+ }
+ case "clientId":
+ if v != nil {
+ var clientID interface{}
+ err = json.Unmarshal(*v, &clientID)
+ if err != nil {
+ return err
+ }
+ mlstp.ClientID = clientID
+ }
+ case "clientSecret":
+ if v != nil {
+ clientSecret, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ mlstp.ClientSecret = clientSecret
+ }
+ case "useEncryptedEndpoints":
+ if v != nil {
+ var useEncryptedEndpoints interface{}
+ err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ if err != nil {
+ return err
+ }
+ mlstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ }
+ case "useHostVerification":
+ if v != nil {
+ var useHostVerification interface{}
+ err = json.Unmarshal(*v, &useHostVerification)
+ if err != nil {
+ return err
+ }
+ mlstp.UseHostVerification = useHostVerification
+ }
+ case "usePeerVerification":
+ if v != nil {
+ var usePeerVerification interface{}
+ err = json.Unmarshal(*v, &usePeerVerification)
+ if err != nil {
+ return err
+ }
+ mlstp.UsePeerVerification = usePeerVerification
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ mlstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// MarketoObjectDataset marketo server dataset.
+type MarketoObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MarketoObjectDataset.
+func (mod MarketoObjectDataset) MarshalJSON() ([]byte, error) {
+ mod.Type = TypeMarketoObject
+ objectMap := make(map[string]interface{})
+ if mod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = mod.GenericDatasetTypeProperties
+ }
+ if mod.Description != nil {
+ objectMap["description"] = mod.Description
+ }
+ if mod.Structure != nil {
+ objectMap["structure"] = mod.Structure
+ }
+ if mod.Schema != nil {
+ objectMap["schema"] = mod.Schema
+ }
+ if mod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = mod.LinkedServiceName
+ }
+ if mod.Parameters != nil {
+ objectMap["parameters"] = mod.Parameters
+ }
+ if mod.Annotations != nil {
+ objectMap["annotations"] = mod.Annotations
+ }
+ if mod.Folder != nil {
+ objectMap["folder"] = mod.Folder
+ }
+ if mod.Type != "" {
+ objectMap["type"] = mod.Type
+ }
+ for k, v := range mod.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
+}
+
+// AsResponsysObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsVerticaTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
+
+// AsNetezzaTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsXeroObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSquareObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSparkObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
+}
+
+// AsShopifyObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
+}
+
+// AsServiceNowObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
+
+// AsQuickBooksObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return &mod, true
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for MarketoObjectDataset.
+func (mod MarketoObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &mod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MarketoObjectDataset struct.
+func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ mod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mod.AdditionalProperties == nil {
+ mod.AdditionalProperties = make(map[string]interface{})
+ }
+ mod.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ mod.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ mod.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ mod.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ mod.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ mod.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mod.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ mod.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mod.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MarketoSource a copy activity Marketo server source.
+type MarketoSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MarketoSource.
+func (ms MarketoSource) MarshalJSON() ([]byte, error) {
+ ms.Type = TypeMarketoSource
+ objectMap := make(map[string]interface{})
+ if ms.Query != nil {
+ objectMap["query"] = ms.Query
+ }
+ if ms.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ms.SourceRetryCount
+ }
+ if ms.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ms.SourceRetryWait
+ }
+ if ms.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ms.MaxConcurrentConnections
+ }
+ if ms.Type != "" {
+ objectMap["type"] = ms.Type
+ }
+ for k, v := range ms.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsMarketoSource() (*MarketoSource, bool) {
+ return &ms, true
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for MarketoSource.
+func (ms MarketoSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ms, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MarketoSource struct.
+func (ms *MarketoSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ ms.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ms.AdditionalProperties == nil {
+ ms.AdditionalProperties = make(map[string]interface{})
+ }
+ ms.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ ms.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ ms.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ ms.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ms.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MicrosoftAccessLinkedService microsoft Access linked service.
+type MicrosoftAccessLinkedService struct {
+ // MicrosoftAccessLinkedServiceTypeProperties - Microsoft Access linked service properties.
+ *MicrosoftAccessLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) MarshalJSON() ([]byte, error) {
+ mals.Type = TypeMicrosoftAccess
+ objectMap := make(map[string]interface{})
+ if mals.MicrosoftAccessLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = mals.MicrosoftAccessLinkedServiceTypeProperties
+ }
+ if mals.ConnectVia != nil {
+ objectMap["connectVia"] = mals.ConnectVia
+ }
+ if mals.Description != nil {
+ objectMap["description"] = mals.Description
+ }
+ if mals.Parameters != nil {
+ objectMap["parameters"] = mals.Parameters
+ }
+ if mals.Annotations != nil {
+ objectMap["annotations"] = mals.Annotations
+ }
+ if mals.Type != "" {
+ objectMap["type"] = mals.Type
+ }
+ for k, v := range mals.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return nil, false
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return &mals, true
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService.
+func (mals MicrosoftAccessLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &mals, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MicrosoftAccessLinkedService struct.
+func (mals *MicrosoftAccessLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var microsoftAccessLinkedServiceTypeProperties MicrosoftAccessLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, µsoftAccessLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ mals.MicrosoftAccessLinkedServiceTypeProperties = µsoftAccessLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mals.AdditionalProperties == nil {
+ mals.AdditionalProperties = make(map[string]interface{})
+ }
+ mals.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ mals.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ mals.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ mals.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mals.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mals.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MicrosoftAccessLinkedServiceTypeProperties microsoft Access linked service properties.
+type MicrosoftAccessLinkedServiceTypeProperties struct {
+ // ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // AuthenticationType - Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string).
+ AuthenticationType interface{} `json:"authenticationType,omitempty"`
+ // Credential - The access credential portion of the connection string specified in driver-specific property-value format.
+ Credential BasicSecretBase `json:"credential,omitempty"`
+ // UserName - User name for Basic authentication. Type: string (or Expression with resultType string).
+ UserName interface{} `json:"userName,omitempty"`
+ // Password - Password for Basic authentication.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for MicrosoftAccessLinkedServiceTypeProperties struct.
+func (malstp *MicrosoftAccessLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "connectionString":
+ if v != nil {
+ var connectionString interface{}
+ err = json.Unmarshal(*v, &connectionString)
+ if err != nil {
+ return err
+ }
+ malstp.ConnectionString = connectionString
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType interface{}
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ malstp.AuthenticationType = authenticationType
+ }
+ case "credential":
+ if v != nil {
+ credential, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ malstp.Credential = credential
+ }
+ case "userName":
+ if v != nil {
+ var userName interface{}
+ err = json.Unmarshal(*v, &userName)
+ if err != nil {
+ return err
+ }
+ malstp.UserName = userName
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ malstp.Password = password
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ malstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// MicrosoftAccessSink a copy activity Microsoft Access sink.
+type MicrosoftAccessSink struct {
+ // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string).
+ PreCopyScript interface{} `json:"preCopyScript,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) MarshalJSON() ([]byte, error) {
+ mas.Type = TypeMicrosoftAccessSink
+ objectMap := make(map[string]interface{})
+ if mas.PreCopyScript != nil {
+ objectMap["preCopyScript"] = mas.PreCopyScript
+ }
+ if mas.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = mas.WriteBatchSize
+ }
+ if mas.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = mas.WriteBatchTimeout
+ }
+ if mas.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = mas.SinkRetryCount
+ }
+ if mas.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = mas.SinkRetryWait
+ }
+ if mas.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = mas.MaxConcurrentConnections
+ }
+ if mas.Type != "" {
+ objectMap["type"] = mas.Type
+ }
+ for k, v := range mas.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
+// AsSalesforceSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsSalesforceSink() (*SalesforceSink, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsDynamicsSink() (*DynamicsSink, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return &mas, true
+}
+
+// AsInformixSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
+// AsOdbcSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsOdbcSink() (*OdbcSink, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+ return nil, false
+}
+
+// AsOracleSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsOracleSink() (*OracleSink, bool) {
+ return nil, false
+}
+
+// AsSQLDWSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsSQLDWSink() (*SQLDWSink, bool) {
+ return nil, false
+}
+
+// AsSQLMISink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+ return nil, false
+}
+
+// AsSQLServerSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsSQLServerSink() (*SQLServerSink, bool) {
+ return nil, false
+}
+
+// AsSQLSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsSQLSink() (*SQLSink, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+ return nil, false
+}
+
+// AsFileSystemSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsFileSystemSink() (*FileSystemSink, bool) {
+ return nil, false
+}
+
+// AsBlobSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsBlobSink() (*BlobSink, bool) {
+ return nil, false
+}
+
+// AsBinarySink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
+// AsParquetSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsParquetSink() (*ParquetSink, bool) {
+ return nil, false
+}
+
+// AsAzureTableSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsAzureTableSink() (*AzureTableSink, bool) {
+ return nil, false
+}
+
+// AsAzureQueueSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+ return nil, false
+}
+
+// AsCopySink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsCopySink() (*CopySink, bool) {
+ return nil, false
+}
+
+// AsBasicCopySink is the BasicCopySink implementation for MicrosoftAccessSink.
+func (mas MicrosoftAccessSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &mas, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MicrosoftAccessSink struct.
+func (mas *MicrosoftAccessSink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "preCopyScript":
+ if v != nil {
+ var preCopyScript interface{}
+ err = json.Unmarshal(*v, &preCopyScript)
+ if err != nil {
+ return err
+ }
+ mas.PreCopyScript = preCopyScript
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mas.AdditionalProperties == nil {
+ mas.AdditionalProperties = make(map[string]interface{})
+ }
+ mas.AdditionalProperties[k] = additionalProperties
+ }
+ case "writeBatchSize":
+ if v != nil {
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
+ if err != nil {
+ return err
+ }
+ mas.WriteBatchSize = writeBatchSize
+ }
+ case "writeBatchTimeout":
+ if v != nil {
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
+ if err != nil {
+ return err
+ }
+ mas.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ mas.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ mas.SinkRetryWait = sinkRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ mas.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySink
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mas.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MicrosoftAccessSource a copy activity source for Microsoft Access.
+type MicrosoftAccessSource struct {
+ // Query - Database query. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) MarshalJSON() ([]byte, error) {
+ mas.Type = TypeMicrosoftAccessSource
+ objectMap := make(map[string]interface{})
+ if mas.Query != nil {
+ objectMap["query"] = mas.Query
+ }
+ if mas.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = mas.SourceRetryCount
+ }
+ if mas.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = mas.SourceRetryWait
+ }
+ if mas.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = mas.MaxConcurrentConnections
+ }
+ if mas.Type != "" {
+ objectMap["type"] = mas.Type
+ }
+ for k, v := range mas.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return &mas, true
+}
+
+// AsInformixSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for MicrosoftAccessSource.
+func (mas MicrosoftAccessSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &mas, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MicrosoftAccessSource struct.
+func (mas *MicrosoftAccessSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ mas.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mas.AdditionalProperties == nil {
+ mas.AdditionalProperties = make(map[string]interface{})
+ }
+ mas.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ mas.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ mas.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ mas.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mas.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MicrosoftAccessTableDataset the Microsoft Access table dataset.
+type MicrosoftAccessTableDataset struct {
+ // MicrosoftAccessTableDatasetTypeProperties - Microsoft Access table dataset properties.
+ *MicrosoftAccessTableDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) MarshalJSON() ([]byte, error) {
+ matd.Type = TypeMicrosoftAccessTable
+ objectMap := make(map[string]interface{})
+ if matd.MicrosoftAccessTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = matd.MicrosoftAccessTableDatasetTypeProperties
+ }
+ if matd.Description != nil {
+ objectMap["description"] = matd.Description
+ }
+ if matd.Structure != nil {
+ objectMap["structure"] = matd.Structure
+ }
+ if matd.Schema != nil {
+ objectMap["schema"] = matd.Schema
+ }
+ if matd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = matd.LinkedServiceName
+ }
+ if matd.Parameters != nil {
+ objectMap["parameters"] = matd.Parameters
+ }
+ if matd.Annotations != nil {
+ objectMap["annotations"] = matd.Annotations
+ }
+ if matd.Folder != nil {
+ objectMap["folder"] = matd.Folder
+ }
+ if matd.Type != "" {
+ objectMap["type"] = matd.Type
+ }
+ for k, v := range matd.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
+}
+
+// AsResponsysObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsVerticaTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
+
+// AsNetezzaTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsXeroObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSquareObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSparkObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
+}
+
+// AsShopifyObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
+}
+
+// AsServiceNowObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
+
+// AsQuickBooksObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return &matd, true
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for MicrosoftAccessTableDataset.
+func (matd MicrosoftAccessTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &matd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MicrosoftAccessTableDataset struct.
+func (matd *MicrosoftAccessTableDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var microsoftAccessTableDatasetTypeProperties MicrosoftAccessTableDatasetTypeProperties
+ err = json.Unmarshal(*v, µsoftAccessTableDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ matd.MicrosoftAccessTableDatasetTypeProperties = µsoftAccessTableDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if matd.AdditionalProperties == nil {
+ matd.AdditionalProperties = make(map[string]interface{})
+ }
+ matd.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ matd.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ matd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ matd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ matd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ matd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ matd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ matd.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ matd.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MicrosoftAccessTableDatasetTypeProperties microsoft Access table dataset properties.
+type MicrosoftAccessTableDatasetTypeProperties struct {
+ // TableName - The Microsoft Access table name. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
+}
+
+// MongoDbCollectionDataset the MongoDB database dataset.
+type MongoDbCollectionDataset struct {
+ // MongoDbCollectionDatasetTypeProperties - MongoDB database dataset properties.
+ *MongoDbCollectionDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) MarshalJSON() ([]byte, error) {
+ mdcd.Type = TypeMongoDbCollection
+ objectMap := make(map[string]interface{})
+ if mdcd.MongoDbCollectionDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = mdcd.MongoDbCollectionDatasetTypeProperties
+ }
+ if mdcd.Description != nil {
+ objectMap["description"] = mdcd.Description
+ }
+ if mdcd.Structure != nil {
+ objectMap["structure"] = mdcd.Structure
+ }
+ if mdcd.Schema != nil {
+ objectMap["schema"] = mdcd.Schema
+ }
+ if mdcd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = mdcd.LinkedServiceName
+ }
+ if mdcd.Parameters != nil {
+ objectMap["parameters"] = mdcd.Parameters
+ }
+ if mdcd.Annotations != nil {
+ objectMap["annotations"] = mdcd.Annotations
+ }
+ if mdcd.Folder != nil {
+ objectMap["folder"] = mdcd.Folder
+ }
+ if mdcd.Type != "" {
+ objectMap["type"] = mdcd.Type
+ }
+ for k, v := range mdcd.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
+}
+
+// AsResponsysObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsVerticaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
+}
+
+// AsNetezzaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsXeroObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSquareObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSparkObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
+}
+
+// AsShopifyObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
+}
+
+// AsServiceNowObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
+}
+
+// AsQuickBooksObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPrestoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMariaDBTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
+}
+
+// AsMagentoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
+}
+
+// AsJiraObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
+
+// AsImpalaObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHubspotObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHiveObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHBaseObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+ return nil, false
+}
+
+// AsGreenplumTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+ return nil, false
+}
+
+// AsEloquaObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+ return nil, false
+}
+
+// AsDrillTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+ return nil, false
+}
+
+// AsCouchbaseTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+ return nil, false
+}
+
+// AsConcurObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+ return nil, false
+}
+
+// AsHTTPDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+ return nil, false
+}
+
+// AsWebTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapTableResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
+}
+
+// AsRestResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapHanaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+ return nil, false
+}
+
+// AsSapEccResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
+// AsRelationalTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsTeradataTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return &mdcd, true
+}
+
+// AsFileShareDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for MongoDbCollectionDataset.
+func (mdcd MongoDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &mdcd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MongoDbCollectionDataset struct.
+func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var mongoDbCollectionDatasetTypeProperties MongoDbCollectionDatasetTypeProperties
+ err = json.Unmarshal(*v, &mongoDbCollectionDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ mdcd.MongoDbCollectionDatasetTypeProperties = &mongoDbCollectionDatasetTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mdcd.AdditionalProperties == nil {
+ mdcd.AdditionalProperties = make(map[string]interface{})
+ }
+ mdcd.AdditionalProperties[k] = additionalProperties
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ mdcd.Description = &description
+ }
+ case "structure":
+ if v != nil {
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
+ if err != nil {
+ return err
+ }
+ mdcd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ mdcd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ mdcd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ mdcd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mdcd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ mdcd.Folder = &folder
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mdcd.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MongoDbCollectionDatasetTypeProperties mongoDB database dataset properties.
+type MongoDbCollectionDatasetTypeProperties struct {
+ // CollectionName - The table name of the MongoDB database. Type: string (or Expression with resultType string).
+ CollectionName interface{} `json:"collectionName,omitempty"`
+}
+
+// MongoDbCursorMethodsProperties cursor methods for Mongodb query
+type MongoDbCursorMethodsProperties struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Project - Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string).
+ Project interface{} `json:"project,omitempty"`
+ // Sort - Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string).
+ Sort interface{} `json:"sort,omitempty"`
+ // Skip - Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer).
+ Skip interface{} `json:"skip,omitempty"`
+ // Limit - Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer).
+ Limit interface{} `json:"limit,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MongoDbCursorMethodsProperties.
+func (mdcmp MongoDbCursorMethodsProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if mdcmp.Project != nil {
+ objectMap["project"] = mdcmp.Project
+ }
+ if mdcmp.Sort != nil {
+ objectMap["sort"] = mdcmp.Sort
+ }
+ if mdcmp.Skip != nil {
+ objectMap["skip"] = mdcmp.Skip
+ }
+ if mdcmp.Limit != nil {
+ objectMap["limit"] = mdcmp.Limit
+ }
+ for k, v := range mdcmp.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for MongoDbCursorMethodsProperties struct.
+func (mdcmp *MongoDbCursorMethodsProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
if err != nil {
- return nil, err
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mdcmp.AdditionalProperties == nil {
+ mdcmp.AdditionalProperties = make(map[string]interface{})
+ }
+ mdcmp.AdditionalProperties[k] = additionalProperties
+ }
+ case "project":
+ if v != nil {
+ var project interface{}
+ err = json.Unmarshal(*v, &project)
+ if err != nil {
+ return err
+ }
+ mdcmp.Project = project
+ }
+ case "sort":
+ if v != nil {
+ var sortVar interface{}
+ err = json.Unmarshal(*v, &sortVar)
+ if err != nil {
+ return err
+ }
+ mdcmp.Sort = sortVar
+ }
+ case "skip":
+ if v != nil {
+ var skip interface{}
+ err = json.Unmarshal(*v, &skip)
+ if err != nil {
+ return err
+ }
+ mdcmp.Skip = skip
+ }
+ case "limit":
+ if v != nil {
+ var limit interface{}
+ err = json.Unmarshal(*v, &limit)
+ if err != nil {
+ return err
+ }
+ mdcmp.Limit = limit
+ }
+ }
}
- lsArray := make([]BasicLinkedService, len(rawMessages))
+ return nil
+}
- for index, rawMessage := range rawMessages {
- ls, err := unmarshalBasicLinkedService(*rawMessage)
- if err != nil {
- return nil, err
+// MongoDbLinkedService linked service for MongoDb data source.
+type MongoDbLinkedService struct {
+ // MongoDbLinkedServiceTypeProperties - MongoDB linked service properties.
+ *MongoDbLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) MarshalJSON() ([]byte, error) {
+ mdls.Type = TypeMongoDb
+ objectMap := make(map[string]interface{})
+ if mdls.MongoDbLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = mdls.MongoDbLinkedServiceTypeProperties
+ }
+ if mdls.ConnectVia != nil {
+ objectMap["connectVia"] = mdls.ConnectVia
+ }
+ if mdls.Description != nil {
+ objectMap["description"] = mdls.Description
+ }
+ if mdls.Parameters != nil {
+ objectMap["parameters"] = mdls.Parameters
+ }
+ if mdls.Annotations != nil {
+ objectMap["annotations"] = mdls.Annotations
+ }
+ if mdls.Type != "" {
+ objectMap["type"] = mdls.Type
+ }
+ for k, v := range mdls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+ return nil, false
+}
+
+// AsResponsysLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return nil, false
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+ return nil, false
+}
+
+// AsZohoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+ return nil, false
+}
+
+// AsXeroLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+ return nil, false
+}
+
+// AsSquareLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
+}
+
+// AsSparkLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+ return nil, false
+}
+
+// AsShopifyLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+ return nil, false
+}
+
+// AsServiceNowLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
+}
+
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return nil, false
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return nil, false
+}
+
+// AsPaypalLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
+}
+
+// AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
+}
+
+// AsMagentoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
+}
+
+// AsJiraLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+ return nil, false
+}
+
+// AsImpalaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+ return nil, false
+}
+
+// AsHubspotLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+ return nil, false
+}
+
+// AsHiveLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+ return nil, false
+}
+
+// AsHBaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return &mdls, true
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
+func (mdls MongoDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &mdls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MongoDbLinkedService struct.
+func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var mongoDbLinkedServiceTypeProperties MongoDbLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &mongoDbLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ mdls.MongoDbLinkedServiceTypeProperties = &mongoDbLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if mdls.AdditionalProperties == nil {
+ mdls.AdditionalProperties = make(map[string]interface{})
+ }
+ mdls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ mdls.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ mdls.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ mdls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mdls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ mdls.Type = typeVar
+ }
}
- lsArray[index] = ls
}
- return lsArray, nil
+
+ return nil
}
-// MarshalJSON is the custom marshaler for LinkedService.
-func (ls LinkedService) MarshalJSON() ([]byte, error) {
- ls.Type = TypeLinkedService
+// MongoDbLinkedServiceTypeProperties mongoDB linked service properties.
+type MongoDbLinkedServiceTypeProperties struct {
+ // Server - The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string).
+ Server interface{} `json:"server,omitempty"`
+ // AuthenticationType - The authentication type to be used to connect to the MongoDB database. Possible values include: 'MongoDbAuthenticationTypeBasic', 'MongoDbAuthenticationTypeAnonymous'
+ AuthenticationType MongoDbAuthenticationType `json:"authenticationType,omitempty"`
+ // DatabaseName - The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).
+ DatabaseName interface{} `json:"databaseName,omitempty"`
+ // Username - Username for authentication. Type: string (or Expression with resultType string).
+ Username interface{} `json:"username,omitempty"`
+ // Password - Password for authentication.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // AuthSource - Database to verify the username and password. Type: string (or Expression with resultType string).
+ AuthSource interface{} `json:"authSource,omitempty"`
+ // Port - The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0.
+ Port interface{} `json:"port,omitempty"`
+ // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean).
+ EnableSsl interface{} `json:"enableSsl,omitempty"`
+ // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean).
+ AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for MongoDbLinkedServiceTypeProperties struct.
+func (mdlstp *MongoDbLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "server":
+ if v != nil {
+ var server interface{}
+ err = json.Unmarshal(*v, &server)
+ if err != nil {
+ return err
+ }
+ mdlstp.Server = server
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType MongoDbAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ mdlstp.AuthenticationType = authenticationType
+ }
+ case "databaseName":
+ if v != nil {
+ var databaseName interface{}
+ err = json.Unmarshal(*v, &databaseName)
+ if err != nil {
+ return err
+ }
+ mdlstp.DatabaseName = databaseName
+ }
+ case "username":
+ if v != nil {
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
+ if err != nil {
+ return err
+ }
+ mdlstp.Username = username
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ mdlstp.Password = password
+ }
+ case "authSource":
+ if v != nil {
+ var authSource interface{}
+ err = json.Unmarshal(*v, &authSource)
+ if err != nil {
+ return err
+ }
+ mdlstp.AuthSource = authSource
+ }
+ case "port":
+ if v != nil {
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
+ if err != nil {
+ return err
+ }
+ mdlstp.Port = port
+ }
+ case "enableSsl":
+ if v != nil {
+ var enableSsl interface{}
+ err = json.Unmarshal(*v, &enableSsl)
+ if err != nil {
+ return err
+ }
+ mdlstp.EnableSsl = enableSsl
+ }
+ case "allowSelfSignedServerCert":
+ if v != nil {
+ var allowSelfSignedServerCert interface{}
+ err = json.Unmarshal(*v, &allowSelfSignedServerCert)
+ if err != nil {
+ return err
+ }
+ mdlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ mdlstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// MongoDbSource a copy activity source for a MongoDB database.
+type MongoDbSource struct {
+ // Query - Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for MongoDbSource.
+func (mds MongoDbSource) MarshalJSON() ([]byte, error) {
+ mds.Type = TypeMongoDbSource
objectMap := make(map[string]interface{})
- if ls.ConnectVia != nil {
- objectMap["connectVia"] = ls.ConnectVia
+ if mds.Query != nil {
+ objectMap["query"] = mds.Query
}
- if ls.Description != nil {
- objectMap["description"] = ls.Description
+ if mds.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = mds.SourceRetryCount
}
- if ls.Parameters != nil {
- objectMap["parameters"] = ls.Parameters
+ if mds.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = mds.SourceRetryWait
}
- if ls.Annotations != nil {
- objectMap["annotations"] = ls.Annotations
+ if mds.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = mds.MaxConcurrentConnections
}
- if ls.Type != "" {
- objectMap["type"] = ls.Type
+ if mds.Type != "" {
+ objectMap["type"] = mds.Type
}
- for k, v := range ls.AdditionalProperties {
+ for k, v := range mds.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
- return nil, false
+// AsMongoDbSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return &mds, true
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsODataSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsMySQLSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsBinarySource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsParquetSource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsCopySource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsLinkedService() (*LinkedService, bool) {
- return &ls, true
-}
-
-// AsBasicLinkedService is the BasicLinkedService implementation for LinkedService.
-func (ls LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &ls, true
+// AsBasicCopySource is the BasicCopySource implementation for MongoDbSource.
+func (mds MongoDbSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &mds, true
}
-// UnmarshalJSON is the custom unmarshaler for LinkedService struct.
-func (ls *LinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for MongoDbSource struct.
+func (mds *MongoDbSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -86280,62 +112797,62 @@ func (ls *LinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- default:
+ case "query":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- if ls.AdditionalProperties == nil {
- ls.AdditionalProperties = make(map[string]interface{})
- }
- ls.AdditionalProperties[k] = additionalProperties
+ mds.Query = query
}
- case "connectVia":
+ default:
if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- ls.ConnectVia = &connectVia
+ if mds.AdditionalProperties == nil {
+ mds.AdditionalProperties = make(map[string]interface{})
+ }
+ mds.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- ls.Description = &description
+ mds.SourceRetryCount = sourceRetryCount
}
- case "parameters":
+ case "sourceRetryWait":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- ls.Parameters = parameters
+ mds.SourceRetryWait = sourceRetryWait
}
- case "annotations":
+ case "maxConcurrentConnections":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- ls.Annotations = &annotations
+ mds.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ls.Type = typeVar
+ mds.Type = typeVar
}
}
}
@@ -86343,559 +112860,469 @@ func (ls *LinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// LinkedServiceListResponse a list of linked service resources.
-type LinkedServiceListResponse struct {
- autorest.Response `json:"-"`
- // Value - List of linked services.
- Value *[]LinkedServiceResource `json:"value,omitempty"`
- // NextLink - The link to the next page of results, if any remaining results exist.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// LinkedServiceListResponseIterator provides access to a complete listing of LinkedServiceResource values.
-type LinkedServiceListResponseIterator struct {
- i int
- page LinkedServiceListResponsePage
+// MongoDbV2CollectionDataset the MongoDB database dataset.
+type MongoDbV2CollectionDataset struct {
+ // MongoDbV2CollectionDatasetTypeProperties - MongoDB database dataset properties.
+ *MongoDbV2CollectionDatasetTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// NextWithContext advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-func (iter *LinkedServiceListResponseIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/LinkedServiceListResponseIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
+// MarshalJSON is the custom marshaler for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) MarshalJSON() ([]byte, error) {
+ mdvcd.Type = TypeMongoDbV2Collection
+ objectMap := make(map[string]interface{})
+ if mdvcd.MongoDbV2CollectionDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = mdvcd.MongoDbV2CollectionDatasetTypeProperties
}
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
+ if mdvcd.Description != nil {
+ objectMap["description"] = mdvcd.Description
}
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
+ if mdvcd.Structure != nil {
+ objectMap["structure"] = mdvcd.Structure
}
- iter.i = 0
- return nil
+ if mdvcd.Schema != nil {
+ objectMap["schema"] = mdvcd.Schema
+ }
+ if mdvcd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = mdvcd.LinkedServiceName
+ }
+ if mdvcd.Parameters != nil {
+ objectMap["parameters"] = mdvcd.Parameters
+ }
+ if mdvcd.Annotations != nil {
+ objectMap["annotations"] = mdvcd.Annotations
+ }
+ if mdvcd.Folder != nil {
+ objectMap["folder"] = mdvcd.Folder
+ }
+ if mdvcd.Type != "" {
+ objectMap["type"] = mdvcd.Type
+ }
+ for k, v := range mdvcd.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *LinkedServiceListResponseIterator) Next() error {
- return iter.NextWithContext(context.Background())
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+ return nil, false
}
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter LinkedServiceListResponseIterator) NotDone() bool {
- return iter.page.NotDone() && iter.i < len(iter.page.Values())
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (iter LinkedServiceListResponseIterator) Response() LinkedServiceListResponse {
- return iter.page.Response()
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
}
-// Value returns the current value or a zero-initialized value if the
-// iterator has advanced beyond the end of the collection.
-func (iter LinkedServiceListResponseIterator) Value() LinkedServiceResource {
- if !iter.page.NotDone() {
- return LinkedServiceResource{}
- }
- return iter.page.Values()[iter.i]
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+ return nil, false
}
-// Creates a new instance of the LinkedServiceListResponseIterator type.
-func NewLinkedServiceListResponseIterator(page LinkedServiceListResponsePage) LinkedServiceListResponseIterator {
- return LinkedServiceListResponseIterator{page: page}
+// AsResponsysObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return nil, false
}
-// IsEmpty returns true if the ListResult contains no values.
-func (lslr LinkedServiceListResponse) IsEmpty() bool {
- return lslr.Value == nil || len(*lslr.Value) == 0
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
}
-// 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 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(lslr.NextLink)))
+// AsVerticaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+ return nil, false
}
-// LinkedServiceListResponsePage contains a page of LinkedServiceResource values.
-type LinkedServiceListResponsePage struct {
- fn func(context.Context, LinkedServiceListResponse) (LinkedServiceListResponse, error)
- lslr LinkedServiceListResponse
+// AsNetezzaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return nil, false
}
-// NextWithContext advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-func (page *LinkedServiceListResponsePage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/LinkedServiceListResponsePage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.lslr)
- if err != nil {
- return err
- }
- page.lslr = next
- return nil
+// AsZohoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+ return nil, false
}
-// Next advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (page *LinkedServiceListResponsePage) Next() error {
- return page.NextWithContext(context.Background())
+// AsXeroObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+ return nil, false
}
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page LinkedServiceListResponsePage) NotDone() bool {
- return !page.lslr.IsEmpty()
+// AsSquareObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (page LinkedServiceListResponsePage) Response() LinkedServiceListResponse {
- return page.lslr
+// AsSparkObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+ return nil, false
}
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page LinkedServiceListResponsePage) Values() []LinkedServiceResource {
- if page.lslr.IsEmpty() {
- return nil
- }
- return *page.lslr.Value
+// AsShopifyObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+ return nil, false
}
-// Creates a new instance of the LinkedServiceListResponsePage type.
-func NewLinkedServiceListResponsePage(getNextPage func(context.Context, LinkedServiceListResponse) (LinkedServiceListResponse, error)) LinkedServiceListResponsePage {
- return LinkedServiceListResponsePage{fn: getNextPage}
+// AsServiceNowObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+ return nil, false
}
-// LinkedServiceReference linked service reference type.
-type LinkedServiceReference struct {
- // Type - Linked service reference type.
- Type *string `json:"type,omitempty"`
- // ReferenceName - Reference LinkedService name.
- ReferenceName *string `json:"referenceName,omitempty"`
- // Parameters - Arguments for LinkedService.
- Parameters map[string]interface{} `json:"parameters"`
+// AsQuickBooksObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for LinkedServiceReference.
-func (lsr LinkedServiceReference) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if lsr.Type != nil {
- objectMap["type"] = lsr.Type
- }
- if lsr.ReferenceName != nil {
- objectMap["referenceName"] = lsr.ReferenceName
- }
- if lsr.Parameters != nil {
- objectMap["parameters"] = lsr.Parameters
- }
- return json.Marshal(objectMap)
+// AsPrestoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
}
-// LinkedServiceResource linked service resource type.
-type LinkedServiceResource struct {
- autorest.Response `json:"-"`
- // Properties - Properties of linked service.
- Properties BasicLinkedService `json:"properties,omitempty"`
- // ID - READ-ONLY; The resource identifier.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The resource name.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The resource type.
- Type *string `json:"type,omitempty"`
- // Etag - READ-ONLY; Etag identifies change in the resource.
- Etag *string `json:"etag,omitempty"`
+// AsPhoenixObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for LinkedServiceResource struct.
-func (lsr *LinkedServiceResource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "properties":
- if v != nil {
- properties, err := unmarshalBasicLinkedService(*v)
- if err != nil {
- return err
- }
- lsr.Properties = properties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- lsr.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- lsr.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- lsr.Type = &typeVar
- }
- case "etag":
- if v != nil {
- var etag string
- err = json.Unmarshal(*v, &etag)
- if err != nil {
- return err
- }
- lsr.Etag = &etag
- }
- }
- }
+// AsPaypalObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
+}
- return nil
+// AsMarketoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+ return nil, false
}
-// LogStorageSettings log storage settings.
-type LogStorageSettings struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // LinkedServiceName - Log storage linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Path - The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string).
- Path interface{} `json:"path,omitempty"`
+// AsMariaDBTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for LogStorageSettings.
-func (lss LogStorageSettings) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if lss.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = lss.LinkedServiceName
- }
- if lss.Path != nil {
- objectMap["path"] = lss.Path
- }
- for k, v := range lss.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsMagentoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for LogStorageSettings struct.
-func (lss *LogStorageSettings) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if lss.AdditionalProperties == nil {
- lss.AdditionalProperties = make(map[string]interface{})
- }
- lss.AdditionalProperties[k] = additionalProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- lss.LinkedServiceName = &linkedServiceName
- }
- case "path":
- if v != nil {
- var pathVar interface{}
- err = json.Unmarshal(*v, &pathVar)
- if err != nil {
- return err
- }
- lss.Path = pathVar
- }
- }
- }
+// AsJiraObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+ return nil, false
+}
- return nil
+// AsImpalaObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+ return nil, false
}
-// LookupActivity lookup activity.
-type LookupActivity struct {
- // LookupActivityTypeProperties - Lookup activity properties.
- *LookupActivityTypeProperties `json:"typeProperties,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Policy - Activity policy.
- Policy *ActivityPolicy `json:"policy,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Name - Activity name.
- Name *string `json:"name,omitempty"`
- // Description - Activity description.
- Description *string `json:"description,omitempty"`
- // DependsOn - Activity depends on condition.
- DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
- // UserProperties - Activity user properties.
- UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
- Type TypeBasicActivity `json:"type,omitempty"`
+// AsHubspotObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for LookupActivity.
-func (la LookupActivity) MarshalJSON() ([]byte, error) {
- la.Type = TypeLookup
- objectMap := make(map[string]interface{})
- if la.LookupActivityTypeProperties != nil {
- objectMap["typeProperties"] = la.LookupActivityTypeProperties
- }
- if la.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = la.LinkedServiceName
- }
- if la.Policy != nil {
- objectMap["policy"] = la.Policy
- }
- if la.Name != nil {
- objectMap["name"] = la.Name
- }
- if la.Description != nil {
- objectMap["description"] = la.Description
- }
- if la.DependsOn != nil {
- objectMap["dependsOn"] = la.DependsOn
- }
- if la.UserProperties != nil {
- objectMap["userProperties"] = la.UserProperties
- }
- if la.Type != "" {
- objectMap["type"] = la.Type
- }
- for k, v := range la.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsHiveObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+ return nil, false
}
-// AsAzureFunctionActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsDatabricksSparkPythonActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsDatabricksSparkJarActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsDatabricksNotebookActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsGetMetadataActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsWebActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsWebActivity() (*WebActivity, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsLookupActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsLookupActivity() (*LookupActivity, bool) {
- return &la, true
+// AsHTTPDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+ return nil, false
}
-// AsDeleteActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsDeleteActivity() (*DeleteActivity, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
+// AsWebTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsCustomActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsCustomActivity() (*CustomActivity, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsExecuteSSISPackageActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsHDInsightSparkActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsHDInsightStreamingActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsHDInsightMapReduceActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsHDInsightPigActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsHDInsightHiveActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsCopyActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsCopyActivity() (*CopyActivity, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsExecutionActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsBasicExecutionActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
- return &la, true
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
}
-// AsWebHookActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsWebHookActivity() (*WebHookActivity, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAppendVariableActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsSetVariableActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsSetVariableActivity() (*SetVariableActivity, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsFilterActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsFilterActivity() (*FilterActivity, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsValidationActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsValidationActivity() (*ValidationActivity, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsUntilActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsUntilActivity() (*UntilActivity, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsWaitActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsWaitActivity() (*WaitActivity, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+ return nil, false
+}
+
+// AsOracleTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return nil, false
+}
+
+// AsODataResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+ return &mdvcd, true
+}
+
+// AsMongoDbCollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsFileShareDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+ return nil, false
+}
+
+// AsOffice365Dataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsEntityDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+ return nil, false
+}
+
+// AsCustomDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
+}
+
+// AsCassandraTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsForEachActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsForEachActivity() (*ForEachActivity, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsIfConditionActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
+// AsBinaryDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsExecutePipelineActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsControlActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsControlActivity() (*ControlActivity, bool) {
+// AsParquetDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsBasicControlActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsActivity() (*Activity, bool) {
+// AsDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicActivity is the BasicActivity implementation for LookupActivity.
-func (la LookupActivity) AsBasicActivity() (BasicActivity, bool) {
- return &la, true
+// AsBasicDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
+func (mdvcd MongoDbV2CollectionDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &mdvcd, true
}
-// UnmarshalJSON is the custom unmarshaler for LookupActivity struct.
-func (la *LookupActivity) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for MongoDbV2CollectionDataset struct.
+func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -86905,30 +113332,12 @@ func (la *LookupActivity) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var lookupActivityTypeProperties LookupActivityTypeProperties
- err = json.Unmarshal(*v, &lookupActivityTypeProperties)
- if err != nil {
- return err
- }
- la.LookupActivityTypeProperties = &lookupActivityTypeProperties
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- la.LinkedServiceName = &linkedServiceName
- }
- case "policy":
- if v != nil {
- var policy ActivityPolicy
- err = json.Unmarshal(*v, &policy)
+ var mongoDbV2CollectionDatasetTypeProperties MongoDbV2CollectionDatasetTypeProperties
+ err = json.Unmarshal(*v, &mongoDbV2CollectionDatasetTypeProperties)
if err != nil {
return err
}
- la.Policy = &policy
+ mdvcd.MongoDbV2CollectionDatasetTypeProperties = &mongoDbV2CollectionDatasetTypeProperties
}
default:
if v != nil {
@@ -86937,106 +113346,82 @@ func (la *LookupActivity) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if la.AdditionalProperties == nil {
- la.AdditionalProperties = make(map[string]interface{})
+ if mdvcd.AdditionalProperties == nil {
+ mdvcd.AdditionalProperties = make(map[string]interface{})
}
- la.AdditionalProperties[k] = additionalProperties
+ mdvcd.AdditionalProperties[k] = additionalProperties
}
- case "name":
+ case "description":
if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- la.Name = &name
+ mdvcd.Description = &description
}
- case "description":
+ case "structure":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- la.Description = &description
+ mdvcd.Structure = structure
}
- case "dependsOn":
+ case "schema":
if v != nil {
- var dependsOn []ActivityDependency
- err = json.Unmarshal(*v, &dependsOn)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- la.DependsOn = &dependsOn
+ mdvcd.Schema = schema
}
- case "userProperties":
+ case "linkedServiceName":
if v != nil {
- var userProperties []UserProperty
- err = json.Unmarshal(*v, &userProperties)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- la.UserProperties = &userProperties
+ mdvcd.LinkedServiceName = &linkedServiceName
}
- case "type":
+ case "parameters":
if v != nil {
- var typeVar TypeBasicActivity
- err = json.Unmarshal(*v, &typeVar)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- la.Type = typeVar
+ mdvcd.Parameters = parameters
}
- }
- }
-
- return nil
-}
-
-// LookupActivityTypeProperties lookup activity properties.
-type LookupActivityTypeProperties struct {
- // Source - Dataset-specific source properties, same as copy activity source.
- Source BasicCopySource `json:"source,omitempty"`
- // Dataset - Lookup activity dataset reference.
- Dataset *DatasetReference `json:"dataset,omitempty"`
- // FirstRowOnly - Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean).
- FirstRowOnly interface{} `json:"firstRowOnly,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for LookupActivityTypeProperties struct.
-func (latp *LookupActivityTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "source":
+ case "annotations":
if v != nil {
- source, err := unmarshalBasicCopySource(*v)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- latp.Source = source
+ mdvcd.Annotations = &annotations
}
- case "dataset":
+ case "folder":
if v != nil {
- var dataset DatasetReference
- err = json.Unmarshal(*v, &dataset)
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
if err != nil {
return err
}
- latp.Dataset = &dataset
+ mdvcd.Folder = &folder
}
- case "firstRowOnly":
+ case "type":
if v != nil {
- var firstRowOnly interface{}
- err = json.Unmarshal(*v, &firstRowOnly)
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- latp.FirstRowOnly = firstRowOnly
+ mdvcd.Type = typeVar
}
}
}
@@ -87044,10 +113429,16 @@ func (latp *LookupActivityTypeProperties) UnmarshalJSON(body []byte) error {
return nil
}
-// MagentoLinkedService magento server linked service.
-type MagentoLinkedService struct {
- // MagentoLinkedServiceTypeProperties - Magento server linked service properties.
- *MagentoLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// MongoDbV2CollectionDatasetTypeProperties mongoDB database dataset properties.
+type MongoDbV2CollectionDatasetTypeProperties struct {
+ // Collection - The collection name of the MongoDB database. Type: string (or Expression with resultType string).
+ Collection interface{} `json:"collection,omitempty"`
+}
+
+// MongoDbV2LinkedService linked service for MongoDB data source.
+type MongoDbV2LinkedService struct {
+ // MongoDbV2LinkedServiceTypeProperties - MongoDB linked service properties.
+ *MongoDbV2LinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -87058,470 +113449,500 @@ type MagentoLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MagentoLinkedService.
-func (mls MagentoLinkedService) MarshalJSON() ([]byte, error) {
- mls.Type = TypeMagento
+// MarshalJSON is the custom marshaler for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) MarshalJSON() ([]byte, error) {
+ mdvls.Type = TypeMongoDbV2
objectMap := make(map[string]interface{})
- if mls.MagentoLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = mls.MagentoLinkedServiceTypeProperties
+ if mdvls.MongoDbV2LinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = mdvls.MongoDbV2LinkedServiceTypeProperties
}
- if mls.ConnectVia != nil {
- objectMap["connectVia"] = mls.ConnectVia
+ if mdvls.ConnectVia != nil {
+ objectMap["connectVia"] = mdvls.ConnectVia
}
- if mls.Description != nil {
- objectMap["description"] = mls.Description
+ if mdvls.Description != nil {
+ objectMap["description"] = mdvls.Description
}
- if mls.Parameters != nil {
- objectMap["parameters"] = mls.Parameters
+ if mdvls.Parameters != nil {
+ objectMap["parameters"] = mdvls.Parameters
}
- if mls.Annotations != nil {
- objectMap["annotations"] = mls.Annotations
+ if mdvls.Annotations != nil {
+ objectMap["annotations"] = mdvls.Annotations
}
- if mls.Type != "" {
- objectMap["type"] = mls.Type
+ if mdvls.Type != "" {
+ objectMap["type"] = mdvls.Type
}
- for k, v := range mls.AdditionalProperties {
+ for k, v := range mdvls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
- return &mls, true
+// AsMagentoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+ return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return &mdvls, true
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
-func (mls MagentoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &mls, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for MagentoLinkedService struct.
-func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
+func (mdvls MongoDbV2LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &mdvls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MongoDbV2LinkedService struct.
+func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -87531,12 +113952,12 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var magentoLinkedServiceTypeProperties MagentoLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &magentoLinkedServiceTypeProperties)
+ var mongoDbV2LinkedServiceTypeProperties MongoDbV2LinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &mongoDbV2LinkedServiceTypeProperties)
if err != nil {
return err
}
- mls.MagentoLinkedServiceTypeProperties = &magentoLinkedServiceTypeProperties
+ mdvls.MongoDbV2LinkedServiceTypeProperties = &mongoDbV2LinkedServiceTypeProperties
}
default:
if v != nil {
@@ -87545,10 +113966,10 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mls.AdditionalProperties == nil {
- mls.AdditionalProperties = make(map[string]interface{})
+ if mdvls.AdditionalProperties == nil {
+ mdvls.AdditionalProperties = make(map[string]interface{})
}
- mls.AdditionalProperties[k] = additionalProperties
+ mdvls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -87557,7 +113978,7 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mls.ConnectVia = &connectVia
+ mdvls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -87566,7 +113987,7 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mls.Description = &description
+ mdvls.Description = &description
}
case "parameters":
if v != nil {
@@ -87575,7 +113996,7 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mls.Parameters = parameters
+ mdvls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -87584,7 +114005,7 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mls.Annotations = &annotations
+ mdvls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -87593,7 +114014,7 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mls.Type = typeVar
+ mdvls.Type = typeVar
}
}
}
@@ -87601,503 +114022,477 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// MagentoLinkedServiceTypeProperties magento server linked service properties.
-type MagentoLinkedServiceTypeProperties struct {
- // Host - The URL of the Magento instance. (i.e. 192.168.222.110/magento3)
- Host interface{} `json:"host,omitempty"`
- // AccessToken - The access token from Magento.
- AccessToken BasicSecretBase `json:"accessToken,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
- UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
- UseHostVerification interface{} `json:"useHostVerification,omitempty"`
- // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
- UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for MagentoLinkedServiceTypeProperties struct.
-func (mlstp *MagentoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "host":
- if v != nil {
- var host interface{}
- err = json.Unmarshal(*v, &host)
- if err != nil {
- return err
- }
- mlstp.Host = host
- }
- case "accessToken":
- if v != nil {
- accessToken, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- mlstp.AccessToken = accessToken
- }
- case "useEncryptedEndpoints":
- if v != nil {
- var useEncryptedEndpoints interface{}
- err = json.Unmarshal(*v, &useEncryptedEndpoints)
- if err != nil {
- return err
- }
- mlstp.UseEncryptedEndpoints = useEncryptedEndpoints
- }
- case "useHostVerification":
- if v != nil {
- var useHostVerification interface{}
- err = json.Unmarshal(*v, &useHostVerification)
- if err != nil {
- return err
- }
- mlstp.UseHostVerification = useHostVerification
- }
- case "usePeerVerification":
- if v != nil {
- var usePeerVerification interface{}
- err = json.Unmarshal(*v, &usePeerVerification)
- if err != nil {
- return err
- }
- mlstp.UsePeerVerification = usePeerVerification
- }
- case "encryptedCredential":
- if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
- if err != nil {
- return err
- }
- mlstp.EncryptedCredential = encryptedCredential
- }
- }
- }
-
- return nil
+// MongoDbV2LinkedServiceTypeProperties mongoDB linked service properties.
+type MongoDbV2LinkedServiceTypeProperties struct {
+ // ConnectionString - The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // Database - The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).
+ Database interface{} `json:"database,omitempty"`
}
-// MagentoObjectDataset magento server dataset.
-type MagentoObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// MongoDbV2Source a copy activity source for a MongoDB database.
+type MongoDbV2Source struct {
+ // Filter - Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string).
+ Filter interface{} `json:"filter,omitempty"`
+ // CursorMethods - Cursor methods for Mongodb query
+ CursorMethods *MongoDbCursorMethodsProperties `json:"cursorMethods,omitempty"`
+ // BatchSize - Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer).
+ BatchSize interface{} `json:"batchSize,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MagentoObjectDataset.
-func (mod MagentoObjectDataset) MarshalJSON() ([]byte, error) {
- mod.Type = TypeMagentoObject
+// MarshalJSON is the custom marshaler for MongoDbV2Source.
+func (mdvs MongoDbV2Source) MarshalJSON() ([]byte, error) {
+ mdvs.Type = TypeMongoDbV2Source
objectMap := make(map[string]interface{})
- if mod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = mod.GenericDatasetTypeProperties
- }
- if mod.Description != nil {
- objectMap["description"] = mod.Description
- }
- if mod.Structure != nil {
- objectMap["structure"] = mod.Structure
+ if mdvs.Filter != nil {
+ objectMap["filter"] = mdvs.Filter
}
- if mod.Schema != nil {
- objectMap["schema"] = mod.Schema
+ if mdvs.CursorMethods != nil {
+ objectMap["cursorMethods"] = mdvs.CursorMethods
}
- if mod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = mod.LinkedServiceName
+ if mdvs.BatchSize != nil {
+ objectMap["batchSize"] = mdvs.BatchSize
}
- if mod.Parameters != nil {
- objectMap["parameters"] = mod.Parameters
+ if mdvs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = mdvs.SourceRetryCount
}
- if mod.Annotations != nil {
- objectMap["annotations"] = mod.Annotations
+ if mdvs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = mdvs.SourceRetryWait
}
- if mod.Folder != nil {
- objectMap["folder"] = mod.Folder
+ if mdvs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = mdvs.MaxConcurrentConnections
}
- if mod.Type != "" {
- objectMap["type"] = mod.Type
+ if mdvs.Type != "" {
+ objectMap["type"] = mdvs.Type
}
- for k, v := range mod.AdditionalProperties {
+ for k, v := range mdvs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
- return &mod, true
+// AsMagentoSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return &mdvs, true
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsWebSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsTeradataSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsOracleSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsHdfsSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSQLMISource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSQLSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsRestSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsSapTableSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsInformixSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsRelationalSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsBlobSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsBinarySource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsParquetSource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsDataset() (*Dataset, bool) {
+// AsCopySource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for MagentoObjectDataset.
-func (mod MagentoObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &mod, true
+// AsBasicCopySource is the BasicCopySource implementation for MongoDbV2Source.
+func (mdvs MongoDbV2Source) AsBasicCopySource() (BasicCopySource, bool) {
+ return &mdvs, true
}
-// UnmarshalJSON is the custom unmarshaler for MagentoObjectDataset struct.
-func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for MongoDbV2Source struct.
+func (mdvs *MongoDbV2Source) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -88105,14 +114500,32 @@ func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "filter":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var filter interface{}
+ err = json.Unmarshal(*v, &filter)
if err != nil {
return err
}
- mod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ mdvs.Filter = filter
+ }
+ case "cursorMethods":
+ if v != nil {
+ var cursorMethods MongoDbCursorMethodsProperties
+ err = json.Unmarshal(*v, &cursorMethods)
+ if err != nil {
+ return err
+ }
+ mdvs.CursorMethods = &cursorMethods
+ }
+ case "batchSize":
+ if v != nil {
+ var batchSize interface{}
+ err = json.Unmarshal(*v, &batchSize)
+ if err != nil {
+ return err
+ }
+ mdvs.BatchSize = batchSize
}
default:
if v != nil {
@@ -88121,82 +114534,254 @@ func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mod.AdditionalProperties == nil {
- mod.AdditionalProperties = make(map[string]interface{})
+ if mdvs.AdditionalProperties == nil {
+ mdvs.AdditionalProperties = make(map[string]interface{})
}
- mod.AdditionalProperties[k] = additionalProperties
+ mdvs.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- mod.Description = &description
+ mdvs.SourceRetryCount = sourceRetryCount
}
- case "structure":
+ case "sourceRetryWait":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- mod.Structure = structure
+ mdvs.SourceRetryWait = sourceRetryWait
}
- case "schema":
+ case "maxConcurrentConnections":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- mod.Schema = schema
+ mdvs.MaxConcurrentConnections = maxConcurrentConnections
}
- case "linkedServiceName":
+ case "type":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mod.LinkedServiceName = &linkedServiceName
+ mdvs.Type = typeVar
}
- case "parameters":
+ }
+ }
+
+ return nil
+}
+
+// BasicMultiplePipelineTrigger base class for all triggers that support one to many model for trigger to pipeline.
+type BasicMultiplePipelineTrigger interface {
+ AsBlobEventsTrigger() (*BlobEventsTrigger, bool)
+ AsBlobTrigger() (*BlobTrigger, bool)
+ AsScheduleTrigger() (*ScheduleTrigger, bool)
+ AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool)
+}
+
+// MultiplePipelineTrigger base class for all triggers that support one to many model for trigger to pipeline.
+type MultiplePipelineTrigger struct {
+ // Pipelines - Pipelines that need to be started.
+ Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Trigger description.
+ Description *string `json:"description,omitempty"`
+ // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled'
+ RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
+ // Annotations - List of tags that can be used for describing the trigger.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
+ Type TypeBasicTrigger `json:"type,omitempty"`
+}
+
+func unmarshalBasicMultiplePipelineTrigger(body []byte) (BasicMultiplePipelineTrigger, error) {
+ var m map[string]interface{}
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return nil, err
+ }
+
+ switch m["type"] {
+ case string(TypeBlobEventsTrigger):
+ var bet BlobEventsTrigger
+ err := json.Unmarshal(body, &bet)
+ return bet, err
+ case string(TypeBlobTrigger):
+ var bt BlobTrigger
+ err := json.Unmarshal(body, &bt)
+ return bt, err
+ case string(TypeScheduleTrigger):
+ var st ScheduleTrigger
+ err := json.Unmarshal(body, &st)
+ return st, err
+ default:
+ var mpt MultiplePipelineTrigger
+ err := json.Unmarshal(body, &mpt)
+ return mpt, err
+ }
+}
+func unmarshalBasicMultiplePipelineTriggerArray(body []byte) ([]BasicMultiplePipelineTrigger, error) {
+ var rawMessages []*json.RawMessage
+ err := json.Unmarshal(body, &rawMessages)
+ if err != nil {
+ return nil, err
+ }
+
+ mptArray := make([]BasicMultiplePipelineTrigger, len(rawMessages))
+
+ for index, rawMessage := range rawMessages {
+ mpt, err := unmarshalBasicMultiplePipelineTrigger(*rawMessage)
+ if err != nil {
+ return nil, err
+ }
+ mptArray[index] = mpt
+ }
+ return mptArray, nil
+}
+
+// MarshalJSON is the custom marshaler for MultiplePipelineTrigger.
+func (mpt MultiplePipelineTrigger) MarshalJSON() ([]byte, error) {
+ mpt.Type = TypeMultiplePipelineTrigger
+ objectMap := make(map[string]interface{})
+ if mpt.Pipelines != nil {
+ objectMap["pipelines"] = mpt.Pipelines
+ }
+ if mpt.Description != nil {
+ objectMap["description"] = mpt.Description
+ }
+ if mpt.Annotations != nil {
+ objectMap["annotations"] = mpt.Annotations
+ }
+ if mpt.Type != "" {
+ objectMap["type"] = mpt.Type
+ }
+ for k, v := range mpt.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
+func (mpt MultiplePipelineTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) {
+ return nil, false
+}
+
+// AsTumblingWindowTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
+func (mpt MultiplePipelineTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
+ return nil, false
+}
+
+// AsBlobEventsTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
+func (mpt MultiplePipelineTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) {
+ return nil, false
+}
+
+// AsBlobTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
+func (mpt MultiplePipelineTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
+ return nil, false
+}
+
+// AsScheduleTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
+func (mpt MultiplePipelineTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
+ return nil, false
+}
+
+// AsMultiplePipelineTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
+func (mpt MultiplePipelineTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
+ return &mpt, true
+}
+
+// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
+func (mpt MultiplePipelineTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
+ return &mpt, true
+}
+
+// AsTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
+func (mpt MultiplePipelineTrigger) AsTrigger() (*Trigger, bool) {
+ return nil, false
+}
+
+// AsBasicTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
+func (mpt MultiplePipelineTrigger) AsBasicTrigger() (BasicTrigger, bool) {
+ return &mpt, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MultiplePipelineTrigger struct.
+func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "pipelines":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var pipelines []TriggerPipelineReference
+ err = json.Unmarshal(*v, &pipelines)
if err != nil {
return err
}
- mod.Parameters = parameters
+ mpt.Pipelines = &pipelines
}
- case "annotations":
+ default:
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- mod.Annotations = &annotations
+ if mpt.AdditionalProperties == nil {
+ mpt.AdditionalProperties = make(map[string]interface{})
+ }
+ mpt.AdditionalProperties[k] = additionalProperties
}
- case "folder":
+ case "description":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- mod.Folder = &folder
+ mpt.Description = &description
+ }
+ case "runtimeState":
+ if v != nil {
+ var runtimeState TriggerRuntimeState
+ err = json.Unmarshal(*v, &runtimeState)
+ if err != nil {
+ return err
+ }
+ mpt.RuntimeState = runtimeState
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mpt.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicTrigger
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mod.Type = typeVar
+ mpt.Type = typeVar
}
}
}
@@ -88204,671 +114789,514 @@ func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// MagentoSource a copy activity Magento server source.
-type MagentoSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// MySQLLinkedService linked service for MySQL data source.
+type MySQLLinkedService struct {
+ // MySQLLinkedServiceTypeProperties - MySQL linked service properties.
+ *MySQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MagentoSource.
-func (ms MagentoSource) MarshalJSON() ([]byte, error) {
- ms.Type = TypeMagentoSource
+// MarshalJSON is the custom marshaler for MySQLLinkedService.
+func (msls MySQLLinkedService) MarshalJSON() ([]byte, error) {
+ msls.Type = TypeMySQL
objectMap := make(map[string]interface{})
- if ms.Query != nil {
- objectMap["query"] = ms.Query
+ if msls.MySQLLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = msls.MySQLLinkedServiceTypeProperties
}
- if ms.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ms.SourceRetryCount
+ if msls.ConnectVia != nil {
+ objectMap["connectVia"] = msls.ConnectVia
}
- if ms.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ms.SourceRetryWait
+ if msls.Description != nil {
+ objectMap["description"] = msls.Description
}
- if ms.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ms.MaxConcurrentConnections
+ if msls.Parameters != nil {
+ objectMap["parameters"] = msls.Parameters
}
- if ms.Type != "" {
- objectMap["type"] = ms.Type
+ if msls.Annotations != nil {
+ objectMap["annotations"] = msls.Annotations
}
- for k, v := range ms.AdditionalProperties {
+ if msls.Type != "" {
+ objectMap["type"] = msls.Type
+ }
+ for k, v := range msls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsZohoSource() (*ZohoSource, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsXeroSource() (*XeroSource, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSquareSource() (*SquareSource, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSparkSource() (*SparkSource, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsShopifySource() (*ShopifySource, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsMagentoSource() (*MagentoSource, bool) {
- return &ms, true
+// AsPrestoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsJiraSource() (*JiraSource, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsHiveSource() (*HiveSource, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsDrillSource() (*DrillSource, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsConcurSource() (*ConcurSource, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsOffice365Source() (*Office365Source, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsWebSource() (*WebSource, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsOracleSource() (*OracleSource, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSQLSource() (*SQLSource, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsRestSource() (*RestSource, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsBlobSource() (*BlobSource, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsParquetSource() (*ParquetSource, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsCopySource() (*CopySource, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for MagentoSource.
-func (ms MagentoSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ms, true
+// AsTeradataLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for MagentoSource struct.
-func (ms *MagentoSource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "query":
- if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
- if err != nil {
- return err
- }
- ms.Query = query
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if ms.AdditionalProperties == nil {
- ms.AdditionalProperties = make(map[string]interface{})
- }
- ms.AdditionalProperties[k] = additionalProperties
- }
- case "sourceRetryCount":
- if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
- if err != nil {
- return err
- }
- ms.SourceRetryCount = sourceRetryCount
- }
- case "sourceRetryWait":
- if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
- if err != nil {
- return err
- }
- ms.SourceRetryWait = sourceRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- ms.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ms.Type = typeVar
- }
- }
- }
+// AsDb2LinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsSybaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
}
-// ManagedIntegrationRuntime managed integration runtime, including managed elastic and managed dedicated
-// integration runtimes.
-type ManagedIntegrationRuntime struct {
- // State - READ-ONLY; Integration runtime state, only valid for managed dedicated integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied'
- State IntegrationRuntimeState `json:"state,omitempty"`
- // ManagedIntegrationRuntimeTypeProperties - Managed integration runtime properties.
- *ManagedIntegrationRuntimeTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Integration runtime description.
- Description *string `json:"description,omitempty"`
- // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged'
- Type TypeBasicIntegrationRuntime `json:"type,omitempty"`
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for ManagedIntegrationRuntime.
-func (mir ManagedIntegrationRuntime) MarshalJSON() ([]byte, error) {
- mir.Type = TypeManaged
- objectMap := make(map[string]interface{})
- if mir.ManagedIntegrationRuntimeTypeProperties != nil {
- objectMap["typeProperties"] = mir.ManagedIntegrationRuntimeTypeProperties
- }
- if mir.Description != nil {
- objectMap["description"] = mir.Description
- }
- if mir.Type != "" {
- objectMap["type"] = mir.Type
- }
- for k, v := range mir.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsMySQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return &msls, true
}
-// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
-func (mir ManagedIntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
-func (mir ManagedIntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) {
- return &mir, true
+// AsOracleLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
}
-// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
-func (mir ManagedIntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
-func (mir ManagedIntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) {
- return &mir, true
+// AsHDInsightLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ManagedIntegrationRuntime struct.
-func (mir *ManagedIntegrationRuntime) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "state":
- if v != nil {
- var state IntegrationRuntimeState
- err = json.Unmarshal(*v, &state)
- if err != nil {
- return err
- }
- mir.State = state
- }
- case "typeProperties":
- if v != nil {
- var managedIntegrationRuntimeTypeProperties ManagedIntegrationRuntimeTypeProperties
- err = json.Unmarshal(*v, &managedIntegrationRuntimeTypeProperties)
- if err != nil {
- return err
- }
- mir.ManagedIntegrationRuntimeTypeProperties = &managedIntegrationRuntimeTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if mir.AdditionalProperties == nil {
- mir.AdditionalProperties = make(map[string]interface{})
- }
- mir.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- mir.Description = &description
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicIntegrationRuntime
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- mir.Type = typeVar
- }
- }
- }
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
- return nil
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
}
-// ManagedIntegrationRuntimeError error definition for managed integration runtime.
-type ManagedIntegrationRuntimeError struct {
- // Time - READ-ONLY; The time when the error occurred.
- Time *date.Time `json:"time,omitempty"`
- // Code - READ-ONLY; Error code.
- Code *string `json:"code,omitempty"`
- // Parameters - READ-ONLY; Managed integration runtime error parameters.
- Parameters *[]string `json:"parameters,omitempty"`
- // Message - READ-ONLY; Error message.
- Message *string `json:"message,omitempty"`
+// AsDynamicsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
}
-// ManagedIntegrationRuntimeNode properties of integration runtime node.
-type ManagedIntegrationRuntimeNode struct {
- // NodeID - READ-ONLY; The managed integration runtime node id.
- NodeID *string `json:"nodeId,omitempty"`
- // Status - READ-ONLY; The managed integration runtime node status. Possible values include: 'ManagedIntegrationRuntimeNodeStatusStarting', 'ManagedIntegrationRuntimeNodeStatusAvailable', 'ManagedIntegrationRuntimeNodeStatusRecycling', 'ManagedIntegrationRuntimeNodeStatusUnavailable'
- Status ManagedIntegrationRuntimeNodeStatus `json:"status,omitempty"`
- // Errors - The errors that occurred on this integration runtime node.
- Errors *[]ManagedIntegrationRuntimeError `json:"errors,omitempty"`
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
}
-// ManagedIntegrationRuntimeOperationResult properties of managed integration runtime operation result.
-type ManagedIntegrationRuntimeOperationResult struct {
- // Type - READ-ONLY; The operation type. Could be start or stop.
- Type *string `json:"type,omitempty"`
- // StartTime - READ-ONLY; The start time of the operation.
- StartTime *date.Time `json:"startTime,omitempty"`
- // Result - READ-ONLY; The operation result.
- Result *string `json:"result,omitempty"`
- // ErrorCode - READ-ONLY; The error code.
- ErrorCode *string `json:"errorCode,omitempty"`
- // Parameters - READ-ONLY; Managed integration runtime error parameters.
- Parameters *[]string `json:"parameters,omitempty"`
- // ActivityID - READ-ONLY; The activity id for the operation request.
- ActivityID *string `json:"activityId,omitempty"`
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
}
-// ManagedIntegrationRuntimeStatus managed integration runtime status.
-type ManagedIntegrationRuntimeStatus struct {
- // ManagedIntegrationRuntimeStatusTypeProperties - Managed integration runtime status type properties.
- *ManagedIntegrationRuntimeStatusTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // DataFactoryName - READ-ONLY; The data factory name which the integration runtime belong to.
- DataFactoryName *string `json:"dataFactoryName,omitempty"`
- // State - READ-ONLY; The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied'
- State IntegrationRuntimeState `json:"state,omitempty"`
- // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged'
- Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"`
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for ManagedIntegrationRuntimeStatus.
-func (mirs ManagedIntegrationRuntimeStatus) MarshalJSON() ([]byte, error) {
- mirs.Type = TypeBasicIntegrationRuntimeStatusTypeManaged
- objectMap := make(map[string]interface{})
- if mirs.ManagedIntegrationRuntimeStatusTypeProperties != nil {
- objectMap["typeProperties"] = mirs.ManagedIntegrationRuntimeStatusTypeProperties
- }
- if mirs.Type != "" {
- objectMap["type"] = mirs.Type
- }
- for k, v := range mirs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
}
-// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
-func (mirs ManagedIntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
-func (mirs ManagedIntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) {
- return &mirs, true
+// AsSQLServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
}
-// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
-func (mirs ManagedIntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
-func (mirs ManagedIntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) {
- return &mirs, true
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ManagedIntegrationRuntimeStatus struct.
-func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
+func (msls MySQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &msls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MySQLLinkedService struct.
+func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -88878,12 +115306,12 @@ func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var managedIntegrationRuntimeStatusTypeProperties ManagedIntegrationRuntimeStatusTypeProperties
- err = json.Unmarshal(*v, &managedIntegrationRuntimeStatusTypeProperties)
+ var mySQLLinkedServiceTypeProperties MySQLLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &mySQLLinkedServiceTypeProperties)
if err != nil {
return err
}
- mirs.ManagedIntegrationRuntimeStatusTypeProperties = &managedIntegrationRuntimeStatusTypeProperties
+ msls.MySQLLinkedServiceTypeProperties = &mySQLLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -88892,37 +115320,106 @@ func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mirs.AdditionalProperties == nil {
- mirs.AdditionalProperties = make(map[string]interface{})
+ if msls.AdditionalProperties == nil {
+ msls.AdditionalProperties = make(map[string]interface{})
}
- mirs.AdditionalProperties[k] = additionalProperties
+ msls.AdditionalProperties[k] = additionalProperties
}
- case "dataFactoryName":
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ msls.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ msls.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ msls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ msls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ msls.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// MySQLLinkedServiceTypeProperties mySQL linked service properties.
+type MySQLLinkedServiceTypeProperties struct {
+ // ConnectionString - The connection string.
+ ConnectionString BasicSecretBase `json:"connectionString,omitempty"`
+ // Password - The Azure key vault secret reference of password in connection string.
+ Password *AzureKeyVaultSecretReference `json:"password,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for MySQLLinkedServiceTypeProperties struct.
+func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "connectionString":
if v != nil {
- var dataFactoryName string
- err = json.Unmarshal(*v, &dataFactoryName)
+ connectionString, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- mirs.DataFactoryName = &dataFactoryName
+ mslstp.ConnectionString = connectionString
}
- case "state":
+ case "password":
if v != nil {
- var state IntegrationRuntimeState
- err = json.Unmarshal(*v, &state)
+ var password AzureKeyVaultSecretReference
+ err = json.Unmarshal(*v, &password)
if err != nil {
return err
}
- mirs.State = state
+ mslstp.Password = &password
}
- case "type":
+ case "encryptedCredential":
if v != nil {
- var typeVar TypeBasicIntegrationRuntimeStatus
- err = json.Unmarshal(*v, &typeVar)
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
if err != nil {
return err
}
- mirs.Type = typeVar
+ mslstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -88930,504 +115427,459 @@ func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error {
return nil
}
-// ManagedIntegrationRuntimeStatusTypeProperties managed integration runtime status type properties.
-type ManagedIntegrationRuntimeStatusTypeProperties struct {
- // CreateTime - READ-ONLY; The time at which the integration runtime was created, in ISO8601 format.
- CreateTime *date.Time `json:"createTime,omitempty"`
- // Nodes - READ-ONLY; The list of nodes for managed integration runtime.
- Nodes *[]ManagedIntegrationRuntimeNode `json:"nodes,omitempty"`
- // OtherErrors - READ-ONLY; The errors that occurred on this integration runtime.
- OtherErrors *[]ManagedIntegrationRuntimeError `json:"otherErrors,omitempty"`
- // LastOperation - READ-ONLY; The last operation result that occurred on this integration runtime.
- LastOperation *ManagedIntegrationRuntimeOperationResult `json:"lastOperation,omitempty"`
-}
-
-// ManagedIntegrationRuntimeTypeProperties managed integration runtime type properties.
-type ManagedIntegrationRuntimeTypeProperties struct {
- // ComputeProperties - The compute resource for managed integration runtime.
- ComputeProperties *IntegrationRuntimeComputeProperties `json:"computeProperties,omitempty"`
- // SsisProperties - SSIS properties for managed integration runtime.
- SsisProperties *IntegrationRuntimeSsisProperties `json:"ssisProperties,omitempty"`
-}
-
-// MariaDBLinkedService mariaDB server linked service.
-type MariaDBLinkedService struct {
- // MariaDBLinkedServiceTypeProperties - MariaDB server linked service properties.
- *MariaDBLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// MySQLSource a copy activity source for MySQL databases.
+type MySQLSource struct {
+ // Query - Database query. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) MarshalJSON() ([]byte, error) {
- mdls.Type = TypeMariaDB
+// MarshalJSON is the custom marshaler for MySQLSource.
+func (mss MySQLSource) MarshalJSON() ([]byte, error) {
+ mss.Type = TypeMySQLSource
objectMap := make(map[string]interface{})
- if mdls.MariaDBLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = mdls.MariaDBLinkedServiceTypeProperties
- }
- if mdls.ConnectVia != nil {
- objectMap["connectVia"] = mdls.ConnectVia
+ if mss.Query != nil {
+ objectMap["query"] = mss.Query
}
- if mdls.Description != nil {
- objectMap["description"] = mdls.Description
+ if mss.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = mss.SourceRetryCount
}
- if mdls.Parameters != nil {
- objectMap["parameters"] = mdls.Parameters
+ if mss.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = mss.SourceRetryWait
}
- if mdls.Annotations != nil {
- objectMap["annotations"] = mdls.Annotations
+ if mss.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = mss.MaxConcurrentConnections
}
- if mdls.Type != "" {
- objectMap["type"] = mdls.Type
+ if mss.Type != "" {
+ objectMap["type"] = mss.Type
}
- for k, v := range mdls.AdditionalProperties {
+ for k, v := range mss.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
- return &mdls, true
-}
-
-// AsMagentoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsODataSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
- return nil, false
+// AsMySQLSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsMySQLSource() (*MySQLSource, bool) {
+ return &mss, true
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsBinarySource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsParquetSource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsCopySource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
-func (mdls MariaDBLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &mdls, true
+// AsBasicCopySource is the BasicCopySource implementation for MySQLSource.
+func (mss MySQLSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &mss, true
}
-// UnmarshalJSON is the custom unmarshaler for MariaDBLinkedService struct.
-func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for MySQLSource struct.
+func (mss *MySQLSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -89435,14 +115887,14 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var mariaDBLinkedServiceTypeProperties MariaDBLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &mariaDBLinkedServiceTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- mdls.MariaDBLinkedServiceTypeProperties = &mariaDBLinkedServiceTypeProperties
+ mss.Query = query
}
default:
if v != nil {
@@ -89451,55 +115903,46 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mdls.AdditionalProperties == nil {
- mdls.AdditionalProperties = make(map[string]interface{})
- }
- mdls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if mss.AdditionalProperties == nil {
+ mss.AdditionalProperties = make(map[string]interface{})
}
- mdls.ConnectVia = &connectVia
+ mss.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- mdls.Description = &description
+ mss.SourceRetryCount = sourceRetryCount
}
- case "parameters":
+ case "sourceRetryWait":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- mdls.Parameters = parameters
+ mss.SourceRetryWait = sourceRetryWait
}
- case "annotations":
+ case "maxConcurrentConnections":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- mdls.Annotations = &annotations
+ mss.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mdls.Type = typeVar
+ mss.Type = typeVar
}
}
}
@@ -89507,404 +115950,469 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// MariaDBLinkedServiceTypeProperties mariaDB server linked service properties.
-type MariaDBLinkedServiceTypeProperties struct {
- // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // Pwd - The Azure key vault secret reference of password in connection string.
- Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// MariaDBSource a copy activity MariaDB server source.
-type MariaDBSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// MySQLTableDataset the MySQL table dataset.
+type MySQLTableDataset struct {
+ // MySQLTableDatasetTypeProperties - MySQL table dataset properties.
+ *MySQLTableDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MariaDBSource.
-func (mds MariaDBSource) MarshalJSON() ([]byte, error) {
- mds.Type = TypeMariaDBSource
+// MarshalJSON is the custom marshaler for MySQLTableDataset.
+func (mstd MySQLTableDataset) MarshalJSON() ([]byte, error) {
+ mstd.Type = TypeMySQLTable
objectMap := make(map[string]interface{})
- if mds.Query != nil {
- objectMap["query"] = mds.Query
+ if mstd.MySQLTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = mstd.MySQLTableDatasetTypeProperties
}
- if mds.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = mds.SourceRetryCount
+ if mstd.Description != nil {
+ objectMap["description"] = mstd.Description
}
- if mds.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = mds.SourceRetryWait
+ if mstd.Structure != nil {
+ objectMap["structure"] = mstd.Structure
}
- if mds.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = mds.MaxConcurrentConnections
+ if mstd.Schema != nil {
+ objectMap["schema"] = mstd.Schema
}
- if mds.Type != "" {
- objectMap["type"] = mds.Type
+ if mstd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = mstd.LinkedServiceName
}
- for k, v := range mds.AdditionalProperties {
+ if mstd.Parameters != nil {
+ objectMap["parameters"] = mstd.Parameters
+ }
+ if mstd.Annotations != nil {
+ objectMap["annotations"] = mstd.Annotations
+ }
+ if mstd.Folder != nil {
+ objectMap["folder"] = mstd.Folder
+ }
+ if mstd.Type != "" {
+ objectMap["type"] = mstd.Type
+ }
+ for k, v := range mstd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsMariaDBSource() (*MariaDBSource, bool) {
- return &mds, true
+// AsMariaDBTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsOffice365Source() (*Office365Source, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsWebSource() (*WebSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsOracleSource() (*OracleSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return &mstd, true
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSQLSource() (*SQLSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsRestSource() (*RestSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsBlobSource() (*BlobSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsParquetSource() (*ParquetSource, bool) {
+// AsCustomDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsCopySource() (*CopySource, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for MariaDBSource.
-func (mds MariaDBSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &mds, true
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for MariaDBSource struct.
-func (mds *MariaDBSource) UnmarshalJSON(body []byte) error {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for MySQLTableDataset.
+func (mstd MySQLTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &mstd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for MySQLTableDataset struct.
+func (mstd *MySQLTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -89912,14 +116420,14 @@ func (mds *MariaDBSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var mySQLTableDatasetTypeProperties MySQLTableDatasetTypeProperties
+ err = json.Unmarshal(*v, &mySQLTableDatasetTypeProperties)
if err != nil {
return err
}
- mds.Query = query
+ mstd.MySQLTableDatasetTypeProperties = &mySQLTableDatasetTypeProperties
}
default:
if v != nil {
@@ -89928,46 +116436,82 @@ func (mds *MariaDBSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mds.AdditionalProperties == nil {
- mds.AdditionalProperties = make(map[string]interface{})
+ if mstd.AdditionalProperties == nil {
+ mstd.AdditionalProperties = make(map[string]interface{})
}
- mds.AdditionalProperties[k] = additionalProperties
+ mstd.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "description":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- mds.SourceRetryCount = sourceRetryCount
+ mstd.Description = &description
}
- case "sourceRetryWait":
+ case "structure":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- mds.SourceRetryWait = sourceRetryWait
+ mstd.Structure = structure
}
- case "maxConcurrentConnections":
+ case "schema":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- mds.MaxConcurrentConnections = maxConcurrentConnections
+ mstd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ mstd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ mstd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ mstd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ mstd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mds.Type = typeVar
+ mstd.Type = typeVar
}
}
}
@@ -89975,419 +116519,520 @@ func (mds *MariaDBSource) UnmarshalJSON(body []byte) error {
return nil
}
-// MariaDBTableDataset mariaDB server dataset.
-type MariaDBTableDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// MySQLTableDatasetTypeProperties mySql table dataset properties.
+type MySQLTableDatasetTypeProperties struct {
+ // TableName - The MySQL table name. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
+}
+
+// NetezzaLinkedService netezza linked service.
+type NetezzaLinkedService struct {
+ // NetezzaLinkedServiceTypeProperties - Netezza linked service properties.
+ *NetezzaLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
+ // Parameters - Parameters for linked service.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
+ // Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) MarshalJSON() ([]byte, error) {
- mdtd.Type = TypeMariaDBTable
+// MarshalJSON is the custom marshaler for NetezzaLinkedService.
+func (nls NetezzaLinkedService) MarshalJSON() ([]byte, error) {
+ nls.Type = TypeNetezza
objectMap := make(map[string]interface{})
- if mdtd.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = mdtd.GenericDatasetTypeProperties
- }
- if mdtd.Description != nil {
- objectMap["description"] = mdtd.Description
- }
- if mdtd.Structure != nil {
- objectMap["structure"] = mdtd.Structure
- }
- if mdtd.Schema != nil {
- objectMap["schema"] = mdtd.Schema
+ if nls.NetezzaLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = nls.NetezzaLinkedServiceTypeProperties
}
- if mdtd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = mdtd.LinkedServiceName
+ if nls.ConnectVia != nil {
+ objectMap["connectVia"] = nls.ConnectVia
}
- if mdtd.Parameters != nil {
- objectMap["parameters"] = mdtd.Parameters
+ if nls.Description != nil {
+ objectMap["description"] = nls.Description
}
- if mdtd.Annotations != nil {
- objectMap["annotations"] = mdtd.Annotations
+ if nls.Parameters != nil {
+ objectMap["parameters"] = nls.Parameters
}
- if mdtd.Folder != nil {
- objectMap["folder"] = mdtd.Folder
+ if nls.Annotations != nil {
+ objectMap["annotations"] = nls.Annotations
}
- if mdtd.Type != "" {
- objectMap["type"] = mdtd.Type
+ if nls.Type != "" {
+ objectMap["type"] = nls.Type
}
- for k, v := range mdtd.AdditionalProperties {
+ for k, v := range nls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+ return &nls, true
+}
+
+// AsVerticaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
- return &mdtd, true
+// AsPrestoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsDataset() (*Dataset, bool) {
+// AsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for MariaDBTableDataset.
-func (mdtd MariaDBTableDataset) AsBasicDataset() (BasicDataset, bool) {
- return &mdtd, true
+// AsBasicLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
+func (nls NetezzaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &nls, true
}
-// UnmarshalJSON is the custom unmarshaler for MariaDBTableDataset struct.
-func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for NetezzaLinkedService struct.
+func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -90397,12 +117042,12 @@ func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var netezzaLinkedServiceTypeProperties NetezzaLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &netezzaLinkedServiceTypeProperties)
if err != nil {
return err
}
- mdtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ nls.NetezzaLinkedServiceTypeProperties = &netezzaLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -90411,46 +117056,28 @@ func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mdtd.AdditionalProperties == nil {
- mdtd.AdditionalProperties = make(map[string]interface{})
- }
- mdtd.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- mdtd.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
+ if nls.AdditionalProperties == nil {
+ nls.AdditionalProperties = make(map[string]interface{})
}
- mdtd.Structure = structure
+ nls.AdditionalProperties[k] = additionalProperties
}
- case "schema":
+ case "connectVia":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- mdtd.Schema = schema
+ nls.ConnectVia = &connectVia
}
- case "linkedServiceName":
+ case "description":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- mdtd.LinkedServiceName = &linkedServiceName
+ nls.Description = &description
}
case "parameters":
if v != nil {
@@ -90459,7 +117086,7 @@ func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdtd.Parameters = parameters
+ nls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -90468,25 +117095,16 @@ func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdtd.Annotations = &annotations
- }
- case "folder":
- if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
- if err != nil {
- return err
- }
- mdtd.Folder = &folder
+ nls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mdtd.Type = typeVar
+ nls.Type = typeVar
}
}
}
@@ -90494,484 +117112,489 @@ func (mdtd *MariaDBTableDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// MarketoLinkedService marketo server linked service.
-type MarketoLinkedService struct {
- // MarketoLinkedServiceTypeProperties - Marketo server linked service properties.
- *MarketoLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// NetezzaLinkedServiceTypeProperties netezza linked service properties.
+type NetezzaLinkedServiceTypeProperties struct {
+ // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // Pwd - The Azure key vault secret reference of password in connection string.
+ Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// NetezzaPartitionSettings the settings that will be leveraged for Netezza source partitioning.
+type NetezzaPartitionSettings struct {
+ // PartitionColumnName - The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
+ PartitionColumnName interface{} `json:"partitionColumnName,omitempty"`
+ // PartitionUpperBound - The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
+ PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"`
+ // PartitionLowerBound - The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
+ PartitionLowerBound interface{} `json:"partitionLowerBound,omitempty"`
+}
+
+// NetezzaSource a copy activity Netezza source.
+type NetezzaSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // PartitionOption - The partition mechanism that will be used for Netezza read in parallel. Possible values include: 'NetezzaPartitionOptionNone', 'NetezzaPartitionOptionDataSlice', 'NetezzaPartitionOptionDynamicRange'
+ PartitionOption NetezzaPartitionOption `json:"partitionOption,omitempty"`
+ // PartitionSettings - The settings that will be leveraged for Netezza source partitioning.
+ PartitionSettings *NetezzaPartitionSettings `json:"partitionSettings,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MarketoLinkedService.
-func (mls MarketoLinkedService) MarshalJSON() ([]byte, error) {
- mls.Type = TypeMarketo
+// MarshalJSON is the custom marshaler for NetezzaSource.
+func (ns NetezzaSource) MarshalJSON() ([]byte, error) {
+ ns.Type = TypeNetezzaSource
objectMap := make(map[string]interface{})
- if mls.MarketoLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = mls.MarketoLinkedServiceTypeProperties
+ if ns.Query != nil {
+ objectMap["query"] = ns.Query
}
- if mls.ConnectVia != nil {
- objectMap["connectVia"] = mls.ConnectVia
+ if ns.PartitionOption != "" {
+ objectMap["partitionOption"] = ns.PartitionOption
}
- if mls.Description != nil {
- objectMap["description"] = mls.Description
+ if ns.PartitionSettings != nil {
+ objectMap["partitionSettings"] = ns.PartitionSettings
}
- if mls.Parameters != nil {
- objectMap["parameters"] = mls.Parameters
+ if ns.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ns.SourceRetryCount
}
- if mls.Annotations != nil {
- objectMap["annotations"] = mls.Annotations
+ if ns.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ns.SourceRetryWait
}
- if mls.Type != "" {
- objectMap["type"] = mls.Type
+ if ns.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ns.MaxConcurrentConnections
}
- for k, v := range mls.AdditionalProperties {
+ if ns.Type != "" {
+ objectMap["type"] = ns.Type
+ }
+ for k, v := range ns.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
- return nil, false
+// AsNetezzaSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return &ns, true
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
- return &mls, true
-}
-
-// AsMariaDBLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsODataSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsMySQLSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsBinarySource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsParquetSource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsCopySource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
-func (mls MarketoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &mls, true
+// AsBasicCopySource is the BasicCopySource implementation for NetezzaSource.
+func (ns NetezzaSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ns, true
}
-// UnmarshalJSON is the custom unmarshaler for MarketoLinkedService struct.
-func (mls *MarketoLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for NetezzaSource struct.
+func (ns *NetezzaSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -90979,166 +117602,80 @@ func (mls *MarketoLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
- if v != nil {
- var marketoLinkedServiceTypeProperties MarketoLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &marketoLinkedServiceTypeProperties)
- if err != nil {
- return err
- }
- mls.MarketoLinkedServiceTypeProperties = &marketoLinkedServiceTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if mls.AdditionalProperties == nil {
- mls.AdditionalProperties = make(map[string]interface{})
- }
- mls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
- }
- mls.ConnectVia = &connectVia
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- mls.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- mls.Parameters = parameters
- }
- case "annotations":
+ case "query":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- mls.Annotations = &annotations
+ ns.Query = query
}
- case "type":
+ case "partitionOption":
if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
+ var partitionOption NetezzaPartitionOption
+ err = json.Unmarshal(*v, &partitionOption)
if err != nil {
return err
}
- mls.Type = typeVar
+ ns.PartitionOption = partitionOption
}
- }
- }
-
- return nil
-}
-
-// MarketoLinkedServiceTypeProperties marketo server linked service properties.
-type MarketoLinkedServiceTypeProperties struct {
- // Endpoint - The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com)
- Endpoint interface{} `json:"endpoint,omitempty"`
- // ClientID - The client Id of your Marketo service.
- ClientID interface{} `json:"clientId,omitempty"`
- // ClientSecret - The client secret of your Marketo service.
- ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
- UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
- UseHostVerification interface{} `json:"useHostVerification,omitempty"`
- // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
- UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for MarketoLinkedServiceTypeProperties struct.
-func (mlstp *MarketoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "endpoint":
+ case "partitionSettings":
if v != nil {
- var endpoint interface{}
- err = json.Unmarshal(*v, &endpoint)
+ var partitionSettings NetezzaPartitionSettings
+ err = json.Unmarshal(*v, &partitionSettings)
if err != nil {
return err
}
- mlstp.Endpoint = endpoint
+ ns.PartitionSettings = &partitionSettings
}
- case "clientId":
+ default:
if v != nil {
- var clientID interface{}
- err = json.Unmarshal(*v, &clientID)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- mlstp.ClientID = clientID
- }
- case "clientSecret":
- if v != nil {
- clientSecret, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
+ if ns.AdditionalProperties == nil {
+ ns.AdditionalProperties = make(map[string]interface{})
}
- mlstp.ClientSecret = clientSecret
+ ns.AdditionalProperties[k] = additionalProperties
}
- case "useEncryptedEndpoints":
+ case "sourceRetryCount":
if v != nil {
- var useEncryptedEndpoints interface{}
- err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- mlstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ ns.SourceRetryCount = sourceRetryCount
}
- case "useHostVerification":
+ case "sourceRetryWait":
if v != nil {
- var useHostVerification interface{}
- err = json.Unmarshal(*v, &useHostVerification)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- mlstp.UseHostVerification = useHostVerification
+ ns.SourceRetryWait = sourceRetryWait
}
- case "usePeerVerification":
+ case "maxConcurrentConnections":
if v != nil {
- var usePeerVerification interface{}
- err = json.Unmarshal(*v, &usePeerVerification)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- mlstp.UsePeerVerification = usePeerVerification
+ ns.MaxConcurrentConnections = maxConcurrentConnections
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mlstp.EncryptedCredential = encryptedCredential
+ ns.Type = typeVar
}
}
}
@@ -91146,8 +117683,8 @@ func (mlstp *MarketoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro
return nil
}
-// MarketoObjectDataset marketo server dataset.
-type MarketoObjectDataset struct {
+// NetezzaTableDataset netezza dataset.
+type NetezzaTableDataset struct {
// GenericDatasetTypeProperties - Properties specific to this dataset type.
*GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -91166,399 +117703,449 @@ type MarketoObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MarketoObjectDataset.
-func (mod MarketoObjectDataset) MarshalJSON() ([]byte, error) {
- mod.Type = TypeMarketoObject
+// MarshalJSON is the custom marshaler for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) MarshalJSON() ([]byte, error) {
+ ntd.Type = TypeNetezzaTable
objectMap := make(map[string]interface{})
- if mod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = mod.GenericDatasetTypeProperties
+ if ntd.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = ntd.GenericDatasetTypeProperties
}
- if mod.Description != nil {
- objectMap["description"] = mod.Description
+ if ntd.Description != nil {
+ objectMap["description"] = ntd.Description
}
- if mod.Structure != nil {
- objectMap["structure"] = mod.Structure
+ if ntd.Structure != nil {
+ objectMap["structure"] = ntd.Structure
}
- if mod.Schema != nil {
- objectMap["schema"] = mod.Schema
+ if ntd.Schema != nil {
+ objectMap["schema"] = ntd.Schema
}
- if mod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = mod.LinkedServiceName
+ if ntd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = ntd.LinkedServiceName
}
- if mod.Parameters != nil {
- objectMap["parameters"] = mod.Parameters
+ if ntd.Parameters != nil {
+ objectMap["parameters"] = ntd.Parameters
}
- if mod.Annotations != nil {
- objectMap["annotations"] = mod.Annotations
+ if ntd.Annotations != nil {
+ objectMap["annotations"] = ntd.Annotations
}
- if mod.Folder != nil {
- objectMap["folder"] = mod.Folder
+ if ntd.Folder != nil {
+ objectMap["folder"] = ntd.Folder
}
- if mod.Type != "" {
- objectMap["type"] = mod.Type
+ if ntd.Type != "" {
+ objectMap["type"] = ntd.Type
}
- for k, v := range mod.AdditionalProperties {
+ for k, v := range ntd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+ return &ntd, true
+}
+
+// AsZohoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
- return &mod, true
+// AsMariaDBTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+ return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for MarketoObjectDataset.
-func (mod MarketoObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &mod, true
+// AsAzureSQLMITableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for NetezzaTableDataset.
+func (ntd NetezzaTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &ntd, true
}
-// UnmarshalJSON is the custom unmarshaler for MarketoObjectDataset struct.
-func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for NetezzaTableDataset struct.
+func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -91573,7 +118160,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ ntd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -91582,10 +118169,10 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mod.AdditionalProperties == nil {
- mod.AdditionalProperties = make(map[string]interface{})
+ if ntd.AdditionalProperties == nil {
+ ntd.AdditionalProperties = make(map[string]interface{})
}
- mod.AdditionalProperties[k] = additionalProperties
+ ntd.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -91594,7 +118181,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mod.Description = &description
+ ntd.Description = &description
}
case "structure":
if v != nil {
@@ -91603,7 +118190,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mod.Structure = structure
+ ntd.Structure = structure
}
case "schema":
if v != nil {
@@ -91612,7 +118199,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mod.Schema = schema
+ ntd.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -91621,7 +118208,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mod.LinkedServiceName = &linkedServiceName
+ ntd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -91630,7 +118217,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mod.Parameters = parameters
+ ntd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -91639,7 +118226,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mod.Annotations = &annotations
+ ntd.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -91648,7 +118235,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mod.Folder = &folder
+ ntd.Folder = &folder
}
case "type":
if v != nil {
@@ -91657,7 +118244,7 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mod.Type = typeVar
+ ntd.Type = typeVar
}
}
}
@@ -91665,394 +118252,514 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// MarketoSource a copy activity Marketo server source.
-type MarketoSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// ODataLinkedService open Data Protocol (OData) linked service.
+type ODataLinkedService struct {
+ // ODataLinkedServiceTypeProperties - OData linked service properties.
+ *ODataLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MarketoSource.
-func (ms MarketoSource) MarshalJSON() ([]byte, error) {
- ms.Type = TypeMarketoSource
+// MarshalJSON is the custom marshaler for ODataLinkedService.
+func (odls ODataLinkedService) MarshalJSON() ([]byte, error) {
+ odls.Type = TypeOData
objectMap := make(map[string]interface{})
- if ms.Query != nil {
- objectMap["query"] = ms.Query
+ if odls.ODataLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = odls.ODataLinkedServiceTypeProperties
}
- if ms.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ms.SourceRetryCount
+ if odls.ConnectVia != nil {
+ objectMap["connectVia"] = odls.ConnectVia
}
- if ms.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ms.SourceRetryWait
+ if odls.Description != nil {
+ objectMap["description"] = odls.Description
}
- if ms.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ms.MaxConcurrentConnections
+ if odls.Parameters != nil {
+ objectMap["parameters"] = odls.Parameters
}
- if ms.Type != "" {
- objectMap["type"] = ms.Type
+ if odls.Annotations != nil {
+ objectMap["annotations"] = odls.Annotations
}
- for k, v := range ms.AdditionalProperties {
+ if odls.Type != "" {
+ objectMap["type"] = odls.Type
+ }
+ for k, v := range odls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsZohoSource() (*ZohoSource, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsXeroSource() (*XeroSource, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSquareSource() (*SquareSource, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSparkSource() (*SparkSource, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsShopifySource() (*ShopifySource, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsMarketoSource() (*MarketoSource, bool) {
- return &ms, true
+// AsServiceNowLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+ return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsJiraSource() (*JiraSource, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsHiveSource() (*HiveSource, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsDrillSource() (*DrillSource, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsConcurSource() (*ConcurSource, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsOffice365Source() (*Office365Source, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsWebSource() (*WebSource, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsOracleSource() (*OracleSource, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSQLSource() (*SQLSource, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsRestSource() (*RestSource, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return &odls, true
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsBlobSource() (*BlobSource, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsParquetSource() (*ParquetSource, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsCopySource() (*CopySource, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for MarketoSource.
-func (ms MarketoSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ms, true
+// AsDb2LinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for MarketoSource struct.
-func (ms *MarketoSource) UnmarshalJSON(body []byte) error {
+// AsSybaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for ODataLinkedService.
+func (odls ODataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &odls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ODataLinkedService struct.
+func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -92060,14 +118767,14 @@ func (ms *MarketoSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var oDataLinkedServiceTypeProperties ODataLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &oDataLinkedServiceTypeProperties)
if err != nil {
return err
}
- ms.Query = query
+ odls.ODataLinkedServiceTypeProperties = &oDataLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -92076,46 +118783,55 @@ func (ms *MarketoSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ms.AdditionalProperties == nil {
- ms.AdditionalProperties = make(map[string]interface{})
+ if odls.AdditionalProperties == nil {
+ odls.AdditionalProperties = make(map[string]interface{})
}
- ms.AdditionalProperties[k] = additionalProperties
+ odls.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "connectVia":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- ms.SourceRetryCount = sourceRetryCount
+ odls.ConnectVia = &connectVia
}
- case "sourceRetryWait":
+ case "description":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- ms.SourceRetryWait = sourceRetryWait
+ odls.Description = &description
}
- case "maxConcurrentConnections":
+ case "parameters":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- ms.MaxConcurrentConnections = maxConcurrentConnections
+ odls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ odls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ms.Type = typeVar
+ odls.Type = typeVar
}
}
}
@@ -92123,10 +118839,157 @@ func (ms *MarketoSource) UnmarshalJSON(body []byte) error {
return nil
}
-// MongoDbCollectionDataset the MongoDB database dataset.
-type MongoDbCollectionDataset struct {
- // MongoDbCollectionDatasetTypeProperties - MongoDB database dataset properties.
- *MongoDbCollectionDatasetTypeProperties `json:"typeProperties,omitempty"`
+// ODataLinkedServiceTypeProperties oData linked service properties.
+type ODataLinkedServiceTypeProperties struct {
+ // URL - The URL of the OData service endpoint. Type: string (or Expression with resultType string).
+ URL interface{} `json:"url,omitempty"`
+ // AuthenticationType - Type of authentication used to connect to the OData service. Possible values include: 'ODataAuthenticationTypeBasic', 'ODataAuthenticationTypeAnonymous', 'ODataAuthenticationTypeWindows', 'ODataAuthenticationTypeAadServicePrincipal', 'ODataAuthenticationTypeManagedServiceIdentity'
+ AuthenticationType ODataAuthenticationType `json:"authenticationType,omitempty"`
+ // UserName - User name of the OData service. Type: string (or Expression with resultType string).
+ UserName interface{} `json:"userName,omitempty"`
+ // Password - Password of the OData service.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // Tenant - Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string).
+ Tenant interface{} `json:"tenant,omitempty"`
+ // ServicePrincipalID - Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).
+ ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
+ // AadResourceID - Specify the resource you are requesting authorization to use Directory. Type: string (or Expression with resultType string).
+ AadResourceID interface{} `json:"aadResourceId,omitempty"`
+ // AadServicePrincipalCredentialType - Specify the credential type (key or cert) is used for service principal. Possible values include: 'ServicePrincipalKey', 'ServicePrincipalCert'
+ AadServicePrincipalCredentialType ODataAadServicePrincipalCredentialType `json:"aadServicePrincipalCredentialType,omitempty"`
+ // ServicePrincipalKey - Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).
+ ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
+ // ServicePrincipalEmbeddedCert - Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).
+ ServicePrincipalEmbeddedCert BasicSecretBase `json:"servicePrincipalEmbeddedCert,omitempty"`
+ // ServicePrincipalEmbeddedCertPassword - Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string).
+ ServicePrincipalEmbeddedCertPassword BasicSecretBase `json:"servicePrincipalEmbeddedCertPassword,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for ODataLinkedServiceTypeProperties struct.
+func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "url":
+ if v != nil {
+ var URL interface{}
+ err = json.Unmarshal(*v, &URL)
+ if err != nil {
+ return err
+ }
+ odlstp.URL = URL
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType ODataAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ odlstp.AuthenticationType = authenticationType
+ }
+ case "userName":
+ if v != nil {
+ var userName interface{}
+ err = json.Unmarshal(*v, &userName)
+ if err != nil {
+ return err
+ }
+ odlstp.UserName = userName
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ odlstp.Password = password
+ }
+ case "tenant":
+ if v != nil {
+ var tenant interface{}
+ err = json.Unmarshal(*v, &tenant)
+ if err != nil {
+ return err
+ }
+ odlstp.Tenant = tenant
+ }
+ case "servicePrincipalId":
+ if v != nil {
+ var servicePrincipalID interface{}
+ err = json.Unmarshal(*v, &servicePrincipalID)
+ if err != nil {
+ return err
+ }
+ odlstp.ServicePrincipalID = servicePrincipalID
+ }
+ case "aadResourceId":
+ if v != nil {
+ var aadResourceID interface{}
+ err = json.Unmarshal(*v, &aadResourceID)
+ if err != nil {
+ return err
+ }
+ odlstp.AadResourceID = aadResourceID
+ }
+ case "aadServicePrincipalCredentialType":
+ if v != nil {
+ var aadServicePrincipalCredentialType ODataAadServicePrincipalCredentialType
+ err = json.Unmarshal(*v, &aadServicePrincipalCredentialType)
+ if err != nil {
+ return err
+ }
+ odlstp.AadServicePrincipalCredentialType = aadServicePrincipalCredentialType
+ }
+ case "servicePrincipalKey":
+ if v != nil {
+ servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ odlstp.ServicePrincipalKey = servicePrincipalKey
+ }
+ case "servicePrincipalEmbeddedCert":
+ if v != nil {
+ servicePrincipalEmbeddedCert, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ odlstp.ServicePrincipalEmbeddedCert = servicePrincipalEmbeddedCert
+ }
+ case "servicePrincipalEmbeddedCertPassword":
+ if v != nil {
+ servicePrincipalEmbeddedCertPassword, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ odlstp.ServicePrincipalEmbeddedCertPassword = servicePrincipalEmbeddedCertPassword
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ odlstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// ODataResourceDataset the Open Data Protocol (OData) resource dataset.
+type ODataResourceDataset struct {
+ // ODataResourceDatasetTypeProperties - OData dataset properties.
+ *ODataResourceDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Description - Dataset description.
@@ -92143,399 +119006,449 @@ type MongoDbCollectionDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) MarshalJSON() ([]byte, error) {
- mdcd.Type = TypeMongoDbCollection
+// MarshalJSON is the custom marshaler for ODataResourceDataset.
+func (odrd ODataResourceDataset) MarshalJSON() ([]byte, error) {
+ odrd.Type = TypeODataResource
objectMap := make(map[string]interface{})
- if mdcd.MongoDbCollectionDatasetTypeProperties != nil {
- objectMap["typeProperties"] = mdcd.MongoDbCollectionDatasetTypeProperties
+ if odrd.ODataResourceDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = odrd.ODataResourceDatasetTypeProperties
}
- if mdcd.Description != nil {
- objectMap["description"] = mdcd.Description
+ if odrd.Description != nil {
+ objectMap["description"] = odrd.Description
}
- if mdcd.Structure != nil {
- objectMap["structure"] = mdcd.Structure
+ if odrd.Structure != nil {
+ objectMap["structure"] = odrd.Structure
}
- if mdcd.Schema != nil {
- objectMap["schema"] = mdcd.Schema
+ if odrd.Schema != nil {
+ objectMap["schema"] = odrd.Schema
}
- if mdcd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = mdcd.LinkedServiceName
+ if odrd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = odrd.LinkedServiceName
}
- if mdcd.Parameters != nil {
- objectMap["parameters"] = mdcd.Parameters
+ if odrd.Parameters != nil {
+ objectMap["parameters"] = odrd.Parameters
}
- if mdcd.Annotations != nil {
- objectMap["annotations"] = mdcd.Annotations
+ if odrd.Annotations != nil {
+ objectMap["annotations"] = odrd.Annotations
}
- if mdcd.Folder != nil {
- objectMap["folder"] = mdcd.Folder
+ if odrd.Folder != nil {
+ objectMap["folder"] = odrd.Folder
}
- if mdcd.Type != "" {
- objectMap["type"] = mdcd.Type
+ if odrd.Type != "" {
+ objectMap["type"] = odrd.Type
}
- for k, v := range mdcd.AdditionalProperties {
+ for k, v := range odrd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
- return &mdcd, true
+// AsAzureMySQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+ return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+ return &odrd, true
+}
+
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsDataset() (*Dataset, bool) {
+// AsDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for MongoDbCollectionDataset.
-func (mdcd MongoDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) {
- return &mdcd, true
+// AsBasicDataset is the BasicDataset implementation for ODataResourceDataset.
+func (odrd ODataResourceDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &odrd, true
}
-// UnmarshalJSON is the custom unmarshaler for MongoDbCollectionDataset struct.
-func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for ODataResourceDataset struct.
+func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -92545,12 +119458,12 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var mongoDbCollectionDatasetTypeProperties MongoDbCollectionDatasetTypeProperties
- err = json.Unmarshal(*v, &mongoDbCollectionDatasetTypeProperties)
+ var oDataResourceDatasetTypeProperties ODataResourceDatasetTypeProperties
+ err = json.Unmarshal(*v, &oDataResourceDatasetTypeProperties)
if err != nil {
return err
}
- mdcd.MongoDbCollectionDatasetTypeProperties = &mongoDbCollectionDatasetTypeProperties
+ odrd.ODataResourceDatasetTypeProperties = &oDataResourceDatasetTypeProperties
}
default:
if v != nil {
@@ -92559,10 +119472,10 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mdcd.AdditionalProperties == nil {
- mdcd.AdditionalProperties = make(map[string]interface{})
+ if odrd.AdditionalProperties == nil {
+ odrd.AdditionalProperties = make(map[string]interface{})
}
- mdcd.AdditionalProperties[k] = additionalProperties
+ odrd.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -92571,7 +119484,7 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdcd.Description = &description
+ odrd.Description = &description
}
case "structure":
if v != nil {
@@ -92580,7 +119493,7 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdcd.Structure = structure
+ odrd.Structure = structure
}
case "schema":
if v != nil {
@@ -92589,7 +119502,7 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdcd.Schema = schema
+ odrd.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -92598,7 +119511,7 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdcd.LinkedServiceName = &linkedServiceName
+ odrd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -92607,7 +119520,7 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdcd.Parameters = parameters
+ odrd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -92616,7 +119529,7 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdcd.Annotations = &annotations
+ odrd.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -92625,7 +119538,7 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdcd.Folder = &folder
+ odrd.Folder = &folder
}
case "type":
if v != nil {
@@ -92634,7 +119547,7 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdcd.Type = typeVar
+ odrd.Type = typeVar
}
}
}
@@ -92642,588 +119555,465 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// MongoDbCollectionDatasetTypeProperties mongoDB database dataset properties.
-type MongoDbCollectionDatasetTypeProperties struct {
- // CollectionName - The table name of the MongoDB database. Type: string (or Expression with resultType string).
- CollectionName interface{} `json:"collectionName,omitempty"`
-}
-
-// MongoDbCursorMethodsProperties cursor methods for Mongodb query
-type MongoDbCursorMethodsProperties struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Project - Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string).
- Project interface{} `json:"project,omitempty"`
- // Sort - Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string).
- Sort interface{} `json:"sort,omitempty"`
- // Skip - Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer).
- Skip interface{} `json:"skip,omitempty"`
- // Limit - Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer).
- Limit interface{} `json:"limit,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for MongoDbCursorMethodsProperties.
-func (mdcmp MongoDbCursorMethodsProperties) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if mdcmp.Project != nil {
- objectMap["project"] = mdcmp.Project
- }
- if mdcmp.Sort != nil {
- objectMap["sort"] = mdcmp.Sort
- }
- if mdcmp.Skip != nil {
- objectMap["skip"] = mdcmp.Skip
- }
- if mdcmp.Limit != nil {
- objectMap["limit"] = mdcmp.Limit
- }
- for k, v := range mdcmp.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for MongoDbCursorMethodsProperties struct.
-func (mdcmp *MongoDbCursorMethodsProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if mdcmp.AdditionalProperties == nil {
- mdcmp.AdditionalProperties = make(map[string]interface{})
- }
- mdcmp.AdditionalProperties[k] = additionalProperties
- }
- case "project":
- if v != nil {
- var project interface{}
- err = json.Unmarshal(*v, &project)
- if err != nil {
- return err
- }
- mdcmp.Project = project
- }
- case "sort":
- if v != nil {
- var sortVar interface{}
- err = json.Unmarshal(*v, &sortVar)
- if err != nil {
- return err
- }
- mdcmp.Sort = sortVar
- }
- case "skip":
- if v != nil {
- var skip interface{}
- err = json.Unmarshal(*v, &skip)
- if err != nil {
- return err
- }
- mdcmp.Skip = skip
- }
- case "limit":
- if v != nil {
- var limit interface{}
- err = json.Unmarshal(*v, &limit)
- if err != nil {
- return err
- }
- mdcmp.Limit = limit
- }
- }
- }
-
- return nil
+// ODataResourceDatasetTypeProperties oData dataset properties.
+type ODataResourceDatasetTypeProperties struct {
+ // Path - The OData resource path. Type: string (or Expression with resultType string).
+ Path interface{} `json:"path,omitempty"`
}
-// MongoDbLinkedService linked service for MongoDb data source.
-type MongoDbLinkedService struct {
- // MongoDbLinkedServiceTypeProperties - MongoDB linked service properties.
- *MongoDbLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// ODataSource a copy activity source for OData source.
+type ODataSource struct {
+ // Query - OData query. For example, "$top=1". Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) MarshalJSON() ([]byte, error) {
- mdls.Type = TypeMongoDb
+// MarshalJSON is the custom marshaler for ODataSource.
+func (ods ODataSource) MarshalJSON() ([]byte, error) {
+ ods.Type = TypeODataSource
objectMap := make(map[string]interface{})
- if mdls.MongoDbLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = mdls.MongoDbLinkedServiceTypeProperties
- }
- if mdls.ConnectVia != nil {
- objectMap["connectVia"] = mdls.ConnectVia
+ if ods.Query != nil {
+ objectMap["query"] = ods.Query
}
- if mdls.Description != nil {
- objectMap["description"] = mdls.Description
+ if ods.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ods.SourceRetryCount
}
- if mdls.Parameters != nil {
- objectMap["parameters"] = mdls.Parameters
+ if ods.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ods.SourceRetryWait
}
- if mdls.Annotations != nil {
- objectMap["annotations"] = mdls.Annotations
+ if ods.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ods.MaxConcurrentConnections
}
- if mdls.Type != "" {
- objectMap["type"] = mdls.Type
+ if ods.Type != "" {
+ objectMap["type"] = ods.Type
}
- for k, v := range mdls.AdditionalProperties {
+ for k, v := range ods.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
- return &mdls, true
-}
-
-// AsCassandraLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
- return nil, false
+// AsODataSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsODataSource() (*ODataSource, bool) {
+ return &ods, true
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsMySQLSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsBinarySource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsParquetSource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsCopySource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
-func (mdls MongoDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &mdls, true
+// AsBasicCopySource is the BasicCopySource implementation for ODataSource.
+func (ods ODataSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ods, true
}
-// UnmarshalJSON is the custom unmarshaler for MongoDbLinkedService struct.
-func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for ODataSource struct.
+func (ods *ODataSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -93231,14 +120021,14 @@ func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var mongoDbLinkedServiceTypeProperties MongoDbLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &mongoDbLinkedServiceTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- mdls.MongoDbLinkedServiceTypeProperties = &mongoDbLinkedServiceTypeProperties
+ ods.Query = query
}
default:
if v != nil {
@@ -93247,183 +120037,46 @@ func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mdls.AdditionalProperties == nil {
- mdls.AdditionalProperties = make(map[string]interface{})
- }
- mdls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if ods.AdditionalProperties == nil {
+ ods.AdditionalProperties = make(map[string]interface{})
}
- mdls.ConnectVia = &connectVia
+ ods.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- mdls.Description = &description
+ ods.SourceRetryCount = sourceRetryCount
}
- case "parameters":
+ case "sourceRetryWait":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- mdls.Parameters = parameters
+ ods.SourceRetryWait = sourceRetryWait
}
- case "annotations":
+ case "maxConcurrentConnections":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- mdls.Annotations = &annotations
+ ods.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mdls.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// MongoDbLinkedServiceTypeProperties mongoDB linked service properties.
-type MongoDbLinkedServiceTypeProperties struct {
- // Server - The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string).
- Server interface{} `json:"server,omitempty"`
- // AuthenticationType - The authentication type to be used to connect to the MongoDB database. Possible values include: 'MongoDbAuthenticationTypeBasic', 'MongoDbAuthenticationTypeAnonymous'
- AuthenticationType MongoDbAuthenticationType `json:"authenticationType,omitempty"`
- // DatabaseName - The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).
- DatabaseName interface{} `json:"databaseName,omitempty"`
- // Username - Username for authentication. Type: string (or Expression with resultType string).
- Username interface{} `json:"username,omitempty"`
- // Password - Password for authentication.
- Password BasicSecretBase `json:"password,omitempty"`
- // AuthSource - Database to verify the username and password. Type: string (or Expression with resultType string).
- AuthSource interface{} `json:"authSource,omitempty"`
- // Port - The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0.
- Port interface{} `json:"port,omitempty"`
- // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean).
- EnableSsl interface{} `json:"enableSsl,omitempty"`
- // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean).
- AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for MongoDbLinkedServiceTypeProperties struct.
-func (mdlstp *MongoDbLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "server":
- if v != nil {
- var server interface{}
- err = json.Unmarshal(*v, &server)
- if err != nil {
- return err
- }
- mdlstp.Server = server
- }
- case "authenticationType":
- if v != nil {
- var authenticationType MongoDbAuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- mdlstp.AuthenticationType = authenticationType
- }
- case "databaseName":
- if v != nil {
- var databaseName interface{}
- err = json.Unmarshal(*v, &databaseName)
- if err != nil {
- return err
- }
- mdlstp.DatabaseName = databaseName
- }
- case "username":
- if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
- if err != nil {
- return err
- }
- mdlstp.Username = username
- }
- case "password":
- if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- mdlstp.Password = password
- }
- case "authSource":
- if v != nil {
- var authSource interface{}
- err = json.Unmarshal(*v, &authSource)
- if err != nil {
- return err
- }
- mdlstp.AuthSource = authSource
- }
- case "port":
- if v != nil {
- var port interface{}
- err = json.Unmarshal(*v, &port)
- if err != nil {
- return err
- }
- mdlstp.Port = port
- }
- case "enableSsl":
- if v != nil {
- var enableSsl interface{}
- err = json.Unmarshal(*v, &enableSsl)
- if err != nil {
- return err
- }
- mdlstp.EnableSsl = enableSsl
- }
- case "allowSelfSignedServerCert":
- if v != nil {
- var allowSelfSignedServerCert interface{}
- err = json.Unmarshal(*v, &allowSelfSignedServerCert)
- if err != nil {
- return err
- }
- mdlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
- }
- case "encryptedCredential":
- if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
- if err != nil {
- return err
- }
- mdlstp.EncryptedCredential = encryptedCredential
+ ods.Type = typeVar
}
}
}
@@ -93431,394 +120084,884 @@ func (mdlstp *MongoDbLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err
return nil
}
-// MongoDbSource a copy activity source for a MongoDB database.
-type MongoDbSource struct {
- // Query - Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// OdbcLinkedService open Database Connectivity (ODBC) linked service.
+type OdbcLinkedService struct {
+ // OdbcLinkedServiceTypeProperties - ODBC linked service properties.
+ *OdbcLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MongoDbSource.
-func (mds MongoDbSource) MarshalJSON() ([]byte, error) {
- mds.Type = TypeMongoDbSource
+// MarshalJSON is the custom marshaler for OdbcLinkedService.
+func (ols OdbcLinkedService) MarshalJSON() ([]byte, error) {
+ ols.Type = TypeOdbc
objectMap := make(map[string]interface{})
- if mds.Query != nil {
- objectMap["query"] = mds.Query
+ if ols.OdbcLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = ols.OdbcLinkedServiceTypeProperties
}
- if mds.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = mds.SourceRetryCount
+ if ols.ConnectVia != nil {
+ objectMap["connectVia"] = ols.ConnectVia
}
- if mds.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = mds.SourceRetryWait
+ if ols.Description != nil {
+ objectMap["description"] = ols.Description
}
- if mds.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = mds.MaxConcurrentConnections
+ if ols.Parameters != nil {
+ objectMap["parameters"] = ols.Parameters
}
- if mds.Type != "" {
- objectMap["type"] = mds.Type
+ if ols.Annotations != nil {
+ objectMap["annotations"] = ols.Annotations
}
- for k, v := range mds.AdditionalProperties {
+ if ols.Type != "" {
+ objectMap["type"] = ols.Type
+ }
+ for k, v := range ols.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsZohoSource() (*ZohoSource, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsXeroSource() (*XeroSource, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSquareSource() (*SquareSource, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSparkSource() (*SparkSource, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsShopifySource() (*ShopifySource, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsJiraSource() (*JiraSource, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsHiveSource() (*HiveSource, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsDrillSource() (*DrillSource, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsGreenplumLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+ return nil, false
+}
+
+// AsEloquaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+ return nil, false
+}
+
+// AsDrillLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+ return nil, false
+}
+
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsConcurLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsCassandraLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
+}
+
+// AsWebLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+ return nil, false
+}
+
+// AsODataLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
+}
+
+// AsHdfsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return &ols, true
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+ return nil, false
+}
+
+// AsDb2LinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsConcurSource() (*ConcurSource, bool) {
- return nil, false
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
+func (ols OdbcLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &ols, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for OdbcLinkedService struct.
+func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var odbcLinkedServiceTypeProperties OdbcLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &odbcLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ ols.OdbcLinkedServiceTypeProperties = &odbcLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ols.AdditionalProperties == nil {
+ ols.AdditionalProperties = make(map[string]interface{})
+ }
+ ols.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ ols.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ ols.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ ols.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ ols.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ols.Type = typeVar
+ }
+ }
+ }
+
+ return nil
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
- return nil, false
+// OdbcLinkedServiceTypeProperties ODBC linked service properties.
+type OdbcLinkedServiceTypeProperties struct {
+ // ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // AuthenticationType - Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string).
+ AuthenticationType interface{} `json:"authenticationType,omitempty"`
+ // Credential - The access credential portion of the connection string specified in driver-specific property-value format.
+ Credential BasicSecretBase `json:"credential,omitempty"`
+ // UserName - User name for Basic authentication. Type: string (or Expression with resultType string).
+ UserName interface{} `json:"userName,omitempty"`
+ // Password - Password for Basic authentication.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// AsAmazonMWSSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for OdbcLinkedServiceTypeProperties struct.
+func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "connectionString":
+ if v != nil {
+ var connectionString interface{}
+ err = json.Unmarshal(*v, &connectionString)
+ if err != nil {
+ return err
+ }
+ olstp.ConnectionString = connectionString
+ }
+ case "authenticationType":
+ if v != nil {
+ var authenticationType interface{}
+ err = json.Unmarshal(*v, &authenticationType)
+ if err != nil {
+ return err
+ }
+ olstp.AuthenticationType = authenticationType
+ }
+ case "credential":
+ if v != nil {
+ credential, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ olstp.Credential = credential
+ }
+ case "userName":
+ if v != nil {
+ var userName interface{}
+ err = json.Unmarshal(*v, &userName)
+ if err != nil {
+ return err
+ }
+ olstp.UserName = userName
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ olstp.Password = password
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ olstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
-// AsHTTPSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsHTTPSource() (*HTTPSource, bool) {
- return nil, false
+ return nil
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
- return nil, false
+// OdbcSink a copy activity ODBC sink.
+type OdbcSink struct {
+ // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string).
+ PreCopyScript interface{} `json:"preCopyScript,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for OdbcSink.
+func (osVar OdbcSink) MarshalJSON() ([]byte, error) {
+ osVar.Type = TypeOdbcSink
+ objectMap := make(map[string]interface{})
+ if osVar.PreCopyScript != nil {
+ objectMap["preCopyScript"] = osVar.PreCopyScript
+ }
+ if osVar.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = osVar.WriteBatchSize
+ }
+ if osVar.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout
+ }
+ if osVar.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = osVar.SinkRetryCount
+ }
+ if osVar.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = osVar.SinkRetryWait
+ }
+ if osVar.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections
+ }
+ if osVar.Type != "" {
+ objectMap["type"] = osVar.Type
+ }
+ for k, v := range osVar.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// AsOffice365Source is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsOffice365Source() (*Office365Source, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsMongoDbSource() (*MongoDbSource, bool) {
- return &mds, true
-}
-
-// AsCassandraSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsWebSource() (*WebSource, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsOracleSource() (*OracleSource, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsInformixSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsHdfsSource() (*HdfsSource, bool) {
- return nil, false
+// AsOdbcSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsOdbcSink() (*OdbcSink, bool) {
+ return &osVar, true
}
-// AsFileSystemSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsOracleSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsRestSource() (*RestSource, bool) {
+// AsSQLMISink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSQLSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsBlobSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsBinarySink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsParquetSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsBlobSource() (*BlobSource, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsParquetSource() (*ParquetSource, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsCopySource() (*CopySource, bool) {
+// AsCopySink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsCopySink() (*CopySink, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for MongoDbSource.
-func (mds MongoDbSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &mds, true
+// AsBasicCopySink is the BasicCopySink implementation for OdbcSink.
+func (osVar OdbcSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &osVar, true
}
-// UnmarshalJSON is the custom unmarshaler for MongoDbSource struct.
-func (mds *MongoDbSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for OdbcSink struct.
+func (osVar *OdbcSink) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -93826,14 +120969,14 @@ func (mds *MongoDbSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "preCopyScript":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var preCopyScript interface{}
+ err = json.Unmarshal(*v, &preCopyScript)
if err != nil {
return err
}
- mds.Query = query
+ osVar.PreCopyScript = preCopyScript
}
default:
if v != nil {
@@ -93842,28 +120985,46 @@ func (mds *MongoDbSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mds.AdditionalProperties == nil {
- mds.AdditionalProperties = make(map[string]interface{})
+ if osVar.AdditionalProperties == nil {
+ osVar.AdditionalProperties = make(map[string]interface{})
}
- mds.AdditionalProperties[k] = additionalProperties
+ osVar.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "writeBatchSize":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
if err != nil {
return err
}
- mds.SourceRetryCount = sourceRetryCount
+ osVar.WriteBatchSize = writeBatchSize
}
- case "sourceRetryWait":
+ case "writeBatchTimeout":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
if err != nil {
return err
}
- mds.SourceRetryWait = sourceRetryWait
+ osVar.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ osVar.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ osVar.SinkRetryWait = sinkRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -93872,16 +121033,16 @@ func (mds *MongoDbSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mds.MaxConcurrentConnections = maxConcurrentConnections
+ osVar.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicCopySink
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mds.Type = typeVar
+ osVar.Type = typeVar
}
}
}
@@ -93889,419 +121050,459 @@ func (mds *MongoDbSource) UnmarshalJSON(body []byte) error {
return nil
}
-// MongoDbV2CollectionDataset the MongoDB database dataset.
-type MongoDbV2CollectionDataset struct {
- // MongoDbV2CollectionDatasetTypeProperties - MongoDB database dataset properties.
- *MongoDbV2CollectionDatasetTypeProperties `json:"typeProperties,omitempty"`
+// OdbcSource a copy activity source for ODBC databases.
+type OdbcSource struct {
+ // Query - Database query. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) MarshalJSON() ([]byte, error) {
- mdvcd.Type = TypeMongoDbV2Collection
+// MarshalJSON is the custom marshaler for OdbcSource.
+func (osVar OdbcSource) MarshalJSON() ([]byte, error) {
+ osVar.Type = TypeOdbcSource
objectMap := make(map[string]interface{})
- if mdvcd.MongoDbV2CollectionDatasetTypeProperties != nil {
- objectMap["typeProperties"] = mdvcd.MongoDbV2CollectionDatasetTypeProperties
- }
- if mdvcd.Description != nil {
- objectMap["description"] = mdvcd.Description
- }
- if mdvcd.Structure != nil {
- objectMap["structure"] = mdvcd.Structure
- }
- if mdvcd.Schema != nil {
- objectMap["schema"] = mdvcd.Schema
+ if osVar.Query != nil {
+ objectMap["query"] = osVar.Query
}
- if mdvcd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = mdvcd.LinkedServiceName
- }
- if mdvcd.Parameters != nil {
- objectMap["parameters"] = mdvcd.Parameters
+ if osVar.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = osVar.SourceRetryCount
}
- if mdvcd.Annotations != nil {
- objectMap["annotations"] = mdvcd.Annotations
+ if osVar.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = osVar.SourceRetryWait
}
- if mdvcd.Folder != nil {
- objectMap["folder"] = mdvcd.Folder
+ if osVar.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections
}
- if mdvcd.Type != "" {
- objectMap["type"] = mdvcd.Type
+ if osVar.Type != "" {
+ objectMap["type"] = osVar.Type
}
- for k, v := range mdvcd.AdditionalProperties {
+ for k, v := range osVar.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsWebSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsTeradataSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsOracleSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsHdfsSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsSQLMISource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
- return &mdvcd, true
+// AsAzureSQLSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsSQLSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsRestSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSapTableSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsSapEccSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsODataSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsSybaseSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsMySQLSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsOdbcSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsOdbcSource() (*OdbcSource, bool) {
+ return &osVar, true
+}
+
+// AsDb2Source is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsDataset() (*Dataset, bool) {
+// AsInformixSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for MongoDbV2CollectionDataset.
-func (mdvcd MongoDbV2CollectionDataset) AsBasicDataset() (BasicDataset, bool) {
- return &mdvcd, true
+// AsRelationalSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for MongoDbV2CollectionDataset struct.
-func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for OdbcSource.
+func (osVar OdbcSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &osVar, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for OdbcSource struct.
+func (osVar *OdbcSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -94309,14 +121510,14 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var mongoDbV2CollectionDatasetTypeProperties MongoDbV2CollectionDatasetTypeProperties
- err = json.Unmarshal(*v, &mongoDbV2CollectionDatasetTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- mdvcd.MongoDbV2CollectionDatasetTypeProperties = &mongoDbV2CollectionDatasetTypeProperties
+ osVar.Query = query
}
default:
if v != nil {
@@ -94325,82 +121526,46 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mdvcd.AdditionalProperties == nil {
- mdvcd.AdditionalProperties = make(map[string]interface{})
- }
- mdvcd.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- mdvcd.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
- }
- mdvcd.Structure = structure
- }
- case "schema":
- if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
- if err != nil {
- return err
- }
- mdvcd.Schema = schema
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
+ if osVar.AdditionalProperties == nil {
+ osVar.AdditionalProperties = make(map[string]interface{})
}
- mdvcd.LinkedServiceName = &linkedServiceName
+ osVar.AdditionalProperties[k] = additionalProperties
}
- case "parameters":
+ case "sourceRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- mdvcd.Parameters = parameters
+ osVar.SourceRetryCount = sourceRetryCount
}
- case "annotations":
+ case "sourceRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- mdvcd.Annotations = &annotations
+ osVar.SourceRetryWait = sourceRetryWait
}
- case "folder":
+ case "maxConcurrentConnections":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- mdvcd.Folder = &folder
+ osVar.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mdvcd.Type = typeVar
+ osVar.Type = typeVar
}
}
}
@@ -94408,490 +121573,469 @@ func (mdvcd *MongoDbV2CollectionDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// MongoDbV2CollectionDatasetTypeProperties mongoDB database dataset properties.
-type MongoDbV2CollectionDatasetTypeProperties struct {
- // Collection - The collection name of the MongoDB database. Type: string (or Expression with resultType string).
- Collection interface{} `json:"collection,omitempty"`
-}
-
-// MongoDbV2LinkedService linked service for MongoDB data source.
-type MongoDbV2LinkedService struct {
- // MongoDbV2LinkedServiceTypeProperties - MongoDB linked service properties.
- *MongoDbV2LinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// OdbcTableDataset the ODBC table dataset.
+type OdbcTableDataset struct {
+ // OdbcTableDatasetTypeProperties - ODBC table dataset properties.
+ *OdbcTableDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
+ // Annotations - List of tags that can be used for describing the Dataset.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) MarshalJSON() ([]byte, error) {
- mdvls.Type = TypeMongoDbV2
+// MarshalJSON is the custom marshaler for OdbcTableDataset.
+func (otd OdbcTableDataset) MarshalJSON() ([]byte, error) {
+ otd.Type = TypeOdbcTable
objectMap := make(map[string]interface{})
- if mdvls.MongoDbV2LinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = mdvls.MongoDbV2LinkedServiceTypeProperties
+ if otd.OdbcTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = otd.OdbcTableDatasetTypeProperties
}
- if mdvls.ConnectVia != nil {
- objectMap["connectVia"] = mdvls.ConnectVia
+ if otd.Description != nil {
+ objectMap["description"] = otd.Description
}
- if mdvls.Description != nil {
- objectMap["description"] = mdvls.Description
+ if otd.Structure != nil {
+ objectMap["structure"] = otd.Structure
}
- if mdvls.Parameters != nil {
- objectMap["parameters"] = mdvls.Parameters
+ if otd.Schema != nil {
+ objectMap["schema"] = otd.Schema
}
- if mdvls.Annotations != nil {
- objectMap["annotations"] = mdvls.Annotations
+ if otd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = otd.LinkedServiceName
}
- if mdvls.Type != "" {
- objectMap["type"] = mdvls.Type
+ if otd.Parameters != nil {
+ objectMap["parameters"] = otd.Parameters
}
- for k, v := range mdvls.AdditionalProperties {
+ if otd.Annotations != nil {
+ objectMap["annotations"] = otd.Annotations
+ }
+ if otd.Folder != nil {
+ objectMap["folder"] = otd.Folder
+ }
+ if otd.Type != "" {
+ objectMap["type"] = otd.Type
+ }
+ for k, v := range otd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return nil, false
-}
-
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
- return nil, false
+// AsOdbcTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return &otd, true
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
- return &mdvls, true
-}
-
-// AsMongoDbLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsFileShareDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsCustomDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsBinaryDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsParquetDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService.
-func (mdvls MongoDbV2LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &mdvls, true
+// AsBasicDataset is the BasicDataset implementation for OdbcTableDataset.
+func (otd OdbcTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &otd, true
}
-// UnmarshalJSON is the custom unmarshaler for MongoDbV2LinkedService struct.
-func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for OdbcTableDataset struct.
+func (otd *OdbcTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -94901,12 +122045,12 @@ func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var mongoDbV2LinkedServiceTypeProperties MongoDbV2LinkedServiceTypeProperties
- err = json.Unmarshal(*v, &mongoDbV2LinkedServiceTypeProperties)
+ var odbcTableDatasetTypeProperties OdbcTableDatasetTypeProperties
+ err = json.Unmarshal(*v, &odbcTableDatasetTypeProperties)
if err != nil {
return err
}
- mdvls.MongoDbV2LinkedServiceTypeProperties = &mongoDbV2LinkedServiceTypeProperties
+ otd.OdbcTableDatasetTypeProperties = &odbcTableDatasetTypeProperties
}
default:
if v != nil {
@@ -94915,28 +122059,46 @@ func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mdvls.AdditionalProperties == nil {
- mdvls.AdditionalProperties = make(map[string]interface{})
+ if otd.AdditionalProperties == nil {
+ otd.AdditionalProperties = make(map[string]interface{})
}
- mdvls.AdditionalProperties[k] = additionalProperties
+ otd.AdditionalProperties[k] = additionalProperties
}
- case "connectVia":
+ case "description":
if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- mdvls.ConnectVia = &connectVia
+ otd.Description = &description
}
- case "description":
+ case "structure":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- mdvls.Description = &description
+ otd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ otd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ otd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -94945,7 +122107,7 @@ func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdvls.Parameters = parameters
+ otd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -94954,16 +122116,25 @@ func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mdvls.Annotations = &annotations
+ otd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ otd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mdvls.Type = typeVar
+ otd.Type = typeVar
}
}
}
@@ -94971,638 +122142,475 @@ func (mdvls *MongoDbV2LinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// MongoDbV2LinkedServiceTypeProperties mongoDB linked service properties.
-type MongoDbV2LinkedServiceTypeProperties struct {
- // ConnectionString - The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // Database - The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).
- Database interface{} `json:"database,omitempty"`
+// OdbcTableDatasetTypeProperties ODBC table dataset properties.
+type OdbcTableDatasetTypeProperties struct {
+ // TableName - The ODBC table name. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
}
-// MongoDbV2Source a copy activity source for a MongoDB database.
-type MongoDbV2Source struct {
- // Filter - Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string).
- Filter interface{} `json:"filter,omitempty"`
- // CursorMethods - Cursor methods for Mongodb query
- CursorMethods *MongoDbCursorMethodsProperties `json:"cursorMethods,omitempty"`
- // BatchSize - Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer).
- BatchSize interface{} `json:"batchSize,omitempty"`
+// Office365Dataset the Office365 account.
+type Office365Dataset struct {
+ // Office365DatasetTypeProperties - Office365 dataset properties.
+ *Office365DatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MongoDbV2Source.
-func (mdvs MongoDbV2Source) MarshalJSON() ([]byte, error) {
- mdvs.Type = TypeMongoDbV2Source
+// MarshalJSON is the custom marshaler for Office365Dataset.
+func (o3d Office365Dataset) MarshalJSON() ([]byte, error) {
+ o3d.Type = TypeOffice365Table
objectMap := make(map[string]interface{})
- if mdvs.Filter != nil {
- objectMap["filter"] = mdvs.Filter
+ if o3d.Office365DatasetTypeProperties != nil {
+ objectMap["typeProperties"] = o3d.Office365DatasetTypeProperties
}
- if mdvs.CursorMethods != nil {
- objectMap["cursorMethods"] = mdvs.CursorMethods
+ if o3d.Description != nil {
+ objectMap["description"] = o3d.Description
}
- if mdvs.BatchSize != nil {
- objectMap["batchSize"] = mdvs.BatchSize
+ if o3d.Structure != nil {
+ objectMap["structure"] = o3d.Structure
}
- if mdvs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = mdvs.SourceRetryCount
+ if o3d.Schema != nil {
+ objectMap["schema"] = o3d.Schema
}
- if mdvs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = mdvs.SourceRetryWait
+ if o3d.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = o3d.LinkedServiceName
}
- if mdvs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = mdvs.MaxConcurrentConnections
+ if o3d.Parameters != nil {
+ objectMap["parameters"] = o3d.Parameters
}
- if mdvs.Type != "" {
- objectMap["type"] = mdvs.Type
+ if o3d.Annotations != nil {
+ objectMap["annotations"] = o3d.Annotations
}
- for k, v := range mdvs.AdditionalProperties {
+ if o3d.Folder != nil {
+ objectMap["folder"] = o3d.Folder
+ }
+ if o3d.Type != "" {
+ objectMap["type"] = o3d.Type
+ }
+ for k, v := range o3d.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsXeroSource() (*XeroSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSquareSource() (*SquareSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSparkSource() (*SparkSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsJiraSource() (*JiraSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsHiveSource() (*HiveSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsDrillSource() (*DrillSource, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsOffice365Source() (*Office365Source, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
- return &mdvs, true
-}
-
-// AsMongoDbSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsWebSource() (*WebSource, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsOracleSource() (*OracleSource, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsHdfsSource() (*HdfsSource, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSQLSource() (*SQLSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsRestSource() (*RestSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSapTableSource() (*SapTableSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSapEccSource() (*SapEccSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsRelationalSource() (*RelationalSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsDynamicsSource() (*DynamicsSource, bool) {
- return nil, false
+// AsOffice365Dataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+ return &o3d, true
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsBlobSource() (*BlobSource, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsParquetSource() (*ParquetSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsCopySource() (*CopySource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for MongoDbV2Source.
-func (mdvs MongoDbV2Source) AsBasicCopySource() (BasicCopySource, bool) {
- return &mdvs, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for MongoDbV2Source struct.
-func (mdvs *MongoDbV2Source) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "filter":
- if v != nil {
- var filter interface{}
- err = json.Unmarshal(*v, &filter)
- if err != nil {
- return err
- }
- mdvs.Filter = filter
- }
- case "cursorMethods":
- if v != nil {
- var cursorMethods MongoDbCursorMethodsProperties
- err = json.Unmarshal(*v, &cursorMethods)
- if err != nil {
- return err
- }
- mdvs.CursorMethods = &cursorMethods
- }
- case "batchSize":
- if v != nil {
- var batchSize interface{}
- err = json.Unmarshal(*v, &batchSize)
- if err != nil {
- return err
- }
- mdvs.BatchSize = batchSize
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if mdvs.AdditionalProperties == nil {
- mdvs.AdditionalProperties = make(map[string]interface{})
- }
- mdvs.AdditionalProperties[k] = additionalProperties
- }
- case "sourceRetryCount":
- if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
- if err != nil {
- return err
- }
- mdvs.SourceRetryCount = sourceRetryCount
- }
- case "sourceRetryWait":
- if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
- if err != nil {
- return err
- }
- mdvs.SourceRetryWait = sourceRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- mdvs.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- mdvs.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// BasicMultiplePipelineTrigger base class for all triggers that support one to many model for trigger to pipeline.
-type BasicMultiplePipelineTrigger interface {
- AsBlobEventsTrigger() (*BlobEventsTrigger, bool)
- AsBlobTrigger() (*BlobTrigger, bool)
- AsScheduleTrigger() (*ScheduleTrigger, bool)
- AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool)
-}
-
-// MultiplePipelineTrigger base class for all triggers that support one to many model for trigger to pipeline.
-type MultiplePipelineTrigger struct {
- // Pipelines - Pipelines that need to be started.
- Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Trigger description.
- Description *string `json:"description,omitempty"`
- // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
- RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
- // Annotations - List of tags that can be used for describing the trigger.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
- Type TypeBasicTrigger `json:"type,omitempty"`
+// AsCustomDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsCustomDataset() (*CustomDataset, bool) {
+ return nil, false
}
-func unmarshalBasicMultiplePipelineTrigger(body []byte) (BasicMultiplePipelineTrigger, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
-
- switch m["type"] {
- case string(TypeBlobEventsTrigger):
- var bet BlobEventsTrigger
- err := json.Unmarshal(body, &bet)
- return bet, err
- case string(TypeBlobTrigger):
- var bt BlobTrigger
- err := json.Unmarshal(body, &bt)
- return bt, err
- case string(TypeScheduleTrigger):
- var st ScheduleTrigger
- err := json.Unmarshal(body, &st)
- return st, err
- default:
- var mpt MultiplePipelineTrigger
- err := json.Unmarshal(body, &mpt)
- return mpt, err
- }
+// AsCassandraTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
}
-func unmarshalBasicMultiplePipelineTriggerArray(body []byte) ([]BasicMultiplePipelineTrigger, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
-
- mptArray := make([]BasicMultiplePipelineTrigger, len(rawMessages))
- for index, rawMessage := range rawMessages {
- mpt, err := unmarshalBasicMultiplePipelineTrigger(*rawMessage)
- if err != nil {
- return nil, err
- }
- mptArray[index] = mpt
- }
- return mptArray, nil
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for MultiplePipelineTrigger.
-func (mpt MultiplePipelineTrigger) MarshalJSON() ([]byte, error) {
- mpt.Type = TypeMultiplePipelineTrigger
- objectMap := make(map[string]interface{})
- if mpt.Pipelines != nil {
- objectMap["pipelines"] = mpt.Pipelines
- }
- if mpt.Description != nil {
- objectMap["description"] = mpt.Description
- }
- if mpt.Annotations != nil {
- objectMap["annotations"] = mpt.Annotations
- }
- if mpt.Type != "" {
- objectMap["type"] = mpt.Type
- }
- for k, v := range mpt.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsAzureSQLMITableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
}
-// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
-func (mpt MultiplePipelineTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsTumblingWindowTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
-func (mpt MultiplePipelineTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsBlobEventsTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
-func (mpt MultiplePipelineTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsBlobTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
-func (mpt MultiplePipelineTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
+// AsBinaryDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsScheduleTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
-func (mpt MultiplePipelineTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsMultiplePipelineTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
-func (mpt MultiplePipelineTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
- return &mpt, true
+// AsParquetDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
}
-// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
-func (mpt MultiplePipelineTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
- return &mpt, true
+// AsAmazonS3Dataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
}
-// AsTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
-func (mpt MultiplePipelineTrigger) AsTrigger() (*Trigger, bool) {
+// AsDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
-func (mpt MultiplePipelineTrigger) AsBasicTrigger() (BasicTrigger, bool) {
- return &mpt, true
+// AsBasicDataset is the BasicDataset implementation for Office365Dataset.
+func (o3d Office365Dataset) AsBasicDataset() (BasicDataset, bool) {
+ return &o3d, true
}
-// UnmarshalJSON is the custom unmarshaler for MultiplePipelineTrigger struct.
-func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for Office365Dataset struct.
+func (o3d *Office365Dataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -95610,14 +122618,14 @@ func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "pipelines":
+ case "typeProperties":
if v != nil {
- var pipelines []TriggerPipelineReference
- err = json.Unmarshal(*v, &pipelines)
+ var office365DatasetTypeProperties Office365DatasetTypeProperties
+ err = json.Unmarshal(*v, &office365DatasetTypeProperties)
if err != nil {
return err
}
- mpt.Pipelines = &pipelines
+ o3d.Office365DatasetTypeProperties = &office365DatasetTypeProperties
}
default:
if v != nil {
@@ -95626,10 +122634,10 @@ func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if mpt.AdditionalProperties == nil {
- mpt.AdditionalProperties = make(map[string]interface{})
+ if o3d.AdditionalProperties == nil {
+ o3d.AdditionalProperties = make(map[string]interface{})
}
- mpt.AdditionalProperties[k] = additionalProperties
+ o3d.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -95638,16 +122646,43 @@ func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mpt.Description = &description
+ o3d.Description = &description
}
- case "runtimeState":
+ case "structure":
if v != nil {
- var runtimeState TriggerRuntimeState
- err = json.Unmarshal(*v, &runtimeState)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- mpt.RuntimeState = runtimeState
+ o3d.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ o3d.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ o3d.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ o3d.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -95656,16 +122691,25 @@ func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- mpt.Annotations = &annotations
+ o3d.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ o3d.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicTrigger
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- mpt.Type = typeVar
+ o3d.Type = typeVar
}
}
}
@@ -95673,10 +122717,18 @@ func (mpt *MultiplePipelineTrigger) UnmarshalJSON(body []byte) error {
return nil
}
-// MySQLLinkedService linked service for MySQL data source.
-type MySQLLinkedService struct {
- // MySQLLinkedServiceTypeProperties - MySQL linked service properties.
- *MySQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// Office365DatasetTypeProperties office365 dataset properties.
+type Office365DatasetTypeProperties struct {
+ // TableName - Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
+ // Predicate - A predicate expression that can be used to filter the specific rows to extract from Office 365. Type: string (or Expression with resultType string).
+ Predicate interface{} `json:"predicate,omitempty"`
+}
+
+// Office365LinkedService office365 linked service.
+type Office365LinkedService struct {
+ // Office365LinkedServiceTypeProperties - Office365 linked service properties.
+ *Office365LinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -95687,470 +122739,500 @@ type MySQLLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for MySQLLinkedService.
-func (msls MySQLLinkedService) MarshalJSON() ([]byte, error) {
- msls.Type = TypeMySQL
+// MarshalJSON is the custom marshaler for Office365LinkedService.
+func (o3ls Office365LinkedService) MarshalJSON() ([]byte, error) {
+ o3ls.Type = TypeOffice365
objectMap := make(map[string]interface{})
- if msls.MySQLLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = msls.MySQLLinkedServiceTypeProperties
+ if o3ls.Office365LinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = o3ls.Office365LinkedServiceTypeProperties
}
- if msls.ConnectVia != nil {
- objectMap["connectVia"] = msls.ConnectVia
+ if o3ls.ConnectVia != nil {
+ objectMap["connectVia"] = o3ls.ConnectVia
}
- if msls.Description != nil {
- objectMap["description"] = msls.Description
+ if o3ls.Description != nil {
+ objectMap["description"] = o3ls.Description
}
- if msls.Parameters != nil {
- objectMap["parameters"] = msls.Parameters
+ if o3ls.Parameters != nil {
+ objectMap["parameters"] = o3ls.Parameters
}
- if msls.Annotations != nil {
- objectMap["annotations"] = msls.Annotations
+ if o3ls.Annotations != nil {
+ objectMap["annotations"] = o3ls.Annotations
}
- if msls.Type != "" {
- objectMap["type"] = msls.Type
+ if o3ls.Type != "" {
+ objectMap["type"] = o3ls.Type
}
- for k, v := range msls.AdditionalProperties {
+ for k, v := range o3ls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return &o3ls, true
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
- return &msls, true
+// AsSybaseLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
-func (msls MySQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &msls, true
+// AsBasicLinkedService is the BasicLinkedService implementation for Office365LinkedService.
+func (o3ls Office365LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &o3ls, true
}
-// UnmarshalJSON is the custom unmarshaler for MySQLLinkedService struct.
-func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for Office365LinkedService struct.
+func (o3ls *Office365LinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -96160,12 +123242,12 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var mySQLLinkedServiceTypeProperties MySQLLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &mySQLLinkedServiceTypeProperties)
+ var office365LinkedServiceTypeProperties Office365LinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &office365LinkedServiceTypeProperties)
if err != nil {
return err
}
- msls.MySQLLinkedServiceTypeProperties = &mySQLLinkedServiceTypeProperties
+ o3ls.Office365LinkedServiceTypeProperties = &office365LinkedServiceTypeProperties
}
default:
if v != nil {
@@ -96174,10 +123256,10 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if msls.AdditionalProperties == nil {
- msls.AdditionalProperties = make(map[string]interface{})
+ if o3ls.AdditionalProperties == nil {
+ o3ls.AdditionalProperties = make(map[string]interface{})
}
- msls.AdditionalProperties[k] = additionalProperties
+ o3ls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -96186,7 +123268,7 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- msls.ConnectVia = &connectVia
+ o3ls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -96195,7 +123277,7 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- msls.Description = &description
+ o3ls.Description = &description
}
case "parameters":
if v != nil {
@@ -96204,7 +123286,7 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- msls.Parameters = parameters
+ o3ls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -96213,7 +123295,7 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- msls.Annotations = &annotations
+ o3ls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -96222,7 +123304,7 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- msls.Type = typeVar
+ o3ls.Type = typeVar
}
}
}
@@ -96230,18 +123312,22 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// MySQLLinkedServiceTypeProperties mySQL linked service properties.
-type MySQLLinkedServiceTypeProperties struct {
- // ConnectionString - The connection string.
- ConnectionString BasicSecretBase `json:"connectionString,omitempty"`
- // Password - The Azure key vault secret reference of password in connection string.
- Password *AzureKeyVaultSecretReference `json:"password,omitempty"`
+// Office365LinkedServiceTypeProperties office365 linked service properties.
+type Office365LinkedServiceTypeProperties struct {
+ // Office365TenantID - Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string).
+ Office365TenantID interface{} `json:"office365TenantId,omitempty"`
+ // ServicePrincipalTenantID - Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string).
+ ServicePrincipalTenantID interface{} `json:"servicePrincipalTenantId,omitempty"`
+ // ServicePrincipalID - Specify the application's client ID. Type: string (or Expression with resultType string).
+ ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
+ // ServicePrincipalKey - Specify the application's key.
+ ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for MySQLLinkedServiceTypeProperties struct.
-func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for Office365LinkedServiceTypeProperties struct.
+func (o3lstp *Office365LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -96249,22 +123335,40 @@ func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
}
for k, v := range m {
switch k {
- case "connectionString":
+ case "office365TenantId":
if v != nil {
- connectionString, err := unmarshalBasicSecretBase(*v)
+ var office365TenantID interface{}
+ err = json.Unmarshal(*v, &office365TenantID)
if err != nil {
return err
}
- mslstp.ConnectionString = connectionString
+ o3lstp.Office365TenantID = office365TenantID
}
- case "password":
+ case "servicePrincipalTenantId":
if v != nil {
- var password AzureKeyVaultSecretReference
- err = json.Unmarshal(*v, &password)
+ var servicePrincipalTenantID interface{}
+ err = json.Unmarshal(*v, &servicePrincipalTenantID)
if err != nil {
return err
}
- mslstp.Password = &password
+ o3lstp.ServicePrincipalTenantID = servicePrincipalTenantID
+ }
+ case "servicePrincipalId":
+ if v != nil {
+ var servicePrincipalID interface{}
+ err = json.Unmarshal(*v, &servicePrincipalID)
+ if err != nil {
+ return err
+ }
+ o3lstp.ServicePrincipalID = servicePrincipalID
+ }
+ case "servicePrincipalKey":
+ if v != nil {
+ servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ o3lstp.ServicePrincipalKey = servicePrincipalKey
}
case "encryptedCredential":
if v != nil {
@@ -96273,7 +123377,7 @@ func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- mslstp.EncryptedCredential = encryptedCredential
+ o3lstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -96281,484 +123385,454 @@ func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
return nil
}
-// NetezzaLinkedService netezza linked service.
-type NetezzaLinkedService struct {
- // NetezzaLinkedServiceTypeProperties - Netezza linked service properties.
- *NetezzaLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// Office365Source a copy activity source for an Office365 service.
+type Office365Source struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for NetezzaLinkedService.
-func (nls NetezzaLinkedService) MarshalJSON() ([]byte, error) {
- nls.Type = TypeNetezza
+// MarshalJSON is the custom marshaler for Office365Source.
+func (o3s Office365Source) MarshalJSON() ([]byte, error) {
+ o3s.Type = TypeOffice365Source
objectMap := make(map[string]interface{})
- if nls.NetezzaLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = nls.NetezzaLinkedServiceTypeProperties
- }
- if nls.ConnectVia != nil {
- objectMap["connectVia"] = nls.ConnectVia
- }
- if nls.Description != nil {
- objectMap["description"] = nls.Description
+ if o3s.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = o3s.SourceRetryCount
}
- if nls.Parameters != nil {
- objectMap["parameters"] = nls.Parameters
+ if o3s.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = o3s.SourceRetryWait
}
- if nls.Annotations != nil {
- objectMap["annotations"] = nls.Annotations
+ if o3s.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = o3s.MaxConcurrentConnections
}
- if nls.Type != "" {
- objectMap["type"] = nls.Type
+ if o3s.Type != "" {
+ objectMap["type"] = o3s.Type
}
- for k, v := range nls.AdditionalProperties {
+ for k, v := range o3s.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
- return &nls, true
-}
-
-// AsVerticaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
- return nil, false
+// AsOffice365Source is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsOffice365Source() (*Office365Source, bool) {
+ return &o3s, true
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsODataSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsMySQLSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsBinarySource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsParquetSource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsCopySource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
-func (nls NetezzaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &nls, true
+// AsBasicCopySource is the BasicCopySource implementation for Office365Source.
+func (o3s Office365Source) AsBasicCopySource() (BasicCopySource, bool) {
+ return &o3s, true
}
-// UnmarshalJSON is the custom unmarshaler for NetezzaLinkedService struct.
-func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for Office365Source struct.
+func (o3s *Office365Source) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -96766,15 +123840,6 @@ func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
- if v != nil {
- var netezzaLinkedServiceTypeProperties NetezzaLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &netezzaLinkedServiceTypeProperties)
- if err != nil {
- return err
- }
- nls.NetezzaLinkedServiceTypeProperties = &netezzaLinkedServiceTypeProperties
- }
default:
if v != nil {
var additionalProperties interface{}
@@ -96782,55 +123847,46 @@ func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if nls.AdditionalProperties == nil {
- nls.AdditionalProperties = make(map[string]interface{})
- }
- nls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if o3s.AdditionalProperties == nil {
+ o3s.AdditionalProperties = make(map[string]interface{})
}
- nls.ConnectVia = &connectVia
+ o3s.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- nls.Description = &description
+ o3s.SourceRetryCount = sourceRetryCount
}
- case "parameters":
+ case "sourceRetryWait":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- nls.Parameters = parameters
+ o3s.SourceRetryWait = sourceRetryWait
}
- case "annotations":
+ case "maxConcurrentConnections":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- nls.Annotations = &annotations
+ o3s.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- nls.Type = typeVar
+ o3s.Type = typeVar
}
}
}
@@ -96838,887 +123894,819 @@ func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// NetezzaLinkedServiceTypeProperties netezza linked service properties.
-type NetezzaLinkedServiceTypeProperties struct {
- // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // Pwd - The Azure key vault secret reference of password in connection string.
- Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// NetezzaSource a copy activity Netezza source.
-type NetezzaSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+// Operation azure Data Factory API operation definition.
+type Operation struct {
+ // Name - Operation name: {provider}/{resource}/{operation}
+ Name *string `json:"name,omitempty"`
+ // Origin - The intended executor of the operation.
+ Origin *string `json:"origin,omitempty"`
+ // Display - Metadata associated with the operation.
+ Display *OperationDisplay `json:"display,omitempty"`
+ // OperationProperties - Additional details about the operation.
+ *OperationProperties `json:"properties,omitempty"`
}
-// MarshalJSON is the custom marshaler for NetezzaSource.
-func (ns NetezzaSource) MarshalJSON() ([]byte, error) {
- ns.Type = TypeNetezzaSource
+// MarshalJSON is the custom marshaler for Operation.
+func (o Operation) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if ns.Query != nil {
- objectMap["query"] = ns.Query
- }
- if ns.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ns.SourceRetryCount
- }
- if ns.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ns.SourceRetryWait
+ if o.Name != nil {
+ objectMap["name"] = o.Name
}
- if ns.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ns.MaxConcurrentConnections
+ if o.Origin != nil {
+ objectMap["origin"] = o.Origin
}
- if ns.Type != "" {
- objectMap["type"] = ns.Type
+ if o.Display != nil {
+ objectMap["display"] = o.Display
}
- for k, v := range ns.AdditionalProperties {
- objectMap[k] = v
+ if o.OperationProperties != nil {
+ objectMap["properties"] = o.OperationProperties
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
- return nil, false
-}
-
-// AsDynamicsAXSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
- return nil, false
-}
-
-// AsResponsysSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsResponsysSource() (*ResponsysSource, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
- return nil, false
-}
-
-// AsVerticaSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsVerticaSource() (*VerticaSource, bool) {
- return nil, false
-}
-
-// AsNetezzaSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsNetezzaSource() (*NetezzaSource, bool) {
- return &ns, true
-}
-
-// AsZohoSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsZohoSource() (*ZohoSource, bool) {
- return nil, false
-}
-
-// AsXeroSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsXeroSource() (*XeroSource, bool) {
- return nil, false
-}
-
-// AsSquareSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSquareSource() (*SquareSource, bool) {
- return nil, false
-}
-
-// AsSparkSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSparkSource() (*SparkSource, bool) {
- return nil, false
-}
-
-// AsShopifySource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsShopifySource() (*ShopifySource, bool) {
- return nil, false
-}
-
-// AsServiceNowSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsServiceNowSource() (*ServiceNowSource, bool) {
- return nil, false
-}
-
-// AsQuickBooksSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
- return nil, false
-}
-
-// AsPrestoSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsPrestoSource() (*PrestoSource, bool) {
- return nil, false
-}
-
-// AsPhoenixSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsPhoenixSource() (*PhoenixSource, bool) {
- return nil, false
-}
-
-// AsPaypalSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsPaypalSource() (*PaypalSource, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for Operation struct.
+func (o *Operation) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ o.Name = &name
+ }
+ case "origin":
+ if v != nil {
+ var origin string
+ err = json.Unmarshal(*v, &origin)
+ if err != nil {
+ return err
+ }
+ o.Origin = &origin
+ }
+ case "display":
+ if v != nil {
+ var display OperationDisplay
+ err = json.Unmarshal(*v, &display)
+ if err != nil {
+ return err
+ }
+ o.Display = &display
+ }
+ case "properties":
+ if v != nil {
+ var operationProperties OperationProperties
+ err = json.Unmarshal(*v, &operationProperties)
+ if err != nil {
+ return err
+ }
+ o.OperationProperties = &operationProperties
+ }
+ }
+ }
-// AsMarketoSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsMarketoSource() (*MarketoSource, bool) {
- return nil, false
+ return nil
}
-// AsMariaDBSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsMariaDBSource() (*MariaDBSource, bool) {
- return nil, false
+// OperationDisplay metadata associated with the operation.
+type OperationDisplay struct {
+ // Description - The description of the operation.
+ Description *string `json:"description,omitempty"`
+ // Provider - The name of the provider.
+ Provider *string `json:"provider,omitempty"`
+ // Resource - The name of the resource type on which the operation is performed.
+ Resource *string `json:"resource,omitempty"`
+ // Operation - The type of operation: get, read, delete, etc.
+ Operation *string `json:"operation,omitempty"`
}
-// AsMagentoSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsMagentoSource() (*MagentoSource, bool) {
- return nil, false
+// OperationListResponse a list of operations that can be performed by the Data Factory service.
+type OperationListResponse struct {
+ autorest.Response `json:"-"`
+ // Value - List of Data Factory operations supported by the Data Factory resource provider.
+ Value *[]Operation `json:"value,omitempty"`
+ // NextLink - The link to the next page of results, if any remaining results exist.
+ NextLink *string `json:"nextLink,omitempty"`
}
-// AsJiraSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsJiraSource() (*JiraSource, bool) {
- return nil, false
+// OperationListResponseIterator provides access to a complete listing of Operation values.
+type OperationListResponseIterator struct {
+ i int
+ page OperationListResponsePage
}
-// AsImpalaSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsImpalaSource() (*ImpalaSource, bool) {
- return nil, false
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *OperationListResponseIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/OperationListResponseIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
}
-// AsHubspotSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsHubspotSource() (*HubspotSource, bool) {
- return nil, false
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *OperationListResponseIterator) Next() error {
+ return iter.NextWithContext(context.Background())
}
-// AsHiveSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsHiveSource() (*HiveSource, bool) {
- return nil, false
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter OperationListResponseIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
}
-// AsHBaseSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsHBaseSource() (*HBaseSource, bool) {
- return nil, false
+// Response returns the raw server response from the last page request.
+func (iter OperationListResponseIterator) Response() OperationListResponse {
+ return iter.page.Response()
}
-// AsGreenplumSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsGreenplumSource() (*GreenplumSource, bool) {
- return nil, false
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter OperationListResponseIterator) Value() Operation {
+ if !iter.page.NotDone() {
+ return Operation{}
+ }
+ return iter.page.Values()[iter.i]
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
- return nil, false
+// Creates a new instance of the OperationListResponseIterator type.
+func NewOperationListResponseIterator(page OperationListResponsePage) OperationListResponseIterator {
+ return OperationListResponseIterator{page: page}
}
-// AsEloquaSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsEloquaSource() (*EloquaSource, bool) {
- return nil, false
+// IsEmpty returns true if the ListResult contains no values.
+func (olr OperationListResponse) IsEmpty() bool {
+ return olr.Value == nil || len(*olr.Value) == 0
}
-// AsDrillSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsDrillSource() (*DrillSource, bool) {
- return nil, false
+// operationListResponsePreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (olr OperationListResponse) operationListResponsePreparer(ctx context.Context) (*http.Request, error) {
+ if olr.NextLink == nil || len(to.String(olr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(olr.NextLink)))
}
-// AsCouchbaseSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
- return nil, false
+// OperationListResponsePage contains a page of Operation values.
+type OperationListResponsePage struct {
+ fn func(context.Context, OperationListResponse) (OperationListResponse, error)
+ olr OperationListResponse
}
-// AsConcurSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsConcurSource() (*ConcurSource, bool) {
- return nil, false
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *OperationListResponsePage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/OperationListResponsePage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.olr)
+ if err != nil {
+ return err
+ }
+ page.olr = next
+ return nil
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
- return nil, false
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *OperationListResponsePage) Next() error {
+ return page.NextWithContext(context.Background())
}
-// AsAmazonMWSSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
- return nil, false
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page OperationListResponsePage) NotDone() bool {
+ return !page.olr.IsEmpty()
}
-// AsHTTPSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsHTTPSource() (*HTTPSource, bool) {
- return nil, false
+// Response returns the raw server response from the last page request.
+func (page OperationListResponsePage) Response() OperationListResponse {
+ return page.olr
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
- return nil, false
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page OperationListResponsePage) Values() []Operation {
+ if page.olr.IsEmpty() {
+ return nil
+ }
+ return *page.olr.Value
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
- return nil, false
+// Creates a new instance of the OperationListResponsePage type.
+func NewOperationListResponsePage(getNextPage func(context.Context, OperationListResponse) (OperationListResponse, error)) OperationListResponsePage {
+ return OperationListResponsePage{fn: getNextPage}
}
-// AsOffice365Source is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsOffice365Source() (*Office365Source, bool) {
- return nil, false
+// OperationLogSpecification details about an operation related to logs.
+type OperationLogSpecification struct {
+ // Name - The name of the log category.
+ Name *string `json:"name,omitempty"`
+ // DisplayName - Localized display name.
+ DisplayName *string `json:"displayName,omitempty"`
+ // BlobDuration - Blobs created in the customer storage account, per hour.
+ BlobDuration *string `json:"blobDuration,omitempty"`
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
- return nil, false
+// OperationMetricAvailability defines how often data for a metric becomes available.
+type OperationMetricAvailability struct {
+ // TimeGrain - The granularity for the metric.
+ TimeGrain *string `json:"timeGrain,omitempty"`
+ // BlobDuration - Blob created in the customer storage account, per hour.
+ BlobDuration *string `json:"blobDuration,omitempty"`
}
-// AsMongoDbV2Source is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
- return nil, false
+// OperationMetricDimension defines the metric dimension.
+type OperationMetricDimension struct {
+ // Name - The name of the dimension for the metric.
+ Name *string `json:"name,omitempty"`
+ // DisplayName - The display name of the metric dimension.
+ DisplayName *string `json:"displayName,omitempty"`
+ // ToBeExportedForShoebox - Whether the dimension should be exported to Azure Monitor.
+ ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"`
}
-// AsMongoDbSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsMongoDbSource() (*MongoDbSource, bool) {
- return nil, false
+// OperationMetricSpecification details about an operation related to metrics.
+type OperationMetricSpecification struct {
+ // Name - The name of the metric.
+ Name *string `json:"name,omitempty"`
+ // DisplayName - Localized display name of the metric.
+ DisplayName *string `json:"displayName,omitempty"`
+ // DisplayDescription - The description of the metric.
+ DisplayDescription *string `json:"displayDescription,omitempty"`
+ // Unit - The unit that the metric is measured in.
+ Unit *string `json:"unit,omitempty"`
+ // AggregationType - The type of metric aggregation.
+ AggregationType *string `json:"aggregationType,omitempty"`
+ // EnableRegionalMdmAccount - Whether or not the service is using regional MDM accounts.
+ EnableRegionalMdmAccount *string `json:"enableRegionalMdmAccount,omitempty"`
+ // SourceMdmAccount - The name of the MDM account.
+ SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"`
+ // SourceMdmNamespace - The name of the MDM namespace.
+ SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`
+ // Availabilities - Defines how often data for metrics becomes available.
+ Availabilities *[]OperationMetricAvailability `json:"availabilities,omitempty"`
+ // Dimensions - Defines the metric dimension.
+ Dimensions *[]OperationMetricDimension `json:"dimensions,omitempty"`
}
-// AsCassandraSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsCassandraSource() (*CassandraSource, bool) {
- return nil, false
+// OperationProperties additional details about an operation.
+type OperationProperties struct {
+ // ServiceSpecification - Details about a service operation.
+ ServiceSpecification *OperationServiceSpecification `json:"serviceSpecification,omitempty"`
}
-// AsWebSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsWebSource() (*WebSource, bool) {
- return nil, false
+// OperationServiceSpecification details about a service operation.
+type OperationServiceSpecification struct {
+ // LogSpecifications - Details about operations related to logs.
+ LogSpecifications *[]OperationLogSpecification `json:"logSpecifications,omitempty"`
+ // MetricSpecifications - Details about operations related to metrics.
+ MetricSpecifications *[]OperationMetricSpecification `json:"metricSpecifications,omitempty"`
}
-// AsTeradataSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsTeradataSource() (*TeradataSource, bool) {
- return nil, false
+// OracleLinkedService oracle database.
+type OracleLinkedService struct {
+ // OracleLinkedServiceTypeProperties - Oracle database linked service properties.
+ *OracleLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// AsOracleSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsOracleSource() (*OracleSource, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for OracleLinkedService.
+func (ols OracleLinkedService) MarshalJSON() ([]byte, error) {
+ ols.Type = TypeOracle
+ objectMap := make(map[string]interface{})
+ if ols.OracleLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = ols.OracleLinkedServiceTypeProperties
+ }
+ if ols.ConnectVia != nil {
+ objectMap["connectVia"] = ols.ConnectVia
+ }
+ if ols.Description != nil {
+ objectMap["description"] = ols.Description
+ }
+ if ols.Parameters != nil {
+ objectMap["parameters"] = ols.Parameters
+ }
+ if ols.Annotations != nil {
+ objectMap["annotations"] = ols.Annotations
+ }
+ if ols.Type != "" {
+ objectMap["type"] = ols.Type
+ }
+ for k, v := range ols.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSQLSource() (*SQLSource, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsRestSource() (*RestSource, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsBlobSource() (*BlobSource, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsParquetSource() (*ParquetSource, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsCopySource() (*CopySource, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for NetezzaSource.
-func (ns NetezzaSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ns, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for NetezzaSource struct.
-func (ns *NetezzaSource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "query":
- if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
- if err != nil {
- return err
- }
- ns.Query = query
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if ns.AdditionalProperties == nil {
- ns.AdditionalProperties = make(map[string]interface{})
- }
- ns.AdditionalProperties[k] = additionalProperties
- }
- case "sourceRetryCount":
- if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
- if err != nil {
- return err
- }
- ns.SourceRetryCount = sourceRetryCount
- }
- case "sourceRetryWait":
- if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
- if err != nil {
- return err
- }
- ns.SourceRetryWait = sourceRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- ns.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ns.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// NetezzaTableDataset netezza dataset.
-type NetezzaTableDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) MarshalJSON() ([]byte, error) {
- ntd.Type = TypeNetezzaTable
- objectMap := make(map[string]interface{})
- if ntd.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = ntd.GenericDatasetTypeProperties
- }
- if ntd.Description != nil {
- objectMap["description"] = ntd.Description
- }
- if ntd.Structure != nil {
- objectMap["structure"] = ntd.Structure
- }
- if ntd.Schema != nil {
- objectMap["schema"] = ntd.Schema
- }
- if ntd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = ntd.LinkedServiceName
- }
- if ntd.Parameters != nil {
- objectMap["parameters"] = ntd.Parameters
- }
- if ntd.Annotations != nil {
- objectMap["annotations"] = ntd.Annotations
- }
- if ntd.Folder != nil {
- objectMap["folder"] = ntd.Folder
- }
- if ntd.Type != "" {
- objectMap["type"] = ntd.Type
- }
- for k, v := range ntd.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
- return &ntd, true
-}
-
-// AsZohoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
- return nil, false
+// AsOracleLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return &ols, true
}
-// AsFileShareDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsDataset() (*Dataset, bool) {
+// AsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for NetezzaTableDataset.
-func (ntd NetezzaTableDataset) AsBasicDataset() (BasicDataset, bool) {
- return &ntd, true
+// AsBasicLinkedService is the BasicLinkedService implementation for OracleLinkedService.
+func (ols OracleLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &ols, true
}
-// UnmarshalJSON is the custom unmarshaler for NetezzaTableDataset struct.
-func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for OracleLinkedService struct.
+func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -97728,12 +124716,12 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var oracleLinkedServiceTypeProperties OracleLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &oracleLinkedServiceTypeProperties)
if err != nil {
return err
}
- ntd.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ ols.OracleLinkedServiceTypeProperties = &oracleLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -97742,46 +124730,28 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ntd.AdditionalProperties == nil {
- ntd.AdditionalProperties = make(map[string]interface{})
- }
- ntd.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- ntd.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
+ if ols.AdditionalProperties == nil {
+ ols.AdditionalProperties = make(map[string]interface{})
}
- ntd.Structure = structure
+ ols.AdditionalProperties[k] = additionalProperties
}
- case "schema":
+ case "connectVia":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- ntd.Schema = schema
+ ols.ConnectVia = &connectVia
}
- case "linkedServiceName":
+ case "description":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- ntd.LinkedServiceName = &linkedServiceName
+ ols.Description = &description
}
case "parameters":
if v != nil {
@@ -97790,7 +124760,7 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ntd.Parameters = parameters
+ ols.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -97799,25 +124769,16 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ntd.Annotations = &annotations
- }
- case "folder":
- if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
- if err != nil {
- return err
- }
- ntd.Folder = &folder
+ ols.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ntd.Type = typeVar
+ ols.Type = typeVar
}
}
}
@@ -97825,10 +124786,32 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// ODataLinkedService open Data Protocol (OData) linked service.
-type ODataLinkedService struct {
- // ODataLinkedServiceTypeProperties - OData linked service properties.
- *ODataLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// OracleLinkedServiceTypeProperties oracle database linked service properties.
+type OracleLinkedServiceTypeProperties struct {
+ // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
+ ConnectionString interface{} `json:"connectionString,omitempty"`
+ // Password - The Azure key vault secret reference of password in connection string.
+ Password *AzureKeyVaultSecretReference `json:"password,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// OraclePartitionSettings the settings that will be leveraged for Oracle source partitioning.
+type OraclePartitionSettings struct {
+ // PartitionNames - Names of the physical partitions of Oracle table.
+ PartitionNames interface{} `json:"partitionNames,omitempty"`
+ // PartitionColumnName - The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
+ PartitionColumnName interface{} `json:"partitionColumnName,omitempty"`
+ // PartitionUpperBound - The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
+ PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"`
+ // PartitionLowerBound - The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
+ PartitionLowerBound interface{} `json:"partitionLowerBound,omitempty"`
+}
+
+// OracleServiceCloudLinkedService oracle Service Cloud linked service.
+type OracleServiceCloudLinkedService struct {
+ // OracleServiceCloudLinkedServiceTypeProperties - Oracle Service Cloud linked service properties.
+ *OracleServiceCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -97839,470 +124822,500 @@ type ODataLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ODataLinkedService.
-func (odls ODataLinkedService) MarshalJSON() ([]byte, error) {
- odls.Type = TypeOData
+// MarshalJSON is the custom marshaler for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) MarshalJSON() ([]byte, error) {
+ oscls.Type = TypeOracleServiceCloud
objectMap := make(map[string]interface{})
- if odls.ODataLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = odls.ODataLinkedServiceTypeProperties
+ if oscls.OracleServiceCloudLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = oscls.OracleServiceCloudLinkedServiceTypeProperties
}
- if odls.ConnectVia != nil {
- objectMap["connectVia"] = odls.ConnectVia
+ if oscls.ConnectVia != nil {
+ objectMap["connectVia"] = oscls.ConnectVia
}
- if odls.Description != nil {
- objectMap["description"] = odls.Description
+ if oscls.Description != nil {
+ objectMap["description"] = oscls.Description
}
- if odls.Parameters != nil {
- objectMap["parameters"] = odls.Parameters
+ if oscls.Parameters != nil {
+ objectMap["parameters"] = oscls.Parameters
}
- if odls.Annotations != nil {
- objectMap["annotations"] = odls.Annotations
+ if oscls.Annotations != nil {
+ objectMap["annotations"] = oscls.Annotations
}
- if odls.Type != "" {
- objectMap["type"] = odls.Type
+ if oscls.Type != "" {
+ objectMap["type"] = oscls.Type
}
- for k, v := range odls.AdditionalProperties {
+ for k, v := range oscls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return &oscls, true
+}
+
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
- return &odls, true
+// AsODataLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+ return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for ODataLinkedService.
-func (odls ODataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &odls, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ODataLinkedService struct.
-func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
+func (oscls OracleServiceCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &oscls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudLinkedService struct.
+func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -98312,12 +125325,12 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var oDataLinkedServiceTypeProperties ODataLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &oDataLinkedServiceTypeProperties)
+ var oracleServiceCloudLinkedServiceTypeProperties OracleServiceCloudLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &oracleServiceCloudLinkedServiceTypeProperties)
if err != nil {
return err
}
- odls.ODataLinkedServiceTypeProperties = &oDataLinkedServiceTypeProperties
+ oscls.OracleServiceCloudLinkedServiceTypeProperties = &oracleServiceCloudLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -98326,10 +125339,10 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if odls.AdditionalProperties == nil {
- odls.AdditionalProperties = make(map[string]interface{})
+ if oscls.AdditionalProperties == nil {
+ oscls.AdditionalProperties = make(map[string]interface{})
}
- odls.AdditionalProperties[k] = additionalProperties
+ oscls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -98338,7 +125351,7 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odls.ConnectVia = &connectVia
+ oscls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -98347,7 +125360,7 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odls.Description = &description
+ oscls.Description = &description
}
case "parameters":
if v != nil {
@@ -98356,7 +125369,7 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odls.Parameters = parameters
+ oscls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -98365,7 +125378,7 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odls.Annotations = &annotations
+ oscls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -98374,7 +125387,7 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odls.Type = typeVar
+ oscls.Type = typeVar
}
}
}
@@ -98382,36 +125395,26 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// ODataLinkedServiceTypeProperties oData linked service properties.
-type ODataLinkedServiceTypeProperties struct {
- // URL - The URL of the OData service endpoint. Type: string (or Expression with resultType string).
- URL interface{} `json:"url,omitempty"`
- // AuthenticationType - Type of authentication used to connect to the OData service. Possible values include: 'ODataAuthenticationTypeBasic', 'ODataAuthenticationTypeAnonymous', 'ODataAuthenticationTypeWindows', 'ODataAuthenticationTypeAadServicePrincipal', 'ODataAuthenticationTypeManagedServiceIdentity'
- AuthenticationType ODataAuthenticationType `json:"authenticationType,omitempty"`
- // UserName - User name of the OData service. Type: string (or Expression with resultType string).
- UserName interface{} `json:"userName,omitempty"`
- // Password - Password of the OData service.
+// OracleServiceCloudLinkedServiceTypeProperties oracle Service Cloud linked service properties.
+type OracleServiceCloudLinkedServiceTypeProperties struct {
+ // Host - The URL of the Oracle Service Cloud instance.
+ Host interface{} `json:"host,omitempty"`
+ // Username - The user name that you use to access Oracle Service Cloud server.
+ Username interface{} `json:"username,omitempty"`
+ // Password - The password corresponding to the user name that you provided in the username key.
Password BasicSecretBase `json:"password,omitempty"`
- // Tenant - Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string).
- Tenant interface{} `json:"tenant,omitempty"`
- // ServicePrincipalID - Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).
- ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
- // AadResourceID - Specify the resource you are requesting authorization to use Directory. Type: string (or Expression with resultType string).
- AadResourceID interface{} `json:"aadResourceId,omitempty"`
- // AadServicePrincipalCredentialType - Specify the credential type (key or cert) is used for service principal. Possible values include: 'ServicePrincipalKey', 'ServicePrincipalCert'
- AadServicePrincipalCredentialType ODataAadServicePrincipalCredentialType `json:"aadServicePrincipalCredentialType,omitempty"`
- // ServicePrincipalKey - Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).
- ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
- // ServicePrincipalEmbeddedCert - Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).
- ServicePrincipalEmbeddedCert BasicSecretBase `json:"servicePrincipalEmbeddedCert,omitempty"`
- // ServicePrincipalEmbeddedCertPassword - Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string).
- ServicePrincipalEmbeddedCertPassword BasicSecretBase `json:"servicePrincipalEmbeddedCertPassword,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).
+ UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
+ // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
+ UseHostVerification interface{} `json:"useHostVerification,omitempty"`
+ // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
+ UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for ODataLinkedServiceTypeProperties struct.
-func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudLinkedServiceTypeProperties struct.
+func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -98419,32 +125422,23 @@ func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
}
for k, v := range m {
switch k {
- case "url":
- if v != nil {
- var URL interface{}
- err = json.Unmarshal(*v, &URL)
- if err != nil {
- return err
- }
- odlstp.URL = URL
- }
- case "authenticationType":
+ case "host":
if v != nil {
- var authenticationType ODataAuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
+ var host interface{}
+ err = json.Unmarshal(*v, &host)
if err != nil {
return err
}
- odlstp.AuthenticationType = authenticationType
+ osclstp.Host = host
}
- case "userName":
+ case "username":
if v != nil {
- var userName interface{}
- err = json.Unmarshal(*v, &userName)
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
if err != nil {
return err
}
- odlstp.UserName = userName
+ osclstp.Username = username
}
case "password":
if v != nil {
@@ -98452,67 +125446,34 @@ func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- odlstp.Password = password
- }
- case "tenant":
- if v != nil {
- var tenant interface{}
- err = json.Unmarshal(*v, &tenant)
- if err != nil {
- return err
- }
- odlstp.Tenant = tenant
- }
- case "servicePrincipalId":
- if v != nil {
- var servicePrincipalID interface{}
- err = json.Unmarshal(*v, &servicePrincipalID)
- if err != nil {
- return err
- }
- odlstp.ServicePrincipalID = servicePrincipalID
- }
- case "aadResourceId":
- if v != nil {
- var aadResourceID interface{}
- err = json.Unmarshal(*v, &aadResourceID)
- if err != nil {
- return err
- }
- odlstp.AadResourceID = aadResourceID
- }
- case "aadServicePrincipalCredentialType":
- if v != nil {
- var aadServicePrincipalCredentialType ODataAadServicePrincipalCredentialType
- err = json.Unmarshal(*v, &aadServicePrincipalCredentialType)
- if err != nil {
- return err
- }
- odlstp.AadServicePrincipalCredentialType = aadServicePrincipalCredentialType
+ osclstp.Password = password
}
- case "servicePrincipalKey":
+ case "useEncryptedEndpoints":
if v != nil {
- servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
+ var useEncryptedEndpoints interface{}
+ err = json.Unmarshal(*v, &useEncryptedEndpoints)
if err != nil {
return err
}
- odlstp.ServicePrincipalKey = servicePrincipalKey
+ osclstp.UseEncryptedEndpoints = useEncryptedEndpoints
}
- case "servicePrincipalEmbeddedCert":
+ case "useHostVerification":
if v != nil {
- servicePrincipalEmbeddedCert, err := unmarshalBasicSecretBase(*v)
+ var useHostVerification interface{}
+ err = json.Unmarshal(*v, &useHostVerification)
if err != nil {
return err
}
- odlstp.ServicePrincipalEmbeddedCert = servicePrincipalEmbeddedCert
+ osclstp.UseHostVerification = useHostVerification
}
- case "servicePrincipalEmbeddedCertPassword":
+ case "usePeerVerification":
if v != nil {
- servicePrincipalEmbeddedCertPassword, err := unmarshalBasicSecretBase(*v)
+ var usePeerVerification interface{}
+ err = json.Unmarshal(*v, &usePeerVerification)
if err != nil {
return err
}
- odlstp.ServicePrincipalEmbeddedCertPassword = servicePrincipalEmbeddedCertPassword
+ osclstp.UsePeerVerification = usePeerVerification
}
case "encryptedCredential":
if v != nil {
@@ -98521,7 +125482,7 @@ func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- odlstp.EncryptedCredential = encryptedCredential
+ osclstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -98529,10 +125490,10 @@ func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
return nil
}
-// ODataResourceDataset the Open Data Protocol (OData) resource dataset.
-type ODataResourceDataset struct {
- // ODataResourceDatasetTypeProperties - OData dataset properties.
- *ODataResourceDatasetTypeProperties `json:"typeProperties,omitempty"`
+// OracleServiceCloudObjectDataset oracle Service Cloud dataset.
+type OracleServiceCloudObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Description - Dataset description.
@@ -98549,399 +125510,449 @@ type ODataResourceDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ODataResourceDataset.
-func (odrd ODataResourceDataset) MarshalJSON() ([]byte, error) {
- odrd.Type = TypeODataResource
+// MarshalJSON is the custom marshaler for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) MarshalJSON() ([]byte, error) {
+ oscod.Type = TypeOracleServiceCloudObject
objectMap := make(map[string]interface{})
- if odrd.ODataResourceDatasetTypeProperties != nil {
- objectMap["typeProperties"] = odrd.ODataResourceDatasetTypeProperties
+ if oscod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = oscod.GenericDatasetTypeProperties
}
- if odrd.Description != nil {
- objectMap["description"] = odrd.Description
+ if oscod.Description != nil {
+ objectMap["description"] = oscod.Description
}
- if odrd.Structure != nil {
- objectMap["structure"] = odrd.Structure
+ if oscod.Structure != nil {
+ objectMap["structure"] = oscod.Structure
}
- if odrd.Schema != nil {
- objectMap["schema"] = odrd.Schema
+ if oscod.Schema != nil {
+ objectMap["schema"] = oscod.Schema
}
- if odrd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = odrd.LinkedServiceName
+ if oscod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = oscod.LinkedServiceName
}
- if odrd.Parameters != nil {
- objectMap["parameters"] = odrd.Parameters
+ if oscod.Parameters != nil {
+ objectMap["parameters"] = oscod.Parameters
}
- if odrd.Annotations != nil {
- objectMap["annotations"] = odrd.Annotations
+ if oscod.Annotations != nil {
+ objectMap["annotations"] = oscod.Annotations
}
- if odrd.Folder != nil {
- objectMap["folder"] = odrd.Folder
+ if oscod.Folder != nil {
+ objectMap["folder"] = oscod.Folder
}
- if odrd.Type != "" {
- objectMap["type"] = odrd.Type
+ if oscod.Type != "" {
+ objectMap["type"] = oscod.Type
}
- for k, v := range odrd.AdditionalProperties {
+ for k, v := range oscod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return &oscod, true
+}
+
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
- return &odrd, true
+// AsInformixTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for ODataResourceDataset.
-func (odrd ODataResourceDataset) AsBasicDataset() (BasicDataset, bool) {
- return &odrd, true
+// AsAzureSQLMITableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ODataResourceDataset struct.
-func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
+func (oscod OracleServiceCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &oscod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudObjectDataset struct.
+func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -98951,12 +125962,12 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var oDataResourceDatasetTypeProperties ODataResourceDatasetTypeProperties
- err = json.Unmarshal(*v, &oDataResourceDatasetTypeProperties)
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
if err != nil {
return err
}
- odrd.ODataResourceDatasetTypeProperties = &oDataResourceDatasetTypeProperties
+ oscod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -98965,10 +125976,10 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if odrd.AdditionalProperties == nil {
- odrd.AdditionalProperties = make(map[string]interface{})
+ if oscod.AdditionalProperties == nil {
+ oscod.AdditionalProperties = make(map[string]interface{})
}
- odrd.AdditionalProperties[k] = additionalProperties
+ oscod.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -98977,7 +125988,7 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odrd.Description = &description
+ oscod.Description = &description
}
case "structure":
if v != nil {
@@ -98986,7 +125997,7 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odrd.Structure = structure
+ oscod.Structure = structure
}
case "schema":
if v != nil {
@@ -98995,7 +126006,7 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odrd.Schema = schema
+ oscod.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -99004,7 +126015,7 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odrd.LinkedServiceName = &linkedServiceName
+ oscod.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -99013,7 +126024,7 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odrd.Parameters = parameters
+ oscod.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -99022,7 +126033,7 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odrd.Annotations = &annotations
+ oscod.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -99031,7 +126042,7 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odrd.Folder = &folder
+ oscod.Folder = &folder
}
case "type":
if v != nil {
@@ -99040,7 +126051,7 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- odrd.Type = typeVar
+ oscod.Type = typeVar
}
}
}
@@ -99048,587 +126059,459 @@ func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// ODataResourceDatasetTypeProperties oData dataset properties.
-type ODataResourceDatasetTypeProperties struct {
- // Path - The OData resource path. Type: string (or Expression with resultType string).
- Path interface{} `json:"path,omitempty"`
-}
-
-// OdbcLinkedService open Database Connectivity (ODBC) linked service.
-type OdbcLinkedService struct {
- // OdbcLinkedServiceTypeProperties - ODBC linked service properties.
- *OdbcLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// OracleServiceCloudSource a copy activity Oracle Service Cloud source.
+type OracleServiceCloudSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for OdbcLinkedService.
-func (ols OdbcLinkedService) MarshalJSON() ([]byte, error) {
- ols.Type = TypeOdbc
+// MarshalJSON is the custom marshaler for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) MarshalJSON() ([]byte, error) {
+ oscs.Type = TypeOracleServiceCloudSource
objectMap := make(map[string]interface{})
- if ols.OdbcLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = ols.OdbcLinkedServiceTypeProperties
- }
- if ols.ConnectVia != nil {
- objectMap["connectVia"] = ols.ConnectVia
+ if oscs.Query != nil {
+ objectMap["query"] = oscs.Query
}
- if ols.Description != nil {
- objectMap["description"] = ols.Description
+ if oscs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = oscs.SourceRetryCount
}
- if ols.Parameters != nil {
- objectMap["parameters"] = ols.Parameters
+ if oscs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = oscs.SourceRetryWait
}
- if ols.Annotations != nil {
- objectMap["annotations"] = ols.Annotations
+ if oscs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = oscs.MaxConcurrentConnections
}
- if ols.Type != "" {
- objectMap["type"] = ols.Type
+ if oscs.Type != "" {
+ objectMap["type"] = oscs.Type
}
- for k, v := range ols.AdditionalProperties {
+ for k, v := range oscs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
- return nil, false
+// AsOracleServiceCloudSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return &oscs, true
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
- return &ols, true
-}
-
-// AsAzureMLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsODataSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsMySQLSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsBinarySource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsParquetSource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
-func (ols OdbcLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &ols, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for OdbcLinkedService struct.
-func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var odbcLinkedServiceTypeProperties OdbcLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &odbcLinkedServiceTypeProperties)
- if err != nil {
- return err
- }
- ols.OdbcLinkedServiceTypeProperties = &odbcLinkedServiceTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if ols.AdditionalProperties == nil {
- ols.AdditionalProperties = make(map[string]interface{})
- }
- ols.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
- }
- ols.ConnectVia = &connectVia
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- ols.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- ols.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- ols.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ols.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// OdbcLinkedServiceTypeProperties ODBC linked service properties.
-type OdbcLinkedServiceTypeProperties struct {
- // ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // AuthenticationType - Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string).
- AuthenticationType interface{} `json:"authenticationType,omitempty"`
- // Credential - The access credential portion of the connection string specified in driver-specific property-value format.
- Credential BasicSecretBase `json:"credential,omitempty"`
- // UserName - User name for Basic authentication. Type: string (or Expression with resultType string).
- UserName interface{} `json:"userName,omitempty"`
- // Password - Password for Basic authentication.
- Password BasicSecretBase `json:"password,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+// AsCopySource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for OdbcLinkedServiceTypeProperties struct.
-func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// AsBasicCopySource is the BasicCopySource implementation for OracleServiceCloudSource.
+func (oscs OracleServiceCloudSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &oscs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudSource struct.
+func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -99636,57 +126519,62 @@ func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "connectionString":
+ case "query":
if v != nil {
- var connectionString interface{}
- err = json.Unmarshal(*v, &connectionString)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- olstp.ConnectionString = connectionString
+ oscs.Query = query
}
- case "authenticationType":
+ default:
if v != nil {
- var authenticationType interface{}
- err = json.Unmarshal(*v, &authenticationType)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- olstp.AuthenticationType = authenticationType
+ if oscs.AdditionalProperties == nil {
+ oscs.AdditionalProperties = make(map[string]interface{})
+ }
+ oscs.AdditionalProperties[k] = additionalProperties
}
- case "credential":
+ case "sourceRetryCount":
if v != nil {
- credential, err := unmarshalBasicSecretBase(*v)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- olstp.Credential = credential
+ oscs.SourceRetryCount = sourceRetryCount
}
- case "userName":
+ case "sourceRetryWait":
if v != nil {
- var userName interface{}
- err = json.Unmarshal(*v, &userName)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- olstp.UserName = userName
+ oscs.SourceRetryWait = sourceRetryWait
}
- case "password":
+ case "maxConcurrentConnections":
if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- olstp.Password = password
+ oscs.MaxConcurrentConnections = maxConcurrentConnections
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- olstp.EncryptedCredential = encryptedCredential
+ oscs.Type = typeVar
}
}
}
@@ -99694,9 +126582,9 @@ func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
return nil
}
-// OdbcSink a copy activity ODBC sink.
-type OdbcSink struct {
- // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string).
+// OracleSink a copy activity Oracle sink.
+type OracleSink struct {
+ // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string).
PreCopyScript interface{} `json:"preCopyScript,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
@@ -99710,13 +126598,13 @@ type OdbcSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for OdbcSink.
-func (osVar OdbcSink) MarshalJSON() ([]byte, error) {
- osVar.Type = TypeOdbcSink
+// MarshalJSON is the custom marshaler for OracleSink.
+func (osVar OracleSink) MarshalJSON() ([]byte, error) {
+ osVar.Type = TypeOracleSink
objectMap := make(map[string]interface{})
if osVar.PreCopyScript != nil {
objectMap["preCopyScript"] = osVar.PreCopyScript
@@ -99745,123 +126633,163 @@ func (osVar OdbcSink) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsSalesforceSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsSalesforceSink() (*SalesforceSink, bool) {
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
return nil, false
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsDynamicsSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsDynamicsSink() (*DynamicsSink, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsOdbcSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsOdbcSink() (*OdbcSink, bool) {
- return &osVar, true
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsOracleSink() (*OracleSink, bool) {
+// AsInformixSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsSQLDWSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsOdbcSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsSQLServerSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsSQLSink() (*SQLSink, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+// AsOracleSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsOracleSink() (*OracleSink, bool) {
+ return &osVar, true
+}
+
+// AsSQLDWSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsFileSystemSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsFileSystemSink() (*FileSystemSink, bool) {
+// AsSQLMISink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsBlobSink() (*BlobSink, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsParquetSink() (*ParquetSink, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsAzureTableSink() (*AzureTableSink, bool) {
+// AsSQLSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsAzureQueueSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+// AsBlobSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsCopySink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsCopySink() (*CopySink, bool) {
+// AsBinarySink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsBasicCopySink is the BasicCopySink implementation for OdbcSink.
-func (osVar OdbcSink) AsBasicCopySink() (BasicCopySink, bool) {
+// AsParquetSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsParquetSink() (*ParquetSink, bool) {
+ return nil, false
+}
+
+// AsAzureTableSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsAzureTableSink() (*AzureTableSink, bool) {
+ return nil, false
+}
+
+// AsAzureQueueSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+ return nil, false
+}
+
+// AsCopySink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsCopySink() (*CopySink, bool) {
+ return nil, false
+}
+
+// AsBasicCopySink is the BasicCopySink implementation for OracleSink.
+func (osVar OracleSink) AsBasicCopySink() (BasicCopySink, bool) {
return &osVar, true
}
-// UnmarshalJSON is the custom unmarshaler for OdbcSink struct.
-func (osVar *OdbcSink) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for OracleSink struct.
+func (osVar *OracleSink) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -99950,419 +126878,474 @@ func (osVar *OdbcSink) UnmarshalJSON(body []byte) error {
return nil
}
-// Office365Dataset the Office365 account.
-type Office365Dataset struct {
- // Office365DatasetTypeProperties - Office365 dataset properties.
- *Office365DatasetTypeProperties `json:"typeProperties,omitempty"`
+// OracleSource a copy activity Oracle source.
+type OracleSource struct {
+ // OracleReaderQuery - Oracle reader query. Type: string (or Expression with resultType string).
+ OracleReaderQuery interface{} `json:"oracleReaderQuery,omitempty"`
+ // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ QueryTimeout interface{} `json:"queryTimeout,omitempty"`
+ // PartitionOption - The partition mechanism that will be used for Oracle read in parallel. Possible values include: 'OraclePartitionOptionNone', 'OraclePartitionOptionPhysicalPartitionsOfTable', 'OraclePartitionOptionDynamicRange'
+ PartitionOption OraclePartitionOption `json:"partitionOption,omitempty"`
+ // PartitionSettings - The settings that will be leveraged for Oracle source partitioning.
+ PartitionSettings *OraclePartitionSettings `json:"partitionSettings,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for Office365Dataset.
-func (o3d Office365Dataset) MarshalJSON() ([]byte, error) {
- o3d.Type = TypeOffice365Table
+// MarshalJSON is the custom marshaler for OracleSource.
+func (osVar OracleSource) MarshalJSON() ([]byte, error) {
+ osVar.Type = TypeOracleSource
objectMap := make(map[string]interface{})
- if o3d.Office365DatasetTypeProperties != nil {
- objectMap["typeProperties"] = o3d.Office365DatasetTypeProperties
- }
- if o3d.Description != nil {
- objectMap["description"] = o3d.Description
+ if osVar.OracleReaderQuery != nil {
+ objectMap["oracleReaderQuery"] = osVar.OracleReaderQuery
}
- if o3d.Structure != nil {
- objectMap["structure"] = o3d.Structure
+ if osVar.QueryTimeout != nil {
+ objectMap["queryTimeout"] = osVar.QueryTimeout
}
- if o3d.Schema != nil {
- objectMap["schema"] = o3d.Schema
+ if osVar.PartitionOption != "" {
+ objectMap["partitionOption"] = osVar.PartitionOption
}
- if o3d.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = o3d.LinkedServiceName
+ if osVar.PartitionSettings != nil {
+ objectMap["partitionSettings"] = osVar.PartitionSettings
}
- if o3d.Parameters != nil {
- objectMap["parameters"] = o3d.Parameters
+ if osVar.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = osVar.SourceRetryCount
}
- if o3d.Annotations != nil {
- objectMap["annotations"] = o3d.Annotations
+ if osVar.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = osVar.SourceRetryWait
}
- if o3d.Folder != nil {
- objectMap["folder"] = o3d.Folder
+ if osVar.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections
}
- if o3d.Type != "" {
- objectMap["type"] = o3d.Type
+ if osVar.Type != "" {
+ objectMap["type"] = osVar.Type
}
- for k, v := range o3d.AdditionalProperties {
+ for k, v := range osVar.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsWebSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsTeradataSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsOracleSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsOracleSource() (*OracleSource, bool) {
+ return &osVar, true
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsHdfsSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSQLMISource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSQLSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsRestSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsOffice365Dataset() (*Office365Dataset, bool) {
- return &o3d, true
+// AsSapTableSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsSapEccSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsODataSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsSybaseSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsMySQLSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsOdbcSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsDb2Source is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsDataset() (*Dataset, bool) {
+// AsInformixSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for Office365Dataset.
-func (o3d Office365Dataset) AsBasicDataset() (BasicDataset, bool) {
- return &o3d, true
+// AsRelationalSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for Office365Dataset struct.
-func (o3d *Office365Dataset) UnmarshalJSON(body []byte) error {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for OracleSource.
+func (osVar OracleSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &osVar, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for OracleSource struct.
+func (osVar *OracleSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -100370,98 +127353,89 @@ func (o3d *Office365Dataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "oracleReaderQuery":
if v != nil {
- var office365DatasetTypeProperties Office365DatasetTypeProperties
- err = json.Unmarshal(*v, &office365DatasetTypeProperties)
+ var oracleReaderQuery interface{}
+ err = json.Unmarshal(*v, &oracleReaderQuery)
if err != nil {
return err
}
- o3d.Office365DatasetTypeProperties = &office365DatasetTypeProperties
+ osVar.OracleReaderQuery = oracleReaderQuery
}
- default:
+ case "queryTimeout":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var queryTimeout interface{}
+ err = json.Unmarshal(*v, &queryTimeout)
if err != nil {
return err
}
- if o3d.AdditionalProperties == nil {
- o3d.AdditionalProperties = make(map[string]interface{})
- }
- o3d.AdditionalProperties[k] = additionalProperties
+ osVar.QueryTimeout = queryTimeout
}
- case "description":
+ case "partitionOption":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var partitionOption OraclePartitionOption
+ err = json.Unmarshal(*v, &partitionOption)
if err != nil {
return err
}
- o3d.Description = &description
+ osVar.PartitionOption = partitionOption
}
- case "structure":
+ case "partitionSettings":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var partitionSettings OraclePartitionSettings
+ err = json.Unmarshal(*v, &partitionSettings)
if err != nil {
return err
}
- o3d.Structure = structure
+ osVar.PartitionSettings = &partitionSettings
}
- case "schema":
+ default:
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- o3d.Schema = schema
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
+ if osVar.AdditionalProperties == nil {
+ osVar.AdditionalProperties = make(map[string]interface{})
}
- o3d.LinkedServiceName = &linkedServiceName
+ osVar.AdditionalProperties[k] = additionalProperties
}
- case "parameters":
+ case "sourceRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- o3d.Parameters = parameters
+ osVar.SourceRetryCount = sourceRetryCount
}
- case "annotations":
+ case "sourceRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- o3d.Annotations = &annotations
+ osVar.SourceRetryWait = sourceRetryWait
}
- case "folder":
+ case "maxConcurrentConnections":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- o3d.Folder = &folder
+ osVar.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- o3d.Type = typeVar
+ osVar.Type = typeVar
}
}
}
@@ -100469,492 +127443,469 @@ func (o3d *Office365Dataset) UnmarshalJSON(body []byte) error {
return nil
}
-// Office365DatasetTypeProperties office365 dataset properties.
-type Office365DatasetTypeProperties struct {
- // TableName - Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string).
- TableName interface{} `json:"tableName,omitempty"`
- // Predicate - A predicate expression that can be used to filter the specific rows to extract from Office 365. Type: string (or Expression with resultType string).
- Predicate interface{} `json:"predicate,omitempty"`
-}
-
-// Office365LinkedService office365 linked service.
-type Office365LinkedService struct {
- // Office365LinkedServiceTypeProperties - Office365 linked service properties.
- *Office365LinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// OracleTableDataset the on-premises Oracle database dataset.
+type OracleTableDataset struct {
+ // OracleTableDatasetTypeProperties - On-premises Oracle dataset properties.
+ *OracleTableDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
+ // Annotations - List of tags that can be used for describing the Dataset.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for Office365LinkedService.
-func (o3ls Office365LinkedService) MarshalJSON() ([]byte, error) {
- o3ls.Type = TypeOffice365
+// MarshalJSON is the custom marshaler for OracleTableDataset.
+func (otd OracleTableDataset) MarshalJSON() ([]byte, error) {
+ otd.Type = TypeOracleTable
objectMap := make(map[string]interface{})
- if o3ls.Office365LinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = o3ls.Office365LinkedServiceTypeProperties
+ if otd.OracleTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = otd.OracleTableDatasetTypeProperties
}
- if o3ls.ConnectVia != nil {
- objectMap["connectVia"] = o3ls.ConnectVia
+ if otd.Description != nil {
+ objectMap["description"] = otd.Description
}
- if o3ls.Description != nil {
- objectMap["description"] = o3ls.Description
+ if otd.Structure != nil {
+ objectMap["structure"] = otd.Structure
}
- if o3ls.Parameters != nil {
- objectMap["parameters"] = o3ls.Parameters
+ if otd.Schema != nil {
+ objectMap["schema"] = otd.Schema
}
- if o3ls.Annotations != nil {
- objectMap["annotations"] = o3ls.Annotations
+ if otd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = otd.LinkedServiceName
}
- if o3ls.Type != "" {
- objectMap["type"] = o3ls.Type
+ if otd.Parameters != nil {
+ objectMap["parameters"] = otd.Parameters
}
- for k, v := range o3ls.AdditionalProperties {
+ if otd.Annotations != nil {
+ objectMap["annotations"] = otd.Annotations
+ }
+ if otd.Folder != nil {
+ objectMap["folder"] = otd.Folder
+ }
+ if otd.Type != "" {
+ objectMap["type"] = otd.Type
+ }
+ for k, v := range otd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return nil, false
-}
-
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
- return &o3ls, true
-}
-
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
- return nil, false
+// AsOracleTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+ return &otd, true
}
-// AsODataLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsFileShareDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsCustomDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsBinaryDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsParquetDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for Office365LinkedService.
-func (o3ls Office365LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &o3ls, true
+// AsBasicDataset is the BasicDataset implementation for OracleTableDataset.
+func (otd OracleTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &otd, true
}
-// UnmarshalJSON is the custom unmarshaler for Office365LinkedService struct.
-func (o3ls *Office365LinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for OracleTableDataset struct.
+func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -100964,12 +127915,12 @@ func (o3ls *Office365LinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var office365LinkedServiceTypeProperties Office365LinkedServiceTypeProperties
- err = json.Unmarshal(*v, &office365LinkedServiceTypeProperties)
+ var oracleTableDatasetTypeProperties OracleTableDatasetTypeProperties
+ err = json.Unmarshal(*v, &oracleTableDatasetTypeProperties)
if err != nil {
return err
}
- o3ls.Office365LinkedServiceTypeProperties = &office365LinkedServiceTypeProperties
+ otd.OracleTableDatasetTypeProperties = &oracleTableDatasetTypeProperties
}
default:
if v != nil {
@@ -100978,28 +127929,46 @@ func (o3ls *Office365LinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if o3ls.AdditionalProperties == nil {
- o3ls.AdditionalProperties = make(map[string]interface{})
+ if otd.AdditionalProperties == nil {
+ otd.AdditionalProperties = make(map[string]interface{})
}
- o3ls.AdditionalProperties[k] = additionalProperties
+ otd.AdditionalProperties[k] = additionalProperties
}
- case "connectVia":
+ case "description":
if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- o3ls.ConnectVia = &connectVia
+ otd.Description = &description
}
- case "description":
+ case "structure":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- o3ls.Description = &description
+ otd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ otd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ otd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -101008,7 +127977,7 @@ func (o3ls *Office365LinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- o3ls.Parameters = parameters
+ otd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -101017,16 +127986,25 @@ func (o3ls *Office365LinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- o3ls.Annotations = &annotations
+ otd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ otd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- o3ls.Type = typeVar
+ otd.Type = typeVar
}
}
}
@@ -101034,22 +128012,80 @@ func (o3ls *Office365LinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// Office365LinkedServiceTypeProperties office365 linked service properties.
-type Office365LinkedServiceTypeProperties struct {
- // Office365TenantID - Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string).
- Office365TenantID interface{} `json:"office365TenantId,omitempty"`
- // ServicePrincipalTenantID - Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string).
- ServicePrincipalTenantID interface{} `json:"servicePrincipalTenantId,omitempty"`
- // ServicePrincipalID - Specify the application's client ID. Type: string (or Expression with resultType string).
- ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
- // ServicePrincipalKey - Specify the application's key.
- ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+// OracleTableDatasetTypeProperties on-premises Oracle dataset properties.
+type OracleTableDatasetTypeProperties struct {
+ // TableName - The table name of the on-premises Oracle database. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for Office365LinkedServiceTypeProperties struct.
-func (o3lstp *Office365LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// OrcFormat the data stored in Optimized Row Columnar (ORC) format.
+type OrcFormat struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Serializer - Serializer. Type: string (or Expression with resultType string).
+ Serializer interface{} `json:"serializer,omitempty"`
+ // Deserializer - Deserializer. Type: string (or Expression with resultType string).
+ Deserializer interface{} `json:"deserializer,omitempty"`
+ // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
+ Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for OrcFormat.
+func (of OrcFormat) MarshalJSON() ([]byte, error) {
+ of.Type = TypeOrcFormat
+ objectMap := make(map[string]interface{})
+ if of.Serializer != nil {
+ objectMap["serializer"] = of.Serializer
+ }
+ if of.Deserializer != nil {
+ objectMap["deserializer"] = of.Deserializer
+ }
+ if of.Type != "" {
+ objectMap["type"] = of.Type
+ }
+ for k, v := range of.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsParquetFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
+func (of OrcFormat) AsParquetFormat() (*ParquetFormat, bool) {
+ return nil, false
+}
+
+// AsOrcFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
+func (of OrcFormat) AsOrcFormat() (*OrcFormat, bool) {
+ return &of, true
+}
+
+// AsAvroFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
+func (of OrcFormat) AsAvroFormat() (*AvroFormat, bool) {
+ return nil, false
+}
+
+// AsJSONFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
+func (of OrcFormat) AsJSONFormat() (*JSONFormat, bool) {
+ return nil, false
+}
+
+// AsTextFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
+func (of OrcFormat) AsTextFormat() (*TextFormat, bool) {
+ return nil, false
+}
+
+// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
+func (of OrcFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
+ return nil, false
+}
+
+// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
+func (of OrcFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
+ return &of, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for OrcFormat struct.
+func (of *OrcFormat) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -101057,49 +128093,44 @@ func (o3lstp *Office365LinkedServiceTypeProperties) UnmarshalJSON(body []byte) e
}
for k, v := range m {
switch k {
- case "office365TenantId":
+ default:
if v != nil {
- var office365TenantID interface{}
- err = json.Unmarshal(*v, &office365TenantID)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- o3lstp.Office365TenantID = office365TenantID
- }
- case "servicePrincipalTenantId":
- if v != nil {
- var servicePrincipalTenantID interface{}
- err = json.Unmarshal(*v, &servicePrincipalTenantID)
- if err != nil {
- return err
+ if of.AdditionalProperties == nil {
+ of.AdditionalProperties = make(map[string]interface{})
}
- o3lstp.ServicePrincipalTenantID = servicePrincipalTenantID
+ of.AdditionalProperties[k] = additionalProperties
}
- case "servicePrincipalId":
+ case "serializer":
if v != nil {
- var servicePrincipalID interface{}
- err = json.Unmarshal(*v, &servicePrincipalID)
+ var serializer interface{}
+ err = json.Unmarshal(*v, &serializer)
if err != nil {
return err
}
- o3lstp.ServicePrincipalID = servicePrincipalID
+ of.Serializer = serializer
}
- case "servicePrincipalKey":
+ case "deserializer":
if v != nil {
- servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
+ var deserializer interface{}
+ err = json.Unmarshal(*v, &deserializer)
if err != nil {
return err
}
- o3lstp.ServicePrincipalKey = servicePrincipalKey
+ of.Deserializer = deserializer
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar TypeBasicDatasetStorageFormat
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- o3lstp.EncryptedCredential = encryptedCredential
+ of.Type = typeVar
}
}
}
@@ -101107,389 +128138,477 @@ func (o3lstp *Office365LinkedServiceTypeProperties) UnmarshalJSON(body []byte) e
return nil
}
-// Office365Source a copy activity source for an Office365 service.
-type Office365Source struct {
+// ParameterSpecification definition of a single parameter for an entity.
+type ParameterSpecification struct {
+ // Type - Parameter type. Possible values include: 'ParameterTypeObject', 'ParameterTypeString', 'ParameterTypeInt', 'ParameterTypeFloat', 'ParameterTypeBool', 'ParameterTypeArray', 'ParameterTypeSecureString'
+ Type ParameterType `json:"type,omitempty"`
+ // DefaultValue - Default value of parameter.
+ DefaultValue interface{} `json:"defaultValue,omitempty"`
+}
+
+// ParquetDataset parquet dataset.
+type ParquetDataset struct {
+ // ParquetDatasetTypeProperties - Parquet dataset properties.
+ *ParquetDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for Office365Source.
-func (o3s Office365Source) MarshalJSON() ([]byte, error) {
- o3s.Type = TypeOffice365Source
+// MarshalJSON is the custom marshaler for ParquetDataset.
+func (pd ParquetDataset) MarshalJSON() ([]byte, error) {
+ pd.Type = TypeParquet
objectMap := make(map[string]interface{})
- if o3s.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = o3s.SourceRetryCount
+ if pd.ParquetDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = pd.ParquetDatasetTypeProperties
}
- if o3s.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = o3s.SourceRetryWait
+ if pd.Description != nil {
+ objectMap["description"] = pd.Description
}
- if o3s.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = o3s.MaxConcurrentConnections
+ if pd.Structure != nil {
+ objectMap["structure"] = pd.Structure
}
- if o3s.Type != "" {
- objectMap["type"] = o3s.Type
+ if pd.Schema != nil {
+ objectMap["schema"] = pd.Schema
}
- for k, v := range o3s.AdditionalProperties {
+ if pd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = pd.LinkedServiceName
+ }
+ if pd.Parameters != nil {
+ objectMap["parameters"] = pd.Parameters
+ }
+ if pd.Annotations != nil {
+ objectMap["annotations"] = pd.Annotations
+ }
+ if pd.Folder != nil {
+ objectMap["folder"] = pd.Folder
+ }
+ if pd.Type != "" {
+ objectMap["type"] = pd.Type
+ }
+ for k, v := range pd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsXeroSource() (*XeroSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSquareSource() (*SquareSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSparkSource() (*SparkSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsJiraSource() (*JiraSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsHiveSource() (*HiveSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsDrillSource() (*DrillSource, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsOffice365Source() (*Office365Source, bool) {
- return &o3s, true
+// AsSapTableResourceDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+ return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsWebSource() (*WebSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsOracleSource() (*OracleSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsHdfsSource() (*HdfsSource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSQLSource() (*SQLSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsRestSource() (*RestSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSapTableSource() (*SapTableSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSapEccSource() (*SapEccSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsRelationalSource() (*RelationalSource, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsBlobSource() (*BlobSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsParquetSource() (*ParquetSource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsCopySource() (*CopySource, bool) {
+// AsCustomDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for Office365Source.
-func (o3s Office365Source) AsBasicCopySource() (BasicCopySource, bool) {
- return &o3s, true
+// AsCassandraTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for Office365Source struct.
-func (o3s *Office365Source) UnmarshalJSON(body []byte) error {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMITableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return &pd, true
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for ParquetDataset.
+func (pd ParquetDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &pd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ParquetDataset struct.
+func (pd *ParquetDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -101497,6 +128616,15 @@ func (o3s *Office365Source) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
+ case "typeProperties":
+ if v != nil {
+ var parquetDatasetTypeProperties ParquetDatasetTypeProperties
+ err = json.Unmarshal(*v, &parquetDatasetTypeProperties)
+ if err != nil {
+ return err
+ }
+ pd.ParquetDatasetTypeProperties = &parquetDatasetTypeProperties
+ }
default:
if v != nil {
var additionalProperties interface{}
@@ -101504,46 +128632,82 @@ func (o3s *Office365Source) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if o3s.AdditionalProperties == nil {
- o3s.AdditionalProperties = make(map[string]interface{})
+ if pd.AdditionalProperties == nil {
+ pd.AdditionalProperties = make(map[string]interface{})
}
- o3s.AdditionalProperties[k] = additionalProperties
+ pd.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "description":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- o3s.SourceRetryCount = sourceRetryCount
+ pd.Description = &description
}
- case "sourceRetryWait":
+ case "structure":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- o3s.SourceRetryWait = sourceRetryWait
+ pd.Structure = structure
}
- case "maxConcurrentConnections":
+ case "schema":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- o3s.MaxConcurrentConnections = maxConcurrentConnections
+ pd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ pd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ pd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ pd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ pd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- o3s.Type = typeVar
+ pd.Type = typeVar
}
}
}
@@ -101551,38 +128715,81 @@ func (o3s *Office365Source) UnmarshalJSON(body []byte) error {
return nil
}
-// Operation azure Data Factory API operation definition.
-type Operation struct {
- // Name - Operation name: {provider}/{resource}/{operation}
- Name *string `json:"name,omitempty"`
- // Origin - The intended executor of the operation.
- Origin *string `json:"origin,omitempty"`
- // Display - Metadata associated with the operation.
- Display *OperationDisplay `json:"display,omitempty"`
- // OperationProperties - Additional details about the operation.
- *OperationProperties `json:"properties,omitempty"`
+// ParquetDatasetTypeProperties parquet dataset properties.
+type ParquetDatasetTypeProperties struct {
+ // Location - The location of the parquet storage.
+ Location *DatasetLocation `json:"location,omitempty"`
+ CompressionCodec interface{} `json:"compressionCodec,omitempty"`
}
-// MarshalJSON is the custom marshaler for Operation.
-func (o Operation) MarshalJSON() ([]byte, error) {
+// ParquetFormat the data stored in Parquet format.
+type ParquetFormat struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Serializer - Serializer. Type: string (or Expression with resultType string).
+ Serializer interface{} `json:"serializer,omitempty"`
+ // Deserializer - Deserializer. Type: string (or Expression with resultType string).
+ Deserializer interface{} `json:"deserializer,omitempty"`
+ // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
+ Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for ParquetFormat.
+func (pf ParquetFormat) MarshalJSON() ([]byte, error) {
+ pf.Type = TypeParquetFormat
objectMap := make(map[string]interface{})
- if o.Name != nil {
- objectMap["name"] = o.Name
+ if pf.Serializer != nil {
+ objectMap["serializer"] = pf.Serializer
}
- if o.Origin != nil {
- objectMap["origin"] = o.Origin
+ if pf.Deserializer != nil {
+ objectMap["deserializer"] = pf.Deserializer
}
- if o.Display != nil {
- objectMap["display"] = o.Display
+ if pf.Type != "" {
+ objectMap["type"] = pf.Type
}
- if o.OperationProperties != nil {
- objectMap["properties"] = o.OperationProperties
+ for k, v := range pf.AdditionalProperties {
+ objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for Operation struct.
-func (o *Operation) UnmarshalJSON(body []byte) error {
+// AsParquetFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
+func (pf ParquetFormat) AsParquetFormat() (*ParquetFormat, bool) {
+ return &pf, true
+}
+
+// AsOrcFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
+func (pf ParquetFormat) AsOrcFormat() (*OrcFormat, bool) {
+ return nil, false
+}
+
+// AsAvroFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
+func (pf ParquetFormat) AsAvroFormat() (*AvroFormat, bool) {
+ return nil, false
+}
+
+// AsJSONFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
+func (pf ParquetFormat) AsJSONFormat() (*JSONFormat, bool) {
+ return nil, false
+}
+
+// AsTextFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
+func (pf ParquetFormat) AsTextFormat() (*TextFormat, bool) {
+ return nil, false
+}
+
+// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
+func (pf ParquetFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
+ return nil, false
+}
+
+// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
+func (pf ParquetFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
+ return &pf, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ParquetFormat struct.
+func (pf *ParquetFormat) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -101590,41 +128797,44 @@ func (o *Operation) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "name":
+ default:
if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- o.Name = &name
+ if pf.AdditionalProperties == nil {
+ pf.AdditionalProperties = make(map[string]interface{})
+ }
+ pf.AdditionalProperties[k] = additionalProperties
}
- case "origin":
+ case "serializer":
if v != nil {
- var origin string
- err = json.Unmarshal(*v, &origin)
+ var serializer interface{}
+ err = json.Unmarshal(*v, &serializer)
if err != nil {
return err
}
- o.Origin = &origin
+ pf.Serializer = serializer
}
- case "display":
+ case "deserializer":
if v != nil {
- var display OperationDisplay
- err = json.Unmarshal(*v, &display)
+ var deserializer interface{}
+ err = json.Unmarshal(*v, &deserializer)
if err != nil {
return err
}
- o.Display = &display
+ pf.Deserializer = deserializer
}
- case "properties":
+ case "type":
if v != nil {
- var operationProperties OperationProperties
- err = json.Unmarshal(*v, &operationProperties)
+ var typeVar TypeBasicDatasetStorageFormat
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- o.OperationProperties = &operationProperties
+ pf.Type = typeVar
}
}
}
@@ -101632,708 +128842,755 @@ func (o *Operation) UnmarshalJSON(body []byte) error {
return nil
}
-// OperationDisplay metadata associated with the operation.
-type OperationDisplay struct {
- // Description - The description of the operation.
- Description *string `json:"description,omitempty"`
- // Provider - The name of the provider.
- Provider *string `json:"provider,omitempty"`
- // Resource - The name of the resource type on which the operation is performed.
- Resource *string `json:"resource,omitempty"`
- // Operation - The type of operation: get, read, delete, etc.
- Operation *string `json:"operation,omitempty"`
+// ParquetSink a copy activity Parquet sink.
+type ParquetSink struct {
+ // StoreSettings - Parquet store settings.
+ StoreSettings *StoreWriteSettings `json:"storeSettings,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// OperationListResponse a list of operations that can be performed by the Data Factory service.
-type OperationListResponse struct {
- autorest.Response `json:"-"`
- // Value - List of Data Factory operations supported by the Data Factory resource provider.
- Value *[]Operation `json:"value,omitempty"`
- // NextLink - The link to the next page of results, if any remaining results exist.
- NextLink *string `json:"nextLink,omitempty"`
+// MarshalJSON is the custom marshaler for ParquetSink.
+func (ps ParquetSink) MarshalJSON() ([]byte, error) {
+ ps.Type = TypeParquetSink
+ objectMap := make(map[string]interface{})
+ if ps.StoreSettings != nil {
+ objectMap["storeSettings"] = ps.StoreSettings
+ }
+ if ps.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = ps.WriteBatchSize
+ }
+ if ps.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = ps.WriteBatchTimeout
+ }
+ if ps.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = ps.SinkRetryCount
+ }
+ if ps.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = ps.SinkRetryWait
+ }
+ if ps.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections
+ }
+ if ps.Type != "" {
+ objectMap["type"] = ps.Type
+ }
+ for k, v := range ps.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// OperationListResponseIterator provides access to a complete listing of Operation values.
-type OperationListResponseIterator struct {
- i int
- page OperationListResponsePage
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+ return nil, false
}
-// NextWithContext advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-func (iter *OperationListResponseIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/OperationListResponseIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
}
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *OperationListResponseIterator) Next() error {
- return iter.NextWithContext(context.Background())
+// AsSalesforceSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsSalesforceSink() (*SalesforceSink, bool) {
+ return nil, false
}
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter OperationListResponseIterator) NotDone() bool {
- return iter.page.NotDone() && iter.i < len(iter.page.Values())
+// AsAzureDataExplorerSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (iter OperationListResponseIterator) Response() OperationListResponse {
- return iter.page.Response()
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
}
-// Value returns the current value or a zero-initialized value if the
-// iterator has advanced beyond the end of the collection.
-func (iter OperationListResponseIterator) Value() Operation {
- if !iter.page.NotDone() {
- return Operation{}
- }
- return iter.page.Values()[iter.i]
+// AsDynamicsCrmSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
}
-// Creates a new instance of the OperationListResponseIterator type.
-func NewOperationListResponseIterator(page OperationListResponsePage) OperationListResponseIterator {
- return OperationListResponseIterator{page: page}
+// AsDynamicsSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsDynamicsSink() (*DynamicsSink, bool) {
+ return nil, false
}
-// IsEmpty returns true if the ListResult contains no values.
-func (olr OperationListResponse) IsEmpty() bool {
- return olr.Value == nil || len(*olr.Value) == 0
+// AsMicrosoftAccessSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
+// AsOdbcSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsOdbcSink() (*OdbcSink, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+ return nil, false
+}
+
+// AsOracleSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsOracleSink() (*OracleSink, bool) {
+ return nil, false
+}
+
+// AsSQLDWSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsSQLDWSink() (*SQLDWSink, bool) {
+ return nil, false
+}
+
+// AsSQLMISink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+ return nil, false
+}
+
+// AsSQLServerSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsSQLServerSink() (*SQLServerSink, bool) {
+ return nil, false
}
-// operationListResponsePreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (olr OperationListResponse) operationListResponsePreparer(ctx context.Context) (*http.Request, error) {
- if olr.NextLink == nil || len(to.String(olr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(olr.NextLink)))
+// AsSQLSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsSQLSink() (*SQLSink, bool) {
+ return nil, false
}
-// OperationListResponsePage contains a page of Operation values.
-type OperationListResponsePage struct {
- fn func(context.Context, OperationListResponse) (OperationListResponse, error)
- olr OperationListResponse
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+ return nil, false
}
-// NextWithContext advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-func (page *OperationListResponsePage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/OperationListResponsePage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.olr)
- if err != nil {
- return err
- }
- page.olr = next
- return nil
+// AsFileSystemSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsFileSystemSink() (*FileSystemSink, bool) {
+ return nil, false
}
-// Next advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (page *OperationListResponsePage) Next() error {
- return page.NextWithContext(context.Background())
+// AsBlobSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsBlobSink() (*BlobSink, bool) {
+ return nil, false
}
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page OperationListResponsePage) NotDone() bool {
- return !page.olr.IsEmpty()
+// AsBinarySink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (page OperationListResponsePage) Response() OperationListResponse {
- return page.olr
+// AsParquetSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsParquetSink() (*ParquetSink, bool) {
+ return &ps, true
}
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page OperationListResponsePage) Values() []Operation {
- if page.olr.IsEmpty() {
- return nil
- }
- return *page.olr.Value
+// AsAzureTableSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsAzureTableSink() (*AzureTableSink, bool) {
+ return nil, false
}
-// Creates a new instance of the OperationListResponsePage type.
-func NewOperationListResponsePage(getNextPage func(context.Context, OperationListResponse) (OperationListResponse, error)) OperationListResponsePage {
- return OperationListResponsePage{fn: getNextPage}
+// AsAzureQueueSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+ return nil, false
}
-// OperationLogSpecification details about an operation related to logs.
-type OperationLogSpecification struct {
- // Name - The name of the log category.
- Name *string `json:"name,omitempty"`
- // DisplayName - Localized display name.
- DisplayName *string `json:"displayName,omitempty"`
- // BlobDuration - Blobs created in the customer storage account, per hour.
- BlobDuration *string `json:"blobDuration,omitempty"`
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+ return nil, false
}
-// OperationMetricAvailability defines how often data for a metric becomes available.
-type OperationMetricAvailability struct {
- // TimeGrain - The granularity for the metric.
- TimeGrain *string `json:"timeGrain,omitempty"`
- // BlobDuration - Blob created in the customer storage account, per hour.
- BlobDuration *string `json:"blobDuration,omitempty"`
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
}
-// OperationMetricDimension defines the metric dimension.
-type OperationMetricDimension struct {
- // Name - The name of the dimension for the metric.
- Name *string `json:"name,omitempty"`
- // DisplayName - The display name of the metric dimension.
- DisplayName *string `json:"displayName,omitempty"`
- // ToBeExportedForShoebox - Whether the dimension should be exported to Azure Monitor.
- ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"`
+// AsDelimitedTextSink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+ return nil, false
}
-// OperationMetricSpecification details about an operation related to metrics.
-type OperationMetricSpecification struct {
- // Name - The name of the metric.
- Name *string `json:"name,omitempty"`
- // DisplayName - Localized display name of the metric.
- DisplayName *string `json:"displayName,omitempty"`
- // DisplayDescription - The description of the metric.
- DisplayDescription *string `json:"displayDescription,omitempty"`
- // Unit - The unit that the metric is measured in.
- Unit *string `json:"unit,omitempty"`
- // AggregationType - The type of metric aggregation.
- AggregationType *string `json:"aggregationType,omitempty"`
- // EnableRegionalMdmAccount - Whether or not the service is using regional MDM accounts.
- EnableRegionalMdmAccount *string `json:"enableRegionalMdmAccount,omitempty"`
- // SourceMdmAccount - The name of the MDM account.
- SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"`
- // SourceMdmNamespace - The name of the MDM namespace.
- SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`
- // Availabilities - Defines how often data for metrics becomes available.
- Availabilities *[]OperationMetricAvailability `json:"availabilities,omitempty"`
- // Dimensions - Defines the metric dimension.
- Dimensions *[]OperationMetricDimension `json:"dimensions,omitempty"`
+// AsCopySink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsCopySink() (*CopySink, bool) {
+ return nil, false
}
-// OperationProperties additional details about an operation.
-type OperationProperties struct {
- // ServiceSpecification - Details about a service operation.
- ServiceSpecification *OperationServiceSpecification `json:"serviceSpecification,omitempty"`
+// AsBasicCopySink is the BasicCopySink implementation for ParquetSink.
+func (ps ParquetSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &ps, true
}
-// OperationServiceSpecification details about a service operation.
-type OperationServiceSpecification struct {
- // LogSpecifications - Details about operations related to logs.
- LogSpecifications *[]OperationLogSpecification `json:"logSpecifications,omitempty"`
- // MetricSpecifications - Details about operations related to metrics.
- MetricSpecifications *[]OperationMetricSpecification `json:"metricSpecifications,omitempty"`
+// UnmarshalJSON is the custom unmarshaler for ParquetSink struct.
+func (ps *ParquetSink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "storeSettings":
+ if v != nil {
+ var storeSettings StoreWriteSettings
+ err = json.Unmarshal(*v, &storeSettings)
+ if err != nil {
+ return err
+ }
+ ps.StoreSettings = &storeSettings
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ps.AdditionalProperties == nil {
+ ps.AdditionalProperties = make(map[string]interface{})
+ }
+ ps.AdditionalProperties[k] = additionalProperties
+ }
+ case "writeBatchSize":
+ if v != nil {
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
+ if err != nil {
+ return err
+ }
+ ps.WriteBatchSize = writeBatchSize
+ }
+ case "writeBatchTimeout":
+ if v != nil {
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
+ if err != nil {
+ return err
+ }
+ ps.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ ps.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ ps.SinkRetryWait = sinkRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ ps.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySink
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ps.Type = typeVar
+ }
+ }
+ }
+
+ return nil
}
-// OracleLinkedService oracle database.
-type OracleLinkedService struct {
- // OracleLinkedServiceTypeProperties - Oracle database linked service properties.
- *OracleLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// ParquetSource a copy activity Parquet source.
+type ParquetSource struct {
+ // StoreSettings - Parquet store settings.
+ StoreSettings *StoreReadSettings `json:"storeSettings,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
- Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for OracleLinkedService.
-func (ols OracleLinkedService) MarshalJSON() ([]byte, error) {
- ols.Type = TypeOracle
+// MarshalJSON is the custom marshaler for ParquetSource.
+func (ps ParquetSource) MarshalJSON() ([]byte, error) {
+ ps.Type = TypeParquetSource
objectMap := make(map[string]interface{})
- if ols.OracleLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = ols.OracleLinkedServiceTypeProperties
- }
- if ols.ConnectVia != nil {
- objectMap["connectVia"] = ols.ConnectVia
+ if ps.StoreSettings != nil {
+ objectMap["storeSettings"] = ps.StoreSettings
}
- if ols.Description != nil {
- objectMap["description"] = ols.Description
+ if ps.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ps.SourceRetryCount
}
- if ols.Parameters != nil {
- objectMap["parameters"] = ols.Parameters
+ if ps.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ps.SourceRetryWait
}
- if ols.Annotations != nil {
- objectMap["annotations"] = ols.Annotations
+ if ps.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections
}
- if ols.Type != "" {
- objectMap["type"] = ols.Type
+ if ps.Type != "" {
+ objectMap["type"] = ps.Type
}
- for k, v := range ols.AdditionalProperties {
+ for k, v := range ps.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsResponsysSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsVerticaSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsZohoSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsXeroSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsSquareSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSparkSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsShopifySource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsPrestoSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPaypalSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsMarketoSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMagentoSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsJiraSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsImpalaSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsHubspotSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHiveSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHBaseSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsEloquaSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsDrillSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsConcurSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsHTTPSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsOffice365Source is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCassandraSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsWebSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsTeradataSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsOracleSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsHdfsSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSQLMISource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsSQLSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsRestSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsSapTableSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsSapEccSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsODataSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsSybaseSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsMySQLSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsOdbcSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsDb2Source is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
- return &ols, true
-}
-
-// AsFileServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsInformixSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsRelationalSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsBlobSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsBinarySource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
- return nil, false
+// AsParquetSource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsParquetSource() (*ParquetSource, bool) {
+ return &ps, true
}
-// AsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsCopySource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for OracleLinkedService.
-func (ols OracleLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &ols, true
+// AsBasicCopySource is the BasicCopySource implementation for ParquetSource.
+func (ps ParquetSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ps, true
}
-// UnmarshalJSON is the custom unmarshaler for OracleLinkedService struct.
-func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for ParquetSource struct.
+func (ps *ParquetSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -102341,14 +129598,14 @@ func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "storeSettings":
if v != nil {
- var oracleLinkedServiceTypeProperties OracleLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &oracleLinkedServiceTypeProperties)
+ var storeSettings StoreReadSettings
+ err = json.Unmarshal(*v, &storeSettings)
if err != nil {
return err
}
- ols.OracleLinkedServiceTypeProperties = &oracleLinkedServiceTypeProperties
+ ps.StoreSettings = &storeSettings
}
default:
if v != nil {
@@ -102357,55 +129614,46 @@ func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ols.AdditionalProperties == nil {
- ols.AdditionalProperties = make(map[string]interface{})
- }
- ols.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if ps.AdditionalProperties == nil {
+ ps.AdditionalProperties = make(map[string]interface{})
}
- ols.ConnectVia = &connectVia
+ ps.AdditionalProperties[k] = additionalProperties
}
- case "description":
+ case "sourceRetryCount":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- ols.Description = &description
+ ps.SourceRetryCount = sourceRetryCount
}
- case "parameters":
+ case "sourceRetryWait":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- ols.Parameters = parameters
+ ps.SourceRetryWait = sourceRetryWait
}
- case "annotations":
+ case "maxConcurrentConnections":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- ols.Annotations = &annotations
+ ps.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ols.Type = typeVar
+ ps.Type = typeVar
}
}
}
@@ -102413,32 +129661,10 @@ func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// OracleLinkedServiceTypeProperties oracle database linked service properties.
-type OracleLinkedServiceTypeProperties struct {
- // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
- ConnectionString interface{} `json:"connectionString,omitempty"`
- // Password - The Azure key vault secret reference of password in connection string.
- Password *AzureKeyVaultSecretReference `json:"password,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// OraclePartitionSettings the settings that will be leveraged for oracle source partitioning.
-type OraclePartitionSettings struct {
- // PartitionNames - Names of the physical partitions of oracle table.
- PartitionNames interface{} `json:"partitionNames,omitempty"`
- // PartitionColumnName - The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
- PartitionColumnName interface{} `json:"partitionColumnName,omitempty"`
- // PartitionUpperBound - The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
- PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"`
- // PartitionLowerBound - The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
- PartitionLowerBound interface{} `json:"partitionLowerBound,omitempty"`
-}
-
-// OracleServiceCloudLinkedService oracle Service Cloud linked service.
-type OracleServiceCloudLinkedService struct {
- // OracleServiceCloudLinkedServiceTypeProperties - Oracle Service Cloud linked service properties.
- *OracleServiceCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// PaypalLinkedService paypal Service linked service.
+type PaypalLinkedService struct {
+ // PaypalLinkedServiceTypeProperties - Paypal Service linked service properties.
+ *PaypalLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -102449,470 +129675,500 @@ type OracleServiceCloudLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) MarshalJSON() ([]byte, error) {
- oscls.Type = TypeOracleServiceCloud
+// MarshalJSON is the custom marshaler for PaypalLinkedService.
+func (pls PaypalLinkedService) MarshalJSON() ([]byte, error) {
+ pls.Type = TypePaypal
objectMap := make(map[string]interface{})
- if oscls.OracleServiceCloudLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = oscls.OracleServiceCloudLinkedServiceTypeProperties
+ if pls.PaypalLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = pls.PaypalLinkedServiceTypeProperties
}
- if oscls.ConnectVia != nil {
- objectMap["connectVia"] = oscls.ConnectVia
+ if pls.ConnectVia != nil {
+ objectMap["connectVia"] = pls.ConnectVia
}
- if oscls.Description != nil {
- objectMap["description"] = oscls.Description
+ if pls.Description != nil {
+ objectMap["description"] = pls.Description
}
- if oscls.Parameters != nil {
- objectMap["parameters"] = oscls.Parameters
+ if pls.Parameters != nil {
+ objectMap["parameters"] = pls.Parameters
}
- if oscls.Annotations != nil {
- objectMap["annotations"] = oscls.Annotations
+ if pls.Annotations != nil {
+ objectMap["annotations"] = pls.Annotations
}
- if oscls.Type != "" {
- objectMap["type"] = oscls.Type
+ if pls.Type != "" {
+ objectMap["type"] = pls.Type
}
- for k, v := range oscls.AdditionalProperties {
+ for k, v := range pls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return &oscls, true
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+ return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return &pls, true
+}
+
+// AsMarketoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
+}
+
+// AsSybaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService.
-func (oscls OracleServiceCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &oscls, true
+// AsBasicLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
+func (pls PaypalLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &pls, true
}
-// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudLinkedService struct.
-func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PaypalLinkedService struct.
+func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -102922,12 +130178,12 @@ func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var oracleServiceCloudLinkedServiceTypeProperties OracleServiceCloudLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &oracleServiceCloudLinkedServiceTypeProperties)
+ var paypalLinkedServiceTypeProperties PaypalLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &paypalLinkedServiceTypeProperties)
if err != nil {
return err
}
- oscls.OracleServiceCloudLinkedServiceTypeProperties = &oracleServiceCloudLinkedServiceTypeProperties
+ pls.PaypalLinkedServiceTypeProperties = &paypalLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -102936,10 +130192,10 @@ func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if oscls.AdditionalProperties == nil {
- oscls.AdditionalProperties = make(map[string]interface{})
+ if pls.AdditionalProperties == nil {
+ pls.AdditionalProperties = make(map[string]interface{})
}
- oscls.AdditionalProperties[k] = additionalProperties
+ pls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -102948,7 +130204,7 @@ func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscls.ConnectVia = &connectVia
+ pls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -102957,7 +130213,7 @@ func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscls.Description = &description
+ pls.Description = &description
}
case "parameters":
if v != nil {
@@ -102966,7 +130222,7 @@ func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscls.Parameters = parameters
+ pls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -102975,7 +130231,7 @@ func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscls.Annotations = &annotations
+ pls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -102984,7 +130240,7 @@ func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscls.Type = typeVar
+ pls.Type = typeVar
}
}
}
@@ -102992,26 +130248,26 @@ func (oscls *OracleServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// OracleServiceCloudLinkedServiceTypeProperties oracle Service Cloud linked service properties.
-type OracleServiceCloudLinkedServiceTypeProperties struct {
- // Host - The URL of the Oracle Service Cloud instance.
+// PaypalLinkedServiceTypeProperties paypal Service linked service properties.
+type PaypalLinkedServiceTypeProperties struct {
+ // Host - The URLÂ of the PayPal instance. (i.e. api.sandbox.paypal.com)
Host interface{} `json:"host,omitempty"`
- // Username - The user name that you use to access Oracle Service Cloud server.
- Username interface{} `json:"username,omitempty"`
- // Password - The password corresponding to the user name that you provided in the username key.
- Password BasicSecretBase `json:"password,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).
+ // ClientID - The client ID associated with your PayPal application.
+ ClientID interface{} `json:"clientId,omitempty"`
+ // ClientSecret - The client secret associated with your PayPal application.
+ ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
+ // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
UseHostVerification interface{} `json:"useHostVerification,omitempty"`
- // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
+ // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudLinkedServiceTypeProperties struct.
-func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PaypalLinkedServiceTypeProperties struct.
+func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -103026,24 +130282,24 @@ func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body
if err != nil {
return err
}
- osclstp.Host = host
+ plstp.Host = host
}
- case "username":
+ case "clientId":
if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
+ var clientID interface{}
+ err = json.Unmarshal(*v, &clientID)
if err != nil {
return err
}
- osclstp.Username = username
+ plstp.ClientID = clientID
}
- case "password":
+ case "clientSecret":
if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
+ clientSecret, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- osclstp.Password = password
+ plstp.ClientSecret = clientSecret
}
case "useEncryptedEndpoints":
if v != nil {
@@ -103052,7 +130308,7 @@ func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body
if err != nil {
return err
}
- osclstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ plstp.UseEncryptedEndpoints = useEncryptedEndpoints
}
case "useHostVerification":
if v != nil {
@@ -103061,7 +130317,7 @@ func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body
if err != nil {
return err
}
- osclstp.UseHostVerification = useHostVerification
+ plstp.UseHostVerification = useHostVerification
}
case "usePeerVerification":
if v != nil {
@@ -103070,7 +130326,7 @@ func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body
if err != nil {
return err
}
- osclstp.UsePeerVerification = usePeerVerification
+ plstp.UsePeerVerification = usePeerVerification
}
case "encryptedCredential":
if v != nil {
@@ -103079,7 +130335,7 @@ func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body
if err != nil {
return err
}
- osclstp.EncryptedCredential = encryptedCredential
+ plstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -103087,8 +130343,8 @@ func (osclstp *OracleServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body
return nil
}
-// OracleServiceCloudObjectDataset oracle Service Cloud dataset.
-type OracleServiceCloudObjectDataset struct {
+// PaypalObjectDataset paypal Service dataset.
+type PaypalObjectDataset struct {
// GenericDatasetTypeProperties - Properties specific to this dataset type.
*GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -103107,399 +130363,449 @@ type OracleServiceCloudObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) MarshalJSON() ([]byte, error) {
- oscod.Type = TypeOracleServiceCloudObject
+// MarshalJSON is the custom marshaler for PaypalObjectDataset.
+func (pod PaypalObjectDataset) MarshalJSON() ([]byte, error) {
+ pod.Type = TypePaypalObject
objectMap := make(map[string]interface{})
- if oscod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = oscod.GenericDatasetTypeProperties
+ if pod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = pod.GenericDatasetTypeProperties
}
- if oscod.Description != nil {
- objectMap["description"] = oscod.Description
+ if pod.Description != nil {
+ objectMap["description"] = pod.Description
}
- if oscod.Structure != nil {
- objectMap["structure"] = oscod.Structure
+ if pod.Structure != nil {
+ objectMap["structure"] = pod.Structure
}
- if oscod.Schema != nil {
- objectMap["schema"] = oscod.Schema
+ if pod.Schema != nil {
+ objectMap["schema"] = pod.Schema
}
- if oscod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = oscod.LinkedServiceName
+ if pod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = pod.LinkedServiceName
}
- if oscod.Parameters != nil {
- objectMap["parameters"] = oscod.Parameters
+ if pod.Parameters != nil {
+ objectMap["parameters"] = pod.Parameters
}
- if oscod.Annotations != nil {
- objectMap["annotations"] = oscod.Annotations
+ if pod.Annotations != nil {
+ objectMap["annotations"] = pod.Annotations
}
- if oscod.Folder != nil {
- objectMap["folder"] = oscod.Folder
+ if pod.Folder != nil {
+ objectMap["folder"] = pod.Folder
}
- if oscod.Type != "" {
- objectMap["type"] = oscod.Type
+ if pod.Type != "" {
+ objectMap["type"] = pod.Type
}
- for k, v := range oscod.AdditionalProperties {
+ for k, v := range pod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
- return &oscod, true
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+ return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return &pod, true
+}
+
+// AsMarketoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset.
-func (oscod OracleServiceCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &oscod, true
+// AsAzureSQLMITableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudObjectDataset struct.
-func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for PaypalObjectDataset.
+func (pod PaypalObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &pod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for PaypalObjectDataset struct.
+func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -103514,7 +130820,7 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ pod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -103523,10 +130829,10 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if oscod.AdditionalProperties == nil {
- oscod.AdditionalProperties = make(map[string]interface{})
+ if pod.AdditionalProperties == nil {
+ pod.AdditionalProperties = make(map[string]interface{})
}
- oscod.AdditionalProperties[k] = additionalProperties
+ pod.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -103535,7 +130841,7 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscod.Description = &description
+ pod.Description = &description
}
case "structure":
if v != nil {
@@ -103544,7 +130850,7 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscod.Structure = structure
+ pod.Structure = structure
}
case "schema":
if v != nil {
@@ -103553,7 +130859,7 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscod.Schema = schema
+ pod.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -103562,7 +130868,7 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscod.LinkedServiceName = &linkedServiceName
+ pod.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -103571,7 +130877,7 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscod.Parameters = parameters
+ pod.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -103580,7 +130886,7 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscod.Annotations = &annotations
+ pod.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -103589,7 +130895,7 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscod.Folder = &folder
+ pod.Folder = &folder
}
case "type":
if v != nil {
@@ -103598,7 +130904,7 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscod.Type = typeVar
+ pod.Type = typeVar
}
}
}
@@ -103606,8 +130912,8 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// OracleServiceCloudSource a copy activity Oracle Service Cloud source.
-type OracleServiceCloudSource struct {
+// PaypalSource a copy activity Paypal Service source.
+type PaypalSource struct {
// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -103618,382 +130924,447 @@ type OracleServiceCloudSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) MarshalJSON() ([]byte, error) {
- oscs.Type = TypeOracleServiceCloudSource
+// MarshalJSON is the custom marshaler for PaypalSource.
+func (ps PaypalSource) MarshalJSON() ([]byte, error) {
+ ps.Type = TypePaypalSource
objectMap := make(map[string]interface{})
- if oscs.Query != nil {
- objectMap["query"] = oscs.Query
+ if ps.Query != nil {
+ objectMap["query"] = ps.Query
}
- if oscs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = oscs.SourceRetryCount
+ if ps.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ps.SourceRetryCount
}
- if oscs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = oscs.SourceRetryWait
+ if ps.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ps.SourceRetryWait
}
- if oscs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = oscs.MaxConcurrentConnections
+ if ps.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections
}
- if oscs.Type != "" {
- objectMap["type"] = oscs.Type
+ if ps.Type != "" {
+ objectMap["type"] = ps.Type
}
- for k, v := range oscs.AdditionalProperties {
+ for k, v := range ps.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
- return &oscs, true
+// AsOracleServiceCloudSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifySource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsPaypalSource() (*PaypalSource, bool) {
+ return &ps, true
+}
+
+// AsMarketoSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsJiraSource() (*JiraSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsHiveSource() (*HiveSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsDrillSource() (*DrillSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsConcurSource() (*ConcurSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsOffice365Source is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsOffice365Source() (*Office365Source, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsWebSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsWebSource() (*WebSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsOracleSource() (*OracleSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsRestSource() (*RestSource, bool) {
+// AsRestSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsODataSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsBlobSource() (*BlobSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsParquetSource() (*ParquetSource, bool) {
+// AsDb2Source is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsCopySource() (*CopySource, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for OracleServiceCloudSource.
-func (oscs OracleServiceCloudSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &oscs, true
+// AsInformixSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for OracleServiceCloudSource struct.
-func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error {
+// AsRelationalSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for PaypalSource.
+func (ps PaypalSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ps, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for PaypalSource struct.
+func (ps *PaypalSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -104008,7 +131379,7 @@ func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscs.Query = query
+ ps.Query = query
}
default:
if v != nil {
@@ -104017,10 +131388,10 @@ func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if oscs.AdditionalProperties == nil {
- oscs.AdditionalProperties = make(map[string]interface{})
+ if ps.AdditionalProperties == nil {
+ ps.AdditionalProperties = make(map[string]interface{})
}
- oscs.AdditionalProperties[k] = additionalProperties
+ ps.AdditionalProperties[k] = additionalProperties
}
case "sourceRetryCount":
if v != nil {
@@ -104029,7 +131400,7 @@ func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscs.SourceRetryCount = sourceRetryCount
+ ps.SourceRetryCount = sourceRetryCount
}
case "sourceRetryWait":
if v != nil {
@@ -104038,7 +131409,7 @@ func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscs.SourceRetryWait = sourceRetryWait
+ ps.SourceRetryWait = sourceRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -104047,7 +131418,7 @@ func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscs.MaxConcurrentConnections = maxConcurrentConnections
+ ps.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -104056,7 +131427,7 @@ func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- oscs.Type = typeVar
+ ps.Type = typeVar
}
}
}
@@ -104064,665 +131435,623 @@ func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error {
return nil
}
-// OracleSink a copy activity Oracle sink.
-type OracleSink struct {
- // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string).
- PreCopyScript interface{} `json:"preCopyScript,omitempty"`
+// PhoenixLinkedService phoenix server linked service.
+type PhoenixLinkedService struct {
+ // PhoenixLinkedServiceTypeProperties - Phoenix server linked service properties.
+ *PhoenixLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
- WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
- // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
- // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
- SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
- // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
- Type TypeBasicCopySink `json:"type,omitempty"`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for OracleSink.
-func (osVar OracleSink) MarshalJSON() ([]byte, error) {
- osVar.Type = TypeOracleSink
+// MarshalJSON is the custom marshaler for PhoenixLinkedService.
+func (pls PhoenixLinkedService) MarshalJSON() ([]byte, error) {
+ pls.Type = TypePhoenix
objectMap := make(map[string]interface{})
- if osVar.PreCopyScript != nil {
- objectMap["preCopyScript"] = osVar.PreCopyScript
- }
- if osVar.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = osVar.WriteBatchSize
+ if pls.PhoenixLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = pls.PhoenixLinkedServiceTypeProperties
}
- if osVar.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout
+ if pls.ConnectVia != nil {
+ objectMap["connectVia"] = pls.ConnectVia
}
- if osVar.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = osVar.SinkRetryCount
+ if pls.Description != nil {
+ objectMap["description"] = pls.Description
}
- if osVar.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = osVar.SinkRetryWait
+ if pls.Parameters != nil {
+ objectMap["parameters"] = pls.Parameters
}
- if osVar.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections
+ if pls.Annotations != nil {
+ objectMap["annotations"] = pls.Annotations
}
- if osVar.Type != "" {
- objectMap["type"] = osVar.Type
+ if pls.Type != "" {
+ objectMap["type"] = pls.Type
}
- for k, v := range osVar.AdditionalProperties {
+ for k, v := range pls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsSalesforceSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsSalesforceSink() (*SalesforceSink, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsDynamicsSink() (*DynamicsSink, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOdbcSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsOdbcSink() (*OdbcSink, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsOracleSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsOracleSink() (*OracleSink, bool) {
- return &osVar, true
-}
-
-// AsSQLDWSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsSQLDWSink() (*SQLDWSink, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSQLServerSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsSQLServerSink() (*SQLServerSink, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSQLSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsSQLSink() (*SQLSink, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsFileSystemSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsFileSystemSink() (*FileSystemSink, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsBlobSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsBlobSink() (*BlobSink, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsParquetSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsParquetSink() (*ParquetSink, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsAzureTableSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsAzureTableSink() (*AzureTableSink, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsAzureQueueSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsCopySink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsCopySink() (*CopySink, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsBasicCopySink is the BasicCopySink implementation for OracleSink.
-func (osVar OracleSink) AsBasicCopySink() (BasicCopySink, bool) {
- return &osVar, true
+// AsPhoenixLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+ return &pls, true
}
-// UnmarshalJSON is the custom unmarshaler for OracleSink struct.
-func (osVar *OracleSink) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "preCopyScript":
- if v != nil {
- var preCopyScript interface{}
- err = json.Unmarshal(*v, &preCopyScript)
- if err != nil {
- return err
- }
- osVar.PreCopyScript = preCopyScript
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if osVar.AdditionalProperties == nil {
- osVar.AdditionalProperties = make(map[string]interface{})
- }
- osVar.AdditionalProperties[k] = additionalProperties
- }
- case "writeBatchSize":
- if v != nil {
- var writeBatchSize interface{}
- err = json.Unmarshal(*v, &writeBatchSize)
- if err != nil {
- return err
- }
- osVar.WriteBatchSize = writeBatchSize
- }
- case "writeBatchTimeout":
- if v != nil {
- var writeBatchTimeout interface{}
- err = json.Unmarshal(*v, &writeBatchTimeout)
- if err != nil {
- return err
- }
- osVar.WriteBatchTimeout = writeBatchTimeout
- }
- case "sinkRetryCount":
- if v != nil {
- var sinkRetryCount interface{}
- err = json.Unmarshal(*v, &sinkRetryCount)
- if err != nil {
- return err
- }
- osVar.SinkRetryCount = sinkRetryCount
- }
- case "sinkRetryWait":
- if v != nil {
- var sinkRetryWait interface{}
- err = json.Unmarshal(*v, &sinkRetryWait)
- if err != nil {
- return err
- }
- osVar.SinkRetryWait = sinkRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- osVar.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySink
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- osVar.Type = typeVar
- }
- }
- }
-
- return nil
+// AsPaypalLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
}
-// OracleSource a copy activity Oracle source.
-type OracleSource struct {
- // OracleReaderQuery - Oracle reader query. Type: string (or Expression with resultType string).
- OracleReaderQuery interface{} `json:"oracleReaderQuery,omitempty"`
- // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- QueryTimeout interface{} `json:"queryTimeout,omitempty"`
- // PartitionOption - The partition mechanism that will be used for oracle read in parallel.
- PartitionOption interface{} `json:"partitionOption,omitempty"`
- // PartitionSettings - The settings that will be leveraged for oracle source partitioning.
- PartitionSettings *OraclePartitionSettings `json:"partitionSettings,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+// AsMarketoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for OracleSource.
-func (osVar OracleSource) MarshalJSON() ([]byte, error) {
- osVar.Type = TypeOracleSource
- objectMap := make(map[string]interface{})
- if osVar.OracleReaderQuery != nil {
- objectMap["oracleReaderQuery"] = osVar.OracleReaderQuery
- }
- if osVar.QueryTimeout != nil {
- objectMap["queryTimeout"] = osVar.QueryTimeout
- }
- if osVar.PartitionOption != nil {
- objectMap["partitionOption"] = osVar.PartitionOption
- }
- if osVar.PartitionSettings != nil {
- objectMap["partitionSettings"] = osVar.PartitionSettings
- }
- if osVar.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = osVar.SourceRetryCount
- }
- if osVar.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = osVar.SourceRetryWait
- }
- if osVar.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = osVar.MaxConcurrentConnections
- }
- if osVar.Type != "" {
- objectMap["type"] = osVar.Type
- }
- for k, v := range osVar.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsMariaDBLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+ return nil, false
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsZohoSource() (*ZohoSource, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsXeroSource() (*XeroSource, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSquareSource() (*SquareSource, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSparkSource() (*SparkSource, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsShopifySource() (*ShopifySource, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsJiraSource() (*JiraSource, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsHiveSource() (*HiveSource, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsDrillSource() (*DrillSource, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsConcurSource() (*ConcurSource, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsOffice365Source() (*Office365Source, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsWebSource() (*WebSource, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsOracleSource() (*OracleSource, bool) {
- return &osVar, true
+// AsDb2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSQLSource() (*SQLSource, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsRestSource() (*RestSource, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsBlobSource() (*BlobSource, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsParquetSource() (*ParquetSource, bool) {
- return nil, false
+// AsBasicLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
+func (pls PhoenixLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &pls, true
}
-// AsCopySource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsCopySource() (*CopySource, bool) {
- return nil, false
+// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedService struct.
+func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "typeProperties":
+ if v != nil {
+ var phoenixLinkedServiceTypeProperties PhoenixLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &phoenixLinkedServiceTypeProperties)
+ if err != nil {
+ return err
+ }
+ pls.PhoenixLinkedServiceTypeProperties = &phoenixLinkedServiceTypeProperties
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if pls.AdditionalProperties == nil {
+ pls.AdditionalProperties = make(map[string]interface{})
+ }
+ pls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ pls.ConnectVia = &connectVia
+ }
+ case "description":
+ if v != nil {
+ var description string
+ err = json.Unmarshal(*v, &description)
+ if err != nil {
+ return err
+ }
+ pls.Description = &description
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ pls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ pls.Annotations = &annotations
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ pls.Type = typeVar
+ }
+ }
+ }
+
+ return nil
}
-// AsBasicCopySource is the BasicCopySource implementation for OracleSource.
-func (osVar OracleSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &osVar, true
+// PhoenixLinkedServiceTypeProperties phoenix server linked service properties.
+type PhoenixLinkedServiceTypeProperties struct {
+ // Host - The IP address or host name of the Phoenix server. (i.e. 192.168.222.160)
+ Host interface{} `json:"host,omitempty"`
+ // Port - The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765.
+ Port interface{} `json:"port,omitempty"`
+ // HTTPPath - The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService.
+ HTTPPath interface{} `json:"httpPath,omitempty"`
+ // AuthenticationType - The authentication mechanism used to connect to the Phoenix server. Possible values include: 'PhoenixAuthenticationTypeAnonymous', 'PhoenixAuthenticationTypeUsernameAndPassword', 'PhoenixAuthenticationTypeWindowsAzureHDInsightService'
+ AuthenticationType PhoenixAuthenticationType `json:"authenticationType,omitempty"`
+ // Username - The user name used to connect to the Phoenix server.
+ Username interface{} `json:"username,omitempty"`
+ // Password - The password corresponding to the user name.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
+ EnableSsl interface{} `json:"enableSsl,omitempty"`
+ // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
+ TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
+ // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
+ UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
+ // AllowHostNameCNMismatch - Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
+ AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
+ // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
+ AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for OracleSource struct.
-func (osVar *OracleSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedServiceTypeProperties struct.
+func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -104730,89 +132059,112 @@ func (osVar *OracleSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "oracleReaderQuery":
+ case "host":
if v != nil {
- var oracleReaderQuery interface{}
- err = json.Unmarshal(*v, &oracleReaderQuery)
+ var host interface{}
+ err = json.Unmarshal(*v, &host)
if err != nil {
return err
}
- osVar.OracleReaderQuery = oracleReaderQuery
+ plstp.Host = host
}
- case "queryTimeout":
+ case "port":
if v != nil {
- var queryTimeout interface{}
- err = json.Unmarshal(*v, &queryTimeout)
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
if err != nil {
return err
}
- osVar.QueryTimeout = queryTimeout
+ plstp.Port = port
}
- case "partitionOption":
+ case "httpPath":
if v != nil {
- var partitionOption interface{}
- err = json.Unmarshal(*v, &partitionOption)
+ var HTTPPath interface{}
+ err = json.Unmarshal(*v, &HTTPPath)
if err != nil {
return err
}
- osVar.PartitionOption = partitionOption
+ plstp.HTTPPath = HTTPPath
}
- case "partitionSettings":
+ case "authenticationType":
if v != nil {
- var partitionSettings OraclePartitionSettings
- err = json.Unmarshal(*v, &partitionSettings)
+ var authenticationType PhoenixAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
}
- osVar.PartitionSettings = &partitionSettings
+ plstp.AuthenticationType = authenticationType
}
- default:
+ case "username":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
if err != nil {
return err
}
- if osVar.AdditionalProperties == nil {
- osVar.AdditionalProperties = make(map[string]interface{})
+ plstp.Username = username
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
}
- osVar.AdditionalProperties[k] = additionalProperties
+ plstp.Password = password
}
- case "sourceRetryCount":
+ case "enableSsl":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var enableSsl interface{}
+ err = json.Unmarshal(*v, &enableSsl)
if err != nil {
return err
}
- osVar.SourceRetryCount = sourceRetryCount
+ plstp.EnableSsl = enableSsl
}
- case "sourceRetryWait":
+ case "trustedCertPath":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var trustedCertPath interface{}
+ err = json.Unmarshal(*v, &trustedCertPath)
if err != nil {
return err
}
- osVar.SourceRetryWait = sourceRetryWait
+ plstp.TrustedCertPath = trustedCertPath
}
- case "maxConcurrentConnections":
+ case "useSystemTrustStore":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var useSystemTrustStore interface{}
+ err = json.Unmarshal(*v, &useSystemTrustStore)
if err != nil {
return err
}
- osVar.MaxConcurrentConnections = maxConcurrentConnections
+ plstp.UseSystemTrustStore = useSystemTrustStore
}
- case "type":
+ case "allowHostNameCNMismatch":
if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
+ var allowHostNameCNMismatch interface{}
+ err = json.Unmarshal(*v, &allowHostNameCNMismatch)
if err != nil {
return err
}
- osVar.Type = typeVar
+ plstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
+ }
+ case "allowSelfSignedServerCert":
+ if v != nil {
+ var allowSelfSignedServerCert interface{}
+ err = json.Unmarshal(*v, &allowSelfSignedServerCert)
+ if err != nil {
+ return err
+ }
+ plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ plstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -104820,10 +132172,10 @@ func (osVar *OracleSource) UnmarshalJSON(body []byte) error {
return nil
}
-// OracleTableDataset the on-premises Oracle database dataset.
-type OracleTableDataset struct {
- // OracleTableDatasetTypeProperties - On-premises Oracle dataset properties.
- *OracleTableDatasetTypeProperties `json:"typeProperties,omitempty"`
+// PhoenixObjectDataset phoenix server dataset.
+type PhoenixObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Description - Dataset description.
@@ -104840,399 +132192,449 @@ type OracleTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for OracleTableDataset.
-func (otd OracleTableDataset) MarshalJSON() ([]byte, error) {
- otd.Type = TypeOracleTable
+// MarshalJSON is the custom marshaler for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) {
+ pod.Type = TypePhoenixObject
objectMap := make(map[string]interface{})
- if otd.OracleTableDatasetTypeProperties != nil {
- objectMap["typeProperties"] = otd.OracleTableDatasetTypeProperties
+ if pod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = pod.GenericDatasetTypeProperties
}
- if otd.Description != nil {
- objectMap["description"] = otd.Description
+ if pod.Description != nil {
+ objectMap["description"] = pod.Description
}
- if otd.Structure != nil {
- objectMap["structure"] = otd.Structure
+ if pod.Structure != nil {
+ objectMap["structure"] = pod.Structure
}
- if otd.Schema != nil {
- objectMap["schema"] = otd.Schema
+ if pod.Schema != nil {
+ objectMap["schema"] = pod.Schema
}
- if otd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = otd.LinkedServiceName
+ if pod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = pod.LinkedServiceName
}
- if otd.Parameters != nil {
- objectMap["parameters"] = otd.Parameters
+ if pod.Parameters != nil {
+ objectMap["parameters"] = pod.Parameters
}
- if otd.Annotations != nil {
- objectMap["annotations"] = otd.Annotations
+ if pod.Annotations != nil {
+ objectMap["annotations"] = pod.Annotations
}
- if otd.Folder != nil {
- objectMap["folder"] = otd.Folder
+ if pod.Folder != nil {
+ objectMap["folder"] = pod.Folder
}
- if otd.Type != "" {
- objectMap["type"] = otd.Type
+ if pod.Type != "" {
+ objectMap["type"] = pod.Type
}
- for k, v := range otd.AdditionalProperties {
+ for k, v := range pod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+ return &pod, true
+}
+
+// AsPaypalObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
- return &otd, true
+// AsOdbcTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for OracleTableDataset.
-func (otd OracleTableDataset) AsBasicDataset() (BasicDataset, bool) {
- return &otd, true
+// AsAzureSQLMITableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for OracleTableDataset struct.
-func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for PhoenixObjectDataset.
+func (pod PhoenixObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &pod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for PhoenixObjectDataset struct.
+func (pod *PhoenixObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -105242,12 +132644,12 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var oracleTableDatasetTypeProperties OracleTableDatasetTypeProperties
- err = json.Unmarshal(*v, &oracleTableDatasetTypeProperties)
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
if err != nil {
return err
}
- otd.OracleTableDatasetTypeProperties = &oracleTableDatasetTypeProperties
+ pod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -105256,10 +132658,10 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if otd.AdditionalProperties == nil {
- otd.AdditionalProperties = make(map[string]interface{})
+ if pod.AdditionalProperties == nil {
+ pod.AdditionalProperties = make(map[string]interface{})
}
- otd.AdditionalProperties[k] = additionalProperties
+ pod.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -105268,7 +132670,7 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- otd.Description = &description
+ pod.Description = &description
}
case "structure":
if v != nil {
@@ -105277,7 +132679,7 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- otd.Structure = structure
+ pod.Structure = structure
}
case "schema":
if v != nil {
@@ -105286,7 +132688,7 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- otd.Schema = schema
+ pod.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -105295,7 +132697,7 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- otd.LinkedServiceName = &linkedServiceName
+ pod.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -105304,7 +132706,7 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- otd.Parameters = parameters
+ pod.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -105313,7 +132715,7 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- otd.Annotations = &annotations
+ pod.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -105322,7 +132724,7 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- otd.Folder = &folder
+ pod.Folder = &folder
}
case "type":
if v != nil {
@@ -105331,7 +132733,7 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- otd.Type = typeVar
+ pod.Type = typeVar
}
}
}
@@ -105339,553 +132741,459 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// OracleTableDatasetTypeProperties on-premises Oracle dataset properties.
-type OracleTableDatasetTypeProperties struct {
- // TableName - The table name of the on-premises Oracle database. Type: string (or Expression with resultType string).
- TableName interface{} `json:"tableName,omitempty"`
-}
-
-// OrcFormat the data stored in Optimized Row Columnar (ORC) format.
-type OrcFormat struct {
+// PhoenixSource a copy activity Phoenix server source.
+type PhoenixSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Serializer - Serializer. Type: string (or Expression with resultType string).
- Serializer interface{} `json:"serializer,omitempty"`
- // Deserializer - Deserializer. Type: string (or Expression with resultType string).
- Deserializer interface{} `json:"deserializer,omitempty"`
- // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
- Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for OrcFormat.
-func (of OrcFormat) MarshalJSON() ([]byte, error) {
- of.Type = TypeOrcFormat
+// MarshalJSON is the custom marshaler for PhoenixSource.
+func (ps PhoenixSource) MarshalJSON() ([]byte, error) {
+ ps.Type = TypePhoenixSource
objectMap := make(map[string]interface{})
- if of.Serializer != nil {
- objectMap["serializer"] = of.Serializer
+ if ps.Query != nil {
+ objectMap["query"] = ps.Query
}
- if of.Deserializer != nil {
- objectMap["deserializer"] = of.Deserializer
+ if ps.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ps.SourceRetryCount
}
- if of.Type != "" {
- objectMap["type"] = of.Type
+ if ps.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ps.SourceRetryWait
}
- for k, v := range of.AdditionalProperties {
+ if ps.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections
+ }
+ if ps.Type != "" {
+ objectMap["type"] = ps.Type
+ }
+ for k, v := range ps.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsParquetFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
-func (of OrcFormat) AsParquetFormat() (*ParquetFormat, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsOrcFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
-func (of OrcFormat) AsOrcFormat() (*OrcFormat, bool) {
- return &of, true
+// AsGoogleAdWordsSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
}
-// AsAvroFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
-func (of OrcFormat) AsAvroFormat() (*AvroFormat, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsJSONFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
-func (of OrcFormat) AsJSONFormat() (*JSONFormat, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsTextFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
-func (of OrcFormat) AsTextFormat() (*TextFormat, bool) {
+// AsResponsysSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
-func (of OrcFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
-func (of OrcFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
- return &of, true
+// AsVerticaSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for OrcFormat struct.
-func (of *OrcFormat) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if of.AdditionalProperties == nil {
- of.AdditionalProperties = make(map[string]interface{})
- }
- of.AdditionalProperties[k] = additionalProperties
- }
- case "serializer":
- if v != nil {
- var serializer interface{}
- err = json.Unmarshal(*v, &serializer)
- if err != nil {
- return err
- }
- of.Serializer = serializer
- }
- case "deserializer":
- if v != nil {
- var deserializer interface{}
- err = json.Unmarshal(*v, &deserializer)
- if err != nil {
- return err
- }
- of.Deserializer = deserializer
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicDatasetStorageFormat
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- of.Type = typeVar
- }
- }
- }
-
- return nil
+// AsNetezzaSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
}
-// ParameterSpecification definition of a single parameter for an entity.
-type ParameterSpecification struct {
- // Type - Parameter type. Possible values include: 'ParameterTypeObject', 'ParameterTypeString', 'ParameterTypeInt', 'ParameterTypeFloat', 'ParameterTypeBool', 'ParameterTypeArray', 'ParameterTypeSecureString'
- Type ParameterType `json:"type,omitempty"`
- // DefaultValue - Default value of parameter.
- DefaultValue interface{} `json:"defaultValue,omitempty"`
+// AsZohoSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
}
-// ParquetDataset parquet dataset.
-type ParquetDataset struct {
- // ParquetDatasetTypeProperties - Parquet dataset properties.
- *ParquetDatasetTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+// AsXeroSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for ParquetDataset.
-func (pd ParquetDataset) MarshalJSON() ([]byte, error) {
- pd.Type = TypeParquet
- objectMap := make(map[string]interface{})
- if pd.ParquetDatasetTypeProperties != nil {
- objectMap["typeProperties"] = pd.ParquetDatasetTypeProperties
- }
- if pd.Description != nil {
- objectMap["description"] = pd.Description
- }
- if pd.Structure != nil {
- objectMap["structure"] = pd.Structure
- }
- if pd.Schema != nil {
- objectMap["schema"] = pd.Schema
- }
- if pd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = pd.LinkedServiceName
- }
- if pd.Parameters != nil {
- objectMap["parameters"] = pd.Parameters
- }
- if pd.Annotations != nil {
- objectMap["annotations"] = pd.Annotations
- }
- if pd.Folder != nil {
- objectMap["folder"] = pd.Folder
- }
- if pd.Type != "" {
- objectMap["type"] = pd.Type
- }
- for k, v := range pd.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsSquareSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsPrestoSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return &ps, true
+}
+
+// AsPaypalSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsMagentoSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsImpalaSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsWebSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsTeradataSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsOracleSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsHdfsSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSQLMISource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSQLSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsRestSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSapTableSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsSapEccSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsODataSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSybaseSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsMySQLSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsOdbcSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsDb2Source is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsInformixSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsRelationalSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsBlobSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsBinarySource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsParquetDataset() (*ParquetDataset, bool) {
- return &pd, true
+// AsDelimitedTextSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsParquetSource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsDataset() (*Dataset, bool) {
+// AsCopySource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for ParquetDataset.
-func (pd ParquetDataset) AsBasicDataset() (BasicDataset, bool) {
- return &pd, true
+// AsBasicCopySource is the BasicCopySource implementation for PhoenixSource.
+func (ps PhoenixSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ps, true
}
-// UnmarshalJSON is the custom unmarshaler for ParquetDataset struct.
-func (pd *ParquetDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PhoenixSource struct.
+func (ps *PhoenixSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -105893,14 +133201,14 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var parquetDatasetTypeProperties ParquetDatasetTypeProperties
- err = json.Unmarshal(*v, &parquetDatasetTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- pd.ParquetDatasetTypeProperties = &parquetDatasetTypeProperties
+ ps.Query = query
}
default:
if v != nil {
@@ -105909,82 +133217,46 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if pd.AdditionalProperties == nil {
- pd.AdditionalProperties = make(map[string]interface{})
- }
- pd.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- pd.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
- }
- pd.Structure = structure
- }
- case "schema":
- if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
- if err != nil {
- return err
- }
- pd.Schema = schema
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
+ if ps.AdditionalProperties == nil {
+ ps.AdditionalProperties = make(map[string]interface{})
}
- pd.LinkedServiceName = &linkedServiceName
+ ps.AdditionalProperties[k] = additionalProperties
}
- case "parameters":
+ case "sourceRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- pd.Parameters = parameters
+ ps.SourceRetryCount = sourceRetryCount
}
- case "annotations":
+ case "sourceRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- pd.Annotations = &annotations
+ ps.SourceRetryWait = sourceRetryWait
}
- case "folder":
+ case "maxConcurrentConnections":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- pd.Folder = &folder
+ ps.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- pd.Type = typeVar
+ ps.Type = typeVar
}
}
}
@@ -105992,81 +133264,53 @@ func (pd *ParquetDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// ParquetDatasetTypeProperties parquet dataset properties.
-type ParquetDatasetTypeProperties struct {
- // Location - The location of the parquet storage.
- Location *DatasetLocation `json:"location,omitempty"`
- CompressionCodec interface{} `json:"compressionCodec,omitempty"`
-}
-
-// ParquetFormat the data stored in Parquet format.
-type ParquetFormat struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Serializer - Serializer. Type: string (or Expression with resultType string).
- Serializer interface{} `json:"serializer,omitempty"`
- // Deserializer - Deserializer. Type: string (or Expression with resultType string).
- Deserializer interface{} `json:"deserializer,omitempty"`
- // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
- Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
+// Pipeline a data factory pipeline.
+type Pipeline struct {
+ // Description - The description of the pipeline.
+ Description *string `json:"description,omitempty"`
+ // Activities - List of activities in pipeline.
+ Activities *[]BasicActivity `json:"activities,omitempty"`
+ // Parameters - List of parameters for pipeline.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Variables - List of variables for pipeline.
+ Variables map[string]*VariableSpecification `json:"variables"`
+ // Concurrency - The max number of concurrent runs for the pipeline.
+ Concurrency *int32 `json:"concurrency,omitempty"`
+ // Annotations - List of tags that can be used for describing the Pipeline.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.
+ Folder *PipelineFolder `json:"folder,omitempty"`
}
-// MarshalJSON is the custom marshaler for ParquetFormat.
-func (pf ParquetFormat) MarshalJSON() ([]byte, error) {
- pf.Type = TypeParquetFormat
+// MarshalJSON is the custom marshaler for Pipeline.
+func (p Pipeline) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if pf.Serializer != nil {
- objectMap["serializer"] = pf.Serializer
+ if p.Description != nil {
+ objectMap["description"] = p.Description
}
- if pf.Deserializer != nil {
- objectMap["deserializer"] = pf.Deserializer
+ if p.Activities != nil {
+ objectMap["activities"] = p.Activities
}
- if pf.Type != "" {
- objectMap["type"] = pf.Type
+ if p.Parameters != nil {
+ objectMap["parameters"] = p.Parameters
}
- for k, v := range pf.AdditionalProperties {
- objectMap[k] = v
+ if p.Variables != nil {
+ objectMap["variables"] = p.Variables
+ }
+ if p.Concurrency != nil {
+ objectMap["concurrency"] = p.Concurrency
+ }
+ if p.Annotations != nil {
+ objectMap["annotations"] = p.Annotations
+ }
+ if p.Folder != nil {
+ objectMap["folder"] = p.Folder
}
return json.Marshal(objectMap)
}
-// AsParquetFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
-func (pf ParquetFormat) AsParquetFormat() (*ParquetFormat, bool) {
- return &pf, true
-}
-
-// AsOrcFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
-func (pf ParquetFormat) AsOrcFormat() (*OrcFormat, bool) {
- return nil, false
-}
-
-// AsAvroFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
-func (pf ParquetFormat) AsAvroFormat() (*AvroFormat, bool) {
- return nil, false
-}
-
-// AsJSONFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
-func (pf ParquetFormat) AsJSONFormat() (*JSONFormat, bool) {
- return nil, false
-}
-
-// AsTextFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
-func (pf ParquetFormat) AsTextFormat() (*TextFormat, bool) {
- return nil, false
-}
-
-// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
-func (pf ParquetFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
- return nil, false
-}
-
-// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
-func (pf ParquetFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
- return &pf, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for ParquetFormat struct.
-func (pf *ParquetFormat) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for Pipeline struct.
+func (p *Pipeline) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -106074,44 +133318,67 @@ func (pf *ParquetFormat) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- default:
+ case "description":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- if pf.AdditionalProperties == nil {
- pf.AdditionalProperties = make(map[string]interface{})
+ p.Description = &description
+ }
+ case "activities":
+ if v != nil {
+ activities, err := unmarshalBasicActivityArray(*v)
+ if err != nil {
+ return err
}
- pf.AdditionalProperties[k] = additionalProperties
+ p.Activities = &activities
}
- case "serializer":
+ case "parameters":
if v != nil {
- var serializer interface{}
- err = json.Unmarshal(*v, &serializer)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- pf.Serializer = serializer
+ p.Parameters = parameters
}
- case "deserializer":
+ case "variables":
if v != nil {
- var deserializer interface{}
- err = json.Unmarshal(*v, &deserializer)
+ var variables map[string]*VariableSpecification
+ err = json.Unmarshal(*v, &variables)
if err != nil {
return err
}
- pf.Deserializer = deserializer
+ p.Variables = variables
}
- case "type":
+ case "concurrency":
if v != nil {
- var typeVar TypeBasicDatasetStorageFormat
- err = json.Unmarshal(*v, &typeVar)
+ var concurrency int32
+ err = json.Unmarshal(*v, &concurrency)
if err != nil {
return err
}
- pf.Type = typeVar
+ p.Concurrency = &concurrency
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ p.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder PipelineFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ p.Folder = &folder
}
}
}
@@ -106119,174 +133386,312 @@ func (pf *ParquetFormat) UnmarshalJSON(body []byte) error {
return nil
}
-// ParquetSink a copy activity Parquet sink.
-type ParquetSink struct {
- // StoreSettings - Parquet store settings.
- StoreSettings *ConnectorWriteSetting `json:"storeSettings,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
- WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
- // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
- // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
- SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
- // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
- Type TypeBasicCopySink `json:"type,omitempty"`
+// PipelineFolder the folder that this Pipeline is in. If not specified, Pipeline will appear at the root
+// level.
+type PipelineFolder struct {
+ // Name - The name of the folder that this Pipeline is in.
+ Name *string `json:"name,omitempty"`
}
-// MarshalJSON is the custom marshaler for ParquetSink.
-func (ps ParquetSink) MarshalJSON() ([]byte, error) {
- ps.Type = TypeParquetSink
- objectMap := make(map[string]interface{})
- if ps.StoreSettings != nil {
- objectMap["storeSettings"] = ps.StoreSettings
- }
- if ps.WriteBatchSize != nil {
- objectMap["writeBatchSize"] = ps.WriteBatchSize
- }
- if ps.WriteBatchTimeout != nil {
- objectMap["writeBatchTimeout"] = ps.WriteBatchTimeout
- }
- if ps.SinkRetryCount != nil {
- objectMap["sinkRetryCount"] = ps.SinkRetryCount
- }
- if ps.SinkRetryWait != nil {
- objectMap["sinkRetryWait"] = ps.SinkRetryWait
- }
- if ps.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections
- }
- if ps.Type != "" {
- objectMap["type"] = ps.Type
- }
- for k, v := range ps.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// PipelineListResponse a list of pipeline resources.
+type PipelineListResponse struct {
+ autorest.Response `json:"-"`
+ // Value - List of pipelines.
+ Value *[]PipelineResource `json:"value,omitempty"`
+ // NextLink - The link to the next page of results, if any remaining results exist.
+ NextLink *string `json:"nextLink,omitempty"`
}
-// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
- return nil, false
+// PipelineListResponseIterator provides access to a complete listing of PipelineResource values.
+type PipelineListResponseIterator struct {
+ i int
+ page PipelineListResponsePage
}
-// AsSalesforceSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsSalesforceSink() (*SalesforceSink, bool) {
- return nil, false
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *PipelineListResponseIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/PipelineListResponseIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
}
-// AsAzureDataExplorerSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
- return nil, false
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *PipelineListResponseIterator) Next() error {
+ return iter.NextWithContext(context.Background())
}
-// AsDynamicsSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsDynamicsSink() (*DynamicsSink, bool) {
- return nil, false
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter PipelineListResponseIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
}
-// AsOdbcSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsOdbcSink() (*OdbcSink, bool) {
- return nil, false
+// Response returns the raw server response from the last page request.
+func (iter PipelineListResponseIterator) Response() PipelineListResponse {
+ return iter.page.Response()
}
-// AsAzureSearchIndexSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
- return nil, false
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter PipelineListResponseIterator) Value() PipelineResource {
+ if !iter.page.NotDone() {
+ return PipelineResource{}
+ }
+ return iter.page.Values()[iter.i]
}
-// AsAzureBlobFSSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
- return nil, false
+// Creates a new instance of the PipelineListResponseIterator type.
+func NewPipelineListResponseIterator(page PipelineListResponsePage) PipelineListResponseIterator {
+ return PipelineListResponseIterator{page: page}
}
-// AsAzureDataLakeStoreSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
- return nil, false
+// IsEmpty returns true if the ListResult contains no values.
+func (plr PipelineListResponse) IsEmpty() bool {
+ return plr.Value == nil || len(*plr.Value) == 0
}
-// AsOracleSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsOracleSink() (*OracleSink, bool) {
- return nil, false
+// 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 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(plr.NextLink)))
}
-// AsSQLDWSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsSQLDWSink() (*SQLDWSink, bool) {
- return nil, false
+// PipelineListResponsePage contains a page of PipelineResource values.
+type PipelineListResponsePage struct {
+ fn func(context.Context, PipelineListResponse) (PipelineListResponse, error)
+ plr PipelineListResponse
}
-// AsAzureSQLSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
- return nil, false
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *PipelineListResponsePage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/PipelineListResponsePage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.plr)
+ if err != nil {
+ return err
+ }
+ page.plr = next
+ return nil
}
-// AsSQLServerSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsSQLServerSink() (*SQLServerSink, bool) {
- return nil, false
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *PipelineListResponsePage) Next() error {
+ return page.NextWithContext(context.Background())
}
-// AsSQLSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsSQLSink() (*SQLSink, bool) {
- return nil, false
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page PipelineListResponsePage) NotDone() bool {
+ return !page.plr.IsEmpty()
}
-// AsDocumentDbCollectionSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
- return nil, false
+// Response returns the raw server response from the last page request.
+func (page PipelineListResponsePage) Response() PipelineListResponse {
+ return page.plr
}
-// AsFileSystemSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsFileSystemSink() (*FileSystemSink, bool) {
- return nil, false
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page PipelineListResponsePage) Values() []PipelineResource {
+ if page.plr.IsEmpty() {
+ return nil
+ }
+ return *page.plr.Value
}
-// AsBlobSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsBlobSink() (*BlobSink, bool) {
- return nil, false
+// Creates a new instance of the PipelineListResponsePage type.
+func NewPipelineListResponsePage(getNextPage func(context.Context, PipelineListResponse) (PipelineListResponse, error)) PipelineListResponsePage {
+ return PipelineListResponsePage{fn: getNextPage}
}
-// AsParquetSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsParquetSink() (*ParquetSink, bool) {
- return &ps, true
+// PipelineReference pipeline reference type.
+type PipelineReference struct {
+ // Type - Pipeline reference type.
+ Type *string `json:"type,omitempty"`
+ // ReferenceName - Reference pipeline name.
+ ReferenceName *string `json:"referenceName,omitempty"`
+ // Name - Reference name.
+ Name *string `json:"name,omitempty"`
}
-// AsAzureTableSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsAzureTableSink() (*AzureTableSink, bool) {
- return nil, false
+// PipelineResource pipeline resource type.
+type PipelineResource struct {
+ autorest.Response `json:"-"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Pipeline - Properties of the pipeline.
+ *Pipeline `json:"properties,omitempty"`
+ // ID - READ-ONLY; The resource identifier.
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; The resource name.
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; The resource type.
+ Type *string `json:"type,omitempty"`
+ // Etag - READ-ONLY; Etag identifies change in the resource.
+ Etag *string `json:"etag,omitempty"`
}
-// AsAzureQueueSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for PipelineResource.
+func (pr PipelineResource) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if pr.Pipeline != nil {
+ objectMap["properties"] = pr.Pipeline
+ }
+ for k, v := range pr.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// AsSapCloudForCustomerSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
- return nil, false
-}
+// UnmarshalJSON is the custom unmarshaler for PipelineResource struct.
+func (pr *PipelineResource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if pr.AdditionalProperties == nil {
+ pr.AdditionalProperties = make(map[string]interface{})
+ }
+ pr.AdditionalProperties[k] = additionalProperties
+ }
+ case "properties":
+ if v != nil {
+ var pipeline Pipeline
+ err = json.Unmarshal(*v, &pipeline)
+ if err != nil {
+ return err
+ }
+ pr.Pipeline = &pipeline
+ }
+ case "id":
+ if v != nil {
+ var ID string
+ err = json.Unmarshal(*v, &ID)
+ if err != nil {
+ return err
+ }
+ pr.ID = &ID
+ }
+ case "name":
+ if v != nil {
+ var name string
+ err = json.Unmarshal(*v, &name)
+ if err != nil {
+ return err
+ }
+ pr.Name = &name
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ pr.Type = &typeVar
+ }
+ case "etag":
+ if v != nil {
+ var etag string
+ err = json.Unmarshal(*v, &etag)
+ if err != nil {
+ return err
+ }
+ pr.Etag = &etag
+ }
+ }
+ }
-// AsDelimitedTextSink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
- return nil, false
+ return nil
}
-// AsCopySink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsCopySink() (*CopySink, bool) {
- return nil, false
+// PipelineRun information about a pipeline run.
+type PipelineRun struct {
+ autorest.Response `json:"-"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // RunID - READ-ONLY; Identifier of a run.
+ RunID *string `json:"runId,omitempty"`
+ // RunGroupID - READ-ONLY; Identifier that correlates all the recovery runs of a pipeline run.
+ RunGroupID *string `json:"runGroupId,omitempty"`
+ // IsLatest - READ-ONLY; Indicates if the recovered pipeline run is the latest in its group.
+ IsLatest *bool `json:"isLatest,omitempty"`
+ // PipelineName - READ-ONLY; The pipeline name.
+ PipelineName *string `json:"pipelineName,omitempty"`
+ // Parameters - READ-ONLY; The full or partial list of parameter name, value pair used in the pipeline run.
+ Parameters map[string]*string `json:"parameters"`
+ // InvokedBy - READ-ONLY; Entity that started the pipeline run.
+ InvokedBy *PipelineRunInvokedBy `json:"invokedBy,omitempty"`
+ // LastUpdated - READ-ONLY; The last updated timestamp for the pipeline run event in ISO8601 format.
+ LastUpdated *date.Time `json:"lastUpdated,omitempty"`
+ // RunStart - READ-ONLY; The start time of a pipeline run in ISO8601 format.
+ RunStart *date.Time `json:"runStart,omitempty"`
+ // RunEnd - READ-ONLY; The end time of a pipeline run in ISO8601 format.
+ RunEnd *date.Time `json:"runEnd,omitempty"`
+ // DurationInMs - READ-ONLY; The duration of a pipeline run.
+ DurationInMs *int32 `json:"durationInMs,omitempty"`
+ // Status - READ-ONLY; The status of a pipeline run.
+ Status *string `json:"status,omitempty"`
+ // Message - READ-ONLY; The message from a pipeline run.
+ Message *string `json:"message,omitempty"`
}
-// AsBasicCopySink is the BasicCopySink implementation for ParquetSink.
-func (ps ParquetSink) AsBasicCopySink() (BasicCopySink, bool) {
- return &ps, true
+// MarshalJSON is the custom marshaler for PipelineRun.
+func (pr PipelineRun) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ for k, v := range pr.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for ParquetSink struct.
-func (ps *ParquetSink) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PipelineRun struct.
+func (pr *PipelineRun) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -106294,80 +133699,125 @@ func (ps *ParquetSink) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "storeSettings":
+ default:
if v != nil {
- var storeSettings ConnectorWriteSetting
- err = json.Unmarshal(*v, &storeSettings)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- ps.StoreSettings = &storeSettings
+ if pr.AdditionalProperties == nil {
+ pr.AdditionalProperties = make(map[string]interface{})
+ }
+ pr.AdditionalProperties[k] = additionalProperties
}
- default:
+ case "runId":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var runID string
+ err = json.Unmarshal(*v, &runID)
if err != nil {
return err
}
- if ps.AdditionalProperties == nil {
- ps.AdditionalProperties = make(map[string]interface{})
+ pr.RunID = &runID
+ }
+ case "runGroupId":
+ if v != nil {
+ var runGroupID string
+ err = json.Unmarshal(*v, &runGroupID)
+ if err != nil {
+ return err
}
- ps.AdditionalProperties[k] = additionalProperties
+ pr.RunGroupID = &runGroupID
}
- case "writeBatchSize":
+ case "isLatest":
if v != nil {
- var writeBatchSize interface{}
- err = json.Unmarshal(*v, &writeBatchSize)
+ var isLatest bool
+ err = json.Unmarshal(*v, &isLatest)
if err != nil {
return err
}
- ps.WriteBatchSize = writeBatchSize
+ pr.IsLatest = &isLatest
}
- case "writeBatchTimeout":
+ case "pipelineName":
if v != nil {
- var writeBatchTimeout interface{}
- err = json.Unmarshal(*v, &writeBatchTimeout)
+ var pipelineName string
+ err = json.Unmarshal(*v, &pipelineName)
if err != nil {
return err
}
- ps.WriteBatchTimeout = writeBatchTimeout
+ pr.PipelineName = &pipelineName
}
- case "sinkRetryCount":
+ case "parameters":
if v != nil {
- var sinkRetryCount interface{}
- err = json.Unmarshal(*v, &sinkRetryCount)
+ var parameters map[string]*string
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- ps.SinkRetryCount = sinkRetryCount
+ pr.Parameters = parameters
}
- case "sinkRetryWait":
+ case "invokedBy":
if v != nil {
- var sinkRetryWait interface{}
- err = json.Unmarshal(*v, &sinkRetryWait)
+ var invokedBy PipelineRunInvokedBy
+ err = json.Unmarshal(*v, &invokedBy)
if err != nil {
return err
}
- ps.SinkRetryWait = sinkRetryWait
+ pr.InvokedBy = &invokedBy
}
- case "maxConcurrentConnections":
+ case "lastUpdated":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var lastUpdated date.Time
+ err = json.Unmarshal(*v, &lastUpdated)
if err != nil {
return err
}
- ps.MaxConcurrentConnections = maxConcurrentConnections
+ pr.LastUpdated = &lastUpdated
}
- case "type":
+ case "runStart":
if v != nil {
- var typeVar TypeBasicCopySink
- err = json.Unmarshal(*v, &typeVar)
+ var runStart date.Time
+ err = json.Unmarshal(*v, &runStart)
if err != nil {
return err
}
- ps.Type = typeVar
+ pr.RunStart = &runStart
+ }
+ case "runEnd":
+ if v != nil {
+ var runEnd date.Time
+ err = json.Unmarshal(*v, &runEnd)
+ if err != nil {
+ return err
+ }
+ pr.RunEnd = &runEnd
+ }
+ case "durationInMs":
+ if v != nil {
+ var durationInMs int32
+ err = json.Unmarshal(*v, &durationInMs)
+ if err != nil {
+ return err
+ }
+ pr.DurationInMs = &durationInMs
+ }
+ case "status":
+ if v != nil {
+ var status string
+ err = json.Unmarshal(*v, &status)
+ if err != nil {
+ return err
+ }
+ pr.Status = &status
+ }
+ case "message":
+ if v != nil {
+ var message string
+ err = json.Unmarshal(*v, &message)
+ if err != nil {
+ return err
+ }
+ pr.Message = &message
}
}
}
@@ -106375,40 +133825,53 @@ func (ps *ParquetSink) UnmarshalJSON(body []byte) error {
return nil
}
-// ParquetSource a copy activity Parquet source.
-type ParquetSource struct {
- // StoreSettings - Parquet store settings.
- StoreSettings *ConnectorReadSetting `json:"storeSettings,omitempty"`
+// PipelineRunInvokedBy provides entity name and id that started the pipeline run.
+type PipelineRunInvokedBy struct {
+ // Name - READ-ONLY; Name of the entity that started the pipeline run.
+ Name *string `json:"name,omitempty"`
+ // ID - READ-ONLY; The ID of the entity that started the run.
+ ID *string `json:"id,omitempty"`
+ // InvokedByType - READ-ONLY; The type of the entity that started the run.
+ InvokedByType *string `json:"invokedByType,omitempty"`
+}
+
+// PipelineRunsQueryResponse a list pipeline runs.
+type PipelineRunsQueryResponse struct {
+ autorest.Response `json:"-"`
+ // Value - List of pipeline runs.
+ Value *[]PipelineRun `json:"value,omitempty"`
+ // ContinuationToken - The continuation token for getting the next page of results, if any remaining results exist, null otherwise.
+ ContinuationToken *string `json:"continuationToken,omitempty"`
+}
+
+// PolybaseSettings polyBase settings.
+type PolybaseSettings struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // RejectType - Reject type. Possible values include: 'Value', 'Percentage'
+ RejectType PolybaseSettingsRejectType `json:"rejectType,omitempty"`
+ // RejectValue - Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0.
+ RejectValue interface{} `json:"rejectValue,omitempty"`
+ // RejectSampleValue - Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0.
+ RejectSampleValue interface{} `json:"rejectSampleValue,omitempty"`
+ // UseTypeDefault - Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean).
+ UseTypeDefault interface{} `json:"useTypeDefault,omitempty"`
}
-// MarshalJSON is the custom marshaler for ParquetSource.
-func (ps ParquetSource) MarshalJSON() ([]byte, error) {
- ps.Type = TypeParquetSource
+// MarshalJSON is the custom marshaler for PolybaseSettings.
+func (ps PolybaseSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if ps.StoreSettings != nil {
- objectMap["storeSettings"] = ps.StoreSettings
- }
- if ps.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ps.SourceRetryCount
+ if ps.RejectType != "" {
+ objectMap["rejectType"] = ps.RejectType
}
- if ps.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ps.SourceRetryWait
+ if ps.RejectValue != nil {
+ objectMap["rejectValue"] = ps.RejectValue
}
- if ps.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections
+ if ps.RejectSampleValue != nil {
+ objectMap["rejectSampleValue"] = ps.RejectSampleValue
}
- if ps.Type != "" {
- objectMap["type"] = ps.Type
+ if ps.UseTypeDefault != nil {
+ objectMap["useTypeDefault"] = ps.UseTypeDefault
}
for k, v := range ps.AdditionalProperties {
objectMap[k] = v
@@ -106416,353 +133879,8 @@ func (ps ParquetSource) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
- return nil, false
-}
-
-// AsDynamicsAXSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
- return nil, false
-}
-
-// AsResponsysSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsResponsysSource() (*ResponsysSource, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
- return nil, false
-}
-
-// AsVerticaSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsVerticaSource() (*VerticaSource, bool) {
- return nil, false
-}
-
-// AsNetezzaSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsNetezzaSource() (*NetezzaSource, bool) {
- return nil, false
-}
-
-// AsZohoSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsZohoSource() (*ZohoSource, bool) {
- return nil, false
-}
-
-// AsXeroSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsXeroSource() (*XeroSource, bool) {
- return nil, false
-}
-
-// AsSquareSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSquareSource() (*SquareSource, bool) {
- return nil, false
-}
-
-// AsSparkSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSparkSource() (*SparkSource, bool) {
- return nil, false
-}
-
-// AsShopifySource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsShopifySource() (*ShopifySource, bool) {
- return nil, false
-}
-
-// AsServiceNowSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsServiceNowSource() (*ServiceNowSource, bool) {
- return nil, false
-}
-
-// AsQuickBooksSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
- return nil, false
-}
-
-// AsPrestoSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsPrestoSource() (*PrestoSource, bool) {
- return nil, false
-}
-
-// AsPhoenixSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsPhoenixSource() (*PhoenixSource, bool) {
- return nil, false
-}
-
-// AsPaypalSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsPaypalSource() (*PaypalSource, bool) {
- return nil, false
-}
-
-// AsMarketoSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsMarketoSource() (*MarketoSource, bool) {
- return nil, false
-}
-
-// AsMariaDBSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsMariaDBSource() (*MariaDBSource, bool) {
- return nil, false
-}
-
-// AsMagentoSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsMagentoSource() (*MagentoSource, bool) {
- return nil, false
-}
-
-// AsJiraSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsJiraSource() (*JiraSource, bool) {
- return nil, false
-}
-
-// AsImpalaSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsImpalaSource() (*ImpalaSource, bool) {
- return nil, false
-}
-
-// AsHubspotSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsHubspotSource() (*HubspotSource, bool) {
- return nil, false
-}
-
-// AsHiveSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsHiveSource() (*HiveSource, bool) {
- return nil, false
-}
-
-// AsHBaseSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsHBaseSource() (*HBaseSource, bool) {
- return nil, false
-}
-
-// AsGreenplumSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsGreenplumSource() (*GreenplumSource, bool) {
- return nil, false
-}
-
-// AsGoogleBigQuerySource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
- return nil, false
-}
-
-// AsEloquaSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsEloquaSource() (*EloquaSource, bool) {
- return nil, false
-}
-
-// AsDrillSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsDrillSource() (*DrillSource, bool) {
- return nil, false
-}
-
-// AsCouchbaseSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
- return nil, false
-}
-
-// AsConcurSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsConcurSource() (*ConcurSource, bool) {
- return nil, false
-}
-
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
- return nil, false
-}
-
-// AsAmazonMWSSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
- return nil, false
-}
-
-// AsHTTPSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsHTTPSource() (*HTTPSource, bool) {
- return nil, false
-}
-
-// AsAzureBlobFSSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
- return nil, false
-}
-
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
- return nil, false
-}
-
-// AsOffice365Source is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsOffice365Source() (*Office365Source, bool) {
- return nil, false
-}
-
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
- return nil, false
-}
-
-// AsMongoDbV2Source is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
- return nil, false
-}
-
-// AsMongoDbSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsMongoDbSource() (*MongoDbSource, bool) {
- return nil, false
-}
-
-// AsCassandraSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsCassandraSource() (*CassandraSource, bool) {
- return nil, false
-}
-
-// AsWebSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsWebSource() (*WebSource, bool) {
- return nil, false
-}
-
-// AsTeradataSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsTeradataSource() (*TeradataSource, bool) {
- return nil, false
-}
-
-// AsOracleSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsOracleSource() (*OracleSource, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
- return nil, false
-}
-
-// AsAzureMySQLSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
- return nil, false
-}
-
-// AsHdfsSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsHdfsSource() (*HdfsSource, bool) {
- return nil, false
-}
-
-// AsFileSystemSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsFileSystemSource() (*FileSystemSource, bool) {
- return nil, false
-}
-
-// AsSQLDWSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSQLDWSource() (*SQLDWSource, bool) {
- return nil, false
-}
-
-// AsAzureSQLSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
- return nil, false
-}
-
-// AsSQLServerSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSQLServerSource() (*SQLServerSource, bool) {
- return nil, false
-}
-
-// AsSQLSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSQLSource() (*SQLSource, bool) {
- return nil, false
-}
-
-// AsRestSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsRestSource() (*RestSource, bool) {
- return nil, false
-}
-
-// AsSapTableSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSapTableSource() (*SapTableSource, bool) {
- return nil, false
-}
-
-// AsSapOpenHubSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
- return nil, false
-}
-
-// AsSapHanaSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSapHanaSource() (*SapHanaSource, bool) {
- return nil, false
-}
-
-// AsSapEccSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSapEccSource() (*SapEccSource, bool) {
- return nil, false
-}
-
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
- return nil, false
-}
-
-// AsSalesforceSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsSalesforceSource() (*SalesforceSource, bool) {
- return nil, false
-}
-
-// AsRelationalSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsRelationalSource() (*RelationalSource, bool) {
- return nil, false
-}
-
-// AsDynamicsSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsDynamicsSource() (*DynamicsSource, bool) {
- return nil, false
-}
-
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
- return nil, false
-}
-
-// AsBlobSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsBlobSource() (*BlobSource, bool) {
- return nil, false
-}
-
-// AsAzureTableSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsAzureTableSource() (*AzureTableSource, bool) {
- return nil, false
-}
-
-// AsDelimitedTextSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
- return nil, false
-}
-
-// AsParquetSource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsParquetSource() (*ParquetSource, bool) {
- return &ps, true
-}
-
-// AsCopySource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsCopySource() (*CopySource, bool) {
- return nil, false
-}
-
-// AsBasicCopySource is the BasicCopySource implementation for ParquetSource.
-func (ps ParquetSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ps, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for ParquetSource struct.
-func (ps *ParquetSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PolybaseSettings struct.
+func (ps *PolybaseSettings) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -106770,15 +133888,6 @@ func (ps *ParquetSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "storeSettings":
- if v != nil {
- var storeSettings ConnectorReadSetting
- err = json.Unmarshal(*v, &storeSettings)
- if err != nil {
- return err
- }
- ps.StoreSettings = &storeSettings
- }
default:
if v != nil {
var additionalProperties interface{}
@@ -106791,41 +133900,41 @@ func (ps *ParquetSource) UnmarshalJSON(body []byte) error {
}
ps.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "rejectType":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var rejectType PolybaseSettingsRejectType
+ err = json.Unmarshal(*v, &rejectType)
if err != nil {
return err
}
- ps.SourceRetryCount = sourceRetryCount
+ ps.RejectType = rejectType
}
- case "sourceRetryWait":
+ case "rejectValue":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var rejectValue interface{}
+ err = json.Unmarshal(*v, &rejectValue)
if err != nil {
return err
}
- ps.SourceRetryWait = sourceRetryWait
+ ps.RejectValue = rejectValue
}
- case "maxConcurrentConnections":
+ case "rejectSampleValue":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var rejectSampleValue interface{}
+ err = json.Unmarshal(*v, &rejectSampleValue)
if err != nil {
return err
}
- ps.MaxConcurrentConnections = maxConcurrentConnections
+ ps.RejectSampleValue = rejectSampleValue
}
- case "type":
+ case "useTypeDefault":
if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
+ var useTypeDefault interface{}
+ err = json.Unmarshal(*v, &useTypeDefault)
if err != nil {
return err
}
- ps.Type = typeVar
+ ps.UseTypeDefault = useTypeDefault
}
}
}
@@ -106833,10 +133942,10 @@ func (ps *ParquetSource) UnmarshalJSON(body []byte) error {
return nil
}
-// PaypalLinkedService paypal Service linked service.
-type PaypalLinkedService struct {
- // PaypalLinkedServiceTypeProperties - Paypal Service linked service properties.
- *PaypalLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// PostgreSQLLinkedService linked service for PostgreSQL data source.
+type PostgreSQLLinkedService struct {
+ // PostgreSQLLinkedServiceTypeProperties - PostgreSQL linked service properties.
+ *PostgreSQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -106847,470 +133956,500 @@ type PaypalLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PaypalLinkedService.
-func (pls PaypalLinkedService) MarshalJSON() ([]byte, error) {
- pls.Type = TypePaypal
+// MarshalJSON is the custom marshaler for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) MarshalJSON() ([]byte, error) {
+ psls.Type = TypePostgreSQL
objectMap := make(map[string]interface{})
- if pls.PaypalLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = pls.PaypalLinkedServiceTypeProperties
+ if psls.PostgreSQLLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = psls.PostgreSQLLinkedServiceTypeProperties
}
- if pls.ConnectVia != nil {
- objectMap["connectVia"] = pls.ConnectVia
+ if psls.ConnectVia != nil {
+ objectMap["connectVia"] = psls.ConnectVia
}
- if pls.Description != nil {
- objectMap["description"] = pls.Description
+ if psls.Description != nil {
+ objectMap["description"] = psls.Description
}
- if pls.Parameters != nil {
- objectMap["parameters"] = pls.Parameters
+ if psls.Parameters != nil {
+ objectMap["parameters"] = psls.Parameters
}
- if pls.Annotations != nil {
- objectMap["annotations"] = pls.Annotations
+ if psls.Annotations != nil {
+ objectMap["annotations"] = psls.Annotations
}
- if pls.Type != "" {
- objectMap["type"] = pls.Type
+ if psls.Type != "" {
+ objectMap["type"] = psls.Type
}
- for k, v := range pls.AdditionalProperties {
+ for k, v := range psls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
- return &pls, true
+// AsPaypalLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return &psls, true
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
-func (pls PaypalLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &pls, true
+// AsBasicLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
+func (psls PostgreSQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &psls, true
}
-// UnmarshalJSON is the custom unmarshaler for PaypalLinkedService struct.
-func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedService struct.
+func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -107320,12 +134459,12 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var paypalLinkedServiceTypeProperties PaypalLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &paypalLinkedServiceTypeProperties)
+ var postgreSQLLinkedServiceTypeProperties PostgreSQLLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &postgreSQLLinkedServiceTypeProperties)
if err != nil {
return err
}
- pls.PaypalLinkedServiceTypeProperties = &paypalLinkedServiceTypeProperties
+ psls.PostgreSQLLinkedServiceTypeProperties = &postgreSQLLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -107334,10 +134473,10 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if pls.AdditionalProperties == nil {
- pls.AdditionalProperties = make(map[string]interface{})
+ if psls.AdditionalProperties == nil {
+ psls.AdditionalProperties = make(map[string]interface{})
}
- pls.AdditionalProperties[k] = additionalProperties
+ psls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -107346,7 +134485,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- pls.ConnectVia = &connectVia
+ psls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -107355,7 +134494,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- pls.Description = &description
+ psls.Description = &description
}
case "parameters":
if v != nil {
@@ -107364,7 +134503,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- pls.Parameters = parameters
+ psls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -107373,7 +134512,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- pls.Annotations = &annotations
+ psls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -107382,7 +134521,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- pls.Type = typeVar
+ psls.Type = typeVar
}
}
}
@@ -107390,26 +134529,18 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// PaypalLinkedServiceTypeProperties paypal Service linked service properties.
-type PaypalLinkedServiceTypeProperties struct {
- // Host - The URLÂ of the PayPal instance. (i.e. api.sandbox.paypal.com)
- Host interface{} `json:"host,omitempty"`
- // ClientID - The client ID associated with your PayPal application.
- ClientID interface{} `json:"clientId,omitempty"`
- // ClientSecret - The client secret associated with your PayPal application.
- ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
- UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.
- UseHostVerification interface{} `json:"useHostVerification,omitempty"`
- // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
- UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+// PostgreSQLLinkedServiceTypeProperties postgreSQL linked service properties.
+type PostgreSQLLinkedServiceTypeProperties struct {
+ // ConnectionString - The connection string.
+ ConnectionString BasicSecretBase `json:"connectionString,omitempty"`
+ // Password - The Azure key vault secret reference of password in connection string.
+ Password *AzureKeyVaultSecretReference `json:"password,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for PaypalLinkedServiceTypeProperties struct.
-func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedServiceTypeProperties struct.
+func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -107417,58 +134548,22 @@ func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
}
for k, v := range m {
switch k {
- case "host":
- if v != nil {
- var host interface{}
- err = json.Unmarshal(*v, &host)
- if err != nil {
- return err
- }
- plstp.Host = host
- }
- case "clientId":
- if v != nil {
- var clientID interface{}
- err = json.Unmarshal(*v, &clientID)
- if err != nil {
- return err
- }
- plstp.ClientID = clientID
- }
- case "clientSecret":
- if v != nil {
- clientSecret, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- plstp.ClientSecret = clientSecret
- }
- case "useEncryptedEndpoints":
- if v != nil {
- var useEncryptedEndpoints interface{}
- err = json.Unmarshal(*v, &useEncryptedEndpoints)
- if err != nil {
- return err
- }
- plstp.UseEncryptedEndpoints = useEncryptedEndpoints
- }
- case "useHostVerification":
+ case "connectionString":
if v != nil {
- var useHostVerification interface{}
- err = json.Unmarshal(*v, &useHostVerification)
+ connectionString, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- plstp.UseHostVerification = useHostVerification
+ pslstp.ConnectionString = connectionString
}
- case "usePeerVerification":
+ case "password":
if v != nil {
- var usePeerVerification interface{}
- err = json.Unmarshal(*v, &usePeerVerification)
+ var password AzureKeyVaultSecretReference
+ err = json.Unmarshal(*v, &password)
if err != nil {
return err
}
- plstp.UsePeerVerification = usePeerVerification
+ pslstp.Password = &password
}
case "encryptedCredential":
if v != nil {
@@ -107477,7 +134572,7 @@ func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
if err != nil {
return err
}
- plstp.EncryptedCredential = encryptedCredential
+ pslstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -107485,419 +134580,459 @@ func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
return nil
}
-// PaypalObjectDataset paypal Service dataset.
-type PaypalObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// PostgreSQLSource a copy activity source for PostgreSQL databases.
+type PostgreSQLSource struct {
+ // Query - Database query. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PaypalObjectDataset.
-func (pod PaypalObjectDataset) MarshalJSON() ([]byte, error) {
- pod.Type = TypePaypalObject
+// MarshalJSON is the custom marshaler for PostgreSQLSource.
+func (pss PostgreSQLSource) MarshalJSON() ([]byte, error) {
+ pss.Type = TypePostgreSQLSource
objectMap := make(map[string]interface{})
- if pod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = pod.GenericDatasetTypeProperties
- }
- if pod.Description != nil {
- objectMap["description"] = pod.Description
- }
- if pod.Structure != nil {
- objectMap["structure"] = pod.Structure
- }
- if pod.Schema != nil {
- objectMap["schema"] = pod.Schema
+ if pss.Query != nil {
+ objectMap["query"] = pss.Query
}
- if pod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = pod.LinkedServiceName
- }
- if pod.Parameters != nil {
- objectMap["parameters"] = pod.Parameters
+ if pss.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = pss.SourceRetryCount
}
- if pod.Annotations != nil {
- objectMap["annotations"] = pod.Annotations
+ if pss.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = pss.SourceRetryWait
}
- if pod.Folder != nil {
- objectMap["folder"] = pod.Folder
+ if pss.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = pss.MaxConcurrentConnections
}
- if pod.Type != "" {
- objectMap["type"] = pod.Type
+ if pss.Type != "" {
+ objectMap["type"] = pss.Type
}
- for k, v := range pod.AdditionalProperties {
+ for k, v := range pss.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
- return &pod, true
+// AsPaypalSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsWebSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsTeradataSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsOracleSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsHdfsSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsSQLMISource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsSQLSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsRestSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSapTableSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsSapEccSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsODataSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsSybaseSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return &pss, true
+}
+
+// AsMySQLSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsOdbcSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsDb2Source is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsDataset() (*Dataset, bool) {
+// AsInformixSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for PaypalObjectDataset.
-func (pod PaypalObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &pod, true
+// AsRelationalSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for PaypalObjectDataset struct.
-func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for PostgreSQLSource.
+func (pss PostgreSQLSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &pss, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for PostgreSQLSource struct.
+func (pss *PostgreSQLSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -107905,14 +135040,14 @@ func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ case "query":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- pod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ pss.Query = query
}
default:
if v != nil {
@@ -107921,82 +135056,46 @@ func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if pod.AdditionalProperties == nil {
- pod.AdditionalProperties = make(map[string]interface{})
- }
- pod.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- pod.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
- }
- pod.Structure = structure
- }
- case "schema":
- if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
- if err != nil {
- return err
- }
- pod.Schema = schema
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
+ if pss.AdditionalProperties == nil {
+ pss.AdditionalProperties = make(map[string]interface{})
}
- pod.LinkedServiceName = &linkedServiceName
+ pss.AdditionalProperties[k] = additionalProperties
}
- case "parameters":
+ case "sourceRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- pod.Parameters = parameters
+ pss.SourceRetryCount = sourceRetryCount
}
- case "annotations":
+ case "sourceRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- pod.Annotations = &annotations
+ pss.SourceRetryWait = sourceRetryWait
}
- case "folder":
+ case "maxConcurrentConnections":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- pod.Folder = &folder
+ pss.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- pod.Type = typeVar
+ pss.Type = typeVar
}
}
}
@@ -108004,394 +135103,469 @@ func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// PaypalSource a copy activity Paypal Service source.
-type PaypalSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// PostgreSQLTableDataset the PostgreSQL table dataset.
+type PostgreSQLTableDataset struct {
+ // PostgreSQLTableDatasetTypeProperties - PostgreSQL table dataset properties.
+ *PostgreSQLTableDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PaypalSource.
-func (ps PaypalSource) MarshalJSON() ([]byte, error) {
- ps.Type = TypePaypalSource
+// MarshalJSON is the custom marshaler for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) MarshalJSON() ([]byte, error) {
+ pstd.Type = TypePostgreSQLTable
objectMap := make(map[string]interface{})
- if ps.Query != nil {
- objectMap["query"] = ps.Query
+ if pstd.PostgreSQLTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = pstd.PostgreSQLTableDatasetTypeProperties
}
- if ps.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ps.SourceRetryCount
+ if pstd.Description != nil {
+ objectMap["description"] = pstd.Description
}
- if ps.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ps.SourceRetryWait
+ if pstd.Structure != nil {
+ objectMap["structure"] = pstd.Structure
}
- if ps.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections
+ if pstd.Schema != nil {
+ objectMap["schema"] = pstd.Schema
}
- if ps.Type != "" {
- objectMap["type"] = ps.Type
+ if pstd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = pstd.LinkedServiceName
}
- for k, v := range ps.AdditionalProperties {
+ if pstd.Parameters != nil {
+ objectMap["parameters"] = pstd.Parameters
+ }
+ if pstd.Annotations != nil {
+ objectMap["annotations"] = pstd.Annotations
+ }
+ if pstd.Folder != nil {
+ objectMap["folder"] = pstd.Folder
+ }
+ if pstd.Type != "" {
+ objectMap["type"] = pstd.Type
+ }
+ for k, v := range pstd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsPaypalSource() (*PaypalSource, bool) {
- return &ps, true
+// AsPaypalObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsOffice365Source() (*Office365Source, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsWebSource() (*WebSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsOracleSource() (*OracleSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return &pstd, true
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSQLSource() (*SQLSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsRestSource() (*RestSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsBlobSource() (*BlobSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsParquetSource() (*ParquetSource, bool) {
+// AsCustomDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsCopySource() (*CopySource, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for PaypalSource.
-func (ps PaypalSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ps, true
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for PaypalSource struct.
-func (ps *PaypalSource) UnmarshalJSON(body []byte) error {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for PostgreSQLTableDataset.
+func (pstd PostgreSQLTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &pstd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for PostgreSQLTableDataset struct.
+func (pstd *PostgreSQLTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -108399,14 +135573,14 @@ func (ps *PaypalSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var postgreSQLTableDatasetTypeProperties PostgreSQLTableDatasetTypeProperties
+ err = json.Unmarshal(*v, &postgreSQLTableDatasetTypeProperties)
if err != nil {
return err
}
- ps.Query = query
+ pstd.PostgreSQLTableDatasetTypeProperties = &postgreSQLTableDatasetTypeProperties
}
default:
if v != nil {
@@ -108415,46 +135589,82 @@ func (ps *PaypalSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ps.AdditionalProperties == nil {
- ps.AdditionalProperties = make(map[string]interface{})
+ if pstd.AdditionalProperties == nil {
+ pstd.AdditionalProperties = make(map[string]interface{})
}
- ps.AdditionalProperties[k] = additionalProperties
+ pstd.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "description":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- ps.SourceRetryCount = sourceRetryCount
+ pstd.Description = &description
}
- case "sourceRetryWait":
+ case "structure":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- ps.SourceRetryWait = sourceRetryWait
+ pstd.Structure = structure
}
- case "maxConcurrentConnections":
+ case "schema":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- ps.MaxConcurrentConnections = maxConcurrentConnections
+ pstd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ pstd.LinkedServiceName = &linkedServiceName
+ }
+ case "parameters":
+ if v != nil {
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
+ if err != nil {
+ return err
+ }
+ pstd.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ pstd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ pstd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ps.Type = typeVar
+ pstd.Type = typeVar
}
}
}
@@ -108462,10 +135672,16 @@ func (ps *PaypalSource) UnmarshalJSON(body []byte) error {
return nil
}
-// PhoenixLinkedService phoenix server linked service.
-type PhoenixLinkedService struct {
- // PhoenixLinkedServiceTypeProperties - Phoenix server linked service properties.
- *PhoenixLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// PostgreSQLTableDatasetTypeProperties postgreSQL table dataset properties.
+type PostgreSQLTableDatasetTypeProperties struct {
+ // TableName - The PostgreSQL table name. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
+}
+
+// PrestoLinkedService presto server linked service.
+type PrestoLinkedService struct {
+ // PrestoLinkedServiceTypeProperties - Presto server linked service properties.
+ *PrestoLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -108476,16 +135692,16 @@ type PhoenixLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PhoenixLinkedService.
-func (pls PhoenixLinkedService) MarshalJSON() ([]byte, error) {
- pls.Type = TypePhoenix
+// MarshalJSON is the custom marshaler for PrestoLinkedService.
+func (pls PrestoLinkedService) MarshalJSON() ([]byte, error) {
+ pls.Type = TypePresto
objectMap := make(map[string]interface{})
- if pls.PhoenixLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = pls.PhoenixLinkedServiceTypeProperties
+ if pls.PrestoLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = pls.PrestoLinkedServiceTypeProperties
}
if pls.ConnectVia != nil {
objectMap["connectVia"] = pls.ConnectVia
@@ -108508,438 +135724,468 @@ func (pls PhoenixLinkedService) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+ return &pls, true
+}
+
+// AsPhoenixLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
- return &pls, true
+// AsPaypalLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+ return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
+// AsOdbcLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+ return nil, false
+}
+
+// AsTeradataLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
-func (pls PhoenixLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+// AsBasicLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
+func (pls PrestoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
return &pls, true
}
-// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedService struct.
-func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PrestoLinkedService struct.
+func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -108949,12 +136195,12 @@ func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var phoenixLinkedServiceTypeProperties PhoenixLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &phoenixLinkedServiceTypeProperties)
+ var prestoLinkedServiceTypeProperties PrestoLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &prestoLinkedServiceTypeProperties)
if err != nil {
return err
}
- pls.PhoenixLinkedServiceTypeProperties = &phoenixLinkedServiceTypeProperties
+ pls.PrestoLinkedServiceTypeProperties = &prestoLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -109019,17 +136265,19 @@ func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// PhoenixLinkedServiceTypeProperties phoenix server linked service properties.
-type PhoenixLinkedServiceTypeProperties struct {
- // Host - The IP address or host name of the Phoenix server. (i.e. 192.168.222.160)
+// PrestoLinkedServiceTypeProperties presto server linked service properties.
+type PrestoLinkedServiceTypeProperties struct {
+ // Host - The IP address or host name of the Presto server. (i.e. 192.168.222.160)
Host interface{} `json:"host,omitempty"`
- // Port - The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765.
+ // ServerVersion - The version of the Presto server. (i.e. 0.148-t)
+ ServerVersion interface{} `json:"serverVersion,omitempty"`
+ // Catalog - The catalog context for all request against the server.
+ Catalog interface{} `json:"catalog,omitempty"`
+ // Port - The TCP port that the Presto server uses to listen for client connections. The default value is 8080.
Port interface{} `json:"port,omitempty"`
- // HTTPPath - The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService.
- HTTPPath interface{} `json:"httpPath,omitempty"`
- // AuthenticationType - The authentication mechanism used to connect to the Phoenix server. Possible values include: 'PhoenixAuthenticationTypeAnonymous', 'PhoenixAuthenticationTypeUsernameAndPassword', 'PhoenixAuthenticationTypeWindowsAzureHDInsightService'
- AuthenticationType PhoenixAuthenticationType `json:"authenticationType,omitempty"`
- // Username - The user name used to connect to the Phoenix server.
+ // AuthenticationType - The authentication mechanism used to connect to the Presto server. Possible values include: 'PrestoAuthenticationTypeAnonymous', 'PrestoAuthenticationTypeLDAP'
+ AuthenticationType PrestoAuthenticationType `json:"authenticationType,omitempty"`
+ // Username - The user name used to connect to the Presto server.
Username interface{} `json:"username,omitempty"`
// Password - The password corresponding to the user name.
Password BasicSecretBase `json:"password,omitempty"`
@@ -109043,12 +136291,14 @@ type PhoenixLinkedServiceTypeProperties struct {
AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
// AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
+ // TimeZoneID - The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone.
+ TimeZoneID interface{} `json:"timeZoneID,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedServiceTypeProperties struct.
-func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PrestoLinkedServiceTypeProperties struct.
+func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -109065,27 +136315,36 @@ func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro
}
plstp.Host = host
}
- case "port":
+ case "serverVersion":
if v != nil {
- var port interface{}
- err = json.Unmarshal(*v, &port)
+ var serverVersion interface{}
+ err = json.Unmarshal(*v, &serverVersion)
if err != nil {
return err
}
- plstp.Port = port
+ plstp.ServerVersion = serverVersion
}
- case "httpPath":
+ case "catalog":
if v != nil {
- var HTTPPath interface{}
- err = json.Unmarshal(*v, &HTTPPath)
+ var catalog interface{}
+ err = json.Unmarshal(*v, &catalog)
if err != nil {
return err
}
- plstp.HTTPPath = HTTPPath
+ plstp.Catalog = catalog
+ }
+ case "port":
+ if v != nil {
+ var port interface{}
+ err = json.Unmarshal(*v, &port)
+ if err != nil {
+ return err
+ }
+ plstp.Port = port
}
case "authenticationType":
if v != nil {
- var authenticationType PhoenixAuthenticationType
+ var authenticationType PrestoAuthenticationType
err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
@@ -109154,6 +136413,15 @@ func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro
}
plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
}
+ case "timeZoneID":
+ if v != nil {
+ var timeZoneID interface{}
+ err = json.Unmarshal(*v, &timeZoneID)
+ if err != nil {
+ return err
+ }
+ plstp.TimeZoneID = timeZoneID
+ }
case "encryptedCredential":
if v != nil {
var encryptedCredential interface{}
@@ -109169,8 +136437,8 @@ func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro
return nil
}
-// PhoenixObjectDataset phoenix server dataset.
-type PhoenixObjectDataset struct {
+// PrestoObjectDataset presto server dataset.
+type PrestoObjectDataset struct {
// GenericDatasetTypeProperties - Properties specific to this dataset type.
*GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -109189,13 +136457,13 @@ type PhoenixObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) {
- pod.Type = TypePhoenixObject
+// MarshalJSON is the custom marshaler for PrestoObjectDataset.
+func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) {
+ pod.Type = TypePrestoObject
objectMap := make(map[string]interface{})
if pod.GenericDatasetTypeProperties != nil {
objectMap["typeProperties"] = pod.GenericDatasetTypeProperties
@@ -109230,358 +136498,408 @@ func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return &pod, true
+}
+
+// AsPhoenixObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
- return &pod, true
+// AsPaypalObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+ return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for PhoenixObjectDataset.
-func (pod PhoenixObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for PrestoObjectDataset.
+func (pod PrestoObjectDataset) AsBasicDataset() (BasicDataset, bool) {
return &pod, true
}
-// UnmarshalJSON is the custom unmarshaler for PhoenixObjectDataset struct.
-func (pod *PhoenixObjectDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PrestoObjectDataset struct.
+func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -109688,8 +137006,8 @@ func (pod *PhoenixObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// PhoenixSource a copy activity Phoenix server source.
-type PhoenixSource struct {
+// PrestoSource a copy activity Presto server source.
+type PrestoSource struct {
// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -109700,13 +137018,13 @@ type PhoenixSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PhoenixSource.
-func (ps PhoenixSource) MarshalJSON() ([]byte, error) {
- ps.Type = TypePhoenixSource
+// MarshalJSON is the custom marshaler for PrestoSource.
+func (ps PrestoSource) MarshalJSON() ([]byte, error) {
+ ps.Type = TypePrestoSource
objectMap := make(map[string]interface{})
if ps.Query != nil {
objectMap["query"] = ps.Query
@@ -109729,1040 +137047,418 @@ func (ps PhoenixSource) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsZohoSource() (*ZohoSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsXeroSource() (*XeroSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSquareSource() (*SquareSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSparkSource() (*SparkSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsShopifySource() (*ShopifySource, bool) {
+// AsSparkSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsShopifySource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsPrestoSource() (*PrestoSource, bool) {
return &ps, true
}
-// AsPaypalSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsPaypalSource() (*PaypalSource, bool) {
- return nil, false
-}
-
-// AsMarketoSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsMarketoSource() (*MarketoSource, bool) {
- return nil, false
-}
-
-// AsMariaDBSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsMariaDBSource() (*MariaDBSource, bool) {
- return nil, false
-}
-
-// AsMagentoSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsMagentoSource() (*MagentoSource, bool) {
- return nil, false
-}
-
-// AsJiraSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsJiraSource() (*JiraSource, bool) {
- return nil, false
-}
-
-// AsImpalaSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsImpalaSource() (*ImpalaSource, bool) {
- return nil, false
-}
-
-// AsHubspotSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsHubspotSource() (*HubspotSource, bool) {
- return nil, false
-}
-
-// AsHiveSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsHiveSource() (*HiveSource, bool) {
- return nil, false
-}
-
-// AsHBaseSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsHBaseSource() (*HBaseSource, bool) {
- return nil, false
-}
-
-// AsGreenplumSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsGreenplumSource() (*GreenplumSource, bool) {
- return nil, false
-}
-
-// AsGoogleBigQuerySource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
- return nil, false
-}
-
-// AsEloquaSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsEloquaSource() (*EloquaSource, bool) {
- return nil, false
-}
-
-// AsDrillSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsDrillSource() (*DrillSource, bool) {
- return nil, false
-}
-
-// AsCouchbaseSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsConcurSource() (*ConcurSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsOffice365Source() (*Office365Source, bool) {
+// AsHubspotSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsHiveSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsHBaseSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsWebSource() (*WebSource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsOracleSource() (*OracleSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsOffice365Source is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSQLSource() (*SQLSource, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsRestSource() (*RestSource, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsWebSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsBlobSource() (*BlobSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsParquetSource() (*ParquetSource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsCopySource() (*CopySource, bool) {
+// AsSQLSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-
-// AsBasicCopySource is the BasicCopySource implementation for PhoenixSource.
-func (ps PhoenixSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ps, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for PhoenixSource struct.
-func (ps *PhoenixSource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "query":
- if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
- if err != nil {
- return err
- }
- ps.Query = query
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if ps.AdditionalProperties == nil {
- ps.AdditionalProperties = make(map[string]interface{})
- }
- ps.AdditionalProperties[k] = additionalProperties
- }
- case "sourceRetryCount":
- if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
- if err != nil {
- return err
- }
- ps.SourceRetryCount = sourceRetryCount
- }
- case "sourceRetryWait":
- if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
- if err != nil {
- return err
- }
- ps.SourceRetryWait = sourceRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- ps.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ps.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// Pipeline a data factory pipeline.
-type Pipeline struct {
- // Description - The description of the pipeline.
- Description *string `json:"description,omitempty"`
- // Activities - List of activities in pipeline.
- Activities *[]BasicActivity `json:"activities,omitempty"`
- // Parameters - List of parameters for pipeline.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Variables - List of variables for pipeline.
- Variables map[string]*VariableSpecification `json:"variables"`
- // Concurrency - The max number of concurrent runs for the pipeline.
- Concurrency *int32 `json:"concurrency,omitempty"`
- // Annotations - List of tags that can be used for describing the Pipeline.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.
- Folder *PipelineFolder `json:"folder,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for Pipeline.
-func (p Pipeline) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if p.Description != nil {
- objectMap["description"] = p.Description
- }
- if p.Activities != nil {
- objectMap["activities"] = p.Activities
- }
- if p.Parameters != nil {
- objectMap["parameters"] = p.Parameters
- }
- if p.Variables != nil {
- objectMap["variables"] = p.Variables
- }
- if p.Concurrency != nil {
- objectMap["concurrency"] = p.Concurrency
- }
- if p.Annotations != nil {
- objectMap["annotations"] = p.Annotations
- }
- if p.Folder != nil {
- objectMap["folder"] = p.Folder
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for Pipeline struct.
-func (p *Pipeline) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- p.Description = &description
- }
- case "activities":
- if v != nil {
- activities, err := unmarshalBasicActivityArray(*v)
- if err != nil {
- return err
- }
- p.Activities = &activities
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- p.Parameters = parameters
- }
- case "variables":
- if v != nil {
- var variables map[string]*VariableSpecification
- err = json.Unmarshal(*v, &variables)
- if err != nil {
- return err
- }
- p.Variables = variables
- }
- case "concurrency":
- if v != nil {
- var concurrency int32
- err = json.Unmarshal(*v, &concurrency)
- if err != nil {
- return err
- }
- p.Concurrency = &concurrency
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- p.Annotations = &annotations
- }
- case "folder":
- if v != nil {
- var folder PipelineFolder
- err = json.Unmarshal(*v, &folder)
- if err != nil {
- return err
- }
- p.Folder = &folder
- }
- }
- }
-
- return nil
-}
-
-// PipelineFolder the folder that this Pipeline is in. If not specified, Pipeline will appear at the root
-// level.
-type PipelineFolder struct {
- // Name - The name of the folder that this Pipeline is in.
- Name *string `json:"name,omitempty"`
-}
-
-// PipelineListResponse a list of pipeline resources.
-type PipelineListResponse struct {
- autorest.Response `json:"-"`
- // Value - List of pipelines.
- Value *[]PipelineResource `json:"value,omitempty"`
- // NextLink - The link to the next page of results, if any remaining results exist.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// PipelineListResponseIterator provides access to a complete listing of PipelineResource values.
-type PipelineListResponseIterator struct {
- i int
- page PipelineListResponsePage
-}
-
-// NextWithContext advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-func (iter *PipelineListResponseIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PipelineListResponseIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
+
+// AsRestSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
}
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *PipelineListResponseIterator) Next() error {
- return iter.NextWithContext(context.Background())
+// AsSapTableSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
}
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter PipelineListResponseIterator) NotDone() bool {
- return iter.page.NotDone() && iter.i < len(iter.page.Values())
+// AsSapOpenHubSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (iter PipelineListResponseIterator) Response() PipelineListResponse {
- return iter.page.Response()
+// AsSapHanaSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
}
-// Value returns the current value or a zero-initialized value if the
-// iterator has advanced beyond the end of the collection.
-func (iter PipelineListResponseIterator) Value() PipelineResource {
- if !iter.page.NotDone() {
- return PipelineResource{}
- }
- return iter.page.Values()[iter.i]
+// AsSapEccSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
}
-// Creates a new instance of the PipelineListResponseIterator type.
-func NewPipelineListResponseIterator(page PipelineListResponsePage) PipelineListResponseIterator {
- return PipelineListResponseIterator{page: page}
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
}
-// IsEmpty returns true if the ListResult contains no values.
-func (plr PipelineListResponse) IsEmpty() bool {
- return plr.Value == nil || len(*plr.Value) == 0
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
}
-// 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 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(plr.NextLink)))
+// AsSalesforceSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
}
-// PipelineListResponsePage contains a page of PipelineResource values.
-type PipelineListResponsePage struct {
- fn func(context.Context, PipelineListResponse) (PipelineListResponse, error)
- plr PipelineListResponse
+// AsODataSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
}
-// NextWithContext advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-func (page *PipelineListResponsePage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PipelineListResponsePage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.plr)
- if err != nil {
- return err
- }
- page.plr = next
- return nil
+// AsSybaseSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
}
-// Next advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (page *PipelineListResponsePage) Next() error {
- return page.NextWithContext(context.Background())
+// AsPostgreSQLSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
}
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page PipelineListResponsePage) NotDone() bool {
- return !page.plr.IsEmpty()
+// AsMySQLSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
}
-// Response returns the raw server response from the last page request.
-func (page PipelineListResponsePage) Response() PipelineListResponse {
- return page.plr
+// AsOdbcSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
}
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page PipelineListResponsePage) Values() []PipelineResource {
- if page.plr.IsEmpty() {
- return nil
- }
- return *page.plr.Value
+// AsDb2Source is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
}
-// Creates a new instance of the PipelineListResponsePage type.
-func NewPipelineListResponsePage(getNextPage func(context.Context, PipelineListResponse) (PipelineListResponse, error)) PipelineListResponsePage {
- return PipelineListResponsePage{fn: getNextPage}
+// AsMicrosoftAccessSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
}
-// PipelineReference pipeline reference type.
-type PipelineReference struct {
- // Type - Pipeline reference type.
- Type *string `json:"type,omitempty"`
- // ReferenceName - Reference pipeline name.
- ReferenceName *string `json:"referenceName,omitempty"`
- // Name - Reference name.
- Name *string `json:"name,omitempty"`
+// AsInformixSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
}
-// PipelineResource pipeline resource type.
-type PipelineResource struct {
- autorest.Response `json:"-"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Pipeline - Properties of the pipeline.
- *Pipeline `json:"properties,omitempty"`
- // ID - READ-ONLY; The resource identifier.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The resource name.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The resource type.
- Type *string `json:"type,omitempty"`
- // Etag - READ-ONLY; Etag identifies change in the resource.
- Etag *string `json:"etag,omitempty"`
+// AsRelationalSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for PipelineResource.
-func (pr PipelineResource) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if pr.Pipeline != nil {
- objectMap["properties"] = pr.Pipeline
- }
- for k, v := range pr.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for PipelineResource struct.
-func (pr *PipelineResource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if pr.AdditionalProperties == nil {
- pr.AdditionalProperties = make(map[string]interface{})
- }
- pr.AdditionalProperties[k] = additionalProperties
- }
- case "properties":
- if v != nil {
- var pipeline Pipeline
- err = json.Unmarshal(*v, &pipeline)
- if err != nil {
- return err
- }
- pr.Pipeline = &pipeline
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- pr.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- pr.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- pr.Type = &typeVar
- }
- case "etag":
- if v != nil {
- var etag string
- err = json.Unmarshal(*v, &etag)
- if err != nil {
- return err
- }
- pr.Etag = &etag
- }
- }
- }
+// AsDynamicsCrmSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
- return nil
+// AsDynamicsSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
}
-// PipelineRun information about a pipeline run.
-type PipelineRun struct {
- autorest.Response `json:"-"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // RunID - READ-ONLY; Identifier of a run.
- RunID *string `json:"runId,omitempty"`
- // RunGroupID - READ-ONLY; Identifier that correlates all the recovery runs of a pipeline run.
- RunGroupID *string `json:"runGroupId,omitempty"`
- // IsLatest - READ-ONLY; Indicates if the recovered pipeline run is the latest in its group.
- IsLatest *bool `json:"isLatest,omitempty"`
- // PipelineName - READ-ONLY; The pipeline name.
- PipelineName *string `json:"pipelineName,omitempty"`
- // Parameters - READ-ONLY; The full or partial list of parameter name, value pair used in the pipeline run.
- Parameters map[string]*string `json:"parameters"`
- // InvokedBy - READ-ONLY; Entity that started the pipeline run.
- InvokedBy *PipelineRunInvokedBy `json:"invokedBy,omitempty"`
- // LastUpdated - READ-ONLY; The last updated timestamp for the pipeline run event in ISO8601 format.
- LastUpdated *date.Time `json:"lastUpdated,omitempty"`
- // RunStart - READ-ONLY; The start time of a pipeline run in ISO8601 format.
- RunStart *date.Time `json:"runStart,omitempty"`
- // RunEnd - READ-ONLY; The end time of a pipeline run in ISO8601 format.
- RunEnd *date.Time `json:"runEnd,omitempty"`
- // DurationInMs - READ-ONLY; The duration of a pipeline run.
- DurationInMs *int32 `json:"durationInMs,omitempty"`
- // Status - READ-ONLY; The status of a pipeline run.
- Status *string `json:"status,omitempty"`
- // Message - READ-ONLY; The message from a pipeline run.
- Message *string `json:"message,omitempty"`
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for PipelineRun.
-func (pr PipelineRun) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- for k, v := range pr.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsBlobSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for PipelineRun struct.
-func (pr *PipelineRun) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if pr.AdditionalProperties == nil {
- pr.AdditionalProperties = make(map[string]interface{})
- }
- pr.AdditionalProperties[k] = additionalProperties
- }
- case "runId":
- if v != nil {
- var runID string
- err = json.Unmarshal(*v, &runID)
- if err != nil {
- return err
- }
- pr.RunID = &runID
- }
- case "runGroupId":
- if v != nil {
- var runGroupID string
- err = json.Unmarshal(*v, &runGroupID)
- if err != nil {
- return err
- }
- pr.RunGroupID = &runGroupID
- }
- case "isLatest":
- if v != nil {
- var isLatest bool
- err = json.Unmarshal(*v, &isLatest)
- if err != nil {
- return err
- }
- pr.IsLatest = &isLatest
- }
- case "pipelineName":
- if v != nil {
- var pipelineName string
- err = json.Unmarshal(*v, &pipelineName)
- if err != nil {
- return err
- }
- pr.PipelineName = &pipelineName
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*string
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- pr.Parameters = parameters
- }
- case "invokedBy":
- if v != nil {
- var invokedBy PipelineRunInvokedBy
- err = json.Unmarshal(*v, &invokedBy)
- if err != nil {
- return err
- }
- pr.InvokedBy = &invokedBy
- }
- case "lastUpdated":
- if v != nil {
- var lastUpdated date.Time
- err = json.Unmarshal(*v, &lastUpdated)
- if err != nil {
- return err
- }
- pr.LastUpdated = &lastUpdated
- }
- case "runStart":
- if v != nil {
- var runStart date.Time
- err = json.Unmarshal(*v, &runStart)
- if err != nil {
- return err
- }
- pr.RunStart = &runStart
- }
- case "runEnd":
- if v != nil {
- var runEnd date.Time
- err = json.Unmarshal(*v, &runEnd)
- if err != nil {
- return err
- }
- pr.RunEnd = &runEnd
- }
- case "durationInMs":
- if v != nil {
- var durationInMs int32
- err = json.Unmarshal(*v, &durationInMs)
- if err != nil {
- return err
- }
- pr.DurationInMs = &durationInMs
- }
- case "status":
- if v != nil {
- var status string
- err = json.Unmarshal(*v, &status)
- if err != nil {
- return err
- }
- pr.Status = &status
- }
- case "message":
- if v != nil {
- var message string
- err = json.Unmarshal(*v, &message)
- if err != nil {
- return err
- }
- pr.Message = &message
- }
- }
- }
+// AsAzureTableSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
- return nil
+// AsBinarySource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
}
-// PipelineRunInvokedBy provides entity name and id that started the pipeline run.
-type PipelineRunInvokedBy struct {
- // Name - READ-ONLY; Name of the entity that started the pipeline run.
- Name *string `json:"name,omitempty"`
- // ID - READ-ONLY; The ID of the entity that started the run.
- ID *string `json:"id,omitempty"`
- // InvokedByType - READ-ONLY; The type of the entity that started the run.
- InvokedByType *string `json:"invokedByType,omitempty"`
+// AsDelimitedTextSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
}
-// PipelineRunsQueryResponse a list pipeline runs.
-type PipelineRunsQueryResponse struct {
- autorest.Response `json:"-"`
- // Value - List of pipeline runs.
- Value *[]PipelineRun `json:"value,omitempty"`
- // ContinuationToken - The continuation token for getting the next page of results, if any remaining results exist, null otherwise.
- ContinuationToken *string `json:"continuationToken,omitempty"`
+// AsParquetSource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
}
-// PolybaseSettings polyBase settings.
-type PolybaseSettings struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // RejectType - Reject type. Possible values include: 'Value', 'Percentage'
- RejectType PolybaseSettingsRejectType `json:"rejectType,omitempty"`
- // RejectValue - Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0.
- RejectValue interface{} `json:"rejectValue,omitempty"`
- // RejectSampleValue - Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0.
- RejectSampleValue interface{} `json:"rejectSampleValue,omitempty"`
- // UseTypeDefault - Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean).
- UseTypeDefault interface{} `json:"useTypeDefault,omitempty"`
+// AsCopySource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for PolybaseSettings.
-func (ps PolybaseSettings) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if ps.RejectType != "" {
- objectMap["rejectType"] = ps.RejectType
- }
- if ps.RejectValue != nil {
- objectMap["rejectValue"] = ps.RejectValue
- }
- if ps.RejectSampleValue != nil {
- objectMap["rejectSampleValue"] = ps.RejectSampleValue
- }
- if ps.UseTypeDefault != nil {
- objectMap["useTypeDefault"] = ps.UseTypeDefault
- }
- for k, v := range ps.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsBasicCopySource is the BasicCopySource implementation for PrestoSource.
+func (ps PrestoSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ps, true
}
-// UnmarshalJSON is the custom unmarshaler for PolybaseSettings struct.
-func (ps *PolybaseSettings) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for PrestoSource struct.
+func (ps *PrestoSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -110770,6 +137466,15 @@ func (ps *PolybaseSettings) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ ps.Query = query
+ }
default:
if v != nil {
var additionalProperties interface{}
@@ -110782,41 +137487,41 @@ func (ps *PolybaseSettings) UnmarshalJSON(body []byte) error {
}
ps.AdditionalProperties[k] = additionalProperties
}
- case "rejectType":
+ case "sourceRetryCount":
if v != nil {
- var rejectType PolybaseSettingsRejectType
- err = json.Unmarshal(*v, &rejectType)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- ps.RejectType = rejectType
+ ps.SourceRetryCount = sourceRetryCount
}
- case "rejectValue":
+ case "sourceRetryWait":
if v != nil {
- var rejectValue interface{}
- err = json.Unmarshal(*v, &rejectValue)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- ps.RejectValue = rejectValue
+ ps.SourceRetryWait = sourceRetryWait
}
- case "rejectSampleValue":
+ case "maxConcurrentConnections":
if v != nil {
- var rejectSampleValue interface{}
- err = json.Unmarshal(*v, &rejectSampleValue)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- ps.RejectSampleValue = rejectSampleValue
+ ps.MaxConcurrentConnections = maxConcurrentConnections
}
- case "useTypeDefault":
+ case "type":
if v != nil {
- var useTypeDefault interface{}
- err = json.Unmarshal(*v, &useTypeDefault)
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- ps.UseTypeDefault = useTypeDefault
+ ps.Type = typeVar
}
}
}
@@ -110824,10 +137529,10 @@ func (ps *PolybaseSettings) UnmarshalJSON(body []byte) error {
return nil
}
-// PostgreSQLLinkedService linked service for PostgreSQL data source.
-type PostgreSQLLinkedService struct {
- // PostgreSQLLinkedServiceTypeProperties - PostgreSQL linked service properties.
- *PostgreSQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// QuickBooksLinkedService quickBooks server linked service.
+type QuickBooksLinkedService struct {
+ // QuickBooksLinkedServiceTypeProperties - QuickBooks server linked service properties.
+ *QuickBooksLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -110838,470 +137543,500 @@ type PostgreSQLLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) MarshalJSON() ([]byte, error) {
- psls.Type = TypePostgreSQL
+// MarshalJSON is the custom marshaler for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) MarshalJSON() ([]byte, error) {
+ qbls.Type = TypeQuickBooks
objectMap := make(map[string]interface{})
- if psls.PostgreSQLLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = psls.PostgreSQLLinkedServiceTypeProperties
+ if qbls.QuickBooksLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = qbls.QuickBooksLinkedServiceTypeProperties
}
- if psls.ConnectVia != nil {
- objectMap["connectVia"] = psls.ConnectVia
+ if qbls.ConnectVia != nil {
+ objectMap["connectVia"] = qbls.ConnectVia
}
- if psls.Description != nil {
- objectMap["description"] = psls.Description
+ if qbls.Description != nil {
+ objectMap["description"] = qbls.Description
}
- if psls.Parameters != nil {
- objectMap["parameters"] = psls.Parameters
+ if qbls.Parameters != nil {
+ objectMap["parameters"] = qbls.Parameters
}
- if psls.Annotations != nil {
- objectMap["annotations"] = psls.Annotations
+ if qbls.Annotations != nil {
+ objectMap["annotations"] = qbls.Annotations
}
- if psls.Type != "" {
- objectMap["type"] = psls.Type
+ if qbls.Type != "" {
+ objectMap["type"] = qbls.Type
}
- for k, v := range psls.AdditionalProperties {
+ for k, v := range qbls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+ return &qbls, true
+}
+
+// AsPrestoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
- return &psls, true
+// AsDb2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+ return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
-func (psls PostgreSQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &psls, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedService struct.
-func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
+func (qbls QuickBooksLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &qbls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedService struct.
+func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -111311,12 +138046,12 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var postgreSQLLinkedServiceTypeProperties PostgreSQLLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &postgreSQLLinkedServiceTypeProperties)
+ var quickBooksLinkedServiceTypeProperties QuickBooksLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &quickBooksLinkedServiceTypeProperties)
if err != nil {
return err
}
- psls.PostgreSQLLinkedServiceTypeProperties = &postgreSQLLinkedServiceTypeProperties
+ qbls.QuickBooksLinkedServiceTypeProperties = &quickBooksLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -111325,10 +138060,10 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if psls.AdditionalProperties == nil {
- psls.AdditionalProperties = make(map[string]interface{})
+ if qbls.AdditionalProperties == nil {
+ qbls.AdditionalProperties = make(map[string]interface{})
}
- psls.AdditionalProperties[k] = additionalProperties
+ qbls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -111337,7 +138072,7 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- psls.ConnectVia = &connectVia
+ qbls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -111346,7 +138081,7 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- psls.Description = &description
+ qbls.Description = &description
}
case "parameters":
if v != nil {
@@ -111355,7 +138090,7 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- psls.Parameters = parameters
+ qbls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -111364,7 +138099,7 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- psls.Annotations = &annotations
+ qbls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -111373,7 +138108,7 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- psls.Type = typeVar
+ qbls.Type = typeVar
}
}
}
@@ -111381,18 +138116,28 @@ func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// PostgreSQLLinkedServiceTypeProperties postgreSQL linked service properties.
-type PostgreSQLLinkedServiceTypeProperties struct {
- // ConnectionString - The connection string.
- ConnectionString BasicSecretBase `json:"connectionString,omitempty"`
- // Password - The Azure key vault secret reference of password in connection string.
- Password *AzureKeyVaultSecretReference `json:"password,omitempty"`
+// QuickBooksLinkedServiceTypeProperties quickBooks server linked service properties.
+type QuickBooksLinkedServiceTypeProperties struct {
+ // Endpoint - The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com)
+ Endpoint interface{} `json:"endpoint,omitempty"`
+ // CompanyID - The company ID of the QuickBooks company to authorize.
+ CompanyID interface{} `json:"companyId,omitempty"`
+ // ConsumerKey - The consumer key for OAuth 1.0 authentication.
+ ConsumerKey interface{} `json:"consumerKey,omitempty"`
+ // ConsumerSecret - The consumer secret for OAuth 1.0 authentication.
+ ConsumerSecret BasicSecretBase `json:"consumerSecret,omitempty"`
+ // AccessToken - The access token for OAuth 1.0 authentication.
+ AccessToken BasicSecretBase `json:"accessToken,omitempty"`
+ // AccessTokenSecret - The access token secret for OAuth 1.0 authentication.
+ AccessTokenSecret BasicSecretBase `json:"accessTokenSecret,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
+ UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedServiceTypeProperties struct.
-func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedServiceTypeProperties struct.
+func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -111400,22 +138145,65 @@ func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
}
for k, v := range m {
switch k {
- case "connectionString":
+ case "endpoint":
if v != nil {
- connectionString, err := unmarshalBasicSecretBase(*v)
+ var endpoint interface{}
+ err = json.Unmarshal(*v, &endpoint)
if err != nil {
return err
}
- pslstp.ConnectionString = connectionString
+ qblstp.Endpoint = endpoint
}
- case "password":
+ case "companyId":
if v != nil {
- var password AzureKeyVaultSecretReference
- err = json.Unmarshal(*v, &password)
+ var companyID interface{}
+ err = json.Unmarshal(*v, &companyID)
if err != nil {
return err
}
- pslstp.Password = &password
+ qblstp.CompanyID = companyID
+ }
+ case "consumerKey":
+ if v != nil {
+ var consumerKey interface{}
+ err = json.Unmarshal(*v, &consumerKey)
+ if err != nil {
+ return err
+ }
+ qblstp.ConsumerKey = consumerKey
+ }
+ case "consumerSecret":
+ if v != nil {
+ consumerSecret, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ qblstp.ConsumerSecret = consumerSecret
+ }
+ case "accessToken":
+ if v != nil {
+ accessToken, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ qblstp.AccessToken = accessToken
+ }
+ case "accessTokenSecret":
+ if v != nil {
+ accessTokenSecret, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ qblstp.AccessTokenSecret = accessTokenSecret
+ }
+ case "useEncryptedEndpoints":
+ if v != nil {
+ var useEncryptedEndpoints interface{}
+ err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ if err != nil {
+ return err
+ }
+ qblstp.UseEncryptedEndpoints = useEncryptedEndpoints
}
case "encryptedCredential":
if v != nil {
@@ -111424,7 +138212,7 @@ func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
if err != nil {
return err
}
- pslstp.EncryptedCredential = encryptedCredential
+ qblstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -111432,484 +138220,469 @@ func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
return nil
}
-// PrestoLinkedService presto server linked service.
-type PrestoLinkedService struct {
- // PrestoLinkedServiceTypeProperties - Presto server linked service properties.
- *PrestoLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// QuickBooksObjectDataset quickBooks server dataset.
+type QuickBooksObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
+ // Annotations - List of tags that can be used for describing the Dataset.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PrestoLinkedService.
-func (pls PrestoLinkedService) MarshalJSON() ([]byte, error) {
- pls.Type = TypePresto
+// MarshalJSON is the custom marshaler for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) MarshalJSON() ([]byte, error) {
+ qbod.Type = TypeQuickBooksObject
objectMap := make(map[string]interface{})
- if pls.PrestoLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = pls.PrestoLinkedServiceTypeProperties
+ if qbod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = qbod.GenericDatasetTypeProperties
}
- if pls.ConnectVia != nil {
- objectMap["connectVia"] = pls.ConnectVia
+ if qbod.Description != nil {
+ objectMap["description"] = qbod.Description
}
- if pls.Description != nil {
- objectMap["description"] = pls.Description
+ if qbod.Structure != nil {
+ objectMap["structure"] = qbod.Structure
}
- if pls.Parameters != nil {
- objectMap["parameters"] = pls.Parameters
+ if qbod.Schema != nil {
+ objectMap["schema"] = qbod.Schema
}
- if pls.Annotations != nil {
- objectMap["annotations"] = pls.Annotations
+ if qbod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = qbod.LinkedServiceName
}
- if pls.Type != "" {
- objectMap["type"] = pls.Type
+ if qbod.Parameters != nil {
+ objectMap["parameters"] = qbod.Parameters
}
- for k, v := range pls.AdditionalProperties {
+ if qbod.Annotations != nil {
+ objectMap["annotations"] = qbod.Annotations
+ }
+ if qbod.Folder != nil {
+ objectMap["folder"] = qbod.Folder
+ }
+ if qbod.Type != "" {
+ objectMap["type"] = qbod.Type
+ }
+ for k, v := range qbod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return nil, false
-}
-
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
- return nil, false
-}
-
-// AsResponsysLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
- return &pls, true
+// AsQuickBooksObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+ return &qbod, true
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsFileShareDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsCustomDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsBinaryDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsParquetDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
-func (pls PrestoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &pls, true
+// AsBasicDataset is the BasicDataset implementation for QuickBooksObjectDataset.
+func (qbod QuickBooksObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &qbod, true
}
-// UnmarshalJSON is the custom unmarshaler for PrestoLinkedService struct.
-func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for QuickBooksObjectDataset struct.
+func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -111919,12 +138692,12 @@ func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var prestoLinkedServiceTypeProperties PrestoLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &prestoLinkedServiceTypeProperties)
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
if err != nil {
return err
}
- pls.PrestoLinkedServiceTypeProperties = &prestoLinkedServiceTypeProperties
+ qbod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -111933,19 +138706,10 @@ func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if pls.AdditionalProperties == nil {
- pls.AdditionalProperties = make(map[string]interface{})
- }
- pls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if qbod.AdditionalProperties == nil {
+ qbod.AdditionalProperties = make(map[string]interface{})
}
- pls.ConnectVia = &connectVia
+ qbod.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -111954,206 +138718,70 @@ func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- pls.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- pls.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- pls.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- pls.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// PrestoLinkedServiceTypeProperties presto server linked service properties.
-type PrestoLinkedServiceTypeProperties struct {
- // Host - The IP address or host name of the Presto server. (i.e. 192.168.222.160)
- Host interface{} `json:"host,omitempty"`
- // ServerVersion - The version of the Presto server. (i.e. 0.148-t)
- ServerVersion interface{} `json:"serverVersion,omitempty"`
- // Catalog - The catalog context for all request against the server.
- Catalog interface{} `json:"catalog,omitempty"`
- // Port - The TCP port that the Presto server uses to listen for client connections. The default value is 8080.
- Port interface{} `json:"port,omitempty"`
- // AuthenticationType - The authentication mechanism used to connect to the Presto server. Possible values include: 'PrestoAuthenticationTypeAnonymous', 'PrestoAuthenticationTypeLDAP'
- AuthenticationType PrestoAuthenticationType `json:"authenticationType,omitempty"`
- // Username - The user name used to connect to the Presto server.
- Username interface{} `json:"username,omitempty"`
- // Password - The password corresponding to the user name.
- Password BasicSecretBase `json:"password,omitempty"`
- // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
- EnableSsl interface{} `json:"enableSsl,omitempty"`
- // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
- TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
- // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
- UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
- // AllowHostNameCNMismatch - Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
- AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
- // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
- AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
- // TimeZoneID - The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone.
- TimeZoneID interface{} `json:"timeZoneID,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for PrestoLinkedServiceTypeProperties struct.
-func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "host":
- if v != nil {
- var host interface{}
- err = json.Unmarshal(*v, &host)
- if err != nil {
- return err
- }
- plstp.Host = host
- }
- case "serverVersion":
- if v != nil {
- var serverVersion interface{}
- err = json.Unmarshal(*v, &serverVersion)
- if err != nil {
- return err
- }
- plstp.ServerVersion = serverVersion
- }
- case "catalog":
- if v != nil {
- var catalog interface{}
- err = json.Unmarshal(*v, &catalog)
- if err != nil {
- return err
- }
- plstp.Catalog = catalog
- }
- case "port":
- if v != nil {
- var port interface{}
- err = json.Unmarshal(*v, &port)
- if err != nil {
- return err
- }
- plstp.Port = port
- }
- case "authenticationType":
- if v != nil {
- var authenticationType PrestoAuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- plstp.AuthenticationType = authenticationType
- }
- case "username":
- if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
- if err != nil {
- return err
- }
- plstp.Username = username
- }
- case "password":
- if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
- }
- plstp.Password = password
+ qbod.Description = &description
}
- case "enableSsl":
+ case "structure":
if v != nil {
- var enableSsl interface{}
- err = json.Unmarshal(*v, &enableSsl)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- plstp.EnableSsl = enableSsl
+ qbod.Structure = structure
}
- case "trustedCertPath":
+ case "schema":
if v != nil {
- var trustedCertPath interface{}
- err = json.Unmarshal(*v, &trustedCertPath)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- plstp.TrustedCertPath = trustedCertPath
+ qbod.Schema = schema
}
- case "useSystemTrustStore":
+ case "linkedServiceName":
if v != nil {
- var useSystemTrustStore interface{}
- err = json.Unmarshal(*v, &useSystemTrustStore)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- plstp.UseSystemTrustStore = useSystemTrustStore
+ qbod.LinkedServiceName = &linkedServiceName
}
- case "allowHostNameCNMismatch":
+ case "parameters":
if v != nil {
- var allowHostNameCNMismatch interface{}
- err = json.Unmarshal(*v, &allowHostNameCNMismatch)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- plstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
+ qbod.Parameters = parameters
}
- case "allowSelfSignedServerCert":
+ case "annotations":
if v != nil {
- var allowSelfSignedServerCert interface{}
- err = json.Unmarshal(*v, &allowSelfSignedServerCert)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
+ qbod.Annotations = &annotations
}
- case "timeZoneID":
+ case "folder":
if v != nil {
- var timeZoneID interface{}
- err = json.Unmarshal(*v, &timeZoneID)
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
if err != nil {
return err
}
- plstp.TimeZoneID = timeZoneID
+ qbod.Folder = &folder
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- plstp.EncryptedCredential = encryptedCredential
+ qbod.Type = typeVar
}
}
}
@@ -112161,419 +138789,571 @@ func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
return nil
}
-// PrestoObjectDataset presto server dataset.
-type PrestoObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// QuickBooksSource a copy activity QuickBooks server source.
+type QuickBooksSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PrestoObjectDataset.
-func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) {
- pod.Type = TypePrestoObject
+// MarshalJSON is the custom marshaler for QuickBooksSource.
+func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) {
+ qbs.Type = TypeQuickBooksSource
objectMap := make(map[string]interface{})
- if pod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = pod.GenericDatasetTypeProperties
- }
- if pod.Description != nil {
- objectMap["description"] = pod.Description
- }
- if pod.Structure != nil {
- objectMap["structure"] = pod.Structure
- }
- if pod.Schema != nil {
- objectMap["schema"] = pod.Schema
- }
- if pod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = pod.LinkedServiceName
+ if qbs.Query != nil {
+ objectMap["query"] = qbs.Query
}
- if pod.Parameters != nil {
- objectMap["parameters"] = pod.Parameters
+ if qbs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = qbs.SourceRetryCount
}
- if pod.Annotations != nil {
- objectMap["annotations"] = pod.Annotations
+ if qbs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = qbs.SourceRetryWait
}
- if pod.Folder != nil {
- objectMap["folder"] = pod.Folder
+ if qbs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = qbs.MaxConcurrentConnections
}
- if pod.Type != "" {
- objectMap["type"] = pod.Type
+ if qbs.Type != "" {
+ objectMap["type"] = qbs.Type
}
- for k, v := range pod.AdditionalProperties {
+ for k, v := range qbs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return &qbs, true
+}
+
+// AsPrestoSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
- return &pod, true
+// AsPhoenixSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPaypalSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMagentoSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsImpalaSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsWebSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsTeradataSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsOracleSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsHdfsSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSQLMISource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSQLSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsRestSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsSapTableSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsSapEccSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsODataSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsSybaseSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsMySQLSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsOdbcSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsDb2Source is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
- return nil, false
+// AsDynamicsSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for QuickBooksSource.
+func (qbs QuickBooksSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &qbs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for QuickBooksSource struct.
+func (qbs *QuickBooksSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ qbs.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if qbs.AdditionalProperties == nil {
+ qbs.AdditionalProperties = make(map[string]interface{})
+ }
+ qbs.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ qbs.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ qbs.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ qbs.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ qbs.Type = typeVar
+ }
+ }
+ }
+
+ return nil
}
-// AsDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsDataset() (*Dataset, bool) {
- return nil, false
+// RecurrenceSchedule the recurrence schedule.
+type RecurrenceSchedule struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Minutes - The minutes.
+ Minutes *[]int32 `json:"minutes,omitempty"`
+ // Hours - The hours.
+ Hours *[]int32 `json:"hours,omitempty"`
+ // WeekDays - The days of the week.
+ WeekDays *[]DaysOfWeek `json:"weekDays,omitempty"`
+ // MonthDays - The month days.
+ MonthDays *[]int32 `json:"monthDays,omitempty"`
+ // MonthlyOccurrences - The monthly occurrences.
+ MonthlyOccurrences *[]RecurrenceScheduleOccurrence `json:"monthlyOccurrences,omitempty"`
}
-// AsBasicDataset is the BasicDataset implementation for PrestoObjectDataset.
-func (pod PrestoObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &pod, true
+// MarshalJSON is the custom marshaler for RecurrenceSchedule.
+func (rs RecurrenceSchedule) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if rs.Minutes != nil {
+ objectMap["minutes"] = rs.Minutes
+ }
+ if rs.Hours != nil {
+ objectMap["hours"] = rs.Hours
+ }
+ if rs.WeekDays != nil {
+ objectMap["weekDays"] = rs.WeekDays
+ }
+ if rs.MonthDays != nil {
+ objectMap["monthDays"] = rs.MonthDays
+ }
+ if rs.MonthlyOccurrences != nil {
+ objectMap["monthlyOccurrences"] = rs.MonthlyOccurrences
+ }
+ for k, v := range rs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for PrestoObjectDataset struct.
-func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for RecurrenceSchedule struct.
+func (rs *RecurrenceSchedule) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -112581,98 +139361,202 @@ func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
+ default:
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- pod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ if rs.AdditionalProperties == nil {
+ rs.AdditionalProperties = make(map[string]interface{})
+ }
+ rs.AdditionalProperties[k] = additionalProperties
}
- default:
+ case "minutes":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var minutes []int32
+ err = json.Unmarshal(*v, &minutes)
if err != nil {
return err
}
- if pod.AdditionalProperties == nil {
- pod.AdditionalProperties = make(map[string]interface{})
+ rs.Minutes = &minutes
+ }
+ case "hours":
+ if v != nil {
+ var hours []int32
+ err = json.Unmarshal(*v, &hours)
+ if err != nil {
+ return err
}
- pod.AdditionalProperties[k] = additionalProperties
+ rs.Hours = &hours
}
- case "description":
+ case "weekDays":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var weekDays []DaysOfWeek
+ err = json.Unmarshal(*v, &weekDays)
if err != nil {
return err
}
- pod.Description = &description
+ rs.WeekDays = &weekDays
}
- case "structure":
+ case "monthDays":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var monthDays []int32
+ err = json.Unmarshal(*v, &monthDays)
if err != nil {
return err
}
- pod.Structure = structure
+ rs.MonthDays = &monthDays
}
- case "schema":
+ case "monthlyOccurrences":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var monthlyOccurrences []RecurrenceScheduleOccurrence
+ err = json.Unmarshal(*v, &monthlyOccurrences)
if err != nil {
return err
}
- pod.Schema = schema
+ rs.MonthlyOccurrences = &monthlyOccurrences
}
- case "linkedServiceName":
+ }
+ }
+
+ return nil
+}
+
+// RecurrenceScheduleOccurrence the recurrence schedule occurrence.
+type RecurrenceScheduleOccurrence struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Day - The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'
+ Day DayOfWeek `json:"day,omitempty"`
+ // Occurrence - The occurrence.
+ Occurrence *int32 `json:"occurrence,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for RecurrenceScheduleOccurrence.
+func (rso RecurrenceScheduleOccurrence) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if rso.Day != "" {
+ objectMap["day"] = rso.Day
+ }
+ if rso.Occurrence != nil {
+ objectMap["occurrence"] = rso.Occurrence
+ }
+ for k, v := range rso.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for RecurrenceScheduleOccurrence struct.
+func (rso *RecurrenceScheduleOccurrence) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- pod.LinkedServiceName = &linkedServiceName
+ if rso.AdditionalProperties == nil {
+ rso.AdditionalProperties = make(map[string]interface{})
+ }
+ rso.AdditionalProperties[k] = additionalProperties
}
- case "parameters":
+ case "day":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var day DayOfWeek
+ err = json.Unmarshal(*v, &day)
if err != nil {
return err
}
- pod.Parameters = parameters
+ rso.Day = day
}
- case "annotations":
+ case "occurrence":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var occurrence int32
+ err = json.Unmarshal(*v, &occurrence)
if err != nil {
return err
}
- pod.Annotations = &annotations
+ rso.Occurrence = &occurrence
}
- case "folder":
+ }
+ }
+
+ return nil
+}
+
+// RedirectIncompatibleRowSettings redirect incompatible row settings
+type RedirectIncompatibleRowSettings struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // LinkedServiceName - Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is specified. Type: string (or Expression with resultType string).
+ LinkedServiceName interface{} `json:"linkedServiceName,omitempty"`
+ // Path - The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string).
+ Path interface{} `json:"path,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for RedirectIncompatibleRowSettings.
+func (rirs RedirectIncompatibleRowSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if rirs.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = rirs.LinkedServiceName
+ }
+ if rirs.Path != nil {
+ objectMap["path"] = rirs.Path
+ }
+ for k, v := range rirs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for RedirectIncompatibleRowSettings struct.
+func (rirs *RedirectIncompatibleRowSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- pod.Folder = &folder
+ if rirs.AdditionalProperties == nil {
+ rirs.AdditionalProperties = make(map[string]interface{})
+ }
+ rirs.AdditionalProperties[k] = additionalProperties
}
- case "type":
+ case "linkedServiceName":
if v != nil {
- var typeVar TypeBasicDataset
- err = json.Unmarshal(*v, &typeVar)
+ var linkedServiceName interface{}
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- pod.Type = typeVar
+ rirs.LinkedServiceName = linkedServiceName
+ }
+ case "path":
+ if v != nil {
+ var pathVar interface{}
+ err = json.Unmarshal(*v, &pathVar)
+ if err != nil {
+ return err
+ }
+ rirs.Path = pathVar
}
}
}
@@ -112680,9 +139564,19 @@ func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// PrestoSource a copy activity Presto server source.
-type PrestoSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+// 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.
+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"`
+ // BucketName - The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string).
+ BucketName interface{} `json:"bucketName,omitempty"`
+}
+
+// RelationalSource a copy activity source for various relational databases.
+type RelationalSource struct {
+ // Query - Database query. Type: string (or Expression with resultType string).
Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
@@ -112692,382 +139586,447 @@ type PrestoSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PrestoSource.
-func (ps PrestoSource) MarshalJSON() ([]byte, error) {
- ps.Type = TypePrestoSource
+// MarshalJSON is the custom marshaler for RelationalSource.
+func (rs RelationalSource) MarshalJSON() ([]byte, error) {
+ rs.Type = TypeRelationalSource
objectMap := make(map[string]interface{})
- if ps.Query != nil {
- objectMap["query"] = ps.Query
+ if rs.Query != nil {
+ objectMap["query"] = rs.Query
}
- if ps.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = ps.SourceRetryCount
+ if rs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = rs.SourceRetryCount
}
- if ps.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = ps.SourceRetryWait
+ if rs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = rs.SourceRetryWait
}
- if ps.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = ps.MaxConcurrentConnections
+ if rs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = rs.MaxConcurrentConnections
}
- if ps.Type != "" {
- objectMap["type"] = ps.Type
+ if rs.Type != "" {
+ objectMap["type"] = rs.Type
}
- for k, v := range ps.AdditionalProperties {
+ for k, v := range rs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsZohoSource() (*ZohoSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsXeroSource() (*XeroSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSquareSource() (*SquareSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSparkSource() (*SparkSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsShopifySource() (*ShopifySource, bool) {
+// AsShopifySource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsPrestoSource() (*PrestoSource, bool) {
- return &ps, true
+// AsPrestoSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsJiraSource() (*JiraSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsHiveSource() (*HiveSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsDrillSource() (*DrillSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsConcurSource() (*ConcurSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsOffice365Source() (*Office365Source, bool) {
+// AsOffice365Source is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsWebSource() (*WebSource, bool) {
+// AsWebSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsOracleSource() (*OracleSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSQLMISource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsRestSource() (*RestSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsRestSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsODataSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsBlobSource() (*BlobSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsParquetSource() (*ParquetSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsCopySource() (*CopySource, bool) {
+// AsDb2Source is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for PrestoSource.
-func (ps PrestoSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &ps, true
+// AsMicrosoftAccessSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for PrestoSource struct.
-func (ps *PrestoSource) UnmarshalJSON(body []byte) error {
+// AsInformixSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsRelationalSource() (*RelationalSource, bool) {
+ return &rs, true
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for RelationalSource.
+func (rs RelationalSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &rs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for RelationalSource struct.
+func (rs *RelationalSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -113082,7 +140041,7 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ps.Query = query
+ rs.Query = query
}
default:
if v != nil {
@@ -113091,10 +140050,10 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if ps.AdditionalProperties == nil {
- ps.AdditionalProperties = make(map[string]interface{})
+ if rs.AdditionalProperties == nil {
+ rs.AdditionalProperties = make(map[string]interface{})
}
- ps.AdditionalProperties[k] = additionalProperties
+ rs.AdditionalProperties[k] = additionalProperties
}
case "sourceRetryCount":
if v != nil {
@@ -113103,7 +140062,7 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ps.SourceRetryCount = sourceRetryCount
+ rs.SourceRetryCount = sourceRetryCount
}
case "sourceRetryWait":
if v != nil {
@@ -113112,7 +140071,7 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ps.SourceRetryWait = sourceRetryWait
+ rs.SourceRetryWait = sourceRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -113121,7 +140080,7 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ps.MaxConcurrentConnections = maxConcurrentConnections
+ rs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -113130,7 +140089,7 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- ps.Type = typeVar
+ rs.Type = typeVar
}
}
}
@@ -113138,484 +140097,469 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error {
return nil
}
-// QuickBooksLinkedService quickBooks server linked service.
-type QuickBooksLinkedService struct {
- // QuickBooksLinkedServiceTypeProperties - QuickBooks server linked service properties.
- *QuickBooksLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// RelationalTableDataset the relational table dataset.
+type RelationalTableDataset struct {
+ // RelationalTableDatasetTypeProperties - Relational table dataset properties.
+ *RelationalTableDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
+ // Annotations - List of tags that can be used for describing the Dataset.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) MarshalJSON() ([]byte, error) {
- qbls.Type = TypeQuickBooks
+// MarshalJSON is the custom marshaler for RelationalTableDataset.
+func (rtd RelationalTableDataset) MarshalJSON() ([]byte, error) {
+ rtd.Type = TypeRelationalTable
objectMap := make(map[string]interface{})
- if qbls.QuickBooksLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = qbls.QuickBooksLinkedServiceTypeProperties
+ if rtd.RelationalTableDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = rtd.RelationalTableDatasetTypeProperties
}
- if qbls.ConnectVia != nil {
- objectMap["connectVia"] = qbls.ConnectVia
+ if rtd.Description != nil {
+ objectMap["description"] = rtd.Description
}
- if qbls.Description != nil {
- objectMap["description"] = qbls.Description
+ if rtd.Structure != nil {
+ objectMap["structure"] = rtd.Structure
}
- if qbls.Parameters != nil {
- objectMap["parameters"] = qbls.Parameters
+ if rtd.Schema != nil {
+ objectMap["schema"] = rtd.Schema
}
- if qbls.Annotations != nil {
- objectMap["annotations"] = qbls.Annotations
+ if rtd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = rtd.LinkedServiceName
}
- if qbls.Type != "" {
- objectMap["type"] = qbls.Type
+ if rtd.Parameters != nil {
+ objectMap["parameters"] = rtd.Parameters
}
- for k, v := range qbls.AdditionalProperties {
+ if rtd.Annotations != nil {
+ objectMap["annotations"] = rtd.Annotations
+ }
+ if rtd.Folder != nil {
+ objectMap["folder"] = rtd.Folder
+ }
+ if rtd.Type != "" {
+ objectMap["type"] = rtd.Type
+ }
+ for k, v := range rtd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return nil, false
-}
-
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
- return &qbls, true
-}
-
-// AsPrestoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
- return nil, false
+// AsRelationalTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+ return &rtd, true
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsFileShareDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsCustomDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsBinaryDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsParquetDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
-func (qbls QuickBooksLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &qbls, true
+// AsBasicDataset is the BasicDataset implementation for RelationalTableDataset.
+func (rtd RelationalTableDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &rtd, true
}
-// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedService struct.
-func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for RelationalTableDataset struct.
+func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -113625,12 +140569,12 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var quickBooksLinkedServiceTypeProperties QuickBooksLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &quickBooksLinkedServiceTypeProperties)
+ var relationalTableDatasetTypeProperties RelationalTableDatasetTypeProperties
+ err = json.Unmarshal(*v, &relationalTableDatasetTypeProperties)
if err != nil {
return err
}
- qbls.QuickBooksLinkedServiceTypeProperties = &quickBooksLinkedServiceTypeProperties
+ rtd.RelationalTableDatasetTypeProperties = &relationalTableDatasetTypeProperties
}
default:
if v != nil {
@@ -113639,28 +140583,46 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if qbls.AdditionalProperties == nil {
- qbls.AdditionalProperties = make(map[string]interface{})
+ if rtd.AdditionalProperties == nil {
+ rtd.AdditionalProperties = make(map[string]interface{})
}
- qbls.AdditionalProperties[k] = additionalProperties
+ rtd.AdditionalProperties[k] = additionalProperties
}
- case "connectVia":
+ case "description":
if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- qbls.ConnectVia = &connectVia
+ rtd.Description = &description
}
- case "description":
+ case "structure":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- qbls.Description = &description
+ rtd.Structure = structure
+ }
+ case "schema":
+ if v != nil {
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
+ if err != nil {
+ return err
+ }
+ rtd.Schema = schema
+ }
+ case "linkedServiceName":
+ if v != nil {
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
+ if err != nil {
+ return err
+ }
+ rtd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -113669,7 +140631,7 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- qbls.Parameters = parameters
+ rtd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -113678,16 +140640,25 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- qbls.Annotations = &annotations
+ rtd.Annotations = &annotations
+ }
+ case "folder":
+ if v != nil {
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
+ if err != nil {
+ return err
+ }
+ rtd.Folder = &folder
}
case "type":
if v != nil {
- var typeVar TypeBasicLinkedService
+ var typeVar TypeBasicDataset
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- qbls.Type = typeVar
+ rtd.Type = typeVar
}
}
}
@@ -113695,28 +140666,327 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// QuickBooksLinkedServiceTypeProperties quickBooks server linked service properties.
-type QuickBooksLinkedServiceTypeProperties struct {
- // Endpoint - The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com)
- Endpoint interface{} `json:"endpoint,omitempty"`
- // CompanyID - The company ID of the QuickBooks company to authorize.
- CompanyID interface{} `json:"companyId,omitempty"`
- // ConsumerKey - The consumer key for OAuth 1.0 authentication.
- ConsumerKey interface{} `json:"consumerKey,omitempty"`
- // ConsumerSecret - The consumer secret for OAuth 1.0 authentication.
- ConsumerSecret BasicSecretBase `json:"consumerSecret,omitempty"`
- // AccessToken - The access token for OAuth 1.0 authentication.
- AccessToken BasicSecretBase `json:"accessToken,omitempty"`
- // AccessTokenSecret - The access token secret for OAuth 1.0 authentication.
- AccessTokenSecret BasicSecretBase `json:"accessTokenSecret,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
- UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+// RelationalTableDatasetTypeProperties relational table dataset properties.
+type RelationalTableDatasetTypeProperties struct {
+ // TableName - The relational table name. Type: string (or Expression with resultType string).
+ TableName interface{} `json:"tableName,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedServiceTypeProperties struct.
-func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// RerunTriggerListResponse a list of rerun triggers.
+type RerunTriggerListResponse struct {
+ autorest.Response `json:"-"`
+ // Value - List of rerun triggers.
+ Value *[]RerunTriggerResource `json:"value,omitempty"`
+ // NextLink - READ-ONLY; The continuation token for getting the next page of results, if any remaining results exist, null otherwise.
+ NextLink *string `json:"nextLink,omitempty"`
+}
+
+// RerunTriggerListResponseIterator provides access to a complete listing of RerunTriggerResource values.
+type RerunTriggerListResponseIterator struct {
+ i int
+ page RerunTriggerListResponsePage
+}
+
+// NextWithContext advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+func (iter *RerunTriggerListResponseIterator) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/RerunTriggerListResponseIterator.NextWithContext")
+ defer func() {
+ sc := -1
+ if iter.Response().Response.Response != nil {
+ sc = iter.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ iter.i++
+ if iter.i < len(iter.page.Values()) {
+ return nil
+ }
+ err = iter.page.NextWithContext(ctx)
+ if err != nil {
+ iter.i--
+ return err
+ }
+ iter.i = 0
+ return nil
+}
+
+// Next advances to the next value. If there was an error making
+// the request the iterator does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (iter *RerunTriggerListResponseIterator) Next() error {
+ return iter.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the enumeration should be started or is not yet complete.
+func (iter RerunTriggerListResponseIterator) NotDone() bool {
+ return iter.page.NotDone() && iter.i < len(iter.page.Values())
+}
+
+// Response returns the raw server response from the last page request.
+func (iter RerunTriggerListResponseIterator) Response() RerunTriggerListResponse {
+ return iter.page.Response()
+}
+
+// Value returns the current value or a zero-initialized value if the
+// iterator has advanced beyond the end of the collection.
+func (iter RerunTriggerListResponseIterator) Value() RerunTriggerResource {
+ if !iter.page.NotDone() {
+ return RerunTriggerResource{}
+ }
+ return iter.page.Values()[iter.i]
+}
+
+// Creates a new instance of the RerunTriggerListResponseIterator type.
+func NewRerunTriggerListResponseIterator(page RerunTriggerListResponsePage) RerunTriggerListResponseIterator {
+ return RerunTriggerListResponseIterator{page: page}
+}
+
+// IsEmpty returns true if the ListResult contains no values.
+func (rtlr RerunTriggerListResponse) IsEmpty() bool {
+ return rtlr.Value == nil || len(*rtlr.Value) == 0
+}
+
+// rerunTriggerListResponsePreparer prepares a request to retrieve the next set of results.
+// It returns nil if no more results exist.
+func (rtlr RerunTriggerListResponse) rerunTriggerListResponsePreparer(ctx context.Context) (*http.Request, error) {
+ if rtlr.NextLink == nil || len(to.String(rtlr.NextLink)) < 1 {
+ return nil, nil
+ }
+ return autorest.Prepare((&http.Request{}).WithContext(ctx),
+ autorest.AsJSON(),
+ autorest.AsGet(),
+ autorest.WithBaseURL(to.String(rtlr.NextLink)))
+}
+
+// RerunTriggerListResponsePage contains a page of RerunTriggerResource values.
+type RerunTriggerListResponsePage struct {
+ fn func(context.Context, RerunTriggerListResponse) (RerunTriggerListResponse, error)
+ rtlr RerunTriggerListResponse
+}
+
+// NextWithContext advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+func (page *RerunTriggerListResponsePage) NextWithContext(ctx context.Context) (err error) {
+ if tracing.IsEnabled() {
+ ctx = tracing.StartSpan(ctx, fqdn+"/RerunTriggerListResponsePage.NextWithContext")
+ defer func() {
+ sc := -1
+ if page.Response().Response.Response != nil {
+ sc = page.Response().Response.Response.StatusCode
+ }
+ tracing.EndSpan(ctx, sc, err)
+ }()
+ }
+ next, err := page.fn(ctx, page.rtlr)
+ if err != nil {
+ return err
+ }
+ page.rtlr = next
+ return nil
+}
+
+// Next advances to the next page of values. If there was an error making
+// the request the page does not advance and the error is returned.
+// Deprecated: Use NextWithContext() instead.
+func (page *RerunTriggerListResponsePage) Next() error {
+ return page.NextWithContext(context.Background())
+}
+
+// NotDone returns true if the page enumeration should be started or is not yet complete.
+func (page RerunTriggerListResponsePage) NotDone() bool {
+ return !page.rtlr.IsEmpty()
+}
+
+// Response returns the raw server response from the last page request.
+func (page RerunTriggerListResponsePage) Response() RerunTriggerListResponse {
+ return page.rtlr
+}
+
+// Values returns the slice of values for the current page or nil if there are no values.
+func (page RerunTriggerListResponsePage) Values() []RerunTriggerResource {
+ if page.rtlr.IsEmpty() {
+ return nil
+ }
+ return *page.rtlr.Value
+}
+
+// Creates a new instance of the RerunTriggerListResponsePage type.
+func NewRerunTriggerListResponsePage(getNextPage func(context.Context, RerunTriggerListResponse) (RerunTriggerListResponse, error)) RerunTriggerListResponsePage {
+ return RerunTriggerListResponsePage{fn: getNextPage}
+}
+
+// RerunTriggerResource rerunTrigger resource type.
+type RerunTriggerResource struct {
+ // Properties - Properties of the rerun trigger.
+ Properties *RerunTumblingWindowTrigger `json:"properties,omitempty"`
+ // ID - READ-ONLY; The resource identifier.
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; The resource name.
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; The resource type.
+ Type *string `json:"type,omitempty"`
+ // Etag - READ-ONLY; Etag identifies change in the resource.
+ Etag *string `json:"etag,omitempty"`
+}
+
+// RerunTriggersCancelFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type RerunTriggersCancelFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *RerunTriggersCancelFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersCancelFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersCancelFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// RerunTriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type RerunTriggersStartFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *RerunTriggersStartFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersStartFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersStartFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// RerunTriggersStopFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
+type RerunTriggersStopFuture struct {
+ azure.Future
+}
+
+// Result returns the result of the asynchronous operation.
+// If the operation has not completed it will return an error.
+func (future *RerunTriggersStopFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) {
+ var done bool
+ done, err = future.DoneWithContext(context.Background(), client)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersStopFuture", "Result", future.Response(), "Polling failure")
+ return
+ }
+ if !done {
+ err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersStopFuture")
+ return
+ }
+ ar.Response = future.Response()
+ return
+}
+
+// RerunTumblingWindowTrigger trigger that schedules pipeline reruns for all fixed time interval windows
+// from a requested start time to requested end time.
+type RerunTumblingWindowTrigger struct {
+ // RerunTumblingWindowTriggerTypeProperties - Rerun Trigger properties.
+ *RerunTumblingWindowTriggerTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Description - Trigger description.
+ Description *string `json:"description,omitempty"`
+ // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled'
+ RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
+ // Annotations - List of tags that can be used for describing the trigger.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
+ Type TypeBasicTrigger `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for RerunTumblingWindowTrigger.
+func (rtwt RerunTumblingWindowTrigger) MarshalJSON() ([]byte, error) {
+ rtwt.Type = TypeRerunTumblingWindowTrigger
+ objectMap := make(map[string]interface{})
+ if rtwt.RerunTumblingWindowTriggerTypeProperties != nil {
+ objectMap["typeProperties"] = rtwt.RerunTumblingWindowTriggerTypeProperties
+ }
+ if rtwt.Description != nil {
+ objectMap["description"] = rtwt.Description
+ }
+ if rtwt.Annotations != nil {
+ objectMap["annotations"] = rtwt.Annotations
+ }
+ if rtwt.Type != "" {
+ objectMap["type"] = rtwt.Type
+ }
+ for k, v := range rtwt.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
+func (rtwt RerunTumblingWindowTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) {
+ return &rtwt, true
+}
+
+// AsTumblingWindowTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
+func (rtwt RerunTumblingWindowTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
+ return nil, false
+}
+
+// AsBlobEventsTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
+func (rtwt RerunTumblingWindowTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) {
+ return nil, false
+}
+
+// AsBlobTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
+func (rtwt RerunTumblingWindowTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
+ return nil, false
+}
+
+// AsScheduleTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
+func (rtwt RerunTumblingWindowTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
+ return nil, false
+}
+
+// AsMultiplePipelineTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
+func (rtwt RerunTumblingWindowTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
+ return nil, false
+}
+
+// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
+func (rtwt RerunTumblingWindowTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
+ return nil, false
+}
+
+// AsTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
+func (rtwt RerunTumblingWindowTrigger) AsTrigger() (*Trigger, bool) {
+ return nil, false
+}
+
+// AsBasicTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
+func (rtwt RerunTumblingWindowTrigger) AsBasicTrigger() (BasicTrigger, bool) {
+ return &rtwt, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for RerunTumblingWindowTrigger struct.
+func (rtwt *RerunTumblingWindowTrigger) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -113724,74 +140994,62 @@ func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
}
for k, v := range m {
switch k {
- case "endpoint":
- if v != nil {
- var endpoint interface{}
- err = json.Unmarshal(*v, &endpoint)
- if err != nil {
- return err
- }
- qblstp.Endpoint = endpoint
- }
- case "companyId":
+ case "typeProperties":
if v != nil {
- var companyID interface{}
- err = json.Unmarshal(*v, &companyID)
+ var rerunTumblingWindowTriggerTypeProperties RerunTumblingWindowTriggerTypeProperties
+ err = json.Unmarshal(*v, &rerunTumblingWindowTriggerTypeProperties)
if err != nil {
return err
}
- qblstp.CompanyID = companyID
+ rtwt.RerunTumblingWindowTriggerTypeProperties = &rerunTumblingWindowTriggerTypeProperties
}
- case "consumerKey":
+ default:
if v != nil {
- var consumerKey interface{}
- err = json.Unmarshal(*v, &consumerKey)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- qblstp.ConsumerKey = consumerKey
- }
- case "consumerSecret":
- if v != nil {
- consumerSecret, err := unmarshalBasicSecretBase(*v)
- if err != nil {
- return err
+ if rtwt.AdditionalProperties == nil {
+ rtwt.AdditionalProperties = make(map[string]interface{})
}
- qblstp.ConsumerSecret = consumerSecret
+ rtwt.AdditionalProperties[k] = additionalProperties
}
- case "accessToken":
+ case "description":
if v != nil {
- accessToken, err := unmarshalBasicSecretBase(*v)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- qblstp.AccessToken = accessToken
+ rtwt.Description = &description
}
- case "accessTokenSecret":
+ case "runtimeState":
if v != nil {
- accessTokenSecret, err := unmarshalBasicSecretBase(*v)
+ var runtimeState TriggerRuntimeState
+ err = json.Unmarshal(*v, &runtimeState)
if err != nil {
return err
}
- qblstp.AccessTokenSecret = accessTokenSecret
+ rtwt.RuntimeState = runtimeState
}
- case "useEncryptedEndpoints":
+ case "annotations":
if v != nil {
- var useEncryptedEndpoints interface{}
- err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- qblstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ rtwt.Annotations = &annotations
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar TypeBasicTrigger
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- qblstp.EncryptedCredential = encryptedCredential
+ rtwt.Type = typeVar
}
}
}
@@ -113799,419 +141057,564 @@ func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
return nil
}
-// QuickBooksObjectDataset quickBooks server dataset.
-type QuickBooksObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// RerunTumblingWindowTriggerActionParameters rerun tumbling window trigger Parameters.
+type RerunTumblingWindowTriggerActionParameters struct {
+ // StartTime - The start time for the time period for which restatement is initiated. Only UTC time is currently supported.
+ StartTime *date.Time `json:"startTime,omitempty"`
+ // EndTime - The end time for the time period for which restatement is initiated. Only UTC time is currently supported.
+ EndTime *date.Time `json:"endTime,omitempty"`
+ // MaxConcurrency - The max number of parallel time windows (ready for execution) for which a rerun is triggered.
+ MaxConcurrency *int32 `json:"maxConcurrency,omitempty"`
+}
+
+// RerunTumblingWindowTriggerTypeProperties rerun Trigger properties.
+type RerunTumblingWindowTriggerTypeProperties struct {
+ // ParentTrigger - The parent trigger reference.
+ ParentTrigger interface{} `json:"parentTrigger,omitempty"`
+ // RequestedStartTime - The start time for the time period for which restatement is initiated. Only UTC time is currently supported.
+ RequestedStartTime *date.Time `json:"requestedStartTime,omitempty"`
+ // RequestedEndTime - The end time for the time period for which restatement is initiated. Only UTC time is currently supported.
+ RequestedEndTime *date.Time `json:"requestedEndTime,omitempty"`
+ // MaxConcurrency - The max number of parallel time windows (ready for execution) for which a rerun is triggered.
+ MaxConcurrency *int32 `json:"maxConcurrency,omitempty"`
+}
+
+// Resource azure Data Factory top-level resource.
+type Resource struct {
+ // ID - READ-ONLY; The resource identifier.
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; The resource name.
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; The resource type.
+ Type *string `json:"type,omitempty"`
+ // Location - The resource location.
+ Location *string `json:"location,omitempty"`
+ // Tags - The resource tags.
+ Tags map[string]*string `json:"tags"`
+ // ETag - READ-ONLY; Etag identifies change in the resource.
+ ETag *string `json:"eTag,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for Resource.
+func (r Resource) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if r.Location != nil {
+ objectMap["location"] = r.Location
+ }
+ if r.Tags != nil {
+ objectMap["tags"] = r.Tags
+ }
+ return json.Marshal(objectMap)
+}
+
+// ResponsysLinkedService responsys linked service.
+type ResponsysLinkedService struct {
+ // ResponsysLinkedServiceTypeProperties - Responsys linked service properties.
+ *ResponsysLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
+ // Parameters - Parameters for linked service.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
+ // Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) MarshalJSON() ([]byte, error) {
- qbod.Type = TypeQuickBooksObject
+// MarshalJSON is the custom marshaler for ResponsysLinkedService.
+func (rls ResponsysLinkedService) MarshalJSON() ([]byte, error) {
+ rls.Type = TypeResponsys
objectMap := make(map[string]interface{})
- if qbod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = qbod.GenericDatasetTypeProperties
- }
- if qbod.Description != nil {
- objectMap["description"] = qbod.Description
- }
- if qbod.Structure != nil {
- objectMap["structure"] = qbod.Structure
- }
- if qbod.Schema != nil {
- objectMap["schema"] = qbod.Schema
+ if rls.ResponsysLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = rls.ResponsysLinkedServiceTypeProperties
}
- if qbod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = qbod.LinkedServiceName
+ if rls.ConnectVia != nil {
+ objectMap["connectVia"] = rls.ConnectVia
}
- if qbod.Parameters != nil {
- objectMap["parameters"] = qbod.Parameters
+ if rls.Description != nil {
+ objectMap["description"] = rls.Description
}
- if qbod.Annotations != nil {
- objectMap["annotations"] = qbod.Annotations
+ if rls.Parameters != nil {
+ objectMap["parameters"] = rls.Parameters
}
- if qbod.Folder != nil {
- objectMap["folder"] = qbod.Folder
+ if rls.Annotations != nil {
+ objectMap["annotations"] = rls.Annotations
}
- if qbod.Type != "" {
- objectMap["type"] = qbod.Type
+ if rls.Type != "" {
+ objectMap["type"] = rls.Type
}
- for k, v := range qbod.AdditionalProperties {
+ for k, v := range rls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+ return &rls, true
+}
+
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
- return &qbod, true
+// AsSquareLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+ return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsDataset() (*Dataset, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for QuickBooksObjectDataset.
-func (qbod QuickBooksObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &qbod, true
+// AsSybaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for QuickBooksObjectDataset struct.
-func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsMySQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsOracleLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+ return nil, false
+}
+
+// AsFileServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHDInsightLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+ return nil, false
+}
+
+// AsSQLServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
+func (rls ResponsysLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &rls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ResponsysLinkedService struct.
+func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -114221,12 +141624,12 @@ func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var responsysLinkedServiceTypeProperties ResponsysLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &responsysLinkedServiceTypeProperties)
if err != nil {
return err
}
- qbod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ rls.ResponsysLinkedServiceTypeProperties = &responsysLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -114235,10 +141638,19 @@ func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if qbod.AdditionalProperties == nil {
- qbod.AdditionalProperties = make(map[string]interface{})
+ if rls.AdditionalProperties == nil {
+ rls.AdditionalProperties = make(map[string]interface{})
}
- qbod.AdditionalProperties[k] = additionalProperties
+ rls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ rls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -114247,70 +141659,129 @@ func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- qbod.Description = &description
+ rls.Description = &description
}
- case "structure":
+ case "parameters":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- qbod.Structure = structure
+ rls.Parameters = parameters
}
- case "schema":
+ case "annotations":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- qbod.Schema = schema
+ rls.Annotations = &annotations
}
- case "linkedServiceName":
+ case "type":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- qbod.LinkedServiceName = &linkedServiceName
+ rls.Type = typeVar
}
- case "parameters":
+ }
+ }
+
+ return nil
+}
+
+// ResponsysLinkedServiceTypeProperties responsys linked service properties.
+type ResponsysLinkedServiceTypeProperties struct {
+ // Endpoint - The endpoint of the Responsys server.
+ Endpoint interface{} `json:"endpoint,omitempty"`
+ // ClientID - The client ID associated with the Responsys application. Type: string (or Expression with resultType string).
+ ClientID interface{} `json:"clientId,omitempty"`
+ // ClientSecret - The client secret associated with the Responsys application. Type: string (or Expression with resultType string).
+ ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).
+ UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
+ // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
+ UseHostVerification interface{} `json:"useHostVerification,omitempty"`
+ // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
+ UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for ResponsysLinkedServiceTypeProperties struct.
+func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "endpoint":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var endpoint interface{}
+ err = json.Unmarshal(*v, &endpoint)
if err != nil {
return err
}
- qbod.Parameters = parameters
+ rlstp.Endpoint = endpoint
}
- case "annotations":
+ case "clientId":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var clientID interface{}
+ err = json.Unmarshal(*v, &clientID)
if err != nil {
return err
}
- qbod.Annotations = &annotations
+ rlstp.ClientID = clientID
}
- case "folder":
+ case "clientSecret":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ clientSecret, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- qbod.Folder = &folder
+ rlstp.ClientSecret = clientSecret
}
- case "type":
+ case "useEncryptedEndpoints":
if v != nil {
- var typeVar TypeBasicDataset
- err = json.Unmarshal(*v, &typeVar)
+ var useEncryptedEndpoints interface{}
+ err = json.Unmarshal(*v, &useEncryptedEndpoints)
if err != nil {
return err
}
- qbod.Type = typeVar
+ rlstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ }
+ case "useHostVerification":
+ if v != nil {
+ var useHostVerification interface{}
+ err = json.Unmarshal(*v, &useHostVerification)
+ if err != nil {
+ return err
+ }
+ rlstp.UseHostVerification = useHostVerification
+ }
+ case "usePeerVerification":
+ if v != nil {
+ var usePeerVerification interface{}
+ err = json.Unmarshal(*v, &usePeerVerification)
+ if err != nil {
+ return err
+ }
+ rlstp.UsePeerVerification = usePeerVerification
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ rlstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -114318,506 +141789,469 @@ func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// QuickBooksSource a copy activity QuickBooks server source.
-type QuickBooksSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// ResponsysObjectDataset responsys dataset.
+type ResponsysObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Description - Dataset description.
+ Description *string `json:"description,omitempty"`
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the Dataset.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for QuickBooksSource.
-func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) {
- qbs.Type = TypeQuickBooksSource
+// MarshalJSON is the custom marshaler for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) MarshalJSON() ([]byte, error) {
+ rod.Type = TypeResponsysObject
objectMap := make(map[string]interface{})
- if qbs.Query != nil {
- objectMap["query"] = qbs.Query
+ if rod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = rod.GenericDatasetTypeProperties
}
- if qbs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = qbs.SourceRetryCount
+ if rod.Description != nil {
+ objectMap["description"] = rod.Description
}
- if qbs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = qbs.SourceRetryWait
+ if rod.Structure != nil {
+ objectMap["structure"] = rod.Structure
}
- if qbs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = qbs.MaxConcurrentConnections
+ if rod.Schema != nil {
+ objectMap["schema"] = rod.Schema
}
- if qbs.Type != "" {
- objectMap["type"] = qbs.Type
+ if rod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = rod.LinkedServiceName
}
- for k, v := range qbs.AdditionalProperties {
+ if rod.Parameters != nil {
+ objectMap["parameters"] = rod.Parameters
+ }
+ if rod.Annotations != nil {
+ objectMap["annotations"] = rod.Annotations
+ }
+ if rod.Folder != nil {
+ objectMap["folder"] = rod.Folder
+ }
+ if rod.Type != "" {
+ objectMap["type"] = rod.Type
+ }
+ for k, v := range rod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+ return &rod, true
+}
+
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsZohoSource() (*ZohoSource, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsXeroSource() (*XeroSource, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSquareSource() (*SquareSource, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSparkSource() (*SparkSource, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsShopifySource() (*ShopifySource, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
- return &qbs, true
+// AsPrestoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+ return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsJiraSource() (*JiraSource, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsHiveSource() (*HiveSource, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsDrillSource() (*DrillSource, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsConcurSource() (*ConcurSource, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsHTTPDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsWebTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsOffice365Source() (*Office365Source, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsWebSource() (*WebSource, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsOracleSource() (*OracleSource, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSQLSource() (*SQLSource, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsRestSource() (*RestSource, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsFileShareDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsBlobSource() (*BlobSource, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsParquetSource() (*ParquetSource, bool) {
+// AsCustomDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsCopySource() (*CopySource, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for QuickBooksSource.
-func (qbs QuickBooksSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &qbs, true
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for QuickBooksSource struct.
-func (qbs *QuickBooksSource) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "query":
- if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
- if err != nil {
- return err
- }
- qbs.Query = query
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if qbs.AdditionalProperties == nil {
- qbs.AdditionalProperties = make(map[string]interface{})
- }
- qbs.AdditionalProperties[k] = additionalProperties
- }
- case "sourceRetryCount":
- if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
- if err != nil {
- return err
- }
- qbs.SourceRetryCount = sourceRetryCount
- }
- case "sourceRetryWait":
- if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
- if err != nil {
- return err
- }
- qbs.SourceRetryWait = sourceRetryWait
- }
- case "maxConcurrentConnections":
- if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
- if err != nil {
- return err
- }
- qbs.MaxConcurrentConnections = maxConcurrentConnections
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicCopySource
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- qbs.Type = typeVar
- }
- }
- }
+// AsAzureSQLMITableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
- return nil
+// AsAzureSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
}
-// RecurrenceSchedule the recurrence schedule.
-type RecurrenceSchedule struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Minutes - The minutes.
- Minutes *[]int32 `json:"minutes,omitempty"`
- // Hours - The hours.
- Hours *[]int32 `json:"hours,omitempty"`
- // WeekDays - The days of the week.
- WeekDays *[]DaysOfWeek `json:"weekDays,omitempty"`
- // MonthDays - The month days.
- MonthDays *[]int32 `json:"monthDays,omitempty"`
- // MonthlyOccurrences - The monthly occurrences.
- MonthlyOccurrences *[]RecurrenceScheduleOccurrence `json:"monthlyOccurrences,omitempty"`
+// AsAzureTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
}
-// MarshalJSON is the custom marshaler for RecurrenceSchedule.
-func (rs RecurrenceSchedule) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if rs.Minutes != nil {
- objectMap["minutes"] = rs.Minutes
- }
- if rs.Hours != nil {
- objectMap["hours"] = rs.Hours
- }
- if rs.WeekDays != nil {
- objectMap["weekDays"] = rs.WeekDays
- }
- if rs.MonthDays != nil {
- objectMap["monthDays"] = rs.MonthDays
- }
- if rs.MonthlyOccurrences != nil {
- objectMap["monthlyOccurrences"] = rs.MonthlyOccurrences
- }
- for k, v := range rs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
+// AsAzureBlobDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for RecurrenceSchedule struct.
-func (rs *RecurrenceSchedule) UnmarshalJSON(body []byte) error {
+// AsBinaryDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for ResponsysObjectDataset.
+func (rod ResponsysObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &rod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for ResponsysObjectDataset struct.
+func (rod *ResponsysObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -114825,202 +142259,98 @@ func (rs *RecurrenceSchedule) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if rs.AdditionalProperties == nil {
- rs.AdditionalProperties = make(map[string]interface{})
- }
- rs.AdditionalProperties[k] = additionalProperties
- }
- case "minutes":
+ case "typeProperties":
if v != nil {
- var minutes []int32
- err = json.Unmarshal(*v, &minutes)
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
if err != nil {
return err
}
- rs.Minutes = &minutes
+ rod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
- case "hours":
+ default:
if v != nil {
- var hours []int32
- err = json.Unmarshal(*v, &hours)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- rs.Hours = &hours
- }
- case "weekDays":
- if v != nil {
- var weekDays []DaysOfWeek
- err = json.Unmarshal(*v, &weekDays)
- if err != nil {
- return err
+ if rod.AdditionalProperties == nil {
+ rod.AdditionalProperties = make(map[string]interface{})
}
- rs.WeekDays = &weekDays
+ rod.AdditionalProperties[k] = additionalProperties
}
- case "monthDays":
+ case "description":
if v != nil {
- var monthDays []int32
- err = json.Unmarshal(*v, &monthDays)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- rs.MonthDays = &monthDays
+ rod.Description = &description
}
- case "monthlyOccurrences":
+ case "structure":
if v != nil {
- var monthlyOccurrences []RecurrenceScheduleOccurrence
- err = json.Unmarshal(*v, &monthlyOccurrences)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- rs.MonthlyOccurrences = &monthlyOccurrences
+ rod.Structure = structure
}
- }
- }
-
- return nil
-}
-
-// RecurrenceScheduleOccurrence the recurrence schedule occurrence.
-type RecurrenceScheduleOccurrence struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Day - The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'
- Day DayOfWeek `json:"day,omitempty"`
- // Occurrence - The occurrence.
- Occurrence *int32 `json:"occurrence,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for RecurrenceScheduleOccurrence.
-func (rso RecurrenceScheduleOccurrence) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if rso.Day != "" {
- objectMap["day"] = rso.Day
- }
- if rso.Occurrence != nil {
- objectMap["occurrence"] = rso.Occurrence
- }
- for k, v := range rso.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for RecurrenceScheduleOccurrence struct.
-func (rso *RecurrenceScheduleOccurrence) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
+ case "schema":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- if rso.AdditionalProperties == nil {
- rso.AdditionalProperties = make(map[string]interface{})
- }
- rso.AdditionalProperties[k] = additionalProperties
+ rod.Schema = schema
}
- case "day":
+ case "linkedServiceName":
if v != nil {
- var day DayOfWeek
- err = json.Unmarshal(*v, &day)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- rso.Day = day
+ rod.LinkedServiceName = &linkedServiceName
}
- case "occurrence":
+ case "parameters":
if v != nil {
- var occurrence int32
- err = json.Unmarshal(*v, &occurrence)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- rso.Occurrence = &occurrence
+ rod.Parameters = parameters
}
- }
- }
-
- return nil
-}
-
-// RedirectIncompatibleRowSettings redirect incompatible row settings
-type RedirectIncompatibleRowSettings struct {
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // LinkedServiceName - Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is specified. Type: string (or Expression with resultType string).
- LinkedServiceName interface{} `json:"linkedServiceName,omitempty"`
- // Path - The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string).
- Path interface{} `json:"path,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for RedirectIncompatibleRowSettings.
-func (rirs RedirectIncompatibleRowSettings) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if rirs.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = rirs.LinkedServiceName
- }
- if rirs.Path != nil {
- objectMap["path"] = rirs.Path
- }
- for k, v := range rirs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for RedirectIncompatibleRowSettings struct.
-func (rirs *RedirectIncompatibleRowSettings) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- default:
+ case "annotations":
if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- if rirs.AdditionalProperties == nil {
- rirs.AdditionalProperties = make(map[string]interface{})
- }
- rirs.AdditionalProperties[k] = additionalProperties
+ rod.Annotations = &annotations
}
- case "linkedServiceName":
+ case "folder":
if v != nil {
- var linkedServiceName interface{}
- err = json.Unmarshal(*v, &linkedServiceName)
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
if err != nil {
return err
}
- rirs.LinkedServiceName = linkedServiceName
+ rod.Folder = &folder
}
- case "path":
+ case "type":
if v != nil {
- var pathVar interface{}
- err = json.Unmarshal(*v, &pathVar)
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- rirs.Path = pathVar
+ rod.Type = typeVar
}
}
}
@@ -115028,19 +142358,9 @@ func (rirs *RedirectIncompatibleRowSettings) UnmarshalJSON(body []byte) error {
return nil
}
-// 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.
-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"`
- // BucketName - The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string).
- BucketName interface{} `json:"bucketName,omitempty"`
-}
-
-// RelationalSource a copy activity source for various relational databases.
-type RelationalSource struct {
- // Query - Database query. Type: string (or Expression with resultType string).
+// ResponsysSource a copy activity Responsys source.
+type ResponsysSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
@@ -115050,13 +142370,13 @@ type RelationalSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for RelationalSource.
-func (rs RelationalSource) MarshalJSON() ([]byte, error) {
- rs.Type = TypeRelationalSource
+// MarshalJSON is the custom marshaler for ResponsysSource.
+func (rs ResponsysSource) MarshalJSON() ([]byte, error) {
+ rs.Type = TypeResponsysSource
objectMap := make(map[string]interface{})
if rs.Query != nil {
objectMap["query"] = rs.Query
@@ -115079,353 +142399,418 @@ func (rs RelationalSource) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return &rs, true
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsVerticaSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsZohoSource() (*ZohoSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsXeroSource() (*XeroSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSquareSource() (*SquareSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSparkSource() (*SparkSource, bool) {
+// AsShopifySource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsShopifySource() (*ShopifySource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsMagentoSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsJiraSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsJiraSource() (*JiraSource, bool) {
+// AsImpalaSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsHubspotSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsHiveSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsHiveSource() (*HiveSource, bool) {
+// AsHBaseSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsEloquaSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsDrillSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsDrillSource() (*DrillSource, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsConcurSource() (*ConcurSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsOffice365Source() (*Office365Source, bool) {
+// AsSQLMISource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsRestSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsWebSource() (*WebSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsOracleSource() (*OracleSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsODataSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSQLSource() (*SQLSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsRestSource() (*RestSource, bool) {
+// AsOdbcSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsDb2Source is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsInformixSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsRelationalSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsRelationalSource() (*RelationalSource, bool) {
- return &rs, true
+// AsDynamicsSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsBlobSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsBlobSource() (*BlobSource, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsBinarySource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsParquetSource() (*ParquetSource, bool) {
+// AsParquetSource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsCopySource() (*CopySource, bool) {
+// AsCopySource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for RelationalSource.
-func (rs RelationalSource) AsBasicCopySource() (BasicCopySource, bool) {
+// AsBasicCopySource is the BasicCopySource implementation for ResponsysSource.
+func (rs ResponsysSource) AsBasicCopySource() (BasicCopySource, bool) {
return &rs, true
}
-// UnmarshalJSON is the custom unmarshaler for RelationalSource struct.
-func (rs *RelationalSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for ResponsysSource struct.
+func (rs *ResponsysSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -115496,10 +142881,10 @@ func (rs *RelationalSource) UnmarshalJSON(body []byte) error {
return nil
}
-// RelationalTableDataset the relational table dataset.
-type RelationalTableDataset struct {
- // RelationalTableDatasetTypeProperties - Relational table dataset properties.
- *RelationalTableDatasetTypeProperties `json:"typeProperties,omitempty"`
+// RestResourceDataset a Rest service dataset.
+type RestResourceDataset struct {
+ // RestResourceDatasetTypeProperties - Properties specific to this dataset type.
+ *RestResourceDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Description - Dataset description.
@@ -115516,399 +142901,449 @@ type RelationalTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for RelationalTableDataset.
-func (rtd RelationalTableDataset) MarshalJSON() ([]byte, error) {
- rtd.Type = TypeRelationalTable
+// MarshalJSON is the custom marshaler for RestResourceDataset.
+func (rrd RestResourceDataset) MarshalJSON() ([]byte, error) {
+ rrd.Type = TypeRestResource
objectMap := make(map[string]interface{})
- if rtd.RelationalTableDatasetTypeProperties != nil {
- objectMap["typeProperties"] = rtd.RelationalTableDatasetTypeProperties
+ if rrd.RestResourceDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = rrd.RestResourceDatasetTypeProperties
}
- if rtd.Description != nil {
- objectMap["description"] = rtd.Description
+ if rrd.Description != nil {
+ objectMap["description"] = rrd.Description
}
- if rtd.Structure != nil {
- objectMap["structure"] = rtd.Structure
+ if rrd.Structure != nil {
+ objectMap["structure"] = rrd.Structure
}
- if rtd.Schema != nil {
- objectMap["schema"] = rtd.Schema
+ if rrd.Schema != nil {
+ objectMap["schema"] = rrd.Schema
}
- if rtd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = rtd.LinkedServiceName
+ if rrd.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = rrd.LinkedServiceName
}
- if rtd.Parameters != nil {
- objectMap["parameters"] = rtd.Parameters
+ if rrd.Parameters != nil {
+ objectMap["parameters"] = rrd.Parameters
}
- if rtd.Annotations != nil {
- objectMap["annotations"] = rtd.Annotations
+ if rrd.Annotations != nil {
+ objectMap["annotations"] = rrd.Annotations
}
- if rtd.Folder != nil {
- objectMap["folder"] = rtd.Folder
+ if rrd.Folder != nil {
+ objectMap["folder"] = rrd.Folder
}
- if rtd.Type != "" {
- objectMap["type"] = rtd.Type
+ if rrd.Type != "" {
+ objectMap["type"] = rrd.Type
}
- for k, v := range rtd.AdditionalProperties {
+ for k, v := range rrd.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+ return &rrd, true
+}
+
+// AsSQLServerTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
- return &rtd, true
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for RelationalTableDataset.
-func (rtd RelationalTableDataset) AsBasicDataset() (BasicDataset, bool) {
- return &rtd, true
+// AsAzureSQLMITableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for RelationalTableDataset struct.
-func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for RestResourceDataset.
+func (rrd RestResourceDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &rrd, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for RestResourceDataset struct.
+func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -115918,12 +143353,12 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var relationalTableDatasetTypeProperties RelationalTableDatasetTypeProperties
- err = json.Unmarshal(*v, &relationalTableDatasetTypeProperties)
+ var restResourceDatasetTypeProperties RestResourceDatasetTypeProperties
+ err = json.Unmarshal(*v, &restResourceDatasetTypeProperties)
if err != nil {
return err
}
- rtd.RelationalTableDatasetTypeProperties = &relationalTableDatasetTypeProperties
+ rrd.RestResourceDatasetTypeProperties = &restResourceDatasetTypeProperties
}
default:
if v != nil {
@@ -115932,10 +143367,10 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if rtd.AdditionalProperties == nil {
- rtd.AdditionalProperties = make(map[string]interface{})
+ if rrd.AdditionalProperties == nil {
+ rrd.AdditionalProperties = make(map[string]interface{})
}
- rtd.AdditionalProperties[k] = additionalProperties
+ rrd.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -115944,7 +143379,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rtd.Description = &description
+ rrd.Description = &description
}
case "structure":
if v != nil {
@@ -115953,7 +143388,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rtd.Structure = structure
+ rrd.Structure = structure
}
case "schema":
if v != nil {
@@ -115962,7 +143397,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rtd.Schema = schema
+ rrd.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -115971,7 +143406,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rtd.LinkedServiceName = &linkedServiceName
+ rrd.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -115980,7 +143415,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rtd.Parameters = parameters
+ rrd.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -115989,7 +143424,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rtd.Annotations = &annotations
+ rrd.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -115998,7 +143433,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rtd.Folder = &folder
+ rrd.Folder = &folder
}
case "type":
if v != nil {
@@ -116007,398 +143442,7 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rtd.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// RelationalTableDatasetTypeProperties relational table dataset properties.
-type RelationalTableDatasetTypeProperties struct {
- // TableName - The relational table name. Type: string (or Expression with resultType string).
- TableName interface{} `json:"tableName,omitempty"`
-}
-
-// RerunTriggerListResponse a list of rerun triggers.
-type RerunTriggerListResponse struct {
- autorest.Response `json:"-"`
- // Value - List of rerun triggers.
- Value *[]RerunTriggerResource `json:"value,omitempty"`
- // NextLink - READ-ONLY; The continuation token for getting the next page of results, if any remaining results exist, null otherwise.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// RerunTriggerListResponseIterator provides access to a complete listing of RerunTriggerResource values.
-type RerunTriggerListResponseIterator struct {
- i int
- page RerunTriggerListResponsePage
-}
-
-// NextWithContext advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-func (iter *RerunTriggerListResponseIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/RerunTriggerListResponseIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *RerunTriggerListResponseIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter RerunTriggerListResponseIterator) NotDone() bool {
- return iter.page.NotDone() && iter.i < len(iter.page.Values())
-}
-
-// Response returns the raw server response from the last page request.
-func (iter RerunTriggerListResponseIterator) Response() RerunTriggerListResponse {
- return iter.page.Response()
-}
-
-// Value returns the current value or a zero-initialized value if the
-// iterator has advanced beyond the end of the collection.
-func (iter RerunTriggerListResponseIterator) Value() RerunTriggerResource {
- if !iter.page.NotDone() {
- return RerunTriggerResource{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the RerunTriggerListResponseIterator type.
-func NewRerunTriggerListResponseIterator(page RerunTriggerListResponsePage) RerunTriggerListResponseIterator {
- return RerunTriggerListResponseIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (rtlr RerunTriggerListResponse) IsEmpty() bool {
- return rtlr.Value == nil || len(*rtlr.Value) == 0
-}
-
-// rerunTriggerListResponsePreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (rtlr RerunTriggerListResponse) rerunTriggerListResponsePreparer(ctx context.Context) (*http.Request, error) {
- if rtlr.NextLink == nil || len(to.String(rtlr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(rtlr.NextLink)))
-}
-
-// RerunTriggerListResponsePage contains a page of RerunTriggerResource values.
-type RerunTriggerListResponsePage struct {
- fn func(context.Context, RerunTriggerListResponse) (RerunTriggerListResponse, error)
- rtlr RerunTriggerListResponse
-}
-
-// NextWithContext advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-func (page *RerunTriggerListResponsePage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/RerunTriggerListResponsePage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.rtlr)
- if err != nil {
- return err
- }
- page.rtlr = next
- return nil
-}
-
-// Next advances to the next page of values. If there was an error making
-// the request the page does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (page *RerunTriggerListResponsePage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page RerunTriggerListResponsePage) NotDone() bool {
- return !page.rtlr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page RerunTriggerListResponsePage) Response() RerunTriggerListResponse {
- return page.rtlr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page RerunTriggerListResponsePage) Values() []RerunTriggerResource {
- if page.rtlr.IsEmpty() {
- return nil
- }
- return *page.rtlr.Value
-}
-
-// Creates a new instance of the RerunTriggerListResponsePage type.
-func NewRerunTriggerListResponsePage(getNextPage func(context.Context, RerunTriggerListResponse) (RerunTriggerListResponse, error)) RerunTriggerListResponsePage {
- return RerunTriggerListResponsePage{fn: getNextPage}
-}
-
-// RerunTriggerResource rerunTrigger resource type.
-type RerunTriggerResource struct {
- // Properties - Properties of the rerun trigger.
- Properties *RerunTumblingWindowTrigger `json:"properties,omitempty"`
- // ID - READ-ONLY; The resource identifier.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The resource name.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The resource type.
- Type *string `json:"type,omitempty"`
- // Etag - READ-ONLY; Etag identifies change in the resource.
- Etag *string `json:"etag,omitempty"`
-}
-
-// RerunTriggersCancelFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type RerunTriggersCancelFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *RerunTriggersCancelFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersCancelFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersCancelFuture")
- return
- }
- ar.Response = future.Response()
- return
-}
-
-// RerunTriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type RerunTriggersStartFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *RerunTriggersStartFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersStartFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersStartFuture")
- return
- }
- ar.Response = future.Response()
- return
-}
-
-// RerunTriggersStopFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type RerunTriggersStopFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *RerunTriggersStopFuture) Result(client RerunTriggersClient) (ar autorest.Response, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "datafactory.RerunTriggersStopFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("datafactory.RerunTriggersStopFuture")
- return
- }
- ar.Response = future.Response()
- return
-}
-
-// RerunTumblingWindowTrigger trigger that schedules pipeline reruns for all fixed time interval windows
-// from a requested start time to requested end time.
-type RerunTumblingWindowTrigger struct {
- // RerunTumblingWindowTriggerTypeProperties - Rerun Trigger properties.
- *RerunTumblingWindowTriggerTypeProperties `json:"typeProperties,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // Description - Trigger description.
- Description *string `json:"description,omitempty"`
- // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
- RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
- // Annotations - List of tags that can be used for describing the trigger.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
- Type TypeBasicTrigger `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for RerunTumblingWindowTrigger.
-func (rtwt RerunTumblingWindowTrigger) MarshalJSON() ([]byte, error) {
- rtwt.Type = TypeRerunTumblingWindowTrigger
- objectMap := make(map[string]interface{})
- if rtwt.RerunTumblingWindowTriggerTypeProperties != nil {
- objectMap["typeProperties"] = rtwt.RerunTumblingWindowTriggerTypeProperties
- }
- if rtwt.Description != nil {
- objectMap["description"] = rtwt.Description
- }
- if rtwt.Annotations != nil {
- objectMap["annotations"] = rtwt.Annotations
- }
- if rtwt.Type != "" {
- objectMap["type"] = rtwt.Type
- }
- for k, v := range rtwt.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
-func (rtwt RerunTumblingWindowTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) {
- return &rtwt, true
-}
-
-// AsTumblingWindowTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
-func (rtwt RerunTumblingWindowTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
- return nil, false
-}
-
-// AsBlobEventsTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
-func (rtwt RerunTumblingWindowTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) {
- return nil, false
-}
-
-// AsBlobTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
-func (rtwt RerunTumblingWindowTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
- return nil, false
-}
-
-// AsScheduleTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
-func (rtwt RerunTumblingWindowTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
- return nil, false
-}
-
-// AsMultiplePipelineTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
-func (rtwt RerunTumblingWindowTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
- return nil, false
-}
-
-// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
-func (rtwt RerunTumblingWindowTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
- return nil, false
-}
-
-// AsTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
-func (rtwt RerunTumblingWindowTrigger) AsTrigger() (*Trigger, bool) {
- return nil, false
-}
-
-// AsBasicTrigger is the BasicTrigger implementation for RerunTumblingWindowTrigger.
-func (rtwt RerunTumblingWindowTrigger) AsBasicTrigger() (BasicTrigger, bool) {
- return &rtwt, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for RerunTumblingWindowTrigger struct.
-func (rtwt *RerunTumblingWindowTrigger) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var rerunTumblingWindowTriggerTypeProperties RerunTumblingWindowTriggerTypeProperties
- err = json.Unmarshal(*v, &rerunTumblingWindowTriggerTypeProperties)
- if err != nil {
- return err
- }
- rtwt.RerunTumblingWindowTriggerTypeProperties = &rerunTumblingWindowTriggerTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if rtwt.AdditionalProperties == nil {
- rtwt.AdditionalProperties = make(map[string]interface{})
- }
- rtwt.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- rtwt.Description = &description
- }
- case "runtimeState":
- if v != nil {
- var runtimeState TriggerRuntimeState
- err = json.Unmarshal(*v, &runtimeState)
- if err != nil {
- return err
- }
- rtwt.RuntimeState = runtimeState
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- rtwt.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicTrigger
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- rtwt.Type = typeVar
+ rrd.Type = typeVar
}
}
}
@@ -116406,60 +143450,24 @@ func (rtwt *RerunTumblingWindowTrigger) UnmarshalJSON(body []byte) error {
return nil
}
-// RerunTumblingWindowTriggerActionParameters rerun tumbling window trigger Parameters.
-type RerunTumblingWindowTriggerActionParameters struct {
- // StartTime - The start time for the time period for which restatement is initiated. Only UTC time is currently supported.
- StartTime *date.Time `json:"startTime,omitempty"`
- // EndTime - The end time for the time period for which restatement is initiated. Only UTC time is currently supported.
- EndTime *date.Time `json:"endTime,omitempty"`
- // MaxConcurrency - The max number of parallel time windows (ready for execution) for which a rerun is triggered.
- MaxConcurrency *int32 `json:"maxConcurrency,omitempty"`
-}
-
-// RerunTumblingWindowTriggerTypeProperties rerun Trigger properties.
-type RerunTumblingWindowTriggerTypeProperties struct {
- // ParentTrigger - The parent trigger reference.
- ParentTrigger interface{} `json:"parentTrigger,omitempty"`
- // RequestedStartTime - The start time for the time period for which restatement is initiated. Only UTC time is currently supported.
- RequestedStartTime *date.Time `json:"requestedStartTime,omitempty"`
- // RequestedEndTime - The end time for the time period for which restatement is initiated. Only UTC time is currently supported.
- RequestedEndTime *date.Time `json:"requestedEndTime,omitempty"`
- // MaxConcurrency - The max number of parallel time windows (ready for execution) for which a rerun is triggered.
- MaxConcurrency *int32 `json:"maxConcurrency,omitempty"`
-}
-
-// Resource azure Data Factory top-level resource.
-type Resource struct {
- // ID - READ-ONLY; The resource identifier.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The resource name.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The resource type.
- Type *string `json:"type,omitempty"`
- // Location - The resource location.
- Location *string `json:"location,omitempty"`
- // Tags - The resource tags.
- Tags map[string]*string `json:"tags"`
- // ETag - READ-ONLY; Etag identifies change in the resource.
- ETag *string `json:"eTag,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for Resource.
-func (r Resource) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if r.Location != nil {
- objectMap["location"] = r.Location
- }
- if r.Tags != nil {
- objectMap["tags"] = r.Tags
- }
- return json.Marshal(objectMap)
+// RestResourceDatasetTypeProperties properties specific to this dataset type.
+type RestResourceDatasetTypeProperties struct {
+ // RelativeURL - The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string).
+ RelativeURL interface{} `json:"relativeUrl,omitempty"`
+ // RequestMethod - The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string).
+ RequestMethod interface{} `json:"requestMethod,omitempty"`
+ // RequestBody - The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string).
+ RequestBody interface{} `json:"requestBody,omitempty"`
+ // AdditionalHeaders - The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string).
+ AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"`
+ // PaginationRules - The pagination rules to compose next page requests. Type: string (or Expression with resultType string).
+ PaginationRules interface{} `json:"paginationRules,omitempty"`
}
-// ResponsysLinkedService responsys linked service.
-type ResponsysLinkedService struct {
- // ResponsysLinkedServiceTypeProperties - Responsys linked service properties.
- *ResponsysLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// RestServiceLinkedService rest Service linked service.
+type RestServiceLinkedService struct {
+ // RestServiceLinkedServiceTypeProperties - Rest Service linked service properties.
+ *RestServiceLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -116470,470 +143478,500 @@ type ResponsysLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ResponsysLinkedService.
-func (rls ResponsysLinkedService) MarshalJSON() ([]byte, error) {
- rls.Type = TypeResponsys
+// MarshalJSON is the custom marshaler for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) MarshalJSON() ([]byte, error) {
+ rsls.Type = TypeRestService
objectMap := make(map[string]interface{})
- if rls.ResponsysLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = rls.ResponsysLinkedServiceTypeProperties
+ if rsls.RestServiceLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = rsls.RestServiceLinkedServiceTypeProperties
}
- if rls.ConnectVia != nil {
- objectMap["connectVia"] = rls.ConnectVia
+ if rsls.ConnectVia != nil {
+ objectMap["connectVia"] = rsls.ConnectVia
}
- if rls.Description != nil {
- objectMap["description"] = rls.Description
+ if rsls.Description != nil {
+ objectMap["description"] = rsls.Description
}
- if rls.Parameters != nil {
- objectMap["parameters"] = rls.Parameters
+ if rsls.Parameters != nil {
+ objectMap["parameters"] = rsls.Parameters
}
- if rls.Annotations != nil {
- objectMap["annotations"] = rls.Annotations
+ if rsls.Annotations != nil {
+ objectMap["annotations"] = rsls.Annotations
}
- if rls.Type != "" {
- objectMap["type"] = rls.Type
+ if rsls.Type != "" {
+ objectMap["type"] = rsls.Type
}
- for k, v := range rls.AdditionalProperties {
+ for k, v := range rsls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapTableLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
- return &rls, true
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+ return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return &rsls, true
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSalesforceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
-func (rls ResponsysLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &rls, true
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for ResponsysLinkedService struct.
-func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
+func (rsls RestServiceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &rsls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for RestServiceLinkedService struct.
+func (rsls *RestServiceLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -116943,12 +143981,12 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var responsysLinkedServiceTypeProperties ResponsysLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &responsysLinkedServiceTypeProperties)
+ var restServiceLinkedServiceTypeProperties RestServiceLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &restServiceLinkedServiceTypeProperties)
if err != nil {
return err
}
- rls.ResponsysLinkedServiceTypeProperties = &responsysLinkedServiceTypeProperties
+ rsls.RestServiceLinkedServiceTypeProperties = &restServiceLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -116957,10 +143995,10 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if rls.AdditionalProperties == nil {
- rls.AdditionalProperties = make(map[string]interface{})
+ if rsls.AdditionalProperties == nil {
+ rsls.AdditionalProperties = make(map[string]interface{})
}
- rls.AdditionalProperties[k] = additionalProperties
+ rsls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -116969,7 +144007,7 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rls.ConnectVia = &connectVia
+ rsls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -116978,7 +144016,7 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rls.Description = &description
+ rsls.Description = &description
}
case "parameters":
if v != nil {
@@ -116987,7 +144025,7 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rls.Parameters = parameters
+ rsls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -116996,7 +144034,7 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rls.Annotations = &annotations
+ rsls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -117005,7 +144043,7 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rls.Type = typeVar
+ rsls.Type = typeVar
}
}
}
@@ -117013,26 +144051,32 @@ func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
return nil
}
-// ResponsysLinkedServiceTypeProperties responsys linked service properties.
-type ResponsysLinkedServiceTypeProperties struct {
- // Endpoint - The endpoint of the Responsys server.
- Endpoint interface{} `json:"endpoint,omitempty"`
- // ClientID - The client ID associated with the Responsys application. Type: string (or Expression with resultType string).
- ClientID interface{} `json:"clientId,omitempty"`
- // ClientSecret - The client secret associated with the Responsys application. Type: string (or Expression with resultType string).
- ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).
- UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
- UseHostVerification interface{} `json:"useHostVerification,omitempty"`
- // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
- UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+// RestServiceLinkedServiceTypeProperties rest Service linked service properties.
+type RestServiceLinkedServiceTypeProperties struct {
+ // URL - The base URL of the REST service.
+ URL interface{} `json:"url,omitempty"`
+ // EnableServerCertificateValidation - Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean).
+ EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"`
+ // AuthenticationType - Type of authentication used to connect to the REST service. Possible values include: 'RestServiceAuthenticationTypeAnonymous', 'RestServiceAuthenticationTypeBasic', 'RestServiceAuthenticationTypeAadServicePrincipal', 'RestServiceAuthenticationTypeManagedServiceIdentity'
+ AuthenticationType RestServiceAuthenticationType `json:"authenticationType,omitempty"`
+ // UserName - The user name used in Basic authentication type.
+ UserName interface{} `json:"userName,omitempty"`
+ // Password - The password used in Basic authentication type.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // ServicePrincipalID - The application's client ID used in AadServicePrincipal authentication type.
+ ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
+ // ServicePrincipalKey - The application's key used in AadServicePrincipal authentication type.
+ ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
+ // Tenant - The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.
+ Tenant interface{} `json:"tenant,omitempty"`
+ // AadResourceID - The resource you are requesting authorization to use.
+ AadResourceID interface{} `json:"aadResourceId,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for ResponsysLinkedServiceTypeProperties struct.
-func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for RestServiceLinkedServiceTypeProperties struct.
+func (rslstp *RestServiceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -117040,58 +144084,84 @@ func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) er
}
for k, v := range m {
switch k {
- case "endpoint":
+ case "url":
if v != nil {
- var endpoint interface{}
- err = json.Unmarshal(*v, &endpoint)
+ var URL interface{}
+ err = json.Unmarshal(*v, &URL)
if err != nil {
return err
}
- rlstp.Endpoint = endpoint
+ rslstp.URL = URL
}
- case "clientId":
+ case "enableServerCertificateValidation":
if v != nil {
- var clientID interface{}
- err = json.Unmarshal(*v, &clientID)
+ var enableServerCertificateValidation interface{}
+ err = json.Unmarshal(*v, &enableServerCertificateValidation)
if err != nil {
return err
}
- rlstp.ClientID = clientID
+ rslstp.EnableServerCertificateValidation = enableServerCertificateValidation
}
- case "clientSecret":
+ case "authenticationType":
if v != nil {
- clientSecret, err := unmarshalBasicSecretBase(*v)
+ var authenticationType RestServiceAuthenticationType
+ err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
}
- rlstp.ClientSecret = clientSecret
+ rslstp.AuthenticationType = authenticationType
}
- case "useEncryptedEndpoints":
+ case "userName":
if v != nil {
- var useEncryptedEndpoints interface{}
- err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ var userName interface{}
+ err = json.Unmarshal(*v, &userName)
if err != nil {
return err
}
- rlstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ rslstp.UserName = userName
}
- case "useHostVerification":
+ case "password":
if v != nil {
- var useHostVerification interface{}
- err = json.Unmarshal(*v, &useHostVerification)
+ password, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- rlstp.UseHostVerification = useHostVerification
+ rslstp.Password = password
}
- case "usePeerVerification":
+ case "servicePrincipalId":
if v != nil {
- var usePeerVerification interface{}
- err = json.Unmarshal(*v, &usePeerVerification)
+ var servicePrincipalID interface{}
+ err = json.Unmarshal(*v, &servicePrincipalID)
if err != nil {
return err
}
- rlstp.UsePeerVerification = usePeerVerification
+ rslstp.ServicePrincipalID = servicePrincipalID
+ }
+ case "servicePrincipalKey":
+ if v != nil {
+ servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ rslstp.ServicePrincipalKey = servicePrincipalKey
+ }
+ case "tenant":
+ if v != nil {
+ var tenant interface{}
+ err = json.Unmarshal(*v, &tenant)
+ if err != nil {
+ return err
+ }
+ rslstp.Tenant = tenant
+ }
+ case "aadResourceId":
+ if v != nil {
+ var aadResourceID interface{}
+ err = json.Unmarshal(*v, &aadResourceID)
+ if err != nil {
+ return err
+ }
+ rslstp.AadResourceID = aadResourceID
}
case "encryptedCredential":
if v != nil {
@@ -117100,7 +144170,7 @@ func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) er
if err != nil {
return err
}
- rlstp.EncryptedCredential = encryptedCredential
+ rslstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -117108,913 +144178,1091 @@ func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) er
return nil
}
-// ResponsysObjectDataset responsys dataset.
-type ResponsysObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// RestSource a copy activity Rest service source.
+type RestSource struct {
+ // HTTPRequestTimeout - The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"`
+ // RequestInterval - The time to await before sending next page request.
+ RequestInterval interface{} `json:"requestInterval,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) MarshalJSON() ([]byte, error) {
- rod.Type = TypeResponsysObject
+// MarshalJSON is the custom marshaler for RestSource.
+func (rs RestSource) MarshalJSON() ([]byte, error) {
+ rs.Type = TypeRestSource
objectMap := make(map[string]interface{})
- if rod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = rod.GenericDatasetTypeProperties
- }
- if rod.Description != nil {
- objectMap["description"] = rod.Description
- }
- if rod.Structure != nil {
- objectMap["structure"] = rod.Structure
- }
- if rod.Schema != nil {
- objectMap["schema"] = rod.Schema
+ if rs.HTTPRequestTimeout != nil {
+ objectMap["httpRequestTimeout"] = rs.HTTPRequestTimeout
}
- if rod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = rod.LinkedServiceName
+ if rs.RequestInterval != nil {
+ objectMap["requestInterval"] = rs.RequestInterval
}
- if rod.Parameters != nil {
- objectMap["parameters"] = rod.Parameters
+ if rs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = rs.SourceRetryCount
}
- if rod.Annotations != nil {
- objectMap["annotations"] = rod.Annotations
+ if rs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = rs.SourceRetryWait
}
- if rod.Folder != nil {
- objectMap["folder"] = rod.Folder
+ if rs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = rs.MaxConcurrentConnections
}
- if rod.Type != "" {
- objectMap["type"] = rod.Type
+ if rs.Type != "" {
+ objectMap["type"] = rs.Type
}
- for k, v := range rod.AdditionalProperties {
+ for k, v := range rs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
- return &rod, true
+// AsResponsysSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsRestSource() (*RestSource, bool) {
+ return &rs, true
+}
+
+// AsSapTableSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
- return nil, false
+// AsParquetSource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for RestSource.
+func (rs RestSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &rs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for RestSource struct.
+func (rs *RestSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "httpRequestTimeout":
+ if v != nil {
+ var HTTPRequestTimeout interface{}
+ err = json.Unmarshal(*v, &HTTPRequestTimeout)
+ if err != nil {
+ return err
+ }
+ rs.HTTPRequestTimeout = HTTPRequestTimeout
+ }
+ case "requestInterval":
+ if v != nil {
+ var requestInterval interface{}
+ err = json.Unmarshal(*v, &requestInterval)
+ if err != nil {
+ return err
+ }
+ rs.RequestInterval = requestInterval
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if rs.AdditionalProperties == nil {
+ rs.AdditionalProperties = make(map[string]interface{})
+ }
+ rs.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ rs.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ rs.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ rs.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ rs.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// RetryPolicy execution policy for an activity.
+type RetryPolicy struct {
+ // Count - Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.
+ Count interface{} `json:"count,omitempty"`
+ // IntervalInSeconds - Interval between retries in seconds. Default is 30.
+ IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"`
+}
+
+// RunFilterParameters query parameters for listing runs.
+type RunFilterParameters struct {
+ // ContinuationToken - The continuation token for getting the next page of results. Null for first page.
+ ContinuationToken *string `json:"continuationToken,omitempty"`
+ // LastUpdatedAfter - The time at or after which the run event was updated in 'ISO 8601' format.
+ LastUpdatedAfter *date.Time `json:"lastUpdatedAfter,omitempty"`
+ // LastUpdatedBefore - The time at or before which the run event was updated in 'ISO 8601' format.
+ LastUpdatedBefore *date.Time `json:"lastUpdatedBefore,omitempty"`
+ // Filters - List of filters.
+ Filters *[]RunQueryFilter `json:"filters,omitempty"`
+ // OrderBy - List of OrderBy option.
+ OrderBy *[]RunQueryOrderBy `json:"orderBy,omitempty"`
+}
+
+// RunQueryFilter query filter option for listing runs.
+type RunQueryFilter struct {
+ // Operand - Parameter name to be used for filter. The allowed operands to query pipeline runs are PipelineName, RunStart, RunEnd and Status; to query activity runs are ActivityName, ActivityRunStart, ActivityRunEnd, ActivityType and Status, and to query trigger runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: 'PipelineName', 'Status', 'RunStart', 'RunEnd', 'ActivityName', 'ActivityRunStart', 'ActivityRunEnd', 'ActivityType', 'TriggerName', 'TriggerRunTimestamp', 'RunGroupID', 'LatestOnly'
+ Operand RunQueryFilterOperand `json:"operand,omitempty"`
+ // Operator - Operator to be used for filter. Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn'
+ Operator RunQueryFilterOperator `json:"operator,omitempty"`
+ // Values - List of filter values.
+ Values *[]string `json:"values,omitempty"`
+}
+
+// RunQueryOrderBy an object to provide order by options for listing runs.
+type RunQueryOrderBy struct {
+ // OrderBy - Parameter name to be used for order by. The allowed parameters to order by for pipeline runs are PipelineName, RunStart, RunEnd and Status; for activity runs are ActivityName, ActivityRunStart, ActivityRunEnd and Status; for trigger runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: 'RunQueryOrderByFieldRunStart', 'RunQueryOrderByFieldRunEnd', 'RunQueryOrderByFieldPipelineName', 'RunQueryOrderByFieldStatus', 'RunQueryOrderByFieldActivityName', 'RunQueryOrderByFieldActivityRunStart', 'RunQueryOrderByFieldActivityRunEnd', 'RunQueryOrderByFieldTriggerName', 'RunQueryOrderByFieldTriggerRunTimestamp'
+ OrderBy RunQueryOrderByField `json:"orderBy,omitempty"`
+ // Order - Sorting order of the parameter. Possible values include: 'ASC', 'DESC'
+ Order RunQueryOrder `json:"order,omitempty"`
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
- return nil, false
+// SalesforceLinkedService linked service for Salesforce.
+type SalesforceLinkedService struct {
+ // SalesforceLinkedServiceTypeProperties - Salesforce linked service properties.
+ *SalesforceLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
+ Description *string `json:"description,omitempty"`
+ // Parameters - Parameters for linked service.
+ Parameters map[string]*ParameterSpecification `json:"parameters"`
+ // Annotations - List of tags that can be used for describing the linked service.
+ Annotations *[]interface{} `json:"annotations,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
- return nil, false
+// MarshalJSON is the custom marshaler for SalesforceLinkedService.
+func (sls SalesforceLinkedService) MarshalJSON() ([]byte, error) {
+ sls.Type = TypeSalesforce
+ objectMap := make(map[string]interface{})
+ if sls.SalesforceLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = sls.SalesforceLinkedServiceTypeProperties
+ }
+ if sls.ConnectVia != nil {
+ objectMap["connectVia"] = sls.ConnectVia
+ }
+ if sls.Description != nil {
+ objectMap["description"] = sls.Description
+ }
+ if sls.Parameters != nil {
+ objectMap["parameters"] = sls.Parameters
+ }
+ if sls.Annotations != nil {
+ objectMap["annotations"] = sls.Annotations
+ }
+ if sls.Type != "" {
+ objectMap["type"] = sls.Type
+ }
+ for k, v := range sls.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
}
-// AsRelationalTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsDataset() (*Dataset, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for ResponsysObjectDataset.
-func (rod ResponsysObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &rod, true
-}
-
-// UnmarshalJSON is the custom unmarshaler for ResponsysObjectDataset struct.
-func (rod *ResponsysObjectDataset) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "typeProperties":
- if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
- if err != nil {
- return err
- }
- rod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if rod.AdditionalProperties == nil {
- rod.AdditionalProperties = make(map[string]interface{})
- }
- rod.AdditionalProperties[k] = additionalProperties
- }
- case "description":
- if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
- if err != nil {
- return err
- }
- rod.Description = &description
- }
- case "structure":
- if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
- if err != nil {
- return err
- }
- rod.Structure = structure
- }
- case "schema":
- if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
- if err != nil {
- return err
- }
- rod.Schema = schema
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
- }
- rod.LinkedServiceName = &linkedServiceName
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- rod.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- rod.Annotations = &annotations
- }
- case "folder":
- if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
- if err != nil {
- return err
- }
- rod.Folder = &folder
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicDataset
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- rod.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// ResponsysSource a copy activity Responsys source.
-type ResponsysSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
- // AdditionalProperties - Unmatched properties from the message are deserialized this collection
- AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
- MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for ResponsysSource.
-func (rs ResponsysSource) MarshalJSON() ([]byte, error) {
- rs.Type = TypeResponsysSource
- objectMap := make(map[string]interface{})
- if rs.Query != nil {
- objectMap["query"] = rs.Query
- }
- if rs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = rs.SourceRetryCount
- }
- if rs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = rs.SourceRetryWait
- }
- if rs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = rs.MaxConcurrentConnections
- }
- if rs.Type != "" {
- objectMap["type"] = rs.Type
- }
- for k, v := range rs.AdditionalProperties {
- objectMap[k] = v
- }
- return json.Marshal(objectMap)
-}
-
-// AsAmazonRedshiftSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsResponsysSource() (*ResponsysSource, bool) {
- return &rs, true
-}
-
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsZohoSource() (*ZohoSource, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsXeroSource() (*XeroSource, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSquareSource() (*SquareSource, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSparkSource() (*SparkSource, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsShopifySource() (*ShopifySource, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsJiraSource() (*JiraSource, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsHiveSource() (*HiveSource, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsDrillSource() (*DrillSource, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
- return nil, false
+// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return &sls, true
}
-// AsConcurSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsConcurSource() (*ConcurSource, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsOffice365Source() (*Office365Source, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsWebSource() (*WebSource, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsOracleSource() (*OracleSource, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSQLSource() (*SQLSource, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsRestSource() (*RestSource, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsBlobSource() (*BlobSource, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsParquetSource() (*ParquetSource, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsCopySource() (*CopySource, bool) {
+// AsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for ResponsysSource.
-func (rs ResponsysSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &rs, true
+// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
+func (sls SalesforceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &sls, true
}
-// UnmarshalJSON is the custom unmarshaler for ResponsysSource struct.
-func (rs *ResponsysSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedService struct.
+func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -118022,14 +145270,14 @@ func (rs *ResponsysSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "typeProperties":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var salesforceLinkedServiceTypeProperties SalesforceLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &salesforceLinkedServiceTypeProperties)
if err != nil {
return err
}
- rs.Query = query
+ sls.SalesforceLinkedServiceTypeProperties = &salesforceLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -118038,46 +145286,55 @@ func (rs *ResponsysSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if rs.AdditionalProperties == nil {
- rs.AdditionalProperties = make(map[string]interface{})
+ if sls.AdditionalProperties == nil {
+ sls.AdditionalProperties = make(map[string]interface{})
}
- rs.AdditionalProperties[k] = additionalProperties
+ sls.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "connectVia":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
if err != nil {
return err
}
- rs.SourceRetryCount = sourceRetryCount
+ sls.ConnectVia = &connectVia
}
- case "sourceRetryWait":
+ case "description":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var description string
+ err = json.Unmarshal(*v, &description)
if err != nil {
return err
}
- rs.SourceRetryWait = sourceRetryWait
+ sls.Description = &description
}
- case "maxConcurrentConnections":
+ case "parameters":
if v != nil {
- var maxConcurrentConnections interface{}
- err = json.Unmarshal(*v, &maxConcurrentConnections)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- rs.MaxConcurrentConnections = maxConcurrentConnections
+ sls.Parameters = parameters
+ }
+ case "annotations":
+ if v != nil {
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
+ if err != nil {
+ return err
+ }
+ sls.Annotations = &annotations
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicLinkedService
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- rs.Type = typeVar
+ sls.Type = typeVar
}
}
}
@@ -118085,419 +145342,586 @@ func (rs *ResponsysSource) UnmarshalJSON(body []byte) error {
return nil
}
-// RestResourceDataset a Rest service dataset.
-type RestResourceDataset struct {
- // RestResourceDatasetTypeProperties - Properties specific to this dataset type.
- *RestResourceDatasetTypeProperties `json:"typeProperties,omitempty"`
+// SalesforceLinkedServiceTypeProperties salesforce linked service properties.
+type SalesforceLinkedServiceTypeProperties struct {
+ // EnvironmentURL - The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string).
+ EnvironmentURL interface{} `json:"environmentUrl,omitempty"`
+ // Username - The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).
+ Username interface{} `json:"username,omitempty"`
+ // Password - The password for Basic authentication of the Salesforce instance.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // SecurityToken - The security token is required to remotely access Salesforce instance.
+ SecurityToken BasicSecretBase `json:"securityToken,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedServiceTypeProperties struct.
+func (slstp *SalesforceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "environmentUrl":
+ if v != nil {
+ var environmentURL interface{}
+ err = json.Unmarshal(*v, &environmentURL)
+ if err != nil {
+ return err
+ }
+ slstp.EnvironmentURL = environmentURL
+ }
+ case "username":
+ if v != nil {
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
+ if err != nil {
+ return err
+ }
+ slstp.Username = username
+ }
+ case "password":
+ if v != nil {
+ password, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ slstp.Password = password
+ }
+ case "securityToken":
+ if v != nil {
+ securityToken, err := unmarshalBasicSecretBase(*v)
+ if err != nil {
+ return err
+ }
+ slstp.SecurityToken = securityToken
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ slstp.EncryptedCredential = encryptedCredential
+ }
+ }
+ }
+
+ return nil
+}
+
+// SalesforceMarketingCloudLinkedService salesforce Marketing Cloud linked service.
+type SalesforceMarketingCloudLinkedService struct {
+ // SalesforceMarketingCloudLinkedServiceTypeProperties - Salesforce Marketing Cloud linked service properties.
+ *SalesforceMarketingCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
+ // ConnectVia - The integration runtime reference.
+ ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
+ // Description - Linked service description.
Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
+ // Parameters - Parameters for linked service.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
+ // Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for RestResourceDataset.
-func (rrd RestResourceDataset) MarshalJSON() ([]byte, error) {
- rrd.Type = TypeRestResource
+// MarshalJSON is the custom marshaler for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) MarshalJSON() ([]byte, error) {
+ smcls.Type = TypeSalesforceMarketingCloud
objectMap := make(map[string]interface{})
- if rrd.RestResourceDatasetTypeProperties != nil {
- objectMap["typeProperties"] = rrd.RestResourceDatasetTypeProperties
- }
- if rrd.Description != nil {
- objectMap["description"] = rrd.Description
- }
- if rrd.Structure != nil {
- objectMap["structure"] = rrd.Structure
- }
- if rrd.Schema != nil {
- objectMap["schema"] = rrd.Schema
+ if smcls.SalesforceMarketingCloudLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = smcls.SalesforceMarketingCloudLinkedServiceTypeProperties
}
- if rrd.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = rrd.LinkedServiceName
+ if smcls.ConnectVia != nil {
+ objectMap["connectVia"] = smcls.ConnectVia
}
- if rrd.Parameters != nil {
- objectMap["parameters"] = rrd.Parameters
+ if smcls.Description != nil {
+ objectMap["description"] = smcls.Description
}
- if rrd.Annotations != nil {
- objectMap["annotations"] = rrd.Annotations
+ if smcls.Parameters != nil {
+ objectMap["parameters"] = smcls.Parameters
}
- if rrd.Folder != nil {
- objectMap["folder"] = rrd.Folder
+ if smcls.Annotations != nil {
+ objectMap["annotations"] = smcls.Annotations
}
- if rrd.Type != "" {
- objectMap["type"] = rrd.Type
+ if smcls.Type != "" {
+ objectMap["type"] = smcls.Type
}
- for k, v := range rrd.AdditionalProperties {
+ for k, v := range smcls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return &smcls, true
+}
+
+// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+ return nil, false
+}
+
+// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+ return nil, false
+}
+
+// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+ return nil, false
+}
+
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+ return nil, false
+}
+
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+ return nil, false
+}
+
+// AsRestServiceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+ return nil, false
+}
+
+// AsOffice365LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
- return &rrd, true
+// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+ return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsDataset() (*Dataset, bool) {
+// AsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsLinkedService() (*LinkedService, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for RestResourceDataset.
-func (rrd RestResourceDataset) AsBasicDataset() (BasicDataset, bool) {
- return &rrd, true
+// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
+func (smcls SalesforceMarketingCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &smcls, true
}
-// UnmarshalJSON is the custom unmarshaler for RestResourceDataset struct.
-func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudLinkedService struct.
+func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -118507,12 +145931,12 @@ func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var restResourceDatasetTypeProperties RestResourceDatasetTypeProperties
- err = json.Unmarshal(*v, &restResourceDatasetTypeProperties)
+ var salesforceMarketingCloudLinkedServiceTypeProperties SalesforceMarketingCloudLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &salesforceMarketingCloudLinkedServiceTypeProperties)
if err != nil {
return err
}
- rrd.RestResourceDatasetTypeProperties = &restResourceDatasetTypeProperties
+ smcls.SalesforceMarketingCloudLinkedServiceTypeProperties = &salesforceMarketingCloudLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -118521,10 +145945,19 @@ func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if rrd.AdditionalProperties == nil {
- rrd.AdditionalProperties = make(map[string]interface{})
+ if smcls.AdditionalProperties == nil {
+ smcls.AdditionalProperties = make(map[string]interface{})
}
- rrd.AdditionalProperties[k] = additionalProperties
+ smcls.AdditionalProperties[k] = additionalProperties
+ }
+ case "connectVia":
+ if v != nil {
+ var connectVia IntegrationRuntimeReference
+ err = json.Unmarshal(*v, &connectVia)
+ if err != nil {
+ return err
+ }
+ smcls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -118533,70 +145966,119 @@ func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rrd.Description = &description
+ smcls.Description = &description
}
- case "structure":
+ case "parameters":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- rrd.Structure = structure
+ smcls.Parameters = parameters
}
- case "schema":
+ case "annotations":
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- rrd.Schema = schema
+ smcls.Annotations = &annotations
}
- case "linkedServiceName":
+ case "type":
if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
+ var typeVar TypeBasicLinkedService
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- rrd.LinkedServiceName = &linkedServiceName
+ smcls.Type = typeVar
}
- case "parameters":
+ }
+ }
+
+ return nil
+}
+
+// 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"`
+ // ClientSecret - The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string).
+ ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
+ // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).
+ UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
+ // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
+ UseHostVerification interface{} `json:"useHostVerification,omitempty"`
+ // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
+ UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+ // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
+ EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
+}
+
+// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudLinkedServiceTypeProperties struct.
+func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "clientId":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var clientID interface{}
+ err = json.Unmarshal(*v, &clientID)
if err != nil {
return err
}
- rrd.Parameters = parameters
+ smclstp.ClientID = clientID
}
- case "annotations":
+ case "clientSecret":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ clientSecret, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- rrd.Annotations = &annotations
+ smclstp.ClientSecret = clientSecret
}
- case "folder":
+ case "useEncryptedEndpoints":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var useEncryptedEndpoints interface{}
+ err = json.Unmarshal(*v, &useEncryptedEndpoints)
if err != nil {
return err
}
- rrd.Folder = &folder
+ smclstp.UseEncryptedEndpoints = useEncryptedEndpoints
}
- case "type":
+ case "useHostVerification":
if v != nil {
- var typeVar TypeBasicDataset
- err = json.Unmarshal(*v, &typeVar)
+ var useHostVerification interface{}
+ err = json.Unmarshal(*v, &useHostVerification)
if err != nil {
return err
}
- rrd.Type = typeVar
+ smclstp.UseHostVerification = useHostVerification
+ }
+ case "usePeerVerification":
+ if v != nil {
+ var usePeerVerification interface{}
+ err = json.Unmarshal(*v, &usePeerVerification)
+ if err != nil {
+ return err
+ }
+ smclstp.UsePeerVerification = usePeerVerification
+ }
+ case "encryptedCredential":
+ if v != nil {
+ var encryptedCredential interface{}
+ err = json.Unmarshal(*v, &encryptedCredential)
+ if err != nil {
+ return err
+ }
+ smclstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -118604,498 +146086,469 @@ func (rrd *RestResourceDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// RestResourceDatasetTypeProperties properties specific to this dataset type.
-type RestResourceDatasetTypeProperties struct {
- // RelativeURL - The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string).
- RelativeURL interface{} `json:"relativeUrl,omitempty"`
- // RequestMethod - The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string).
- RequestMethod interface{} `json:"requestMethod,omitempty"`
- // RequestBody - The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string).
- RequestBody interface{} `json:"requestBody,omitempty"`
- // AdditionalHeaders - The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string).
- AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"`
- // PaginationRules - The pagination rules to compose next page requests. Type: string (or Expression with resultType string).
- PaginationRules interface{} `json:"paginationRules,omitempty"`
-}
-
-// RestServiceLinkedService rest Service linked service.
-type RestServiceLinkedService struct {
- // RestServiceLinkedServiceTypeProperties - Rest Service linked service properties.
- *RestServiceLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// SalesforceMarketingCloudObjectDataset salesforce Marketing Cloud dataset.
+type SalesforceMarketingCloudObjectDataset struct {
+ // GenericDatasetTypeProperties - Properties specific to this dataset type.
+ *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
+ // Annotations - List of tags that can be used for describing the Dataset.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) MarshalJSON() ([]byte, error) {
- rsls.Type = TypeRestService
+// MarshalJSON is the custom marshaler for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) MarshalJSON() ([]byte, error) {
+ smcod.Type = TypeSalesforceMarketingCloudObject
objectMap := make(map[string]interface{})
- if rsls.RestServiceLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = rsls.RestServiceLinkedServiceTypeProperties
+ if smcod.GenericDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = smcod.GenericDatasetTypeProperties
}
- if rsls.ConnectVia != nil {
- objectMap["connectVia"] = rsls.ConnectVia
+ if smcod.Description != nil {
+ objectMap["description"] = smcod.Description
}
- if rsls.Description != nil {
- objectMap["description"] = rsls.Description
+ if smcod.Structure != nil {
+ objectMap["structure"] = smcod.Structure
}
- if rsls.Parameters != nil {
- objectMap["parameters"] = rsls.Parameters
+ if smcod.Schema != nil {
+ objectMap["schema"] = smcod.Schema
}
- if rsls.Annotations != nil {
- objectMap["annotations"] = rsls.Annotations
+ if smcod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = smcod.LinkedServiceName
}
- if rsls.Type != "" {
- objectMap["type"] = rsls.Type
+ if smcod.Parameters != nil {
+ objectMap["parameters"] = smcod.Parameters
}
- for k, v := range rsls.AdditionalProperties {
+ if smcod.Annotations != nil {
+ objectMap["annotations"] = smcod.Annotations
+ }
+ if smcod.Folder != nil {
+ objectMap["folder"] = smcod.Folder
+ }
+ if smcod.Type != "" {
+ objectMap["type"] = smcod.Type
+ }
+ for k, v := range smcod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return nil, false
-}
-
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
- return nil, false
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return &smcod, true
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
- return &rsls, true
-}
-
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsFileShareDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsCustomDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsBinaryDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsParquetDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for RestServiceLinkedService.
-func (rsls RestServiceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &rsls, true
+// AsBasicDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
+func (smcod SalesforceMarketingCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &smcod, true
}
-// UnmarshalJSON is the custom unmarshaler for RestServiceLinkedService struct.
-func (rsls *RestServiceLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudObjectDataset struct.
+func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -119105,12 +146558,12 @@ func (rsls *RestServiceLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var restServiceLinkedServiceTypeProperties RestServiceLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &restServiceLinkedServiceTypeProperties)
+ var genericDatasetTypeProperties GenericDatasetTypeProperties
+ err = json.Unmarshal(*v, &genericDatasetTypeProperties)
if err != nil {
return err
}
- rsls.RestServiceLinkedServiceTypeProperties = &restServiceLinkedServiceTypeProperties
+ smcod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
}
default:
if v != nil {
@@ -119119,19 +146572,10 @@ func (rsls *RestServiceLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if rsls.AdditionalProperties == nil {
- rsls.AdditionalProperties = make(map[string]interface{})
- }
- rsls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if smcod.AdditionalProperties == nil {
+ smcod.AdditionalProperties = make(map[string]interface{})
}
- rsls.ConnectVia = &connectVia
+ smcod.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -119140,161 +146584,70 @@ func (rsls *RestServiceLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rsls.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- rsls.Parameters = parameters
- }
- case "annotations":
- if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
- if err != nil {
- return err
- }
- rsls.Annotations = &annotations
- }
- case "type":
- if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- rsls.Type = typeVar
- }
- }
- }
-
- return nil
-}
-
-// RestServiceLinkedServiceTypeProperties rest Service linked service properties.
-type RestServiceLinkedServiceTypeProperties struct {
- // URL - The base URL of the REST service.
- URL interface{} `json:"url,omitempty"`
- // EnableServerCertificateValidation - Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean).
- EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"`
- // AuthenticationType - Type of authentication used to connect to the REST service. Possible values include: 'RestServiceAuthenticationTypeAnonymous', 'RestServiceAuthenticationTypeBasic', 'RestServiceAuthenticationTypeAadServicePrincipal', 'RestServiceAuthenticationTypeManagedServiceIdentity'
- AuthenticationType RestServiceAuthenticationType `json:"authenticationType,omitempty"`
- // UserName - The user name used in Basic authentication type.
- UserName interface{} `json:"userName,omitempty"`
- // Password - The password used in Basic authentication type.
- Password BasicSecretBase `json:"password,omitempty"`
- // ServicePrincipalID - The application's client ID used in AadServicePrincipal authentication type.
- ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
- // ServicePrincipalKey - The application's key used in AadServicePrincipal authentication type.
- ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
- // Tenant - The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.
- Tenant interface{} `json:"tenant,omitempty"`
- // AadResourceID - The resource you are requesting authorization to use.
- AadResourceID interface{} `json:"aadResourceId,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for RestServiceLinkedServiceTypeProperties struct.
-func (rslstp *RestServiceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "url":
- if v != nil {
- var URL interface{}
- err = json.Unmarshal(*v, &URL)
- if err != nil {
- return err
- }
- rslstp.URL = URL
- }
- case "enableServerCertificateValidation":
- if v != nil {
- var enableServerCertificateValidation interface{}
- err = json.Unmarshal(*v, &enableServerCertificateValidation)
- if err != nil {
- return err
- }
- rslstp.EnableServerCertificateValidation = enableServerCertificateValidation
- }
- case "authenticationType":
- if v != nil {
- var authenticationType RestServiceAuthenticationType
- err = json.Unmarshal(*v, &authenticationType)
- if err != nil {
- return err
- }
- rslstp.AuthenticationType = authenticationType
+ smcod.Description = &description
}
- case "userName":
+ case "structure":
if v != nil {
- var userName interface{}
- err = json.Unmarshal(*v, &userName)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- rslstp.UserName = userName
+ smcod.Structure = structure
}
- case "password":
+ case "schema":
if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- rslstp.Password = password
+ smcod.Schema = schema
}
- case "servicePrincipalId":
+ case "linkedServiceName":
if v != nil {
- var servicePrincipalID interface{}
- err = json.Unmarshal(*v, &servicePrincipalID)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- rslstp.ServicePrincipalID = servicePrincipalID
+ smcod.LinkedServiceName = &linkedServiceName
}
- case "servicePrincipalKey":
+ case "parameters":
if v != nil {
- servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- rslstp.ServicePrincipalKey = servicePrincipalKey
+ smcod.Parameters = parameters
}
- case "tenant":
+ case "annotations":
if v != nil {
- var tenant interface{}
- err = json.Unmarshal(*v, &tenant)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- rslstp.Tenant = tenant
+ smcod.Annotations = &annotations
}
- case "aadResourceId":
+ case "folder":
if v != nil {
- var aadResourceID interface{}
- err = json.Unmarshal(*v, &aadResourceID)
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
if err != nil {
return err
}
- rslstp.AadResourceID = aadResourceID
+ smcod.Folder = &folder
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- rslstp.EncryptedCredential = encryptedCredential
+ smcod.Type = typeVar
}
}
}
@@ -119302,12 +146655,10 @@ func (rslstp *RestServiceLinkedServiceTypeProperties) UnmarshalJSON(body []byte)
return nil
}
-// RestSource a copy activity Rest service source.
-type RestSource struct {
- // HTTPRequestTimeout - The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"`
- // RequestInterval - The time to await before sending next page request.
- RequestInterval interface{} `json:"requestInterval,omitempty"`
+// SalesforceMarketingCloudSource a copy activity Salesforce Marketing Cloud source.
+type SalesforceMarketingCloudSource struct {
+ // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
@@ -119316,385 +146667,447 @@ type RestSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for RestSource.
-func (rs RestSource) MarshalJSON() ([]byte, error) {
- rs.Type = TypeRestSource
+// MarshalJSON is the custom marshaler for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) MarshalJSON() ([]byte, error) {
+ smcs.Type = TypeSalesforceMarketingCloudSource
objectMap := make(map[string]interface{})
- if rs.HTTPRequestTimeout != nil {
- objectMap["httpRequestTimeout"] = rs.HTTPRequestTimeout
- }
- if rs.RequestInterval != nil {
- objectMap["requestInterval"] = rs.RequestInterval
+ if smcs.Query != nil {
+ objectMap["query"] = smcs.Query
}
- if rs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = rs.SourceRetryCount
+ if smcs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = smcs.SourceRetryCount
}
- if rs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = rs.SourceRetryWait
+ if smcs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = smcs.SourceRetryWait
}
- if rs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = rs.MaxConcurrentConnections
+ if smcs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = smcs.MaxConcurrentConnections
}
- if rs.Type != "" {
- objectMap["type"] = rs.Type
+ if smcs.Type != "" {
+ objectMap["type"] = smcs.Type
}
- for k, v := range rs.AdditionalProperties {
+ for k, v := range smcs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsGoogleAdWordsSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsResponsysSource() (*ResponsysSource, bool) {
+// AsResponsysSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return &smcs, true
+}
+
+// AsVerticaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsVerticaSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsVerticaSource() (*VerticaSource, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsNetezzaSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsNetezzaSource() (*NetezzaSource, bool) {
+// AsZohoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsZohoSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsZohoSource() (*ZohoSource, bool) {
+// AsXeroSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsXeroSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsXeroSource() (*XeroSource, bool) {
+// AsSquareSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSquareSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSquareSource() (*SquareSource, bool) {
+// AsSparkSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsSparkSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSparkSource() (*SparkSource, bool) {
+// AsShopifySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsShopifySource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsShopifySource() (*ShopifySource, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsServiceNowSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsQuickBooksSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+// AsPrestoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPrestoSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsPrestoSource() (*PrestoSource, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPhoenixSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsPhoenixSource() (*PhoenixSource, bool) {
+// AsPaypalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsPaypalSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsPaypalSource() (*PaypalSource, bool) {
+// AsMarketoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsMarketoSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsMarketoSource() (*MarketoSource, bool) {
+// AsConcurSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsMariaDBSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsMariaDBSource() (*MariaDBSource, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsMagentoSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsMagentoSource() (*MagentoSource, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsJiraSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsJiraSource() (*JiraSource, bool) {
+// AsHTTPSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsImpalaSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsImpalaSource() (*ImpalaSource, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsHubspotSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsHubspotSource() (*HubspotSource, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsHiveSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsHiveSource() (*HiveSource, bool) {
+// AsOffice365Source is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsHBaseSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsHBaseSource() (*HBaseSource, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsGreenplumSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsGreenplumSource() (*GreenplumSource, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsGoogleBigQuerySource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsEloquaSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsEloquaSource() (*EloquaSource, bool) {
+// AsCassandraSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsDrillSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsDrillSource() (*DrillSource, bool) {
+// AsWebSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsCouchbaseSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+// AsTeradataSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsConcurSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsConcurSource() (*ConcurSource, bool) {
+// AsOracleSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsOracleSource() (*OracleSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAmazonMWSSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsHTTPSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsHTTPSource() (*HTTPSource, bool) {
+// AsHdfsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsAzureBlobFSSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsOffice365Source is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsOffice365Source() (*Office365Source, bool) {
+// AsSQLMISource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsMongoDbSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsRestSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsWebSource() (*WebSource, bool) {
+// AsSapTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsOracleSource() (*OracleSource, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsSapEccSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsSalesforceSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsODataSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsSybaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSQLSource() (*SQLSource, bool) {
+// AsMySQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsRestSource() (*RestSource, bool) {
- return &rs, true
+// AsOdbcSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsDb2Source is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsInformixSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsRelationalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsDynamicsCrmSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsDynamicsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsBlobSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsBlobSource() (*BlobSource, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsBlobSource() (*BlobSource, bool) {
+// AsAzureTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsBinarySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsBinarySource() (*BinarySource, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsDelimitedTextSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsParquetSource() (*ParquetSource, bool) {
+// AsParquetSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsParquetSource() (*ParquetSource, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsCopySource() (*CopySource, bool) {
+// AsCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsCopySource() (*CopySource, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for RestSource.
-func (rs RestSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &rs, true
+// AsBasicCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
+func (smcs SalesforceMarketingCloudSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &smcs, true
}
-// UnmarshalJSON is the custom unmarshaler for RestSource struct.
-func (rs *RestSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudSource struct.
+func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -119702,23 +147115,14 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "httpRequestTimeout":
- if v != nil {
- var HTTPRequestTimeout interface{}
- err = json.Unmarshal(*v, &HTTPRequestTimeout)
- if err != nil {
- return err
- }
- rs.HTTPRequestTimeout = HTTPRequestTimeout
- }
- case "requestInterval":
+ case "query":
if v != nil {
- var requestInterval interface{}
- err = json.Unmarshal(*v, &requestInterval)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- rs.RequestInterval = requestInterval
+ smcs.Query = query
}
default:
if v != nil {
@@ -119727,10 +147131,10 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if rs.AdditionalProperties == nil {
- rs.AdditionalProperties = make(map[string]interface{})
+ if smcs.AdditionalProperties == nil {
+ smcs.AdditionalProperties = make(map[string]interface{})
}
- rs.AdditionalProperties[k] = additionalProperties
+ smcs.AdditionalProperties[k] = additionalProperties
}
case "sourceRetryCount":
if v != nil {
@@ -119739,7 +147143,7 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rs.SourceRetryCount = sourceRetryCount
+ smcs.SourceRetryCount = sourceRetryCount
}
case "sourceRetryWait":
if v != nil {
@@ -119748,7 +147152,7 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rs.SourceRetryWait = sourceRetryWait
+ smcs.SourceRetryWait = sourceRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -119757,7 +147161,7 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rs.MaxConcurrentConnections = maxConcurrentConnections
+ smcs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
@@ -119766,7 +147170,7 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- rs.Type = typeVar
+ smcs.Type = typeVar
}
}
}
@@ -119774,524 +147178,469 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error {
return nil
}
-// RetryPolicy execution policy for an activity.
-type RetryPolicy struct {
- // Count - Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.
- Count interface{} `json:"count,omitempty"`
- // IntervalInSeconds - Interval between retries in seconds. Default is 30.
- IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"`
-}
-
-// RunFilterParameters query parameters for listing runs.
-type RunFilterParameters struct {
- // ContinuationToken - The continuation token for getting the next page of results. Null for first page.
- ContinuationToken *string `json:"continuationToken,omitempty"`
- // LastUpdatedAfter - The time at or after which the run event was updated in 'ISO 8601' format.
- LastUpdatedAfter *date.Time `json:"lastUpdatedAfter,omitempty"`
- // LastUpdatedBefore - The time at or before which the run event was updated in 'ISO 8601' format.
- LastUpdatedBefore *date.Time `json:"lastUpdatedBefore,omitempty"`
- // Filters - List of filters.
- Filters *[]RunQueryFilter `json:"filters,omitempty"`
- // OrderBy - List of OrderBy option.
- OrderBy *[]RunQueryOrderBy `json:"orderBy,omitempty"`
-}
-
-// RunQueryFilter query filter option for listing runs.
-type RunQueryFilter struct {
- // Operand - Parameter name to be used for filter. The allowed operands to query pipeline runs are PipelineName, RunStart, RunEnd and Status; to query activity runs are ActivityName, ActivityRunStart, ActivityRunEnd, ActivityType and Status, and to query trigger runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: 'PipelineName', 'Status', 'RunStart', 'RunEnd', 'ActivityName', 'ActivityRunStart', 'ActivityRunEnd', 'ActivityType', 'TriggerName', 'TriggerRunTimestamp', 'RunGroupID', 'LatestOnly'
- Operand RunQueryFilterOperand `json:"operand,omitempty"`
- // Operator - Operator to be used for filter. Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn'
- Operator RunQueryFilterOperator `json:"operator,omitempty"`
- // Values - List of filter values.
- Values *[]string `json:"values,omitempty"`
-}
-
-// RunQueryOrderBy an object to provide order by options for listing runs.
-type RunQueryOrderBy struct {
- // OrderBy - Parameter name to be used for order by. The allowed parameters to order by for pipeline runs are PipelineName, RunStart, RunEnd and Status; for activity runs are ActivityName, ActivityRunStart, ActivityRunEnd and Status; for trigger runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: 'RunQueryOrderByFieldRunStart', 'RunQueryOrderByFieldRunEnd', 'RunQueryOrderByFieldPipelineName', 'RunQueryOrderByFieldStatus', 'RunQueryOrderByFieldActivityName', 'RunQueryOrderByFieldActivityRunStart', 'RunQueryOrderByFieldActivityRunEnd', 'RunQueryOrderByFieldTriggerName', 'RunQueryOrderByFieldTriggerRunTimestamp'
- OrderBy RunQueryOrderByField `json:"orderBy,omitempty"`
- // Order - Sorting order of the parameter. Possible values include: 'ASC', 'DESC'
- Order RunQueryOrder `json:"order,omitempty"`
-}
-
-// SalesforceLinkedService linked service for Salesforce.
-type SalesforceLinkedService struct {
- // SalesforceLinkedServiceTypeProperties - Salesforce linked service properties.
- *SalesforceLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// SalesforceObjectDataset the Salesforce object dataset.
+type SalesforceObjectDataset struct {
+ // SalesforceObjectDatasetTypeProperties - Salesforce object dataset properties.
+ *SalesforceObjectDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // ConnectVia - The integration runtime reference.
- ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
- // Description - Linked service description.
+ // Description - Dataset description.
Description *string `json:"description,omitempty"`
- // Parameters - Parameters for linked service.
+ // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
+ Structure interface{} `json:"structure,omitempty"`
+ // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
+ Schema interface{} `json:"schema,omitempty"`
+ // LinkedServiceName - Linked service reference.
+ LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
+ // Parameters - Parameters for dataset.
Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the linked service.
+ // Annotations - List of tags that can be used for describing the Dataset.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
- Type TypeBasicLinkedService `json:"type,omitempty"`
+ // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
+ Folder *DatasetFolder `json:"folder,omitempty"`
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for SalesforceLinkedService.
-func (sls SalesforceLinkedService) MarshalJSON() ([]byte, error) {
- sls.Type = TypeSalesforce
+// MarshalJSON is the custom marshaler for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) MarshalJSON() ([]byte, error) {
+ sod.Type = TypeSalesforceObject
objectMap := make(map[string]interface{})
- if sls.SalesforceLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = sls.SalesforceLinkedServiceTypeProperties
+ if sod.SalesforceObjectDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = sod.SalesforceObjectDatasetTypeProperties
}
- if sls.ConnectVia != nil {
- objectMap["connectVia"] = sls.ConnectVia
+ if sod.Description != nil {
+ objectMap["description"] = sod.Description
}
- if sls.Description != nil {
- objectMap["description"] = sls.Description
+ if sod.Structure != nil {
+ objectMap["structure"] = sod.Structure
}
- if sls.Parameters != nil {
- objectMap["parameters"] = sls.Parameters
+ if sod.Schema != nil {
+ objectMap["schema"] = sod.Schema
}
- if sls.Annotations != nil {
- objectMap["annotations"] = sls.Annotations
+ if sod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = sod.LinkedServiceName
}
- if sls.Type != "" {
- objectMap["type"] = sls.Type
+ if sod.Parameters != nil {
+ objectMap["parameters"] = sod.Parameters
}
- for k, v := range sls.AdditionalProperties {
+ if sod.Annotations != nil {
+ objectMap["annotations"] = sod.Annotations
+ }
+ if sod.Folder != nil {
+ objectMap["folder"] = sod.Folder
+ }
+ if sod.Type != "" {
+ objectMap["type"] = sod.Type
+ }
+ for k, v := range sod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
- return nil, false
-}
-
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
- return nil, false
-}
-
-// AsSapTableLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
- return nil, false
-}
-
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsHTTPDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsWebTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
- return nil, false
+// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+ return &sod, true
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
- return &sls, true
-}
-
-// AsOffice365LinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsFileShareDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsCustomDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsAzureTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsAzureBlobDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsBinaryDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsDelimitedTextDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsParquetDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsDataset() (*Dataset, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
-func (sls SalesforceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &sls, true
+// AsBasicDataset is the BasicDataset implementation for SalesforceObjectDataset.
+func (sod SalesforceObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &sod, true
}
-// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedService struct.
-func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for SalesforceObjectDataset struct.
+func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -120301,12 +147650,12 @@ func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error {
switch k {
case "typeProperties":
if v != nil {
- var salesforceLinkedServiceTypeProperties SalesforceLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &salesforceLinkedServiceTypeProperties)
+ var salesforceObjectDatasetTypeProperties SalesforceObjectDatasetTypeProperties
+ err = json.Unmarshal(*v, &salesforceObjectDatasetTypeProperties)
if err != nil {
return err
}
- sls.SalesforceLinkedServiceTypeProperties = &salesforceLinkedServiceTypeProperties
+ sod.SalesforceObjectDatasetTypeProperties = &salesforceObjectDatasetTypeProperties
}
default:
if v != nil {
@@ -120315,19 +147664,10 @@ func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if sls.AdditionalProperties == nil {
- sls.AdditionalProperties = make(map[string]interface{})
- }
- sls.AdditionalProperties[k] = additionalProperties
- }
- case "connectVia":
- if v != nil {
- var connectVia IntegrationRuntimeReference
- err = json.Unmarshal(*v, &connectVia)
- if err != nil {
- return err
+ if sod.AdditionalProperties == nil {
+ sod.AdditionalProperties = make(map[string]interface{})
}
- sls.ConnectVia = &connectVia
+ sod.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -120336,106 +147676,70 @@ func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- sls.Description = &description
- }
- case "parameters":
- if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
- if err != nil {
- return err
- }
- sls.Parameters = parameters
+ sod.Description = &description
}
- case "annotations":
+ case "structure":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var structure interface{}
+ err = json.Unmarshal(*v, &structure)
if err != nil {
return err
}
- sls.Annotations = &annotations
+ sod.Structure = structure
}
- case "type":
+ case "schema":
if v != nil {
- var typeVar TypeBasicLinkedService
- err = json.Unmarshal(*v, &typeVar)
+ var schema interface{}
+ err = json.Unmarshal(*v, &schema)
if err != nil {
return err
}
- sls.Type = typeVar
+ sod.Schema = schema
}
- }
- }
-
- return nil
-}
-
-// SalesforceLinkedServiceTypeProperties salesforce linked service properties.
-type SalesforceLinkedServiceTypeProperties struct {
- // EnvironmentURL - The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string).
- EnvironmentURL interface{} `json:"environmentUrl,omitempty"`
- // Username - The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).
- Username interface{} `json:"username,omitempty"`
- // Password - The password for Basic authentication of the Salesforce instance.
- Password BasicSecretBase `json:"password,omitempty"`
- // SecurityToken - The security token is required to remotely access Salesforce instance.
- SecurityToken BasicSecretBase `json:"securityToken,omitempty"`
- // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
- EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedServiceTypeProperties struct.
-func (slstp *SalesforceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
- var m map[string]*json.RawMessage
- err := json.Unmarshal(body, &m)
- if err != nil {
- return err
- }
- for k, v := range m {
- switch k {
- case "environmentUrl":
+ case "linkedServiceName":
if v != nil {
- var environmentURL interface{}
- err = json.Unmarshal(*v, &environmentURL)
+ var linkedServiceName LinkedServiceReference
+ err = json.Unmarshal(*v, &linkedServiceName)
if err != nil {
return err
}
- slstp.EnvironmentURL = environmentURL
+ sod.LinkedServiceName = &linkedServiceName
}
- case "username":
+ case "parameters":
if v != nil {
- var username interface{}
- err = json.Unmarshal(*v, &username)
+ var parameters map[string]*ParameterSpecification
+ err = json.Unmarshal(*v, ¶meters)
if err != nil {
return err
}
- slstp.Username = username
+ sod.Parameters = parameters
}
- case "password":
+ case "annotations":
if v != nil {
- password, err := unmarshalBasicSecretBase(*v)
+ var annotations []interface{}
+ err = json.Unmarshal(*v, &annotations)
if err != nil {
return err
}
- slstp.Password = password
+ sod.Annotations = &annotations
}
- case "securityToken":
+ case "folder":
if v != nil {
- securityToken, err := unmarshalBasicSecretBase(*v)
+ var folder DatasetFolder
+ err = json.Unmarshal(*v, &folder)
if err != nil {
return err
}
- slstp.SecurityToken = securityToken
+ sod.Folder = &folder
}
- case "encryptedCredential":
+ case "type":
if v != nil {
- var encryptedCredential interface{}
- err = json.Unmarshal(*v, &encryptedCredential)
+ var typeVar TypeBasicDataset
+ err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- slstp.EncryptedCredential = encryptedCredential
+ sod.Type = typeVar
}
}
}
@@ -120443,10 +147747,16 @@ func (slstp *SalesforceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e
return nil
}
-// SalesforceMarketingCloudLinkedService salesforce Marketing Cloud linked service.
-type SalesforceMarketingCloudLinkedService struct {
- // SalesforceMarketingCloudLinkedServiceTypeProperties - Salesforce Marketing Cloud linked service properties.
- *SalesforceMarketingCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
+// SalesforceObjectDatasetTypeProperties salesforce object dataset properties.
+type SalesforceObjectDatasetTypeProperties struct {
+ // ObjectAPIName - The Salesforce object API name. Type: string (or Expression with resultType string).
+ ObjectAPIName interface{} `json:"objectApiName,omitempty"`
+}
+
+// SalesforceServiceCloudLinkedService linked service for Salesforce Service Cloud.
+type SalesforceServiceCloudLinkedService struct {
+ // SalesforceServiceCloudLinkedServiceTypeProperties - Salesforce Service Cloud linked service properties.
+ *SalesforceServiceCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// ConnectVia - The integration runtime reference.
@@ -120457,470 +147767,500 @@ type SalesforceMarketingCloudLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) MarshalJSON() ([]byte, error) {
- smcls.Type = TypeSalesforceMarketingCloud
+// MarshalJSON is the custom marshaler for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) MarshalJSON() ([]byte, error) {
+ sscls.Type = TypeSalesforceServiceCloud
objectMap := make(map[string]interface{})
- if smcls.SalesforceMarketingCloudLinkedServiceTypeProperties != nil {
- objectMap["typeProperties"] = smcls.SalesforceMarketingCloudLinkedServiceTypeProperties
+ if sscls.SalesforceServiceCloudLinkedServiceTypeProperties != nil {
+ objectMap["typeProperties"] = sscls.SalesforceServiceCloudLinkedServiceTypeProperties
}
- if smcls.ConnectVia != nil {
- objectMap["connectVia"] = smcls.ConnectVia
+ if sscls.ConnectVia != nil {
+ objectMap["connectVia"] = sscls.ConnectVia
}
- if smcls.Description != nil {
- objectMap["description"] = smcls.Description
+ if sscls.Description != nil {
+ objectMap["description"] = sscls.Description
}
- if smcls.Parameters != nil {
- objectMap["parameters"] = smcls.Parameters
+ if sscls.Parameters != nil {
+ objectMap["parameters"] = sscls.Parameters
}
- if smcls.Annotations != nil {
- objectMap["annotations"] = smcls.Annotations
+ if sscls.Annotations != nil {
+ objectMap["annotations"] = sscls.Annotations
}
- if smcls.Type != "" {
- objectMap["type"] = smcls.Type
+ if sscls.Type != "" {
+ objectMap["type"] = sscls.Type
}
- for k, v := range smcls.AdditionalProperties {
+ for k, v := range sscls.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
+// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) {
return nil, false
}
-// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
+// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) {
return nil, false
}
-// AsSapTableLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
+// AsSapTableLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) {
return nil, false
}
-// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
+// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) {
return nil, false
}
-// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
+// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) {
return nil, false
}
-// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
+// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) {
return nil, false
}
-// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
+// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
return nil, false
}
-// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
+// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
+// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
return nil, false
}
-// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
+// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
- return &smcls, true
+// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
+ return nil, false
}
-// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
+// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
return nil, false
}
-// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
+// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
return nil, false
}
-// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
+// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
return nil, false
}
-// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
+// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
return nil, false
}
-// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
+// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
return nil, false
}
-// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
+// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
return nil, false
}
-// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
+// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
return nil, false
}
-// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
+// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
return nil, false
}
-// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
+// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
return nil, false
}
-// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
+// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
return nil, false
}
-// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
+// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
return nil, false
}
-// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
+// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
return nil, false
}
-// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
+// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
return nil, false
}
-// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
+// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
return nil, false
}
-// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
+// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
return nil, false
}
-// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
+// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
return nil, false
}
-// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
+// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
return nil, false
}
-// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
+// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
return nil, false
}
-// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
+// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
return nil, false
}
-// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
+// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
return nil, false
}
-// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
+// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
return nil, false
}
-// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
+// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
return nil, false
}
-// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
+// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
return nil, false
}
-// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
+// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
return nil, false
}
-// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
+// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
return nil, false
}
-// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
+// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
return nil, false
}
-// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
+// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
return nil, false
}
-// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
+// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
return nil, false
}
-// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
+// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
return nil, false
}
-// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
+// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
return nil, false
}
-// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
+// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
return nil, false
}
-// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
+// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
return nil, false
}
-// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
+// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
return nil, false
}
-// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
+// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
return nil, false
}
-// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
+// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
return nil, false
}
-// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
+// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
return nil, false
}
-// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
+// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
return nil, false
}
-// AsRestServiceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
+// AsRestServiceLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) {
return nil, false
}
-// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
+// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) {
return nil, false
}
-// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
+// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
return nil, false
}
-// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
+// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
return nil, false
}
-// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return &sscls, true
+}
+
+// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
}
-// AsOffice365LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
+// AsOffice365LinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) {
return nil, false
}
-// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
+// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) {
return nil, false
}
-// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
+// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
+// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) {
return nil, false
}
-// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
+// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) {
return nil, false
}
-// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
+// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
return nil, false
}
-// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
+// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
return nil, false
}
-// AsWebLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
+// AsWebLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
return nil, false
}
-// AsODataLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
+// AsODataLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
return nil, false
}
-// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
+// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
-// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
return nil, false
}
-// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
+// AsInformixLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
return nil, false
}
-// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
+// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
}
-// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
+// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
return nil, false
}
-// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
+// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
return nil, false
}
-// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
+// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
return nil, false
}
-// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
+// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
return nil, false
}
-// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
+// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
return nil, false
}
-// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
+// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
return nil, false
}
-// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
+// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
return nil, false
}
-// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
+// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
return nil, false
}
-// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
+// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
return nil, false
}
-// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
+// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
return nil, false
}
-// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
return nil, false
}
-// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
+// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
}
-// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
+// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
return nil, false
}
-// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
return nil, false
}
-// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
return nil, false
}
-// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
return nil, false
}
-// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
}
-// AsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsLinkedService() (*LinkedService, bool) {
+// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
return nil, false
}
-// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
-func (smcls SalesforceMarketingCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
- return &smcls, true
+// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudLinkedService struct.
-func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) error {
+// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
+ return nil, false
+}
+
+// AsLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsLinkedService() (*LinkedService, bool) {
+ return nil, false
+}
+
+// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService.
+func (sscls SalesforceServiceCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
+ return &sscls, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for SalesforceServiceCloudLinkedService struct.
+func (sscls *SalesforceServiceCloudLinkedService) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -120930,12 +148270,12 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e
switch k {
case "typeProperties":
if v != nil {
- var salesforceMarketingCloudLinkedServiceTypeProperties SalesforceMarketingCloudLinkedServiceTypeProperties
- err = json.Unmarshal(*v, &salesforceMarketingCloudLinkedServiceTypeProperties)
+ var salesforceServiceCloudLinkedServiceTypeProperties SalesforceServiceCloudLinkedServiceTypeProperties
+ err = json.Unmarshal(*v, &salesforceServiceCloudLinkedServiceTypeProperties)
if err != nil {
return err
}
- smcls.SalesforceMarketingCloudLinkedServiceTypeProperties = &salesforceMarketingCloudLinkedServiceTypeProperties
+ sscls.SalesforceServiceCloudLinkedServiceTypeProperties = &salesforceServiceCloudLinkedServiceTypeProperties
}
default:
if v != nil {
@@ -120944,10 +148284,10 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- if smcls.AdditionalProperties == nil {
- smcls.AdditionalProperties = make(map[string]interface{})
+ if sscls.AdditionalProperties == nil {
+ sscls.AdditionalProperties = make(map[string]interface{})
}
- smcls.AdditionalProperties[k] = additionalProperties
+ sscls.AdditionalProperties[k] = additionalProperties
}
case "connectVia":
if v != nil {
@@ -120956,7 +148296,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcls.ConnectVia = &connectVia
+ sscls.ConnectVia = &connectVia
}
case "description":
if v != nil {
@@ -120965,7 +148305,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcls.Description = &description
+ sscls.Description = &description
}
case "parameters":
if v != nil {
@@ -120974,7 +148314,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcls.Parameters = parameters
+ sscls.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -120983,7 +148323,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcls.Annotations = &annotations
+ sscls.Annotations = &annotations
}
case "type":
if v != nil {
@@ -120992,7 +148332,7 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcls.Type = typeVar
+ sscls.Type = typeVar
}
}
}
@@ -121000,25 +148340,24 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e
return nil
}
-// 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"`
- // ClientSecret - The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string).
- ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
- // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).
- UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
- // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
- UseHostVerification interface{} `json:"useHostVerification,omitempty"`
- // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
- UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
+// SalesforceServiceCloudLinkedServiceTypeProperties salesforce Service Cloud linked service properties.
+type SalesforceServiceCloudLinkedServiceTypeProperties struct {
+ // EnvironmentURL - The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string).
+ EnvironmentURL interface{} `json:"environmentUrl,omitempty"`
+ // Username - The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).
+ Username interface{} `json:"username,omitempty"`
+ // Password - The password for Basic authentication of the Salesforce instance.
+ Password BasicSecretBase `json:"password,omitempty"`
+ // SecurityToken - The security token is required to remotely access Salesforce instance.
+ SecurityToken BasicSecretBase `json:"securityToken,omitempty"`
+ // ExtendedProperties - Extended properties appended to the connection string. Type: string (or Expression with resultType string).
+ ExtendedProperties interface{} `json:"extendedProperties,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
-// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudLinkedServiceTypeProperties struct.
-func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for SalesforceServiceCloudLinkedServiceTypeProperties struct.
+func (ssclstp *SalesforceServiceCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -121026,49 +148365,48 @@ func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSO
}
for k, v := range m {
switch k {
- case "clientId":
+ case "environmentUrl":
if v != nil {
- var clientID interface{}
- err = json.Unmarshal(*v, &clientID)
+ var environmentURL interface{}
+ err = json.Unmarshal(*v, &environmentURL)
if err != nil {
return err
}
- smclstp.ClientID = clientID
+ ssclstp.EnvironmentURL = environmentURL
}
- case "clientSecret":
+ case "username":
if v != nil {
- clientSecret, err := unmarshalBasicSecretBase(*v)
+ var username interface{}
+ err = json.Unmarshal(*v, &username)
if err != nil {
return err
}
- smclstp.ClientSecret = clientSecret
+ ssclstp.Username = username
}
- case "useEncryptedEndpoints":
+ case "password":
if v != nil {
- var useEncryptedEndpoints interface{}
- err = json.Unmarshal(*v, &useEncryptedEndpoints)
+ password, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- smclstp.UseEncryptedEndpoints = useEncryptedEndpoints
+ ssclstp.Password = password
}
- case "useHostVerification":
+ case "securityToken":
if v != nil {
- var useHostVerification interface{}
- err = json.Unmarshal(*v, &useHostVerification)
+ securityToken, err := unmarshalBasicSecretBase(*v)
if err != nil {
return err
}
- smclstp.UseHostVerification = useHostVerification
+ ssclstp.SecurityToken = securityToken
}
- case "usePeerVerification":
+ case "extendedProperties":
if v != nil {
- var usePeerVerification interface{}
- err = json.Unmarshal(*v, &usePeerVerification)
+ var extendedProperties interface{}
+ err = json.Unmarshal(*v, &extendedProperties)
if err != nil {
return err
}
- smclstp.UsePeerVerification = usePeerVerification
+ ssclstp.ExtendedProperties = extendedProperties
}
case "encryptedCredential":
if v != nil {
@@ -121077,7 +148415,7 @@ func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSO
if err != nil {
return err
}
- smclstp.EncryptedCredential = encryptedCredential
+ ssclstp.EncryptedCredential = encryptedCredential
}
}
}
@@ -121085,10 +148423,10 @@ func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSO
return nil
}
-// SalesforceMarketingCloudObjectDataset salesforce Marketing Cloud dataset.
-type SalesforceMarketingCloudObjectDataset struct {
- // GenericDatasetTypeProperties - Properties specific to this dataset type.
- *GenericDatasetTypeProperties `json:"typeProperties,omitempty"`
+// SalesforceServiceCloudObjectDataset the Salesforce Service Cloud object dataset.
+type SalesforceServiceCloudObjectDataset struct {
+ // SalesforceServiceCloudObjectDatasetTypeProperties - Salesforce Service Cloud object dataset properties.
+ *SalesforceServiceCloudObjectDatasetTypeProperties `json:"typeProperties,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Description - Dataset description.
@@ -121105,399 +148443,449 @@ type SalesforceMarketingCloudObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) MarshalJSON() ([]byte, error) {
- smcod.Type = TypeSalesforceMarketingCloudObject
+// MarshalJSON is the custom marshaler for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) MarshalJSON() ([]byte, error) {
+ sscod.Type = TypeSalesforceServiceCloudObject
objectMap := make(map[string]interface{})
- if smcod.GenericDatasetTypeProperties != nil {
- objectMap["typeProperties"] = smcod.GenericDatasetTypeProperties
+ if sscod.SalesforceServiceCloudObjectDatasetTypeProperties != nil {
+ objectMap["typeProperties"] = sscod.SalesforceServiceCloudObjectDatasetTypeProperties
}
- if smcod.Description != nil {
- objectMap["description"] = smcod.Description
+ if sscod.Description != nil {
+ objectMap["description"] = sscod.Description
}
- if smcod.Structure != nil {
- objectMap["structure"] = smcod.Structure
+ if sscod.Structure != nil {
+ objectMap["structure"] = sscod.Structure
}
- if smcod.Schema != nil {
- objectMap["schema"] = smcod.Schema
+ if sscod.Schema != nil {
+ objectMap["schema"] = sscod.Schema
}
- if smcod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = smcod.LinkedServiceName
+ if sscod.LinkedServiceName != nil {
+ objectMap["linkedServiceName"] = sscod.LinkedServiceName
}
- if smcod.Parameters != nil {
- objectMap["parameters"] = smcod.Parameters
+ if sscod.Parameters != nil {
+ objectMap["parameters"] = sscod.Parameters
}
- if smcod.Annotations != nil {
- objectMap["annotations"] = smcod.Annotations
+ if sscod.Annotations != nil {
+ objectMap["annotations"] = sscod.Annotations
}
- if smcod.Folder != nil {
- objectMap["folder"] = smcod.Folder
+ if sscod.Folder != nil {
+ objectMap["folder"] = sscod.Folder
}
- if smcod.Type != "" {
- objectMap["type"] = smcod.Type
+ if sscod.Type != "" {
+ objectMap["type"] = sscod.Type
}
- for k, v := range smcod.AdditionalProperties {
+ for k, v := range sscod.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
- return &smcod, true
+// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+ return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsWebTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsSapTableResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsRestResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsSapOpenHubTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsSapHanaTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return &sscod, true
+}
+
+// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsMySQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsOdbcTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsInformixTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsRelationalTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsTeradataTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsOracleTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsODataResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsFileShareDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsOffice365Dataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsAzureBlobFSDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsCustomDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsCassandraTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsDataset() (*Dataset, bool) {
+// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
-func (smcod SalesforceMarketingCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &smcod, true
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudObjectDataset struct.
-func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) error {
+// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+ return nil, false
+}
+
+// AsAzureBlobDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+ return nil, false
+}
+
+// AsBinaryDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+ return nil, false
+}
+
+// AsParquetDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+ return nil, false
+}
+
+// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+ return nil, false
+}
+
+// AsDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsDataset() (*Dataset, bool) {
+ return nil, false
+}
+
+// AsBasicDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset.
+func (sscod SalesforceServiceCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) {
+ return &sscod, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for SalesforceServiceCloudObjectDataset struct.
+func (sscod *SalesforceServiceCloudObjectDataset) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -121507,12 +148895,12 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
switch k {
case "typeProperties":
if v != nil {
- var genericDatasetTypeProperties GenericDatasetTypeProperties
- err = json.Unmarshal(*v, &genericDatasetTypeProperties)
+ var salesforceServiceCloudObjectDatasetTypeProperties SalesforceServiceCloudObjectDatasetTypeProperties
+ err = json.Unmarshal(*v, &salesforceServiceCloudObjectDatasetTypeProperties)
if err != nil {
return err
}
- smcod.GenericDatasetTypeProperties = &genericDatasetTypeProperties
+ sscod.SalesforceServiceCloudObjectDatasetTypeProperties = &salesforceServiceCloudObjectDatasetTypeProperties
}
default:
if v != nil {
@@ -121521,10 +148909,10 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- if smcod.AdditionalProperties == nil {
- smcod.AdditionalProperties = make(map[string]interface{})
+ if sscod.AdditionalProperties == nil {
+ sscod.AdditionalProperties = make(map[string]interface{})
}
- smcod.AdditionalProperties[k] = additionalProperties
+ sscod.AdditionalProperties[k] = additionalProperties
}
case "description":
if v != nil {
@@ -121533,7 +148921,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcod.Description = &description
+ sscod.Description = &description
}
case "structure":
if v != nil {
@@ -121542,7 +148930,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcod.Structure = structure
+ sscod.Structure = structure
}
case "schema":
if v != nil {
@@ -121551,7 +148939,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcod.Schema = schema
+ sscod.Schema = schema
}
case "linkedServiceName":
if v != nil {
@@ -121560,7 +148948,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcod.LinkedServiceName = &linkedServiceName
+ sscod.LinkedServiceName = &linkedServiceName
}
case "parameters":
if v != nil {
@@ -121569,7 +148957,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcod.Parameters = parameters
+ sscod.Parameters = parameters
}
case "annotations":
if v != nil {
@@ -121578,7 +148966,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcod.Annotations = &annotations
+ sscod.Annotations = &annotations
}
case "folder":
if v != nil {
@@ -121587,7 +148975,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcod.Folder = &folder
+ sscod.Folder = &folder
}
case "type":
if v != nil {
@@ -121596,7 +148984,7 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
if err != nil {
return err
}
- smcod.Type = typeVar
+ sscod.Type = typeVar
}
}
}
@@ -121604,394 +148992,230 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e
return nil
}
-// SalesforceMarketingCloudSource a copy activity Salesforce Marketing Cloud source.
-type SalesforceMarketingCloudSource struct {
- // Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
- Query interface{} `json:"query,omitempty"`
+// SalesforceServiceCloudObjectDatasetTypeProperties salesforce Service Cloud object dataset properties.
+type SalesforceServiceCloudObjectDatasetTypeProperties struct {
+ // ObjectAPIName - The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string).
+ ObjectAPIName interface{} `json:"objectApiName,omitempty"`
+}
+
+// SalesforceServiceCloudSink a copy activity Salesforce Service Cloud sink.
+type SalesforceServiceCloudSink struct {
+ // WriteBehavior - The write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert'
+ WriteBehavior SalesforceSinkWriteBehavior `json:"writeBehavior,omitempty"`
+ // ExternalIDFieldName - The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string).
+ ExternalIDFieldName interface{} `json:"externalIdFieldName,omitempty"`
+ // IgnoreNullValues - The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean).
+ IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
- SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
- // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
- SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
- // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
- Type TypeBasicCopySource `json:"type,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) MarshalJSON() ([]byte, error) {
- smcs.Type = TypeSalesforceMarketingCloudSource
+// MarshalJSON is the custom marshaler for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) MarshalJSON() ([]byte, error) {
+ sscs.Type = TypeSalesforceServiceCloudSink
objectMap := make(map[string]interface{})
- if smcs.Query != nil {
- objectMap["query"] = smcs.Query
+ if sscs.WriteBehavior != "" {
+ objectMap["writeBehavior"] = sscs.WriteBehavior
}
- if smcs.SourceRetryCount != nil {
- objectMap["sourceRetryCount"] = smcs.SourceRetryCount
+ if sscs.ExternalIDFieldName != nil {
+ objectMap["externalIdFieldName"] = sscs.ExternalIDFieldName
}
- if smcs.SourceRetryWait != nil {
- objectMap["sourceRetryWait"] = smcs.SourceRetryWait
+ if sscs.IgnoreNullValues != nil {
+ objectMap["ignoreNullValues"] = sscs.IgnoreNullValues
}
- if smcs.MaxConcurrentConnections != nil {
- objectMap["maxConcurrentConnections"] = smcs.MaxConcurrentConnections
+ if sscs.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = sscs.WriteBatchSize
}
- if smcs.Type != "" {
- objectMap["type"] = smcs.Type
+ if sscs.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = sscs.WriteBatchTimeout
}
- for k, v := range smcs.AdditionalProperties {
+ if sscs.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = sscs.SinkRetryCount
+ }
+ if sscs.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = sscs.SinkRetryWait
+ }
+ if sscs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = sscs.MaxConcurrentConnections
+ }
+ if sscs.Type != "" {
+ objectMap["type"] = sscs.Type
+ }
+ for k, v := range sscs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
- return nil, false
-}
-
-// AsGoogleAdWordsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
- return nil, false
-}
-
-// AsOracleServiceCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
- return nil, false
-}
-
-// AsDynamicsAXSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
- return nil, false
-}
-
-// AsResponsysSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsResponsysSource() (*ResponsysSource, bool) {
- return nil, false
-}
-
-// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
- return &smcs, true
-}
-
-// AsVerticaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsVerticaSource() (*VerticaSource, bool) {
- return nil, false
-}
-
-// AsNetezzaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsNetezzaSource() (*NetezzaSource, bool) {
- return nil, false
-}
-
-// AsZohoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsZohoSource() (*ZohoSource, bool) {
- return nil, false
-}
-
-// AsXeroSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsXeroSource() (*XeroSource, bool) {
- return nil, false
-}
-
-// AsSquareSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSquareSource() (*SquareSource, bool) {
- return nil, false
-}
-
-// AsSparkSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSparkSource() (*SparkSource, bool) {
- return nil, false
-}
-
-// AsShopifySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsShopifySource() (*ShopifySource, bool) {
- return nil, false
-}
-
-// AsServiceNowSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) {
- return nil, false
-}
-
-// AsQuickBooksSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
- return nil, false
-}
-
-// AsPrestoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsPrestoSource() (*PrestoSource, bool) {
- return nil, false
-}
-
-// AsPhoenixSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsPhoenixSource() (*PhoenixSource, bool) {
- return nil, false
-}
-
-// AsPaypalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsPaypalSource() (*PaypalSource, bool) {
- return nil, false
-}
-
-// AsMarketoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsMarketoSource() (*MarketoSource, bool) {
- return nil, false
-}
-
-// AsMariaDBSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsMariaDBSource() (*MariaDBSource, bool) {
- return nil, false
-}
-
-// AsMagentoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsMagentoSource() (*MagentoSource, bool) {
- return nil, false
-}
-
-// AsJiraSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsJiraSource() (*JiraSource, bool) {
- return nil, false
-}
-
-// AsImpalaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsImpalaSource() (*ImpalaSource, bool) {
- return nil, false
-}
-
-// AsHubspotSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsHubspotSource() (*HubspotSource, bool) {
- return nil, false
-}
-
-// AsHiveSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsHiveSource() (*HiveSource, bool) {
- return nil, false
-}
-
-// AsHBaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsHBaseSource() (*HBaseSource, bool) {
- return nil, false
-}
-
-// AsGreenplumSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsGreenplumSource() (*GreenplumSource, bool) {
- return nil, false
-}
-
-// AsGoogleBigQuerySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
- return nil, false
-}
-
-// AsEloquaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsEloquaSource() (*EloquaSource, bool) {
- return nil, false
-}
-
-// AsDrillSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsDrillSource() (*DrillSource, bool) {
- return nil, false
-}
-
-// AsCouchbaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
- return nil, false
-}
-
-// AsConcurSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsConcurSource() (*ConcurSource, bool) {
- return nil, false
-}
-
-// AsAzurePostgreSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
- return nil, false
-}
-
-// AsAmazonMWSSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
- return nil, false
-}
-
-// AsHTTPSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsHTTPSource() (*HTTPSource, bool) {
- return nil, false
-}
-
-// AsAzureBlobFSSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
- return nil, false
-}
-
-// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
- return nil, false
-}
-
-// AsOffice365Source is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsOffice365Source() (*Office365Source, bool) {
- return nil, false
-}
-
-// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
-// AsMongoDbV2Source is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
- return nil, false
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return &sscs, true
}
-// AsMongoDbSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsMongoDbSource() (*MongoDbSource, bool) {
+// AsSalesforceSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
}
-// AsCassandraSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsCassandraSource() (*CassandraSource, bool) {
+// AsAzureDataExplorerSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
-// AsWebSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsWebSource() (*WebSource, bool) {
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
return nil, false
}
-// AsTeradataSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsTeradataSource() (*TeradataSource, bool) {
+// AsDynamicsCrmSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
return nil, false
}
-// AsOracleSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsOracleSource() (*OracleSource, bool) {
+// AsDynamicsSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
-// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+// AsMicrosoftAccessSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
return nil, false
}
-// AsAzureMySQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+// AsInformixSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsInformixSink() (*InformixSink, bool) {
return nil, false
}
-// AsHdfsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsHdfsSource() (*HdfsSource, bool) {
+// AsOdbcSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
}
-// AsFileSystemSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsFileSystemSource() (*FileSystemSource, bool) {
+// AsAzureSearchIndexSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
return nil, false
}
-// AsSQLDWSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSQLDWSource() (*SQLDWSource, bool) {
+// AsAzureBlobFSSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
return nil, false
}
-// AsAzureSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
return nil, false
}
-// AsSQLServerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSQLServerSource() (*SQLServerSource, bool) {
+// AsOracleSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsOracleSink() (*OracleSink, bool) {
return nil, false
}
-// AsSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSQLSource() (*SQLSource, bool) {
+// AsSQLDWSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
-// AsRestSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsRestSource() (*RestSource, bool) {
+// AsSQLMISink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsSQLMISink() (*SQLMISink, bool) {
return nil, false
}
-// AsSapTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSapTableSource() (*SapTableSource, bool) {
+// AsAzureSQLSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
}
-// AsSapOpenHubSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+// AsSQLServerSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsSQLServerSink() (*SQLServerSink, bool) {
return nil, false
}
-// AsSapHanaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSapHanaSource() (*SapHanaSource, bool) {
+// AsSQLSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsSQLSink() (*SQLSink, bool) {
return nil, false
}
-// AsSapEccSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSapEccSource() (*SapEccSource, bool) {
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
return nil, false
}
-// AsSapCloudForCustomerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+// AsFileSystemSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsFileSystemSink() (*FileSystemSink, bool) {
return nil, false
}
-// AsSalesforceSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsSalesforceSource() (*SalesforceSource, bool) {
+// AsBlobSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
-// AsRelationalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsRelationalSource() (*RelationalSource, bool) {
+// AsBinarySink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsBinarySink() (*BinarySink, bool) {
return nil, false
}
-// AsDynamicsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsDynamicsSource() (*DynamicsSource, bool) {
+// AsParquetSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
}
-// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+// AsAzureTableSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsAzureTableSink() (*AzureTableSink, bool) {
return nil, false
}
-// AsBlobSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsBlobSource() (*BlobSource, bool) {
+// AsAzureQueueSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
return nil, false
}
-// AsAzureTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsAzureTableSource() (*AzureTableSource, bool) {
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
-// AsDelimitedTextSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
return nil, false
}
-// AsParquetSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsParquetSource() (*ParquetSource, bool) {
+// AsDelimitedTextSink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
}
-// AsCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsCopySource() (*CopySource, bool) {
+// AsCopySink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsCopySink() (*CopySink, bool) {
return nil, false
}
-// AsBasicCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
-func (smcs SalesforceMarketingCloudSource) AsBasicCopySource() (BasicCopySource, bool) {
- return &smcs, true
+// AsBasicCopySink is the BasicCopySink implementation for SalesforceServiceCloudSink.
+func (sscs SalesforceServiceCloudSink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &sscs, true
}
-// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudSource struct.
-func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for SalesforceServiceCloudSink struct.
+func (sscs *SalesforceServiceCloudSink) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -121999,14 +149223,32 @@ func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "query":
+ case "writeBehavior":
if v != nil {
- var query interface{}
- err = json.Unmarshal(*v, &query)
+ var writeBehavior SalesforceSinkWriteBehavior
+ err = json.Unmarshal(*v, &writeBehavior)
if err != nil {
return err
}
- smcs.Query = query
+ sscs.WriteBehavior = writeBehavior
+ }
+ case "externalIdFieldName":
+ if v != nil {
+ var externalIDFieldName interface{}
+ err = json.Unmarshal(*v, &externalIDFieldName)
+ if err != nil {
+ return err
+ }
+ sscs.ExternalIDFieldName = externalIDFieldName
+ }
+ case "ignoreNullValues":
+ if v != nil {
+ var ignoreNullValues interface{}
+ err = json.Unmarshal(*v, &ignoreNullValues)
+ if err != nil {
+ return err
+ }
+ sscs.IgnoreNullValues = ignoreNullValues
}
default:
if v != nil {
@@ -122015,28 +149257,46 @@ func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- if smcs.AdditionalProperties == nil {
- smcs.AdditionalProperties = make(map[string]interface{})
+ if sscs.AdditionalProperties == nil {
+ sscs.AdditionalProperties = make(map[string]interface{})
}
- smcs.AdditionalProperties[k] = additionalProperties
+ sscs.AdditionalProperties[k] = additionalProperties
}
- case "sourceRetryCount":
+ case "writeBatchSize":
if v != nil {
- var sourceRetryCount interface{}
- err = json.Unmarshal(*v, &sourceRetryCount)
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
if err != nil {
return err
}
- smcs.SourceRetryCount = sourceRetryCount
+ sscs.WriteBatchSize = writeBatchSize
}
- case "sourceRetryWait":
+ case "writeBatchTimeout":
if v != nil {
- var sourceRetryWait interface{}
- err = json.Unmarshal(*v, &sourceRetryWait)
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
if err != nil {
return err
}
- smcs.SourceRetryWait = sourceRetryWait
+ sscs.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ sscs.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ sscs.SinkRetryWait = sinkRetryWait
}
case "maxConcurrentConnections":
if v != nil {
@@ -122045,16 +149305,16 @@ func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- smcs.MaxConcurrentConnections = maxConcurrentConnections
+ sscs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicCopySource
+ var typeVar TypeBasicCopySink
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- smcs.Type = typeVar
+ sscs.Type = typeVar
}
}
}
@@ -122062,419 +149322,464 @@ func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error {
return nil
}
-// SalesforceObjectDataset the Salesforce object dataset.
-type SalesforceObjectDataset struct {
- // SalesforceObjectDatasetTypeProperties - Salesforce object dataset properties.
- *SalesforceObjectDatasetTypeProperties `json:"typeProperties,omitempty"`
+// SalesforceServiceCloudSource a copy activity Salesforce Service Cloud source.
+type SalesforceServiceCloudSource struct {
+ // Query - Database query. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // ReadBehavior - The read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll'
+ ReadBehavior SalesforceSourceReadBehavior `json:"readBehavior,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
- // Description - Dataset description.
- Description *string `json:"description,omitempty"`
- // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
- Structure interface{} `json:"structure,omitempty"`
- // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
- Schema interface{} `json:"schema,omitempty"`
- // LinkedServiceName - Linked service reference.
- LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
- // Parameters - Parameters for dataset.
- Parameters map[string]*ParameterSpecification `json:"parameters"`
- // Annotations - List of tags that can be used for describing the Dataset.
- Annotations *[]interface{} `json:"annotations,omitempty"`
- // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
- Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
- Type TypeBasicDataset `json:"type,omitempty"`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) MarshalJSON() ([]byte, error) {
- sod.Type = TypeSalesforceObject
+// MarshalJSON is the custom marshaler for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) MarshalJSON() ([]byte, error) {
+ sscs.Type = TypeSalesforceServiceCloudSource
objectMap := make(map[string]interface{})
- if sod.SalesforceObjectDatasetTypeProperties != nil {
- objectMap["typeProperties"] = sod.SalesforceObjectDatasetTypeProperties
- }
- if sod.Description != nil {
- objectMap["description"] = sod.Description
- }
- if sod.Structure != nil {
- objectMap["structure"] = sod.Structure
- }
- if sod.Schema != nil {
- objectMap["schema"] = sod.Schema
+ if sscs.Query != nil {
+ objectMap["query"] = sscs.Query
}
- if sod.LinkedServiceName != nil {
- objectMap["linkedServiceName"] = sod.LinkedServiceName
+ if sscs.ReadBehavior != "" {
+ objectMap["readBehavior"] = sscs.ReadBehavior
}
- if sod.Parameters != nil {
- objectMap["parameters"] = sod.Parameters
+ if sscs.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = sscs.SourceRetryCount
}
- if sod.Annotations != nil {
- objectMap["annotations"] = sod.Annotations
+ if sscs.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = sscs.SourceRetryWait
}
- if sod.Folder != nil {
- objectMap["folder"] = sod.Folder
+ if sscs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = sscs.MaxConcurrentConnections
}
- if sod.Type != "" {
- objectMap["type"] = sod.Type
+ if sscs.Type != "" {
+ objectMap["type"] = sscs.Type
}
- for k, v := range sod.AdditionalProperties {
+ for k, v := range sscs.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
-// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) {
+// AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
return nil, false
}
-// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) {
+// AsGoogleAdWordsSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
return nil, false
}
-// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) {
+// AsOracleServiceCloudSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
return nil, false
}
-// AsDynamicsAXResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) {
+// AsDynamicsAXSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
return nil, false
}
-// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
+// AsResponsysSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsResponsysSource() (*ResponsysSource, bool) {
return nil, false
}
-// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
return nil, false
}
-// AsVerticaTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
+// AsVerticaSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsVerticaSource() (*VerticaSource, bool) {
return nil, false
}
-// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
+// AsNetezzaSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsNetezzaSource() (*NetezzaSource, bool) {
return nil, false
}
-// AsZohoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
+// AsZohoSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsZohoSource() (*ZohoSource, bool) {
return nil, false
}
-// AsXeroObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
+// AsXeroSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsXeroSource() (*XeroSource, bool) {
return nil, false
}
-// AsSquareObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
+// AsSquareSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSquareSource() (*SquareSource, bool) {
return nil, false
}
-// AsSparkObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
+// AsSparkSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSparkSource() (*SparkSource, bool) {
return nil, false
}
-// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
+// AsShopifySource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsShopifySource() (*ShopifySource, bool) {
return nil, false
}
-// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
+// AsServiceNowSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) {
return nil, false
}
-// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
+// AsQuickBooksSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
return nil, false
}
-// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
+// AsPrestoSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsPrestoSource() (*PrestoSource, bool) {
return nil, false
}
-// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
+// AsPhoenixSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsPhoenixSource() (*PhoenixSource, bool) {
return nil, false
}
-// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
+// AsPaypalSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsPaypalSource() (*PaypalSource, bool) {
return nil, false
}
-// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
+// AsMarketoSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsMarketoSource() (*MarketoSource, bool) {
return nil, false
}
-// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
+// AsMariaDBSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsMariaDBSource() (*MariaDBSource, bool) {
return nil, false
}
-// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
+// AsMagentoSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsMagentoSource() (*MagentoSource, bool) {
return nil, false
}
-// AsJiraObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
+// AsJiraSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsJiraSource() (*JiraSource, bool) {
return nil, false
}
-// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
+// AsImpalaSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsImpalaSource() (*ImpalaSource, bool) {
return nil, false
}
-// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
+// AsHubspotSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsHubspotSource() (*HubspotSource, bool) {
return nil, false
}
-// AsHiveObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
+// AsHiveSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsHiveSource() (*HiveSource, bool) {
return nil, false
}
-// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
+// AsHBaseSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsHBaseSource() (*HBaseSource, bool) {
return nil, false
}
-// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
+// AsGreenplumSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsGreenplumSource() (*GreenplumSource, bool) {
return nil, false
}
-// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
+// AsGoogleBigQuerySource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
return nil, false
}
-// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
+// AsEloquaSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsEloquaSource() (*EloquaSource, bool) {
return nil, false
}
-// AsDrillTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
+// AsDrillSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsDrillSource() (*DrillSource, bool) {
return nil, false
}
-// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
+// AsCouchbaseSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
return nil, false
}
-// AsConcurObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
+// AsConcurSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsConcurSource() (*ConcurSource, bool) {
return nil, false
}
-// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
return nil, false
}
-// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
+// AsAmazonMWSSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
return nil, false
}
-// AsHTTPDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
+// AsHTTPSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) {
return nil, false
}
-// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
+// AsAzureBlobFSSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
return nil, false
}
-// AsWebTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
return nil, false
}
-// AsSapTableResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) {
+// AsOffice365Source is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsOffice365Source() (*Office365Source, bool) {
return nil, false
}
-// AsRestResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) {
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
return nil, false
}
-// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
+// AsMongoDbV2Source is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
return nil, false
}
-// AsSapOpenHubTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) {
+// AsMongoDbSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsMongoDbSource() (*MongoDbSource, bool) {
return nil, false
}
-// AsSapHanaTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) {
+// AsCassandraSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsCassandraSource() (*CassandraSource, bool) {
return nil, false
}
-// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
+// AsWebSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsWebSource() (*WebSource, bool) {
return nil, false
}
-// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
+// AsTeradataSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsTeradataSource() (*TeradataSource, bool) {
return nil, false
}
-// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
- return &sod, true
+// AsOracleSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
}
-// AsRelationalTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
+// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
return nil, false
}
-// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
+// AsAzureMySQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
return nil, false
}
-// AsTeradataTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) {
+// AsHdfsSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsHdfsSource() (*HdfsSource, bool) {
return nil, false
}
-// AsOracleTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
+// AsFileSystemSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsFileSystemSource() (*FileSystemSource, bool) {
return nil, false
}
-// AsODataResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
+// AsSQLDWSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
-// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) {
+// AsSQLMISource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSQLMISource() (*SQLMISource, bool) {
return nil, false
}
-// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) {
+// AsAzureSQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
}
-// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
+// AsSQLServerSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSQLServerSource() (*SQLServerSource, bool) {
return nil, false
}
-// AsFileShareDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
+// AsSQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSQLSource() (*SQLSource, bool) {
return nil, false
}
-// AsOffice365Dataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) {
+// AsRestSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsRestSource() (*RestSource, bool) {
return nil, false
}
-// AsAzureBlobFSDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) {
+// AsSapTableSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSapTableSource() (*SapTableSource, bool) {
return nil, false
}
-// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
+// AsSapOpenHubSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
return nil, false
}
-// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
+// AsSapHanaSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSapHanaSource() (*SapHanaSource, bool) {
return nil, false
}
-// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
+// AsSapEccSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSapEccSource() (*SapEccSource, bool) {
return nil, false
}
-// AsCustomDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
return nil, false
}
-// AsCassandraTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return &sscs, true
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
-// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
+// AsODataSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsODataSource() (*ODataSource, bool) {
return nil, false
}
-// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
+// AsSybaseSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsSybaseSource() (*SybaseSource, bool) {
return nil, false
}
-// AsAzureTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
+// AsPostgreSQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
return nil, false
}
-// AsAzureBlobDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
+// AsMySQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsMySQLSource() (*MySQLSource, bool) {
return nil, false
}
-// AsDelimitedTextDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
+// AsOdbcSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsOdbcSource() (*OdbcSource, bool) {
return nil, false
}
-// AsParquetDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsParquetDataset() (*ParquetDataset, bool) {
+// AsDb2Source is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsDb2Source() (*Db2Source, bool) {
return nil, false
}
-// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
return nil, false
}
-// AsDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsDataset() (*Dataset, bool) {
+// AsInformixSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsInformixSource() (*InformixSource, bool) {
return nil, false
}
-// AsBasicDataset is the BasicDataset implementation for SalesforceObjectDataset.
-func (sod SalesforceObjectDataset) AsBasicDataset() (BasicDataset, bool) {
- return &sod, true
+// AsRelationalSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
}
-// UnmarshalJSON is the custom unmarshaler for SalesforceObjectDataset struct.
-func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error {
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for SalesforceServiceCloudSource.
+func (sscs SalesforceServiceCloudSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &sscs, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for SalesforceServiceCloudSource struct.
+func (sscs *SalesforceServiceCloudSource) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -122482,98 +149787,71 @@ func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
- case "typeProperties":
- if v != nil {
- var salesforceObjectDatasetTypeProperties SalesforceObjectDatasetTypeProperties
- err = json.Unmarshal(*v, &salesforceObjectDatasetTypeProperties)
- if err != nil {
- return err
- }
- sod.SalesforceObjectDatasetTypeProperties = &salesforceObjectDatasetTypeProperties
- }
- default:
- if v != nil {
- var additionalProperties interface{}
- err = json.Unmarshal(*v, &additionalProperties)
- if err != nil {
- return err
- }
- if sod.AdditionalProperties == nil {
- sod.AdditionalProperties = make(map[string]interface{})
- }
- sod.AdditionalProperties[k] = additionalProperties
- }
- case "description":
+ case "query":
if v != nil {
- var description string
- err = json.Unmarshal(*v, &description)
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
if err != nil {
return err
}
- sod.Description = &description
+ sscs.Query = query
}
- case "structure":
+ case "readBehavior":
if v != nil {
- var structure interface{}
- err = json.Unmarshal(*v, &structure)
+ var readBehavior SalesforceSourceReadBehavior
+ err = json.Unmarshal(*v, &readBehavior)
if err != nil {
return err
}
- sod.Structure = structure
+ sscs.ReadBehavior = readBehavior
}
- case "schema":
+ default:
if v != nil {
- var schema interface{}
- err = json.Unmarshal(*v, &schema)
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
if err != nil {
return err
}
- sod.Schema = schema
- }
- case "linkedServiceName":
- if v != nil {
- var linkedServiceName LinkedServiceReference
- err = json.Unmarshal(*v, &linkedServiceName)
- if err != nil {
- return err
+ if sscs.AdditionalProperties == nil {
+ sscs.AdditionalProperties = make(map[string]interface{})
}
- sod.LinkedServiceName = &linkedServiceName
+ sscs.AdditionalProperties[k] = additionalProperties
}
- case "parameters":
+ case "sourceRetryCount":
if v != nil {
- var parameters map[string]*ParameterSpecification
- err = json.Unmarshal(*v, ¶meters)
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
if err != nil {
return err
}
- sod.Parameters = parameters
+ sscs.SourceRetryCount = sourceRetryCount
}
- case "annotations":
+ case "sourceRetryWait":
if v != nil {
- var annotations []interface{}
- err = json.Unmarshal(*v, &annotations)
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
if err != nil {
return err
}
- sod.Annotations = &annotations
+ sscs.SourceRetryWait = sourceRetryWait
}
- case "folder":
+ case "maxConcurrentConnections":
if v != nil {
- var folder DatasetFolder
- err = json.Unmarshal(*v, &folder)
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
if err != nil {
return err
}
- sod.Folder = &folder
+ sscs.MaxConcurrentConnections = maxConcurrentConnections
}
case "type":
if v != nil {
- var typeVar TypeBasicDataset
+ var typeVar TypeBasicCopySource
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
- sod.Type = typeVar
+ sscs.Type = typeVar
}
}
}
@@ -122581,16 +149859,10 @@ func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error {
return nil
}
-// SalesforceObjectDatasetTypeProperties salesforce object dataset properties.
-type SalesforceObjectDatasetTypeProperties struct {
- // ObjectAPIName - The Salesforce object API name. Type: string (or Expression with resultType string).
- ObjectAPIName interface{} `json:"objectApiName,omitempty"`
-}
-
// SalesforceSink a copy activity Salesforce sink.
type SalesforceSink struct {
- // WriteBehavior - The write behavior for the operation. Default is Insert.
- WriteBehavior interface{} `json:"writeBehavior,omitempty"`
+ // WriteBehavior - The write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert'
+ WriteBehavior SalesforceSinkWriteBehavior `json:"writeBehavior,omitempty"`
// ExternalIDFieldName - The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string).
ExternalIDFieldName interface{} `json:"externalIdFieldName,omitempty"`
// IgnoreNullValues - The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean).
@@ -122607,7 +149879,7 @@ type SalesforceSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
@@ -122615,7 +149887,7 @@ type SalesforceSink struct {
func (ss SalesforceSink) MarshalJSON() ([]byte, error) {
ss.Type = TypeSalesforceSink
objectMap := make(map[string]interface{})
- if ss.WriteBehavior != nil {
+ if ss.WriteBehavior != "" {
objectMap["writeBehavior"] = ss.WriteBehavior
}
if ss.ExternalIDFieldName != nil {
@@ -122653,6 +149925,11 @@ func (ss SalesforceSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bo
return nil, false
}
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SalesforceSink.
+func (ss SalesforceSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
// AsSalesforceSink is the BasicCopySink implementation for SalesforceSink.
func (ss SalesforceSink) AsSalesforceSink() (*SalesforceSink, bool) {
return &ss, true
@@ -122663,11 +149940,31 @@ func (ss SalesforceSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool
return nil, false
}
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SalesforceSink.
+func (ss SalesforceSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for SalesforceSink.
+func (ss SalesforceSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
// AsDynamicsSink is the BasicCopySink implementation for SalesforceSink.
func (ss SalesforceSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
+// AsMicrosoftAccessSink is the BasicCopySink implementation for SalesforceSink.
+func (ss SalesforceSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for SalesforceSink.
+func (ss SalesforceSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
// AsOdbcSink is the BasicCopySink implementation for SalesforceSink.
func (ss SalesforceSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
@@ -122698,6 +149995,11 @@ func (ss SalesforceSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
+// AsSQLMISink is the BasicCopySink implementation for SalesforceSink.
+func (ss SalesforceSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
// AsAzureSQLSink is the BasicCopySink implementation for SalesforceSink.
func (ss SalesforceSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
@@ -122728,6 +150030,11 @@ func (ss SalesforceSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
+// AsBinarySink is the BasicCopySink implementation for SalesforceSink.
+func (ss SalesforceSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
// AsParquetSink is the BasicCopySink implementation for SalesforceSink.
func (ss SalesforceSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
@@ -122748,6 +150055,11 @@ func (ss SalesforceSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink,
return nil, false
}
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for SalesforceSink.
+func (ss SalesforceSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSink is the BasicCopySink implementation for SalesforceSink.
func (ss SalesforceSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
@@ -122774,7 +150086,7 @@ func (ss *SalesforceSink) UnmarshalJSON(body []byte) error {
switch k {
case "writeBehavior":
if v != nil {
- var writeBehavior interface{}
+ var writeBehavior SalesforceSinkWriteBehavior
err = json.Unmarshal(*v, &writeBehavior)
if err != nil {
return err
@@ -122875,8 +150187,8 @@ func (ss *SalesforceSink) UnmarshalJSON(body []byte) error {
type SalesforceSource struct {
// Query - Database query. Type: string (or Expression with resultType string).
Query interface{} `json:"query,omitempty"`
- // ReadBehavior - The read behavior for the operation. Default is Query.
- ReadBehavior interface{} `json:"readBehavior,omitempty"`
+ // ReadBehavior - The read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll'
+ ReadBehavior SalesforceSourceReadBehavior `json:"readBehavior,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
@@ -122885,7 +150197,7 @@ type SalesforceSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -122896,7 +150208,7 @@ func (ss SalesforceSource) MarshalJSON() ([]byte, error) {
if ss.Query != nil {
objectMap["query"] = ss.Query
}
- if ss.ReadBehavior != nil {
+ if ss.ReadBehavior != "" {
objectMap["readBehavior"] = ss.ReadBehavior
}
if ss.SourceRetryCount != nil {
@@ -123167,6 +150479,11 @@ func (ss SalesforceSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SalesforceSource.
func (ss SalesforceSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -123212,16 +150529,71 @@ func (ss SalesforceSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSo
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SalesforceSource.
func (ss SalesforceSource) AsSalesforceSource() (*SalesforceSource, bool) {
return &ss, true
}
+// AsODataSource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SalesforceSource.
func (ss SalesforceSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SalesforceSource.
func (ss SalesforceSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -123242,6 +150614,11 @@ func (ss SalesforceSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SalesforceSource.
+func (ss SalesforceSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SalesforceSource.
func (ss SalesforceSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -123282,7 +150659,7 @@ func (ss *SalesforceSource) UnmarshalJSON(body []byte) error {
}
case "readBehavior":
if v != nil {
- var readBehavior interface{}
+ var readBehavior SalesforceSourceReadBehavior
err = json.Unmarshal(*v, &readBehavior)
if err != nil {
return err
@@ -123357,7 +150734,7 @@ type SapBWLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -123649,6 +151026,11 @@ func (sbls SapBWLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudFo
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
+func (sbls SapBWLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
func (sbls SapBWLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -123704,6 +151086,16 @@ func (sbls SapBWLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool)
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
+func (sbls SapBWLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
+func (sbls SapBWLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
func (sbls SapBWLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -123759,6 +151151,16 @@ func (sbls SapBWLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServi
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
+func (sbls SapBWLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
+func (sbls SapBWLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
func (sbls SapBWLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -123779,6 +151181,11 @@ func (sbls SapBWLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSer
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapBWLinkedService.
+func (sbls SapBWLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
func (sbls SapBWLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -123998,7 +151405,7 @@ type SapCloudForCustomerLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -124290,6 +151697,11 @@ func (scfcls SapCloudForCustomerLinkedService) AsSapCloudForCustomerLinkedServic
return &scfcls, true
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
+func (scfcls SapCloudForCustomerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
func (scfcls SapCloudForCustomerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -124345,6 +151757,16 @@ func (scfcls SapCloudForCustomerLinkedService) AsHdfsLinkedService() (*HdfsLinke
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
+func (scfcls SapCloudForCustomerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
+func (scfcls SapCloudForCustomerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
func (scfcls SapCloudForCustomerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -124400,6 +151822,16 @@ func (scfcls SapCloudForCustomerLinkedService) AsHDInsightLinkedService() (*HDIn
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
+func (scfcls SapCloudForCustomerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
+func (scfcls SapCloudForCustomerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
func (scfcls SapCloudForCustomerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -124420,6 +151852,11 @@ func (scfcls SapCloudForCustomerLinkedService) AsAzureBatchLinkedService() (*Azu
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
+func (scfcls SapCloudForCustomerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
func (scfcls SapCloudForCustomerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -124623,7 +152060,7 @@ type SapCloudForCustomerResourceDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -124884,11 +152321,41 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsSapCloudForCustomerResourceDa
return &scfcrd, true
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
+func (scfcrd SapCloudForCustomerResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
func (scfcrd SapCloudForCustomerResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
+func (scfcrd SapCloudForCustomerResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
+func (scfcrd SapCloudForCustomerResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
+func (scfcrd SapCloudForCustomerResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
+func (scfcrd SapCloudForCustomerResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
+func (scfcrd SapCloudForCustomerResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
func (scfcrd SapCloudForCustomerResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -124949,6 +152416,16 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsAzureDataLakeStoreDataset() (
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
+func (scfcrd SapCloudForCustomerResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
+func (scfcrd SapCloudForCustomerResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
func (scfcrd SapCloudForCustomerResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -124974,6 +152451,11 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLDWTableDataset() (*Az
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
+func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -124989,6 +152471,11 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsAzureBlobDataset() (*AzureBlo
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
+func (scfcrd SapCloudForCustomerResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
func (scfcrd SapCloudForCustomerResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -125131,8 +152618,8 @@ type SapCloudForCustomerResourceDatasetTypeProperties struct {
// SapCloudForCustomerSink a copy activity SAP Cloud for Customer sink.
type SapCloudForCustomerSink struct {
- // WriteBehavior - The write behavior for the operation. Default is 'Insert'.
- WriteBehavior interface{} `json:"writeBehavior,omitempty"`
+ // WriteBehavior - The write behavior for the operation. Default is 'Insert'. Possible values include: 'SapCloudForCustomerSinkWriteBehaviorInsert', 'SapCloudForCustomerSinkWriteBehaviorUpdate'
+ WriteBehavior SapCloudForCustomerSinkWriteBehavior `json:"writeBehavior,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
@@ -125145,7 +152632,7 @@ type SapCloudForCustomerSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
@@ -125153,7 +152640,7 @@ type SapCloudForCustomerSink struct {
func (scfcs SapCloudForCustomerSink) MarshalJSON() ([]byte, error) {
scfcs.Type = TypeSapCloudForCustomerSink
objectMap := make(map[string]interface{})
- if scfcs.WriteBehavior != nil {
+ if scfcs.WriteBehavior != "" {
objectMap["writeBehavior"] = scfcs.WriteBehavior
}
if scfcs.WriteBatchSize != nil {
@@ -125185,6 +152672,11 @@ func (scfcs SapCloudForCustomerSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoD
return nil, false
}
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SapCloudForCustomerSink.
+func (scfcs SapCloudForCustomerSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
// AsSalesforceSink is the BasicCopySink implementation for SapCloudForCustomerSink.
func (scfcs SapCloudForCustomerSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
@@ -125195,11 +152687,31 @@ func (scfcs SapCloudForCustomerSink) AsAzureDataExplorerSink() (*AzureDataExplor
return nil, false
}
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SapCloudForCustomerSink.
+func (scfcs SapCloudForCustomerSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for SapCloudForCustomerSink.
+func (scfcs SapCloudForCustomerSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
// AsDynamicsSink is the BasicCopySink implementation for SapCloudForCustomerSink.
func (scfcs SapCloudForCustomerSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
+// AsMicrosoftAccessSink is the BasicCopySink implementation for SapCloudForCustomerSink.
+func (scfcs SapCloudForCustomerSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for SapCloudForCustomerSink.
+func (scfcs SapCloudForCustomerSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
// AsOdbcSink is the BasicCopySink implementation for SapCloudForCustomerSink.
func (scfcs SapCloudForCustomerSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
@@ -125230,6 +152742,11 @@ func (scfcs SapCloudForCustomerSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
+// AsSQLMISink is the BasicCopySink implementation for SapCloudForCustomerSink.
+func (scfcs SapCloudForCustomerSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
// AsAzureSQLSink is the BasicCopySink implementation for SapCloudForCustomerSink.
func (scfcs SapCloudForCustomerSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
@@ -125260,6 +152777,11 @@ func (scfcs SapCloudForCustomerSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
+// AsBinarySink is the BasicCopySink implementation for SapCloudForCustomerSink.
+func (scfcs SapCloudForCustomerSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
// AsParquetSink is the BasicCopySink implementation for SapCloudForCustomerSink.
func (scfcs SapCloudForCustomerSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
@@ -125280,6 +152802,11 @@ func (scfcs SapCloudForCustomerSink) AsSapCloudForCustomerSink() (*SapCloudForCu
return &scfcs, true
}
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for SapCloudForCustomerSink.
+func (scfcs SapCloudForCustomerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSink is the BasicCopySink implementation for SapCloudForCustomerSink.
func (scfcs SapCloudForCustomerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
@@ -125306,7 +152833,7 @@ func (scfcs *SapCloudForCustomerSink) UnmarshalJSON(body []byte) error {
switch k {
case "writeBehavior":
if v != nil {
- var writeBehavior interface{}
+ var writeBehavior SapCloudForCustomerSinkWriteBehavior
err = json.Unmarshal(*v, &writeBehavior)
if err != nil {
return err
@@ -125397,7 +152924,7 @@ type SapCloudForCustomerSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -125676,6 +153203,11 @@ func (scfcs SapCloudForCustomerSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SapCloudForCustomerSource.
func (scfcs SapCloudForCustomerSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -125721,16 +153253,71 @@ func (scfcs SapCloudForCustomerSource) AsSapCloudForCustomerSource() (*SapCloudF
return &scfcs, true
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SapCloudForCustomerSource.
func (scfcs SapCloudForCustomerSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SapCloudForCustomerSource.
func (scfcs SapCloudForCustomerSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SapCloudForCustomerSource.
func (scfcs SapCloudForCustomerSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -125751,6 +153338,11 @@ func (scfcs SapCloudForCustomerSource) AsAzureTableSource() (*AzureTableSource,
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SapCloudForCustomerSource.
+func (scfcs SapCloudForCustomerSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SapCloudForCustomerSource.
func (scfcs SapCloudForCustomerSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -125857,7 +153449,7 @@ type SapEccLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -126149,6 +153741,11 @@ func (sels SapEccLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudF
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
+func (sels SapEccLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
func (sels SapEccLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -126204,6 +153801,16 @@ func (sels SapEccLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool)
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
+func (sels SapEccLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
+func (sels SapEccLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
func (sels SapEccLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -126259,6 +153866,16 @@ func (sels SapEccLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServ
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
+func (sels SapEccLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
+func (sels SapEccLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
func (sels SapEccLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -126279,6 +153896,11 @@ func (sels SapEccLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSe
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapEccLinkedService.
+func (sels SapEccLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
func (sels SapEccLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -126482,7 +154104,7 @@ type SapEccResourceDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -126743,11 +154365,41 @@ func (serd SapEccResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCl
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
+func (serd SapEccResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
func (serd SapEccResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapEccResourceDataset.
+func (serd SapEccResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SapEccResourceDataset.
+func (serd SapEccResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for SapEccResourceDataset.
+func (serd SapEccResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for SapEccResourceDataset.
+func (serd SapEccResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for SapEccResourceDataset.
+func (serd SapEccResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for SapEccResourceDataset.
func (serd SapEccResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -126808,6 +154460,16 @@ func (serd SapEccResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeS
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapEccResourceDataset.
+func (serd SapEccResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapEccResourceDataset.
+func (serd SapEccResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for SapEccResourceDataset.
func (serd SapEccResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -126833,6 +154495,11 @@ func (serd SapEccResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDa
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SapEccResourceDataset.
+func (serd SapEccResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for SapEccResourceDataset.
func (serd SapEccResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -126848,6 +154515,11 @@ func (serd SapEccResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool)
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for SapEccResourceDataset.
+func (serd SapEccResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for SapEccResourceDataset.
func (serd SapEccResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -126999,7 +154671,7 @@ type SapEccSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -127278,6 +154950,11 @@ func (ses SapEccSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SapEccSource.
func (ses SapEccSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -127323,16 +155000,71 @@ func (ses SapEccSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SapEccSource.
func (ses SapEccSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SapEccSource.
func (ses SapEccSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SapEccSource.
func (ses SapEccSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -127353,6 +155085,11 @@ func (ses SapEccSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SapEccSource.
+func (ses SapEccSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SapEccSource.
func (ses SapEccSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -127459,7 +155196,7 @@ type SapHanaLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -127751,6 +155488,11 @@ func (shls SapHanaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloud
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
+func (shls SapHanaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
func (shls SapHanaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -127806,6 +155548,16 @@ func (shls SapHanaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
+func (shls SapHanaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
+func (shls SapHanaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
func (shls SapHanaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -127861,6 +155613,16 @@ func (shls SapHanaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedSer
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
+func (shls SapHanaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
+func (shls SapHanaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
func (shls SapHanaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -127881,6 +155643,11 @@ func (shls SapHanaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedS
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
+func (shls SapHanaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
func (shls SapHanaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -128100,7 +155867,7 @@ type SapHanaSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -128382,6 +156149,11 @@ func (shs SapHanaSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SapHanaSource.
func (shs SapHanaSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -128427,16 +156199,71 @@ func (shs SapHanaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSour
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SapHanaSource.
func (shs SapHanaSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SapHanaSource.
func (shs SapHanaSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SapHanaSource.
func (shs SapHanaSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -128457,6 +156284,11 @@ func (shs SapHanaSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SapHanaSource.
+func (shs SapHanaSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SapHanaSource.
func (shs SapHanaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -128578,7 +156410,7 @@ type SapHanaTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -128839,11 +156671,41 @@ func (shtd SapHanaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClou
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapHanaTableDataset.
+func (shtd SapHanaTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for SapHanaTableDataset.
func (shtd SapHanaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapHanaTableDataset.
+func (shtd SapHanaTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SapHanaTableDataset.
+func (shtd SapHanaTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for SapHanaTableDataset.
+func (shtd SapHanaTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for SapHanaTableDataset.
+func (shtd SapHanaTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for SapHanaTableDataset.
+func (shtd SapHanaTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for SapHanaTableDataset.
func (shtd SapHanaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -128904,6 +156766,16 @@ func (shtd SapHanaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeSto
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapHanaTableDataset.
+func (shtd SapHanaTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapHanaTableDataset.
+func (shtd SapHanaTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for SapHanaTableDataset.
func (shtd SapHanaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -128929,6 +156801,11 @@ func (shtd SapHanaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableData
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SapHanaTableDataset.
+func (shtd SapHanaTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for SapHanaTableDataset.
func (shtd SapHanaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -128944,6 +156821,11 @@ func (shtd SapHanaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for SapHanaTableDataset.
+func (shtd SapHanaTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for SapHanaTableDataset.
func (shtd SapHanaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -129099,7 +156981,7 @@ type SapOpenHubLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -129391,6 +157273,11 @@ func (sohls SapOpenHubLinkedService) AsSapCloudForCustomerLinkedService() (*SapC
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService.
+func (sohls SapOpenHubLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService.
func (sohls SapOpenHubLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -129446,6 +157333,16 @@ func (sohls SapOpenHubLinkedService) AsHdfsLinkedService() (*HdfsLinkedService,
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService.
+func (sohls SapOpenHubLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService.
+func (sohls SapOpenHubLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService.
func (sohls SapOpenHubLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -129501,6 +157398,16 @@ func (sohls SapOpenHubLinkedService) AsHDInsightLinkedService() (*HDInsightLinke
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService.
+func (sohls SapOpenHubLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService.
+func (sohls SapOpenHubLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService.
func (sohls SapOpenHubLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -129521,6 +157428,11 @@ func (sohls SapOpenHubLinkedService) AsAzureBatchLinkedService() (*AzureBatchLin
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService.
+func (sohls SapOpenHubLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService.
func (sohls SapOpenHubLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -129748,7 +157660,7 @@ type SapOpenHubSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -130024,6 +157936,11 @@ func (sohs SapOpenHubSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SapOpenHubSource.
func (sohs SapOpenHubSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -130069,16 +157986,71 @@ func (sohs SapOpenHubSource) AsSapCloudForCustomerSource() (*SapCloudForCustomer
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SapOpenHubSource.
func (sohs SapOpenHubSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SapOpenHubSource.
func (sohs SapOpenHubSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SapOpenHubSource.
func (sohs SapOpenHubSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -130099,6 +158071,11 @@ func (sohs SapOpenHubSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SapOpenHubSource.
+func (sohs SapOpenHubSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SapOpenHubSource.
func (sohs SapOpenHubSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -130202,7 +158179,7 @@ type SapOpenHubTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -130463,11 +158440,41 @@ func (sohtd SapOpenHubTableDataset) AsSapCloudForCustomerResourceDataset() (*Sap
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapOpenHubTableDataset.
+func (sohtd SapOpenHubTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for SapOpenHubTableDataset.
func (sohtd SapOpenHubTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapOpenHubTableDataset.
+func (sohtd SapOpenHubTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SapOpenHubTableDataset.
+func (sohtd SapOpenHubTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for SapOpenHubTableDataset.
+func (sohtd SapOpenHubTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for SapOpenHubTableDataset.
+func (sohtd SapOpenHubTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for SapOpenHubTableDataset.
+func (sohtd SapOpenHubTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for SapOpenHubTableDataset.
func (sohtd SapOpenHubTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -130528,6 +158535,16 @@ func (sohtd SapOpenHubTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapOpenHubTableDataset.
+func (sohtd SapOpenHubTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapOpenHubTableDataset.
+func (sohtd SapOpenHubTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for SapOpenHubTableDataset.
func (sohtd SapOpenHubTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -130553,6 +158570,11 @@ func (sohtd SapOpenHubTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SapOpenHubTableDataset.
+func (sohtd SapOpenHubTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for SapOpenHubTableDataset.
func (sohtd SapOpenHubTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -130568,6 +158590,11 @@ func (sohtd SapOpenHubTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for SapOpenHubTableDataset.
+func (sohtd SapOpenHubTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for SapOpenHubTableDataset.
func (sohtd SapOpenHubTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -130725,7 +158752,7 @@ type SapTableLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -131017,6 +159044,11 @@ func (stls SapTableLinkedService) AsSapCloudForCustomerLinkedService() (*SapClou
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SapTableLinkedService.
+func (stls SapTableLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SapTableLinkedService.
func (stls SapTableLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -131072,6 +159104,16 @@ func (stls SapTableLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, boo
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SapTableLinkedService.
+func (stls SapTableLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SapTableLinkedService.
+func (stls SapTableLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SapTableLinkedService.
func (stls SapTableLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -131127,6 +159169,16 @@ func (stls SapTableLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedSe
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SapTableLinkedService.
+func (stls SapTableLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SapTableLinkedService.
+func (stls SapTableLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SapTableLinkedService.
func (stls SapTableLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -131147,6 +159199,11 @@ func (stls SapTableLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinked
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SapTableLinkedService.
+func (stls SapTableLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapTableLinkedService.
func (stls SapTableLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -131494,7 +159551,7 @@ type SapTableResourceDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -131755,11 +159812,41 @@ func (strd SapTableResourceDataset) AsSapCloudForCustomerResourceDataset() (*Sap
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SapTableResourceDataset.
+func (strd SapTableResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for SapTableResourceDataset.
func (strd SapTableResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SapTableResourceDataset.
+func (strd SapTableResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SapTableResourceDataset.
+func (strd SapTableResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for SapTableResourceDataset.
+func (strd SapTableResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for SapTableResourceDataset.
+func (strd SapTableResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for SapTableResourceDataset.
+func (strd SapTableResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for SapTableResourceDataset.
func (strd SapTableResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -131820,6 +159907,16 @@ func (strd SapTableResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SapTableResourceDataset.
+func (strd SapTableResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SapTableResourceDataset.
+func (strd SapTableResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for SapTableResourceDataset.
func (strd SapTableResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -131845,6 +159942,11 @@ func (strd SapTableResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SapTableResourceDataset.
+func (strd SapTableResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for SapTableResourceDataset.
func (strd SapTableResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -131860,6 +159962,11 @@ func (strd SapTableResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for SapTableResourceDataset.
+func (strd SapTableResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for SapTableResourceDataset.
func (strd SapTableResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -132013,8 +160120,8 @@ type SapTableSource struct {
BatchSize interface{} `json:"batchSize,omitempty"`
// CustomRfcReadTableFunctionModule - Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string).
CustomRfcReadTableFunctionModule interface{} `json:"customRfcReadTableFunctionModule,omitempty"`
- // PartitionOption - The partition mechanism that will be used for SAP table read in parallel.
- PartitionOption interface{} `json:"partitionOption,omitempty"`
+ // PartitionOption - The partition mechanism that will be used for SAP table read in parallel. Possible values include: 'SapTablePartitionOptionNone', 'SapTablePartitionOptionPartitionOnInt', 'SapTablePartitionOptionPartitionOnCalendarYear', 'SapTablePartitionOptionPartitionOnCalendarMonth', 'SapTablePartitionOptionPartitionOnCalendarDate', 'SapTablePartitionOptionPartitionOnTime'
+ PartitionOption SapTablePartitionOption `json:"partitionOption,omitempty"`
// PartitionSettings - The settings that will be leveraged for SAP table source partitioning.
PartitionSettings *SapTablePartitionSettings `json:"partitionSettings,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -132025,7 +160132,7 @@ type SapTableSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -132051,7 +160158,7 @@ func (sts SapTableSource) MarshalJSON() ([]byte, error) {
if sts.CustomRfcReadTableFunctionModule != nil {
objectMap["customRfcReadTableFunctionModule"] = sts.CustomRfcReadTableFunctionModule
}
- if sts.PartitionOption != nil {
+ if sts.PartitionOption != "" {
objectMap["partitionOption"] = sts.PartitionOption
}
if sts.PartitionSettings != nil {
@@ -132325,6 +160432,11 @@ func (sts SapTableSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SapTableSource.
func (sts SapTableSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -132370,16 +160482,71 @@ func (sts SapTableSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSou
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SapTableSource.
func (sts SapTableSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SapTableSource.
func (sts SapTableSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SapTableSource.
func (sts SapTableSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -132400,6 +160567,11 @@ func (sts SapTableSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SapTableSource.
+func (sts SapTableSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SapTableSource.
func (sts SapTableSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -132485,7 +160657,7 @@ func (sts *SapTableSource) UnmarshalJSON(body []byte) error {
}
case "partitionOption":
if v != nil {
- var partitionOption interface{}
+ var partitionOption SapTablePartitionOption
err = json.Unmarshal(*v, &partitionOption)
if err != nil {
return err
@@ -132565,7 +160737,7 @@ type ScheduleTrigger struct {
AdditionalProperties map[string]interface{} `json:""`
// Description - Trigger description.
Description *string `json:"description,omitempty"`
- // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
+ // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'Started', 'Stopped', 'Disabled'
RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
// Annotations - List of tags that can be used for describing the trigger.
Annotations *[]interface{} `json:"annotations,omitempty"`
@@ -133210,7 +161382,7 @@ type SelfHostedIntegrationRuntimeStatus struct {
AdditionalProperties map[string]interface{} `json:""`
// DataFactoryName - READ-ONLY; The data factory name which the integration runtime belong to.
DataFactoryName *string `json:"dataFactoryName,omitempty"`
- // State - READ-ONLY; The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied'
+ // State - READ-ONLY; The state of integration runtime. Possible values include: 'IntegrationRuntimeStateInitial', 'IntegrationRuntimeStateStopped', 'IntegrationRuntimeStateStarted', 'IntegrationRuntimeStateStarting', 'IntegrationRuntimeStateStopping', 'IntegrationRuntimeStateNeedRegistration', 'IntegrationRuntimeStateOnline', 'IntegrationRuntimeStateLimited', 'IntegrationRuntimeStateOffline', 'IntegrationRuntimeStateAccessDenied'
State IntegrationRuntimeState `json:"state,omitempty"`
// Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged'
Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"`
@@ -133405,7 +161577,7 @@ type ServiceNowLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -133697,6 +161869,11 @@ func (snls ServiceNowLinkedService) AsSapCloudForCustomerLinkedService() (*SapCl
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
+func (snls ServiceNowLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
func (snls ServiceNowLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -133752,6 +161929,16 @@ func (snls ServiceNowLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, b
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
+func (snls ServiceNowLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
+func (snls ServiceNowLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
func (snls ServiceNowLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -133807,6 +161994,16 @@ func (snls ServiceNowLinkedService) AsHDInsightLinkedService() (*HDInsightLinked
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
+func (snls ServiceNowLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
+func (snls ServiceNowLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
func (snls ServiceNowLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -133827,6 +162024,11 @@ func (snls ServiceNowLinkedService) AsAzureBatchLinkedService() (*AzureBatchLink
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
+func (snls ServiceNowLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
func (snls ServiceNowLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -134095,7 +162297,7 @@ type ServiceNowObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -134356,11 +162558,41 @@ func (snod ServiceNowObjectDataset) AsSapCloudForCustomerResourceDataset() (*Sap
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
+func (snod ServiceNowObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
func (snod ServiceNowObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
+func (snod ServiceNowObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
+func (snod ServiceNowObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
+func (snod ServiceNowObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
+func (snod ServiceNowObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
+func (snod ServiceNowObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
func (snod ServiceNowObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -134421,6 +162653,16 @@ func (snod ServiceNowObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLak
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ServiceNowObjectDataset.
+func (snod ServiceNowObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ServiceNowObjectDataset.
+func (snod ServiceNowObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for ServiceNowObjectDataset.
func (snod ServiceNowObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -134446,6 +162688,11 @@ func (snod ServiceNowObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTable
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
+func (snod ServiceNowObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
func (snod ServiceNowObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -134461,6 +162708,11 @@ func (snod ServiceNowObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, boo
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for ServiceNowObjectDataset.
+func (snod ServiceNowObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for ServiceNowObjectDataset.
func (snod ServiceNowObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -134606,7 +162858,7 @@ type ServiceNowSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -134885,6 +163137,11 @@ func (sns ServiceNowSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for ServiceNowSource.
func (sns ServiceNowSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -134930,16 +163187,71 @@ func (sns ServiceNowSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerS
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for ServiceNowSource.
func (sns ServiceNowSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for ServiceNowSource.
func (sns ServiceNowSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for ServiceNowSource.
func (sns ServiceNowSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -134960,6 +163272,11 @@ func (sns ServiceNowSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for ServiceNowSource.
+func (sns ServiceNowSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for ServiceNowSource.
func (sns ServiceNowSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -135066,7 +163383,7 @@ type SetVariableActivity struct {
DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
// UserProperties - Activity user properties.
UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
Type TypeBasicActivity `json:"type,omitempty"`
}
@@ -135148,6 +163465,11 @@ func (sva SetVariableActivity) AsLookupActivity() (*LookupActivity, bool) {
return nil, false
}
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SetVariableActivity.
+func (sva SetVariableActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return nil, false
+}
+
// AsDeleteActivity is the BasicActivity implementation for SetVariableActivity.
func (sva SetVariableActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
@@ -135451,8 +163773,8 @@ func (sl *SftpLocation) UnmarshalJSON(body []byte) error {
return nil
}
-// SftpReadSetting sftp read settings.
-type SftpReadSetting struct {
+// SftpReadSettings sftp read settings.
+type SftpReadSettings struct {
// Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
Recursive interface{} `json:"recursive,omitempty"`
// WildcardFolderPath - Sftp wildcardFolderPath. Type: string (or Expression with resultType string).
@@ -135471,8 +163793,8 @@ type SftpReadSetting struct {
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
}
-// MarshalJSON is the custom marshaler for SftpReadSetting.
-func (srs SftpReadSetting) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for SftpReadSettings.
+func (srs SftpReadSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if srs.Recursive != nil {
objectMap["recursive"] = srs.Recursive
@@ -135501,8 +163823,8 @@ func (srs SftpReadSetting) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for SftpReadSetting struct.
-func (srs *SftpReadSetting) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for SftpReadSettings struct.
+func (srs *SftpReadSettings) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -135605,7 +163927,7 @@ type SftpServerLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -135897,6 +164219,11 @@ func (ssls SftpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCl
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
+func (ssls SftpServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
func (ssls SftpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -135952,6 +164279,16 @@ func (ssls SftpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, b
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
+func (ssls SftpServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
+func (ssls SftpServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
func (ssls SftpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -136007,6 +164344,16 @@ func (ssls SftpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinked
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
+func (ssls SftpServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
+func (ssls SftpServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
func (ssls SftpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -136027,6 +164374,11 @@ func (ssls SftpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLink
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
+func (ssls SftpServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
func (ssls SftpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -136299,7 +164651,7 @@ type ShopifyLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -136591,6 +164943,11 @@ func (sls ShopifyLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudF
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
+func (sls ShopifyLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
func (sls ShopifyLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -136646,6 +165003,16 @@ func (sls ShopifyLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool)
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
+func (sls ShopifyLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
+func (sls ShopifyLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
func (sls ShopifyLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -136701,6 +165068,16 @@ func (sls ShopifyLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServ
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
+func (sls ShopifyLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
+func (sls ShopifyLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
func (sls ShopifyLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -136721,6 +165098,11 @@ func (sls ShopifyLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSe
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
+func (sls ShopifyLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
func (sls ShopifyLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -136946,7 +165328,7 @@ type ShopifyObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -137207,11 +165589,41 @@ func (sod ShopifyObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapClou
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
+func (sod ShopifyObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
func (sod ShopifyObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
+func (sod ShopifyObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
+func (sod ShopifyObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
+func (sod ShopifyObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
+func (sod ShopifyObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
+func (sod ShopifyObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
func (sod ShopifyObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -137272,6 +165684,16 @@ func (sod ShopifyObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeSto
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset.
+func (sod ShopifyObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ShopifyObjectDataset.
+func (sod ShopifyObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset.
func (sod ShopifyObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -137297,6 +165719,11 @@ func (sod ShopifyObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableData
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for ShopifyObjectDataset.
+func (sod ShopifyObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
func (sod ShopifyObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -137312,6 +165739,11 @@ func (sod ShopifyObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for ShopifyObjectDataset.
+func (sod ShopifyObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for ShopifyObjectDataset.
func (sod ShopifyObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -137457,7 +165889,7 @@ type ShopifySource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -137736,6 +166168,11 @@ func (ss ShopifySource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for ShopifySource.
func (ss ShopifySource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -137781,16 +166218,71 @@ func (ss ShopifySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for ShopifySource.
func (ss ShopifySource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for ShopifySource.
func (ss ShopifySource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for ShopifySource.
func (ss ShopifySource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -137811,6 +166303,11 @@ func (ss ShopifySource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for ShopifySource.
+func (ss ShopifySource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for ShopifySource.
func (ss ShopifySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -137917,7 +166414,7 @@ type SparkLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -138209,6 +166706,11 @@ func (sls SparkLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudFor
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SparkLinkedService.
+func (sls SparkLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SparkLinkedService.
func (sls SparkLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -138264,6 +166766,16 @@ func (sls SparkLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SparkLinkedService.
+func (sls SparkLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SparkLinkedService.
+func (sls SparkLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SparkLinkedService.
func (sls SparkLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -138319,6 +166831,16 @@ func (sls SparkLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServic
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SparkLinkedService.
+func (sls SparkLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SparkLinkedService.
+func (sls SparkLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SparkLinkedService.
func (sls SparkLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -138339,6 +166861,11 @@ func (sls SparkLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedServ
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SparkLinkedService.
+func (sls SparkLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SparkLinkedService.
func (sls SparkLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -138652,7 +167179,7 @@ type SparkObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -138913,11 +167440,41 @@ func (sod SparkObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudF
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SparkObjectDataset.
+func (sod SparkObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for SparkObjectDataset.
func (sod SparkObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SparkObjectDataset.
+func (sod SparkObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SparkObjectDataset.
+func (sod SparkObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for SparkObjectDataset.
+func (sod SparkObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for SparkObjectDataset.
+func (sod SparkObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for SparkObjectDataset.
+func (sod SparkObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for SparkObjectDataset.
func (sod SparkObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -138978,6 +167535,16 @@ func (sod SparkObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStore
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SparkObjectDataset.
+func (sod SparkObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SparkObjectDataset.
+func (sod SparkObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for SparkObjectDataset.
func (sod SparkObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -139003,6 +167570,11 @@ func (sod SparkObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDatase
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SparkObjectDataset.
+func (sod SparkObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for SparkObjectDataset.
func (sod SparkObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -139018,6 +167590,11 @@ func (sod SparkObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for SparkObjectDataset.
+func (sod SparkObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for SparkObjectDataset.
func (sod SparkObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -139163,7 +167740,7 @@ type SparkSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -139442,6 +168019,11 @@ func (ss SparkSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SparkSource.
func (ss SparkSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -139487,16 +168069,71 @@ func (ss SparkSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource,
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SparkSource.
func (ss SparkSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SparkSource.
func (ss SparkSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SparkSource.
func (ss SparkSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -139517,6 +168154,11 @@ func (ss SparkSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SparkSource.
+func (ss SparkSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SparkSource.
func (ss SparkSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -139629,7 +168271,7 @@ type SQLDWSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
@@ -139675,6 +168317,11 @@ func (sds SQLDWSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool)
return nil, false
}
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLDWSink.
+func (sds SQLDWSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
// AsSalesforceSink is the BasicCopySink implementation for SQLDWSink.
func (sds SQLDWSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
@@ -139685,11 +168332,31 @@ func (sds SQLDWSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLDWSink.
+func (sds SQLDWSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for SQLDWSink.
+func (sds SQLDWSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
// AsDynamicsSink is the BasicCopySink implementation for SQLDWSink.
func (sds SQLDWSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
+// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLDWSink.
+func (sds SQLDWSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for SQLDWSink.
+func (sds SQLDWSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
// AsOdbcSink is the BasicCopySink implementation for SQLDWSink.
func (sds SQLDWSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
@@ -139720,6 +168387,11 @@ func (sds SQLDWSink) AsSQLDWSink() (*SQLDWSink, bool) {
return &sds, true
}
+// AsSQLMISink is the BasicCopySink implementation for SQLDWSink.
+func (sds SQLDWSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
// AsAzureSQLSink is the BasicCopySink implementation for SQLDWSink.
func (sds SQLDWSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
@@ -139750,6 +168422,11 @@ func (sds SQLDWSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
+// AsBinarySink is the BasicCopySink implementation for SQLDWSink.
+func (sds SQLDWSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
// AsParquetSink is the BasicCopySink implementation for SQLDWSink.
func (sds SQLDWSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
@@ -139770,6 +168447,11 @@ func (sds SQLDWSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool
return nil, false
}
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLDWSink.
+func (sds SQLDWSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSink is the BasicCopySink implementation for SQLDWSink.
func (sds SQLDWSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
@@ -139909,7 +168591,7 @@ type SQLDWSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -140194,6 +168876,11 @@ func (sds SQLDWSource) AsSQLDWSource() (*SQLDWSource, bool) {
return &sds, true
}
+// AsSQLMISource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SQLDWSource.
func (sds SQLDWSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -140239,16 +168926,71 @@ func (sds SQLDWSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SQLDWSource.
func (sds SQLDWSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SQLDWSource.
func (sds SQLDWSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SQLDWSource.
func (sds SQLDWSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -140269,6 +169011,11 @@ func (sds SQLDWSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SQLDWSource.
+func (sds SQLDWSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SQLDWSource.
func (sds SQLDWSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -140379,6 +169126,923 @@ func (sds *SQLDWSource) UnmarshalJSON(body []byte) error {
return nil
}
+// SQLMISink a copy activity Azure SQL Managed Instance sink.
+type SQLMISink struct {
+ // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string).
+ SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"`
+ // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string).
+ SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"`
+ // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string).
+ PreCopyScript interface{} `json:"preCopyScript,omitempty"`
+ // StoredProcedureParameters - SQL stored procedure parameters.
+ StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"`
+ // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string).
+ StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
+ WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
+ // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
+ // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
+ SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
+ // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
+ Type TypeBasicCopySink `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for SQLMISink.
+func (sms SQLMISink) MarshalJSON() ([]byte, error) {
+ sms.Type = TypeSQLMISink
+ objectMap := make(map[string]interface{})
+ if sms.SQLWriterStoredProcedureName != nil {
+ objectMap["sqlWriterStoredProcedureName"] = sms.SQLWriterStoredProcedureName
+ }
+ if sms.SQLWriterTableType != nil {
+ objectMap["sqlWriterTableType"] = sms.SQLWriterTableType
+ }
+ if sms.PreCopyScript != nil {
+ objectMap["preCopyScript"] = sms.PreCopyScript
+ }
+ if sms.StoredProcedureParameters != nil {
+ objectMap["storedProcedureParameters"] = sms.StoredProcedureParameters
+ }
+ if sms.StoredProcedureTableTypeParameterName != nil {
+ objectMap["storedProcedureTableTypeParameterName"] = sms.StoredProcedureTableTypeParameterName
+ }
+ if sms.WriteBatchSize != nil {
+ objectMap["writeBatchSize"] = sms.WriteBatchSize
+ }
+ if sms.WriteBatchTimeout != nil {
+ objectMap["writeBatchTimeout"] = sms.WriteBatchTimeout
+ }
+ if sms.SinkRetryCount != nil {
+ objectMap["sinkRetryCount"] = sms.SinkRetryCount
+ }
+ if sms.SinkRetryWait != nil {
+ objectMap["sinkRetryWait"] = sms.SinkRetryWait
+ }
+ if sms.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = sms.MaxConcurrentConnections
+ }
+ if sms.Type != "" {
+ objectMap["type"] = sms.Type
+ }
+ for k, v := range sms.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
+// AsSalesforceSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsSalesforceSink() (*SalesforceSink, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsDynamicsSink() (*DynamicsSink, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
+// AsOdbcSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsOdbcSink() (*OdbcSink, bool) {
+ return nil, false
+}
+
+// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
+ return nil, false
+}
+
+// AsOracleSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsOracleSink() (*OracleSink, bool) {
+ return nil, false
+}
+
+// AsSQLDWSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsSQLDWSink() (*SQLDWSink, bool) {
+ return nil, false
+}
+
+// AsSQLMISink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsSQLMISink() (*SQLMISink, bool) {
+ return &sms, true
+}
+
+// AsAzureSQLSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsAzureSQLSink() (*AzureSQLSink, bool) {
+ return nil, false
+}
+
+// AsSQLServerSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsSQLServerSink() (*SQLServerSink, bool) {
+ return nil, false
+}
+
+// AsSQLSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsSQLSink() (*SQLSink, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
+ return nil, false
+}
+
+// AsFileSystemSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsFileSystemSink() (*FileSystemSink, bool) {
+ return nil, false
+}
+
+// AsBlobSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsBlobSink() (*BlobSink, bool) {
+ return nil, false
+}
+
+// AsBinarySink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
+// AsParquetSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsParquetSink() (*ParquetSink, bool) {
+ return nil, false
+}
+
+// AsAzureTableSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsAzureTableSink() (*AzureTableSink, bool) {
+ return nil, false
+}
+
+// AsAzureQueueSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsAzureQueueSink() (*AzureQueueSink, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
+ return nil, false
+}
+
+// AsCopySink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsCopySink() (*CopySink, bool) {
+ return nil, false
+}
+
+// AsBasicCopySink is the BasicCopySink implementation for SQLMISink.
+func (sms SQLMISink) AsBasicCopySink() (BasicCopySink, bool) {
+ return &sms, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for SQLMISink struct.
+func (sms *SQLMISink) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "sqlWriterStoredProcedureName":
+ if v != nil {
+ var SQLWriterStoredProcedureName interface{}
+ err = json.Unmarshal(*v, &SQLWriterStoredProcedureName)
+ if err != nil {
+ return err
+ }
+ sms.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName
+ }
+ case "sqlWriterTableType":
+ if v != nil {
+ var SQLWriterTableType interface{}
+ err = json.Unmarshal(*v, &SQLWriterTableType)
+ if err != nil {
+ return err
+ }
+ sms.SQLWriterTableType = SQLWriterTableType
+ }
+ case "preCopyScript":
+ if v != nil {
+ var preCopyScript interface{}
+ err = json.Unmarshal(*v, &preCopyScript)
+ if err != nil {
+ return err
+ }
+ sms.PreCopyScript = preCopyScript
+ }
+ case "storedProcedureParameters":
+ if v != nil {
+ var storedProcedureParameters map[string]*StoredProcedureParameter
+ err = json.Unmarshal(*v, &storedProcedureParameters)
+ if err != nil {
+ return err
+ }
+ sms.StoredProcedureParameters = storedProcedureParameters
+ }
+ case "storedProcedureTableTypeParameterName":
+ if v != nil {
+ var storedProcedureTableTypeParameterName interface{}
+ err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName)
+ if err != nil {
+ return err
+ }
+ sms.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if sms.AdditionalProperties == nil {
+ sms.AdditionalProperties = make(map[string]interface{})
+ }
+ sms.AdditionalProperties[k] = additionalProperties
+ }
+ case "writeBatchSize":
+ if v != nil {
+ var writeBatchSize interface{}
+ err = json.Unmarshal(*v, &writeBatchSize)
+ if err != nil {
+ return err
+ }
+ sms.WriteBatchSize = writeBatchSize
+ }
+ case "writeBatchTimeout":
+ if v != nil {
+ var writeBatchTimeout interface{}
+ err = json.Unmarshal(*v, &writeBatchTimeout)
+ if err != nil {
+ return err
+ }
+ sms.WriteBatchTimeout = writeBatchTimeout
+ }
+ case "sinkRetryCount":
+ if v != nil {
+ var sinkRetryCount interface{}
+ err = json.Unmarshal(*v, &sinkRetryCount)
+ if err != nil {
+ return err
+ }
+ sms.SinkRetryCount = sinkRetryCount
+ }
+ case "sinkRetryWait":
+ if v != nil {
+ var sinkRetryWait interface{}
+ err = json.Unmarshal(*v, &sinkRetryWait)
+ if err != nil {
+ return err
+ }
+ sms.SinkRetryWait = sinkRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ sms.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySink
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ sms.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
+// SQLMISource a copy activity Azure SQL Managed Instance source.
+type SQLMISource struct {
+ // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string).
+ SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"`
+ // SQLReaderStoredProcedureName - Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string).
+ SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"`
+ // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
+ StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"`
+ // ProduceAdditionalTypes - Which additional types to produce.
+ ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for SQLMISource.
+func (sms SQLMISource) MarshalJSON() ([]byte, error) {
+ sms.Type = TypeSQLMISource
+ objectMap := make(map[string]interface{})
+ if sms.SQLReaderQuery != nil {
+ objectMap["sqlReaderQuery"] = sms.SQLReaderQuery
+ }
+ if sms.SQLReaderStoredProcedureName != nil {
+ objectMap["sqlReaderStoredProcedureName"] = sms.SQLReaderStoredProcedureName
+ }
+ if sms.StoredProcedureParameters != nil {
+ objectMap["storedProcedureParameters"] = sms.StoredProcedureParameters
+ }
+ if sms.ProduceAdditionalTypes != nil {
+ objectMap["produceAdditionalTypes"] = sms.ProduceAdditionalTypes
+ }
+ if sms.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = sms.SourceRetryCount
+ }
+ if sms.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = sms.SourceRetryWait
+ }
+ if sms.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = sms.MaxConcurrentConnections
+ }
+ if sms.Type != "" {
+ objectMap["type"] = sms.Type
+ }
+ for k, v := range sms.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSQLMISource() (*SQLMISource, bool) {
+ return &sms, true
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for SQLMISource.
+func (sms SQLMISource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &sms, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for SQLMISource struct.
+func (sms *SQLMISource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "sqlReaderQuery":
+ if v != nil {
+ var SQLReaderQuery interface{}
+ err = json.Unmarshal(*v, &SQLReaderQuery)
+ if err != nil {
+ return err
+ }
+ sms.SQLReaderQuery = SQLReaderQuery
+ }
+ case "sqlReaderStoredProcedureName":
+ if v != nil {
+ var SQLReaderStoredProcedureName interface{}
+ err = json.Unmarshal(*v, &SQLReaderStoredProcedureName)
+ if err != nil {
+ return err
+ }
+ sms.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName
+ }
+ case "storedProcedureParameters":
+ if v != nil {
+ var storedProcedureParameters map[string]*StoredProcedureParameter
+ err = json.Unmarshal(*v, &storedProcedureParameters)
+ if err != nil {
+ return err
+ }
+ sms.StoredProcedureParameters = storedProcedureParameters
+ }
+ case "produceAdditionalTypes":
+ if v != nil {
+ var produceAdditionalTypes interface{}
+ err = json.Unmarshal(*v, &produceAdditionalTypes)
+ if err != nil {
+ return err
+ }
+ sms.ProduceAdditionalTypes = produceAdditionalTypes
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if sms.AdditionalProperties == nil {
+ sms.AdditionalProperties = make(map[string]interface{})
+ }
+ sms.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ sms.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ sms.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ sms.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ sms.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
// SQLServerLinkedService SQL Server linked service.
type SQLServerLinkedService struct {
// SQLServerLinkedServiceTypeProperties - SQL Server linked service properties.
@@ -140393,7 +170057,7 @@ type SQLServerLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -140685,6 +170349,11 @@ func (ssls SQLServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapClo
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
+func (ssls SQLServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
func (ssls SQLServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -140740,6 +170409,16 @@ func (ssls SQLServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bo
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
+func (ssls SQLServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
+func (ssls SQLServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
func (ssls SQLServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -140795,6 +170474,16 @@ func (ssls SQLServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedS
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
+func (ssls SQLServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
+func (ssls SQLServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
func (ssls SQLServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -140815,6 +170504,11 @@ func (ssls SQLServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinke
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
+func (ssls SQLServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
func (ssls SQLServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -141022,7 +170716,7 @@ type SQLServerSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
@@ -141074,6 +170768,11 @@ func (sss SQLServerSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bo
return nil, false
}
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLServerSink.
+func (sss SQLServerSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
// AsSalesforceSink is the BasicCopySink implementation for SQLServerSink.
func (sss SQLServerSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
@@ -141084,11 +170783,31 @@ func (sss SQLServerSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool
return nil, false
}
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLServerSink.
+func (sss SQLServerSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for SQLServerSink.
+func (sss SQLServerSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
// AsDynamicsSink is the BasicCopySink implementation for SQLServerSink.
func (sss SQLServerSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
+// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLServerSink.
+func (sss SQLServerSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for SQLServerSink.
+func (sss SQLServerSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
// AsOdbcSink is the BasicCopySink implementation for SQLServerSink.
func (sss SQLServerSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
@@ -141119,6 +170838,11 @@ func (sss SQLServerSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
+// AsSQLMISink is the BasicCopySink implementation for SQLServerSink.
+func (sss SQLServerSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
// AsAzureSQLSink is the BasicCopySink implementation for SQLServerSink.
func (sss SQLServerSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
@@ -141149,6 +170873,11 @@ func (sss SQLServerSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
+// AsBinarySink is the BasicCopySink implementation for SQLServerSink.
+func (sss SQLServerSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
// AsParquetSink is the BasicCopySink implementation for SQLServerSink.
func (sss SQLServerSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
@@ -141169,6 +170898,11 @@ func (sss SQLServerSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink,
return nil, false
}
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLServerSink.
+func (sss SQLServerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSink is the BasicCopySink implementation for SQLServerSink.
func (sss SQLServerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
@@ -141328,7 +171062,7 @@ type SQLServerSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -141616,6 +171350,11 @@ func (sss SQLServerSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SQLServerSource.
func (sss SQLServerSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -141661,16 +171400,71 @@ func (sss SQLServerSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSo
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SQLServerSource.
func (sss SQLServerSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SQLServerSource.
func (sss SQLServerSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SQLServerSource.
func (sss SQLServerSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -141691,6 +171485,11 @@ func (sss SQLServerSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SQLServerSource.
+func (sss SQLServerSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SQLServerSource.
func (sss SQLServerSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -141828,7 +171627,7 @@ type SQLServerStoredProcedureActivity struct {
DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
// UserProperties - Activity user properties.
UserProperties *[]UserProperty `json:"userProperties,omitempty"`
- // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
+ // Type - Possible values include: 'TypeActivity', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
Type TypeBasicActivity `json:"type,omitempty"`
}
@@ -141916,6 +171715,11 @@ func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivit
return nil, false
}
+// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
+func (ssspa SQLServerStoredProcedureActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) {
+ return nil, false
+}
+
// AsDeleteActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
func (ssspa SQLServerStoredProcedureActivity) AsDeleteActivity() (*DeleteActivity, bool) {
return nil, false
@@ -142185,7 +171989,7 @@ type SQLServerTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -142446,11 +172250,41 @@ func (sstd SQLServerTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCl
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
+func (sstd SQLServerTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
func (sstd SQLServerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SQLServerTableDataset.
+func (sstd SQLServerTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset.
+func (sstd SQLServerTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset.
+func (sstd SQLServerTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for SQLServerTableDataset.
+func (sstd SQLServerTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for SQLServerTableDataset.
+func (sstd SQLServerTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for SQLServerTableDataset.
func (sstd SQLServerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -142511,6 +172345,16 @@ func (sstd SQLServerTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeS
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SQLServerTableDataset.
+func (sstd SQLServerTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SQLServerTableDataset.
+func (sstd SQLServerTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for SQLServerTableDataset.
func (sstd SQLServerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -142536,6 +172380,11 @@ func (sstd SQLServerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDa
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SQLServerTableDataset.
+func (sstd SQLServerTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset.
func (sstd SQLServerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -142551,6 +172400,11 @@ func (sstd SQLServerTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool)
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for SQLServerTableDataset.
+func (sstd SQLServerTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for SQLServerTableDataset.
func (sstd SQLServerTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -142714,7 +172568,7 @@ type SQLSink struct {
SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeDelimitedTextSink'
+ // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzurePostgreSQLSink', 'TypeDelimitedTextSink'
Type TypeBasicCopySink `json:"type,omitempty"`
}
@@ -142766,6 +172620,11 @@ func (ss SQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) {
return nil, false
}
+// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLSink.
+func (ss SQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) {
+ return nil, false
+}
+
// AsSalesforceSink is the BasicCopySink implementation for SQLSink.
func (ss SQLSink) AsSalesforceSink() (*SalesforceSink, bool) {
return nil, false
@@ -142776,11 +172635,31 @@ func (ss SQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLSink.
+func (ss SQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSink is the BasicCopySink implementation for SQLSink.
+func (ss SQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) {
+ return nil, false
+}
+
// AsDynamicsSink is the BasicCopySink implementation for SQLSink.
func (ss SQLSink) AsDynamicsSink() (*DynamicsSink, bool) {
return nil, false
}
+// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLSink.
+func (ss SQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) {
+ return nil, false
+}
+
+// AsInformixSink is the BasicCopySink implementation for SQLSink.
+func (ss SQLSink) AsInformixSink() (*InformixSink, bool) {
+ return nil, false
+}
+
// AsOdbcSink is the BasicCopySink implementation for SQLSink.
func (ss SQLSink) AsOdbcSink() (*OdbcSink, bool) {
return nil, false
@@ -142811,6 +172690,11 @@ func (ss SQLSink) AsSQLDWSink() (*SQLDWSink, bool) {
return nil, false
}
+// AsSQLMISink is the BasicCopySink implementation for SQLSink.
+func (ss SQLSink) AsSQLMISink() (*SQLMISink, bool) {
+ return nil, false
+}
+
// AsAzureSQLSink is the BasicCopySink implementation for SQLSink.
func (ss SQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) {
return nil, false
@@ -142841,6 +172725,11 @@ func (ss SQLSink) AsBlobSink() (*BlobSink, bool) {
return nil, false
}
+// AsBinarySink is the BasicCopySink implementation for SQLSink.
+func (ss SQLSink) AsBinarySink() (*BinarySink, bool) {
+ return nil, false
+}
+
// AsParquetSink is the BasicCopySink implementation for SQLSink.
func (ss SQLSink) AsParquetSink() (*ParquetSink, bool) {
return nil, false
@@ -142861,6 +172750,11 @@ func (ss SQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
return nil, false
}
+// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLSink.
+func (ss SQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSink is the BasicCopySink implementation for SQLSink.
func (ss SQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) {
return nil, false
@@ -143018,7 +172912,7 @@ type SQLSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -143303,6 +173197,11 @@ func (ss SQLSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SQLSource.
func (ss SQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -143348,16 +173247,71 @@ func (ss SQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, b
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SQLSource.
func (ss SQLSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SQLSource.
func (ss SQLSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SQLSource.
func (ss SQLSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -143378,6 +173332,11 @@ func (ss SQLSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SQLSource.
+func (ss SQLSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SQLSource.
func (ss SQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -143502,7 +173461,7 @@ type SquareLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -143794,6 +173753,11 @@ func (sls SquareLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudFo
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService.
+func (sls SquareLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SquareLinkedService.
func (sls SquareLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -143849,6 +173813,16 @@ func (sls SquareLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool)
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SquareLinkedService.
+func (sls SquareLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SquareLinkedService.
+func (sls SquareLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SquareLinkedService.
func (sls SquareLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -143904,6 +173878,16 @@ func (sls SquareLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServi
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SquareLinkedService.
+func (sls SquareLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SquareLinkedService.
+func (sls SquareLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SquareLinkedService.
func (sls SquareLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -143924,6 +173908,11 @@ func (sls SquareLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSer
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SquareLinkedService.
+func (sls SquareLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SquareLinkedService.
func (sls SquareLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -144171,7 +174160,7 @@ type SquareObjectDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -144432,11 +174421,41 @@ func (sod SquareObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloud
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset.
+func (sod SquareObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for SquareObjectDataset.
func (sod SquareObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SquareObjectDataset.
+func (sod SquareObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset.
+func (sod SquareObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset.
+func (sod SquareObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for SquareObjectDataset.
+func (sod SquareObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for SquareObjectDataset.
+func (sod SquareObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for SquareObjectDataset.
func (sod SquareObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -144497,6 +174516,16 @@ func (sod SquareObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStor
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SquareObjectDataset.
+func (sod SquareObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SquareObjectDataset.
+func (sod SquareObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for SquareObjectDataset.
func (sod SquareObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -144522,6 +174551,11 @@ func (sod SquareObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDatas
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for SquareObjectDataset.
+func (sod SquareObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for SquareObjectDataset.
func (sod SquareObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -144537,6 +174571,11 @@ func (sod SquareObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for SquareObjectDataset.
+func (sod SquareObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for SquareObjectDataset.
func (sod SquareObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -144682,7 +174721,7 @@ type SquareSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -144961,6 +175000,11 @@ func (ss SquareSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for SquareSource.
func (ss SquareSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -145006,16 +175050,71 @@ func (ss SquareSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for SquareSource.
func (ss SquareSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for SquareSource.
func (ss SquareSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for SquareSource.
func (ss SquareSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -145036,6 +175135,11 @@ func (ss SquareSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for SquareSource.
+func (ss SquareSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for SquareSource.
func (ss SquareSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -145128,6 +175232,16 @@ func (ss *SquareSource) UnmarshalJSON(body []byte) error {
return nil
}
+// SSISAccessCredential SSIS access credential.
+type SSISAccessCredential struct {
+ // Domain - Domain for windows authentication.
+ Domain interface{} `json:"domain,omitempty"`
+ // UserName - UseName for windows authentication.
+ UserName interface{} `json:"userName,omitempty"`
+ // Password - Password for windows authentication.
+ Password *SecureString `json:"password,omitempty"`
+}
+
// SsisEnvironment ssis environment.
type SsisEnvironment struct {
// FolderID - Folder id which contains environment.
@@ -145288,6 +175402,81 @@ func (sf SsisFolder) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool)
return &sf, true
}
+// SSISLogLocation SSIS package execution log location
+type SSISLogLocation struct {
+ // LogPath - The SSIS package execution log path. Type: string (or Expression with resultType string).
+ LogPath interface{} `json:"logPath,omitempty"`
+ // Type - The type of SSIS log location.
+ Type *string `json:"type,omitempty"`
+ // SSISLogLocationTypeProperties - SSIS package execution log location properties.
+ *SSISLogLocationTypeProperties `json:"typeProperties,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for SSISLogLocation.
+func (sll SSISLogLocation) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if sll.LogPath != nil {
+ objectMap["logPath"] = sll.LogPath
+ }
+ if sll.Type != nil {
+ objectMap["type"] = sll.Type
+ }
+ if sll.SSISLogLocationTypeProperties != nil {
+ objectMap["typeProperties"] = sll.SSISLogLocationTypeProperties
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for SSISLogLocation struct.
+func (sll *SSISLogLocation) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "logPath":
+ if v != nil {
+ var logPath interface{}
+ err = json.Unmarshal(*v, &logPath)
+ if err != nil {
+ return err
+ }
+ sll.LogPath = logPath
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ sll.Type = &typeVar
+ }
+ case "typeProperties":
+ if v != nil {
+ var sSISLogLocationTypeProperties SSISLogLocationTypeProperties
+ err = json.Unmarshal(*v, &sSISLogLocationTypeProperties)
+ if err != nil {
+ return err
+ }
+ sll.SSISLogLocationTypeProperties = &sSISLogLocationTypeProperties
+ }
+ }
+ }
+
+ return nil
+}
+
+// SSISLogLocationTypeProperties SSIS package execution log location properties.
+type SSISLogLocationTypeProperties struct {
+ // AccessCredential - The package execution log access credential.
+ AccessCredential *SSISAccessCredential `json:"accessCredential,omitempty"`
+ // LogRefreshInterval - Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ LogRefreshInterval interface{} `json:"logRefreshInterval,omitempty"`
+}
+
// BasicSsisObjectMetadata SSIS object metadata.
type BasicSsisObjectMetadata interface {
AsSsisEnvironment() (*SsisEnvironment, bool)
@@ -145546,6 +175735,77 @@ func (sp SsisPackage) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool
type SSISPackageLocation struct {
// PackagePath - The SSIS package path. Type: string (or Expression with resultType string).
PackagePath interface{} `json:"packagePath,omitempty"`
+ // Type - The type of SSIS package location. Possible values include: 'SSISDB', 'File'
+ Type SsisPackageLocationType `json:"type,omitempty"`
+ // SSISPackageLocationTypeProperties - SSIS package location properties.
+ *SSISPackageLocationTypeProperties `json:"typeProperties,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for SSISPackageLocation.
+func (spl SSISPackageLocation) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if spl.PackagePath != nil {
+ objectMap["packagePath"] = spl.PackagePath
+ }
+ if spl.Type != "" {
+ objectMap["type"] = spl.Type
+ }
+ if spl.SSISPackageLocationTypeProperties != nil {
+ objectMap["typeProperties"] = spl.SSISPackageLocationTypeProperties
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for SSISPackageLocation struct.
+func (spl *SSISPackageLocation) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "packagePath":
+ if v != nil {
+ var packagePath interface{}
+ err = json.Unmarshal(*v, &packagePath)
+ if err != nil {
+ return err
+ }
+ spl.PackagePath = packagePath
+ }
+ case "type":
+ if v != nil {
+ var typeVar SsisPackageLocationType
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ spl.Type = typeVar
+ }
+ case "typeProperties":
+ if v != nil {
+ var sSISPackageLocationTypeProperties SSISPackageLocationTypeProperties
+ err = json.Unmarshal(*v, &sSISPackageLocationTypeProperties)
+ if err != nil {
+ return err
+ }
+ spl.SSISPackageLocationTypeProperties = &sSISPackageLocationTypeProperties
+ }
+ }
+ }
+
+ return nil
+}
+
+// SSISPackageLocationTypeProperties SSIS package location properties.
+type SSISPackageLocationTypeProperties struct {
+ // PackagePassword - Password of the package.
+ PackagePassword *SecureString `json:"packagePassword,omitempty"`
+ // AccessCredential - The package access credential.
+ AccessCredential *SSISAccessCredential `json:"accessCredential,omitempty"`
+ // ConfigurationPath - The configuration file of the package execution. Type: string (or Expression with resultType string).
+ ConfigurationPath interface{} `json:"configurationPath,omitempty"`
}
// SsisParameter ssis parameter.
@@ -145775,6 +176035,160 @@ type StoredProcedureParameter struct {
Type StoredProcedureParameterType `json:"type,omitempty"`
}
+// StoreReadSettings connector read setting.
+type StoreReadSettings struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - The read setting type.
+ Type *string `json:"type,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for StoreReadSettings.
+func (srs StoreReadSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if srs.Type != nil {
+ objectMap["type"] = srs.Type
+ }
+ if srs.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = srs.MaxConcurrentConnections
+ }
+ for k, v := range srs.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for StoreReadSettings struct.
+func (srs *StoreReadSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if srs.AdditionalProperties == nil {
+ srs.AdditionalProperties = make(map[string]interface{})
+ }
+ srs.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ srs.Type = &typeVar
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ srs.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ }
+ }
+
+ return nil
+}
+
+// StoreWriteSettings connector write settings.
+type StoreWriteSettings struct {
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // Type - The write setting type.
+ Type *string `json:"type,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // CopyBehavior - The type of copy behavior for copy sink.
+ CopyBehavior interface{} `json:"copyBehavior,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for StoreWriteSettings.
+func (sws StoreWriteSettings) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]interface{})
+ if sws.Type != nil {
+ objectMap["type"] = sws.Type
+ }
+ if sws.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = sws.MaxConcurrentConnections
+ }
+ if sws.CopyBehavior != nil {
+ objectMap["copyBehavior"] = sws.CopyBehavior
+ }
+ for k, v := range sws.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON is the custom unmarshaler for StoreWriteSettings struct.
+func (sws *StoreWriteSettings) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if sws.AdditionalProperties == nil {
+ sws.AdditionalProperties = make(map[string]interface{})
+ }
+ sws.AdditionalProperties[k] = additionalProperties
+ }
+ case "type":
+ if v != nil {
+ var typeVar string
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ sws.Type = &typeVar
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ sws.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "copyBehavior":
+ if v != nil {
+ var copyBehavior interface{}
+ err = json.Unmarshal(*v, ©Behavior)
+ if err != nil {
+ return err
+ }
+ sws.CopyBehavior = copyBehavior
+ }
+ }
+ }
+
+ return nil
+}
+
// SubResource azure Data Factory nested resource, which belongs to a factory.
type SubResource struct {
// ID - READ-ONLY; The resource identifier.
@@ -145801,7 +176215,7 @@ type SybaseLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -146093,6 +176507,11 @@ func (sls SybaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudFo
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
+func (sls SybaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
func (sls SybaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -146148,6 +176567,16 @@ func (sls SybaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool)
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
+func (sls SybaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
+func (sls SybaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
func (sls SybaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -146203,6 +176632,16 @@ func (sls SybaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedServi
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
+func (sls SybaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
+func (sls SybaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
func (sls SybaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -146223,6 +176662,11 @@ func (sls SybaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedSer
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SybaseLinkedService.
+func (sls SybaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
func (sls SybaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -146439,6 +176883,529 @@ func (slstp *SybaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error
return nil
}
+// SybaseSource a copy activity source for Sybase databases.
+type SybaseSource struct {
+ // Query - Database query. Type: string (or Expression with resultType string).
+ Query interface{} `json:"query,omitempty"`
+ // AdditionalProperties - Unmatched properties from the message are deserialized this collection
+ AdditionalProperties map[string]interface{} `json:""`
+ // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
+ SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
+ // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
+ // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
+ MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ Type TypeBasicCopySource `json:"type,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for SybaseSource.
+func (ss SybaseSource) MarshalJSON() ([]byte, error) {
+ ss.Type = TypeSybaseSource
+ objectMap := make(map[string]interface{})
+ if ss.Query != nil {
+ objectMap["query"] = ss.Query
+ }
+ if ss.SourceRetryCount != nil {
+ objectMap["sourceRetryCount"] = ss.SourceRetryCount
+ }
+ if ss.SourceRetryWait != nil {
+ objectMap["sourceRetryWait"] = ss.SourceRetryWait
+ }
+ if ss.MaxConcurrentConnections != nil {
+ objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections
+ }
+ if ss.Type != "" {
+ objectMap["type"] = ss.Type
+ }
+ for k, v := range ss.AdditionalProperties {
+ objectMap[k] = v
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAmazonRedshiftSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
+ return nil, false
+}
+
+// AsGoogleAdWordsSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) {
+ return nil, false
+}
+
+// AsOracleServiceCloudSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsAXSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) {
+ return nil, false
+}
+
+// AsResponsysSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsResponsysSource() (*ResponsysSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
+ return nil, false
+}
+
+// AsVerticaSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsVerticaSource() (*VerticaSource, bool) {
+ return nil, false
+}
+
+// AsNetezzaSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsNetezzaSource() (*NetezzaSource, bool) {
+ return nil, false
+}
+
+// AsZohoSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsZohoSource() (*ZohoSource, bool) {
+ return nil, false
+}
+
+// AsXeroSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsXeroSource() (*XeroSource, bool) {
+ return nil, false
+}
+
+// AsSquareSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSquareSource() (*SquareSource, bool) {
+ return nil, false
+}
+
+// AsSparkSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSparkSource() (*SparkSource, bool) {
+ return nil, false
+}
+
+// AsShopifySource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsShopifySource() (*ShopifySource, bool) {
+ return nil, false
+}
+
+// AsServiceNowSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsServiceNowSource() (*ServiceNowSource, bool) {
+ return nil, false
+}
+
+// AsQuickBooksSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
+ return nil, false
+}
+
+// AsPrestoSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsPrestoSource() (*PrestoSource, bool) {
+ return nil, false
+}
+
+// AsPhoenixSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsPhoenixSource() (*PhoenixSource, bool) {
+ return nil, false
+}
+
+// AsPaypalSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsPaypalSource() (*PaypalSource, bool) {
+ return nil, false
+}
+
+// AsMarketoSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsMarketoSource() (*MarketoSource, bool) {
+ return nil, false
+}
+
+// AsMariaDBSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsMariaDBSource() (*MariaDBSource, bool) {
+ return nil, false
+}
+
+// AsMagentoSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsMagentoSource() (*MagentoSource, bool) {
+ return nil, false
+}
+
+// AsJiraSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsJiraSource() (*JiraSource, bool) {
+ return nil, false
+}
+
+// AsImpalaSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsImpalaSource() (*ImpalaSource, bool) {
+ return nil, false
+}
+
+// AsHubspotSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsHubspotSource() (*HubspotSource, bool) {
+ return nil, false
+}
+
+// AsHiveSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsHiveSource() (*HiveSource, bool) {
+ return nil, false
+}
+
+// AsHBaseSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsHBaseSource() (*HBaseSource, bool) {
+ return nil, false
+}
+
+// AsGreenplumSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsGreenplumSource() (*GreenplumSource, bool) {
+ return nil, false
+}
+
+// AsGoogleBigQuerySource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
+ return nil, false
+}
+
+// AsEloquaSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsEloquaSource() (*EloquaSource, bool) {
+ return nil, false
+}
+
+// AsDrillSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsDrillSource() (*DrillSource, bool) {
+ return nil, false
+}
+
+// AsCouchbaseSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
+ return nil, false
+}
+
+// AsConcurSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsConcurSource() (*ConcurSource, bool) {
+ return nil, false
+}
+
+// AsAzurePostgreSQLSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsAmazonMWSSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
+ return nil, false
+}
+
+// AsHTTPSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsHTTPSource() (*HTTPSource, bool) {
+ return nil, false
+}
+
+// AsAzureBlobFSSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
+ return nil, false
+}
+
+// AsOffice365Source is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsOffice365Source() (*Office365Source, bool) {
+ return nil, false
+}
+
+// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) {
+ return nil, false
+}
+
+// AsMongoDbV2Source is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) {
+ return nil, false
+}
+
+// AsMongoDbSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsMongoDbSource() (*MongoDbSource, bool) {
+ return nil, false
+}
+
+// AsCassandraSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsCassandraSource() (*CassandraSource, bool) {
+ return nil, false
+}
+
+// AsWebSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsWebSource() (*WebSource, bool) {
+ return nil, false
+}
+
+// AsTeradataSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsTeradataSource() (*TeradataSource, bool) {
+ return nil, false
+}
+
+// AsOracleSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsOracleSource() (*OracleSource, bool) {
+ return nil, false
+}
+
+// AsAzureDataExplorerSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) {
+ return nil, false
+}
+
+// AsAzureMySQLSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
+ return nil, false
+}
+
+// AsHdfsSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsHdfsSource() (*HdfsSource, bool) {
+ return nil, false
+}
+
+// AsFileSystemSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsFileSystemSource() (*FileSystemSource, bool) {
+ return nil, false
+}
+
+// AsSQLDWSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSQLDWSource() (*SQLDWSource, bool) {
+ return nil, false
+}
+
+// AsSQLMISource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
+// AsAzureSQLSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
+ return nil, false
+}
+
+// AsSQLServerSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSQLServerSource() (*SQLServerSource, bool) {
+ return nil, false
+}
+
+// AsSQLSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSQLSource() (*SQLSource, bool) {
+ return nil, false
+}
+
+// AsRestSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsRestSource() (*RestSource, bool) {
+ return nil, false
+}
+
+// AsSapTableSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSapTableSource() (*SapTableSource, bool) {
+ return nil, false
+}
+
+// AsSapOpenHubSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) {
+ return nil, false
+}
+
+// AsSapHanaSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSapHanaSource() (*SapHanaSource, bool) {
+ return nil, false
+}
+
+// AsSapEccSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSapEccSource() (*SapEccSource, bool) {
+ return nil, false
+}
+
+// AsSapCloudForCustomerSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
+// AsSalesforceSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSalesforceSource() (*SalesforceSource, bool) {
+ return nil, false
+}
+
+// AsODataSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsSybaseSource() (*SybaseSource, bool) {
+ return &ss, true
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
+// AsRelationalSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsRelationalSource() (*RelationalSource, bool) {
+ return nil, false
+}
+
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsDynamicsSource() (*DynamicsSource, bool) {
+ return nil, false
+}
+
+// AsDocumentDbCollectionSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
+ return nil, false
+}
+
+// AsBlobSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsBlobSource() (*BlobSource, bool) {
+ return nil, false
+}
+
+// AsAzureTableSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsAzureTableSource() (*AzureTableSource, bool) {
+ return nil, false
+}
+
+// AsBinarySource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
+// AsDelimitedTextSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
+ return nil, false
+}
+
+// AsParquetSource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsParquetSource() (*ParquetSource, bool) {
+ return nil, false
+}
+
+// AsCopySource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsCopySource() (*CopySource, bool) {
+ return nil, false
+}
+
+// AsBasicCopySource is the BasicCopySource implementation for SybaseSource.
+func (ss SybaseSource) AsBasicCopySource() (BasicCopySource, bool) {
+ return &ss, true
+}
+
+// UnmarshalJSON is the custom unmarshaler for SybaseSource struct.
+func (ss *SybaseSource) UnmarshalJSON(body []byte) error {
+ var m map[string]*json.RawMessage
+ err := json.Unmarshal(body, &m)
+ if err != nil {
+ return err
+ }
+ for k, v := range m {
+ switch k {
+ case "query":
+ if v != nil {
+ var query interface{}
+ err = json.Unmarshal(*v, &query)
+ if err != nil {
+ return err
+ }
+ ss.Query = query
+ }
+ default:
+ if v != nil {
+ var additionalProperties interface{}
+ err = json.Unmarshal(*v, &additionalProperties)
+ if err != nil {
+ return err
+ }
+ if ss.AdditionalProperties == nil {
+ ss.AdditionalProperties = make(map[string]interface{})
+ }
+ ss.AdditionalProperties[k] = additionalProperties
+ }
+ case "sourceRetryCount":
+ if v != nil {
+ var sourceRetryCount interface{}
+ err = json.Unmarshal(*v, &sourceRetryCount)
+ if err != nil {
+ return err
+ }
+ ss.SourceRetryCount = sourceRetryCount
+ }
+ case "sourceRetryWait":
+ if v != nil {
+ var sourceRetryWait interface{}
+ err = json.Unmarshal(*v, &sourceRetryWait)
+ if err != nil {
+ return err
+ }
+ ss.SourceRetryWait = sourceRetryWait
+ }
+ case "maxConcurrentConnections":
+ if v != nil {
+ var maxConcurrentConnections interface{}
+ err = json.Unmarshal(*v, &maxConcurrentConnections)
+ if err != nil {
+ return err
+ }
+ ss.MaxConcurrentConnections = maxConcurrentConnections
+ }
+ case "type":
+ if v != nil {
+ var typeVar TypeBasicCopySource
+ err = json.Unmarshal(*v, &typeVar)
+ if err != nil {
+ return err
+ }
+ ss.Type = typeVar
+ }
+ }
+ }
+
+ return nil
+}
+
// TeradataLinkedService linked service for Teradata data source.
type TeradataLinkedService struct {
// TeradataLinkedServiceTypeProperties - Teradata linked service properties.
@@ -146453,7 +177420,7 @@ type TeradataLinkedService struct {
Parameters map[string]*ParameterSpecification `json:"parameters"`
// Annotations - List of tags that can be used for describing the linked service.
Annotations *[]interface{} `json:"annotations,omitempty"`
- // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
+ // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage'
Type TypeBasicLinkedService `json:"type,omitempty"`
}
@@ -146745,6 +177712,11 @@ func (TLSVar TeradataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCl
return nil, false
}
+// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
+func (TLSVar TeradataLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) {
+ return nil, false
+}
+
// AsSalesforceLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
func (TLSVar TeradataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
return nil, false
@@ -146800,6 +177772,16 @@ func (TLSVar TeradataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, b
return nil, false
}
+// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
+func (TLSVar TeradataLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) {
+ return nil, false
+}
+
+// AsInformixLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
+func (TLSVar TeradataLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) {
+ return nil, false
+}
+
// AsOdbcLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
func (TLSVar TeradataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
return nil, false
@@ -146855,6 +177837,16 @@ func (TLSVar TeradataLinkedService) AsHDInsightLinkedService() (*HDInsightLinked
return nil, false
}
+// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
+func (TLSVar TeradataLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
+func (TLSVar TeradataLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) {
+ return nil, false
+}
+
// AsDynamicsLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
func (TLSVar TeradataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
return nil, false
@@ -146875,6 +177867,11 @@ func (TLSVar TeradataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLink
return nil, false
}
+// AsAzureSQLMILinkedService is the BasicLinkedService implementation for TeradataLinkedService.
+func (TLSVar TeradataLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) {
+ return nil, false
+}
+
// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
func (TLSVar TeradataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
return nil, false
@@ -147082,7 +178079,7 @@ func (tlstp *TeradataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err
// TeradataPartitionSettings the settings that will be leveraged for teradata source partitioning.
type TeradataPartitionSettings struct {
- // PartitionColumnName - The name of the column in integer type that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string).
+ // PartitionColumnName - The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string).
PartitionColumnName interface{} `json:"partitionColumnName,omitempty"`
// PartitionUpperBound - The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string).
PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"`
@@ -147094,8 +178091,8 @@ type TeradataPartitionSettings struct {
type TeradataSource struct {
// Query - Teradata query. Type: string (or Expression with resultType string).
Query interface{} `json:"query,omitempty"`
- // PartitionOption - The partition mechanism that will be used for teradata read in parallel.
- PartitionOption interface{} `json:"partitionOption,omitempty"`
+ // PartitionOption - The partition mechanism that will be used for teradata read in parallel. Possible values include: 'TeradataPartitionOptionNone', 'TeradataPartitionOptionHash', 'TeradataPartitionOptionDynamicRange'
+ PartitionOption TeradataPartitionOption `json:"partitionOption,omitempty"`
// PartitionSettings - The settings that will be leveraged for teradata source partitioning.
PartitionSettings *TeradataPartitionSettings `json:"partitionSettings,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
@@ -147106,7 +178103,7 @@ type TeradataSource struct {
SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
// MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"`
- // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeDelimitedTextSource', 'TypeParquetSource'
+ // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeTeradataSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeRestSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceServiceCloudSource', 'TypeSalesforceSource', 'TypeODataSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeMicrosoftAccessSource', 'TypeInformixSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource', 'TypeBinarySource', 'TypeDelimitedTextSource', 'TypeParquetSource'
Type TypeBasicCopySource `json:"type,omitempty"`
}
@@ -147117,7 +178114,7 @@ func (ts TeradataSource) MarshalJSON() ([]byte, error) {
if ts.Query != nil {
objectMap["query"] = ts.Query
}
- if ts.PartitionOption != nil {
+ if ts.PartitionOption != "" {
objectMap["partitionOption"] = ts.PartitionOption
}
if ts.PartitionSettings != nil {
@@ -147391,6 +178388,11 @@ func (ts TeradataSource) AsSQLDWSource() (*SQLDWSource, bool) {
return nil, false
}
+// AsSQLMISource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsSQLMISource() (*SQLMISource, bool) {
+ return nil, false
+}
+
// AsAzureSQLSource is the BasicCopySource implementation for TeradataSource.
func (ts TeradataSource) AsAzureSQLSource() (*AzureSQLSource, bool) {
return nil, false
@@ -147436,16 +178438,71 @@ func (ts TeradataSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSour
return nil, false
}
+// AsSalesforceServiceCloudSource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) {
+ return nil, false
+}
+
// AsSalesforceSource is the BasicCopySource implementation for TeradataSource.
func (ts TeradataSource) AsSalesforceSource() (*SalesforceSource, bool) {
return nil, false
}
+// AsODataSource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsODataSource() (*ODataSource, bool) {
+ return nil, false
+}
+
+// AsSybaseSource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsSybaseSource() (*SybaseSource, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLSource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) {
+ return nil, false
+}
+
+// AsMySQLSource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsMySQLSource() (*MySQLSource, bool) {
+ return nil, false
+}
+
+// AsOdbcSource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsOdbcSource() (*OdbcSource, bool) {
+ return nil, false
+}
+
+// AsDb2Source is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsDb2Source() (*Db2Source, bool) {
+ return nil, false
+}
+
+// AsMicrosoftAccessSource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) {
+ return nil, false
+}
+
+// AsInformixSource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsInformixSource() (*InformixSource, bool) {
+ return nil, false
+}
+
// AsRelationalSource is the BasicCopySource implementation for TeradataSource.
func (ts TeradataSource) AsRelationalSource() (*RelationalSource, bool) {
return nil, false
}
+// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmSource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) {
+ return nil, false
+}
+
// AsDynamicsSource is the BasicCopySource implementation for TeradataSource.
func (ts TeradataSource) AsDynamicsSource() (*DynamicsSource, bool) {
return nil, false
@@ -147466,6 +178523,11 @@ func (ts TeradataSource) AsAzureTableSource() (*AzureTableSource, bool) {
return nil, false
}
+// AsBinarySource is the BasicCopySource implementation for TeradataSource.
+func (ts TeradataSource) AsBinarySource() (*BinarySource, bool) {
+ return nil, false
+}
+
// AsDelimitedTextSource is the BasicCopySource implementation for TeradataSource.
func (ts TeradataSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) {
return nil, false
@@ -147506,7 +178568,7 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error {
}
case "partitionOption":
if v != nil {
- var partitionOption interface{}
+ var partitionOption TeradataPartitionOption
err = json.Unmarshal(*v, &partitionOption)
if err != nil {
return err
@@ -147596,7 +178658,7 @@ type TeradataTableDataset struct {
Annotations *[]interface{} `json:"annotations,omitempty"`
// Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
Folder *DatasetFolder `json:"folder,omitempty"`
- // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
+ // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeDelimitedText', 'TypeParquet', 'TypeAmazonS3Object'
Type TypeBasicDataset `json:"type,omitempty"`
}
@@ -147857,11 +178919,41 @@ func (ttd TeradataTableDataset) AsSapCloudForCustomerResourceDataset() (*SapClou
return nil, false
}
+// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset.
+func (ttd TeradataTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) {
+ return nil, false
+}
+
// AsSalesforceObjectDataset is the BasicDataset implementation for TeradataTableDataset.
func (ttd TeradataTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
return nil, false
}
+// AsMicrosoftAccessTableDataset is the BasicDataset implementation for TeradataTableDataset.
+func (ttd TeradataTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) {
+ return nil, false
+}
+
+// AsPostgreSQLTableDataset is the BasicDataset implementation for TeradataTableDataset.
+func (ttd TeradataTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsMySQLTableDataset is the BasicDataset implementation for TeradataTableDataset.
+func (ttd TeradataTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) {
+ return nil, false
+}
+
+// AsOdbcTableDataset is the BasicDataset implementation for TeradataTableDataset.
+func (ttd TeradataTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) {
+ return nil, false
+}
+
+// AsInformixTableDataset is the BasicDataset implementation for TeradataTableDataset.
+func (ttd TeradataTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) {
+ return nil, false
+}
+
// AsRelationalTableDataset is the BasicDataset implementation for TeradataTableDataset.
func (ttd TeradataTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
return nil, false
@@ -147922,6 +179014,16 @@ func (ttd TeradataTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeSto
return nil, false
}
+// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for TeradataTableDataset.
+func (ttd TeradataTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) {
+ return nil, false
+}
+
+// AsDynamicsCrmEntityDataset is the BasicDataset implementation for TeradataTableDataset.
+func (ttd TeradataTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) {
+ return nil, false
+}
+
// AsDynamicsEntityDataset is the BasicDataset implementation for TeradataTableDataset.
func (ttd TeradataTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
return nil, false
@@ -147947,6 +179049,11 @@ func (ttd TeradataTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableData
return nil, false
}
+// AsAzureSQLMITableDataset is the BasicDataset implementation for TeradataTableDataset.
+func (ttd TeradataTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) {
+ return nil, false
+}
+
// AsAzureSQLTableDataset is the BasicDataset implementation for TeradataTableDataset.
func (ttd TeradataTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
return nil, false
@@ -147962,6 +179069,11 @@ func (ttd TeradataTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
return nil, false
}
+// AsBinaryDataset is the BasicDataset implementation for TeradataTableDataset.
+func (ttd TeradataTableDataset) AsBinaryDataset() (*BinaryDataset, bool) {
+ return nil, false
+}
+
// AsDelimitedTextDataset is the BasicDataset implementation for TeradataTableDataset.
func (ttd TeradataTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) {
return nil, false
@@ -148367,7 +179479,7 @@ type Trigger struct {
AdditionalProperties map[string]interface{} `json:""`
// Description - Trigger description.
Description *string `json:"description,omitempty"`
- // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
+ // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigge